@font-face {
  font-family: "Allura";
  src: url("assets/fonts/Allura-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Waterfall";
  src: url("assets/fonts/Waterfall-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --midnight: #101b2b;
  --deep: #090e13;
  --ivory: #f8f5ed;
  --gold: #d8b17d;
  --muted: #c4c7cb;
  --ink: #172233;
  --slate: #53606d;
  --line: rgba(248,245,237,.18);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--deep); color: var(--ivory); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; line-height: 1.08; }
p + p { margin-top: 1em; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.light-section :focus-visible { outline-color: #7e542c; }
.container { width: min(1380px, 90%); margin-inline: auto; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 12px 22px; color: var(--ink); background: var(--ivory); }
.skip-link:focus { top: 12px; }
.eyebrow { margin-bottom: 18px; font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: .18em; color: var(--slate); }
.gold { color: var(--gold); }

/* Úvod odpovídá obrazové kompozici schváleného návrhu. */
.header { position: absolute; inset: 0 0 auto; z-index: 5; }
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; flex-shrink: 0; }
.brand img { width: 37px; height: 30px; }
.brand > span { font-size: 20px; letter-spacing: .2em; line-height: 1.3; }
.brand small { display: block; margin-top: 5px; font-size: 7px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 27px; font-size: 12px; }
.nav a { display: flex; align-items: center; min-height: 44px; min-width: 44px; white-space: nowrap; }
.nav a:hover, .text-link:hover, .footer a:hover { color: var(--gold); }
.nav-contact { border: 1px solid var(--gold); padding-inline: 20px; border-radius: 30px; color: var(--gold); gap: 28px; margin-left: 12px; }
.menu-toggle { background: #0c121bd9; border: 1px solid var(--line); border-radius: 3px; min-height: 46px; align-items: center; gap: 14px; padding-inline: 14px; }
.menu-toggle[hidden] { display: none; }
.menu-icon { width: 18px; height: 10px; border-block: 1px solid currentColor; }
.hero { position: relative; isolation: isolate; min-height: clamp(465px, 42.4vw, 690px); overflow: hidden; background: #080b0e; }
.hero-scene { position: absolute; z-index: -2; inset: 0; }
.hero-scene-art { position: absolute; right: 0; top: 0; width: auto; height: 100%; max-width: none; }
.hero-light { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #070a0df5 0%, #070a0deb 25%, #080b0e90 40%, #080b0e08 65%), linear-gradient(0deg, #05080c55, transparent 25%); }
/* Na širokých displejích zůstává obraz poblíž stejného středu jako obsah. */
@media (min-width: 1540px) {
  .hero-scene, .hero-light {
    left: 50%;
    right: auto;
    width: 1540px;
    transform: translateX(-50%);
  }
  .hero-light {
    background: linear-gradient(270deg, #080b0e 0, #080b0e00 220px), linear-gradient(90deg, #070a0df5 0%, #070a0deb 25%, #080b0e90 40%, #080b0e08 65%), linear-gradient(0deg, #05080c55, transparent 25%);
  }
}
.hero-grid { position: relative; padding-block: clamp(102px, 10.2vw, 156px) 50px; }
.hero-copy { width: 47%; max-width: 560px; }
.hero h1 { font-size: clamp(46px, 4.72vw, 73px); letter-spacing: -.035em; line-height: 1.08; font-weight: 300; }
.hero h1 em { font-style: normal; font-weight: 300; color: var(--gold); }
.hero-description { margin-top: 24px; max-width: 480px; color: #e0e0df; font-size: clamp(14px, 1.2vw, 17px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 30px; padding: 13px 24px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 500; transition: background .2s, color .2s, transform .2s; }
.button-gold { background: var(--gold); color: #101419; }
.button-gold:hover { background: #edc998; transform: translateY(-2px); }
.button-dark { background: var(--midnight); color: var(--ivory); }
.button-dark:hover { background: #283c55; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; gap: 22px; font-size: 12px; }
.text-link span { color: var(--gold); }

/* Tři služby a šest konceptů, nikoli nabídka velké agentury. */
.light-section { background: var(--ivory); color: var(--ink); }
.services { padding-block: 42px 44px; }
.services > .container { display: grid; grid-template-columns: 29% 1fr; gap: 36px; }
.section-heading h2 { font: 400 clamp(33px, 3.4vw, 49px)/1.08 var(--serif); letter-spacing: -.025em; }
.section-heading > p, .section-intro { margin-top: 24px; max-width: 385px; font-size: 14px; line-height: 1.65; color: var(--slate); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.service { min-width: 0; }
.service-art { aspect-ratio: 1.43; overflow: hidden; border-radius: 3px; background: #d8c6ae; }
.service-art img { width: 100%; height: 100%; object-fit: cover; }
.service-number { display: block; margin: 13px 0 11px; font-size: 11px; line-height: 1; color: var(--slate); }
.service h3 { margin-bottom: 13px; font-size: 18px; line-height: 1.2; }
.service p { font-size: 13px; color: var(--slate); line-height: 1.6; }
.service .service-lead { margin-bottom: 8px; font-size: 12px; font-weight: 500; color: var(--ink); }
.portfolio { padding-block: 40px 34px; background: #070d12; }
.portfolio > .container { display: grid; grid-template-columns: 20% 1fr; gap: 24px 35px; align-items: start; }
.portfolio .section-heading { grid-column: 1; grid-row: 1 / 3; }
.portfolio .section-heading h2 { font-size: clamp(29px, 2.6vw, 38px); }
.portfolio .section-intro { color: #c6c7c7; font-size: 12px; margin-top: 19px; }
.portfolio-note { grid-column: 2; grid-row: 2; display: flex; gap: 10px; font-size: 10px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 13px; }
.portfolio-note > span { color: var(--gold); }
.projects-grid { grid-column: 2; grid-row: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; align-items: start; }
.project { min-width: 0; }
.project-preview { position: relative; overflow: hidden; border-radius: 4px; background: #1b232c; }
.project-preview img { width: 100%; aspect-ratio: .68; object-fit: cover; transition: transform .6s; }
.project-preview::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s ease; }
.project h3 { transition: color .25s ease; }
.project:focus-within .project-preview::after, .project:has(details[open]) .project-preview::after { box-shadow: inset 0 0 0 2px var(--gold); }
.project:focus-within h3, .project:has(details[open]) h3 { color: var(--gold); }
.project:focus-within .project-preview img { transform: scale(1.04); }
@media (hover: hover) and (pointer: fine) {
  .project:hover .project-preview img { transform: scale(1.04); }
  .project:hover .project-preview::after { box-shadow: inset 0 0 0 2px var(--gold); }
  .project:hover h3 { color: var(--gold); }
}
.preview-label { position: absolute; left: 5px; bottom: 6px; max-width: calc(100% - 10px); padding: 3px 5px; background: #0c1422e8; color: var(--ivory); font-size: 8px; line-height: 1.4; }
.project-heading { margin-top: 14px; }
.project-name { color: #b7babe; font-size: 9px; line-height: 1.5; margin-bottom: 7px; }
.project h3 { font-size: 13px; line-height: 1.25; letter-spacing: .015em; }
.status { display: inline-block; margin-top: 9px; color: #e4c89f; font-size: 9px; line-height: 1.2; border: 1px solid #826f55; border-radius: 20px; padding: 5px 7px; }
.status-live { color: #e3eddf; border-color: #77916d; }
.project-open { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-top: 12px; border-bottom: 1px solid var(--gold); color: var(--gold); font-size: 11px; }
.project-open > span { font-size: 18px; }
.project > p { margin-top: 9px; font-size: 10px; color: #c3c6ca; line-height: 1.6; }
.project details { margin-top: 12px; border-block: 1px solid var(--line); }
.project summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; font-size: 10px; line-height: 1.5; }
.project summary::-webkit-details-marker { display: none; }
.project summary > span { color: var(--gold); font-size: 19px; transition: transform .2s; }
.project details[open] summary > span { transform: rotate(45deg); }
.project-detail { padding: 5px 0 16px; color: #d3d5d8; font-size: 11px; line-height: 1.6; }
.detail-meta { color: var(--muted); font-size: 10px; }

/* Společné řádky karet drží odkazy a linky v jedné výšce i při delším textu. */
@supports (grid-template-rows: subgrid) {
  .projects-grid { align-items: stretch; }
  .project { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
  .project > details { align-self: start; }
}

/* Srozumitelný postup a krátké představení v obrazovém pásu. */
.process { padding-block: 40px 42px; }
.process-layout { display: grid; grid-template-columns: 29% 1fr; gap: 36px; }
.process .section-heading h2 { font-size: clamp(31px, 3vw, 42px); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 0; margin: 0; list-style: none; }
.process-grid li { min-width: 0; }
.step-number { display: block; font-size: 12px; margin: 0 0 20px; }
.step-icon { position: relative; display: block; margin-bottom: 20px; }
.step-icon svg { display: block; width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.step-icon:after { content: ""; position: absolute; top: 15px; left: 57px; right: 0; border-top: 1px solid #cac7c0; }
.process-grid h3 { font-size: 16px; font-weight: 500; line-height: 1.3; margin-bottom: 12px; }
.process-grid p { font-size: 13px; line-height: 1.6; color: var(--slate); }
.about { position: relative; padding-block: 40px; background: linear-gradient(90deg, #080e16b8, #080e1699 70%, #080e164d), url("assets/mountains-clean.webp") center 54% / cover; }
.about-grid { display: grid; grid-template-columns: .95fr 1.2fr .55fr; gap: 42px; align-items: center; }
.about h2 { font: 400 clamp(30px, 2.9vw, 40px)/1.09 var(--serif); letter-spacing: -.02em; }
.about h2 em { font-style: normal; }
.about-copy { font-size: 13px; color: #ededeb; line-height: 1.65; }
.about-signature { font: 400 44px/.94 "Waterfall", cursive; font-synthesis: none; color: #dfb981; width: max-content; max-width: 100%; justify-self: end; text-align: right; margin-right: 8px; transform: rotate(-6deg); }
.contact { padding-block: 40px; color: var(--ivory); background: linear-gradient(90deg, #080e16e8, #080e1699), url("assets/rocks-texture.webp") center / cover; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; gap: clamp(32px, 5vw, 80px); }
.contact .eyebrow { color: var(--gold); }
.contact :focus-visible { outline-color: var(--gold); }
.contact h2 { font: 400 clamp(32px, 3.5vw, 48px)/1.09 var(--serif); letter-spacing: -.02em; }
.contact-copy > p:not(.eyebrow, .contact-demo-note) { margin-top: 17px; font-size: 14px; line-height: 1.65; color: #d7dadd; }
.contact .button { background: var(--gold); color: var(--deep); }

.contact-copy { min-width: 0; max-width: 430px; }
.contact .contact-demo-note { border-left: 2px solid var(--gold); padding-left: 17px; margin-top: 26px; font-size: 13px; }
.contact-demo-note strong { font-weight: 500; color: var(--ivory); }
.contact-back { margin-top: 24px; min-height: 44px; font-size: 13px; }
.contact-form { min-width: 0; padding: 28px; border: 1px solid #66717f; border-radius: 4px; background: #101b2bf5; }
.contact-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-form legend { padding: 0; margin-bottom: 8px; font: 400 27px/1.2 var(--serif); color: var(--ivory); }
.contact .contact-required-note { margin: 0 0 22px; font-size: 12px; color: var(--muted); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin-bottom: 8px; font-size: 13px; color: var(--ivory); }
.contact-field label > span { color: var(--gold); }
.contact-field label .contact-optional { margin-left: auto; color: var(--muted); font-size: 11px; }
.contact-field input, .contact-field textarea { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #8994a0; border-radius: 3px; background: #f8f5ed; color: var(--ink); font: 16px/1.5 var(--sans); padding: 11px 13px; }
.contact-field textarea { min-height: 122px; resize: vertical; }
.contact-field textarea::placeholder { color: #53606d; opacity: 1; }
.contact-field input:disabled, .contact-field textarea:disabled { opacity: .65; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.contact-form [aria-invalid="true"] { border-color: #b2443b; box-shadow: 0 0 0 1px #b2443b; }
.contact .contact-data-note { margin-top: 18px; font-size: 12px; color: var(--muted); }
.contact-data-note a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 20px; }
.contact-form-actions .button { flex-shrink: 0; border: 0; }
.contact .contact-form-actions .button:disabled { cursor: default; opacity: .6; transform: none; }
.contact-clear { min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.contact-clear:disabled { cursor: default; opacity: .6; }
.contact .contact-demo-status { margin-top: 18px; padding-top: 16px; border-top: 1px solid #66717f; font-size: 13px; color: var(--ivory); overflow-wrap: anywhere; }

.footer { padding-block: 30px 20px; background: #080e15; color: var(--muted); }
.footer-top, .footer-middle, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.footer-top { padding-bottom: 20px; }
.footer-top .brand { color: var(--ivory); }
.footer-top > p { font: 17px var(--serif); color: var(--ivory); }
.footer-middle { font-size: 11px; padding-bottom: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { display: flex; align-items: center; min-height: 44px; min-width: 44px; }
.footer-bottom { flex-wrap: wrap; font-size: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.motion-toggle { min-height: 44px; border: 1px solid #66717f; background: transparent; border-radius: 3px; padding: 8px 13px; font-size: 11px; }
.motion-toggle[aria-pressed=true] { background: var(--ivory); color: var(--ink); }
.motion-toggle[hidden] { display: none; }

/* Tablet na šířku ponechává kompozici, počet konceptů se přeskupí. */
@media (max-width: 1199px) {
  .nav { gap: 18px; font-size: 11px; }
  .nav-contact { padding-inline: 15px; margin-left: 0; gap: 18px; }
  .brand > span { font-size: 18px; }
  .services > .container, .process-layout { grid-template-columns: 27% 1fr; gap: 30px; }
  .services-grid { gap: 23px; }
  .service h3 { font-size: 17px; }
  .portfolio > .container { grid-template-columns: 23% 1fr; gap: 24px; }
  .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 18px; }
  .project-preview img { aspect-ratio: 1.05; }
  .project h3 { font-size: 15px; }
  .preview-label { font-size: 9px; padding: 4px 7px; }
  .project > p { font-size: 11px; }
  .project summary { font-size: 11px; }
  .project-name { font-size: 10px; }
  .process-grid { gap: 20px; }
  .process-grid h3 { font-size: 14px; }
  .process-grid p { font-size: 12px; }
  .about-grid { gap: 28px; grid-template-columns: 1fr 1.3fr; }
  .about-signature { grid-column: 2; font-size: 42px; }
}
/* Tablet na výšku má vlastní, čitelné rozložení. */
@media (max-width: 999px) {
  .header-inner { min-height: 84px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .nav { flex-wrap: wrap; justify-content: flex-end; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #080e16f5; border-block: 1px solid var(--line); padding: 17px 5% 24px; box-shadow: 0 20px 30px #0005; }
  .js .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 5px; }
  .js .nav a { font-size: 15px; min-height: 48px; }
  .js .nav-contact { max-width: 280px; justify-content: space-between; margin-top: 9px; }
  .hero { min-height: 510px; }
  .hero-copy { width: 57%; }
  .hero h1 { font-size: clamp(44px, 5.8vw, 57px); }
  .hero-grid { padding-top: 127px; padding-bottom: 45px; }
  .hero-description { font-size: 15px; max-width: 390px; }
  .hero-scene-art { right: -80px; }
  .hero-light { background: linear-gradient(90deg, #070a0df0, #070a0db5 43%, #070a0d1a 75%); }
  .services > .container, .process-layout { display: block; }
  .section-heading { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; margin-bottom: 30px; align-items: end; }
  .section-heading > p { margin: 0; }
  .section-heading h2 { font-size: 36px; }
  .services-grid { gap: 24px; }
  .service p { font-size: 13px; }
  .service .service-lead { font-size: 12px; }
  .portfolio > .container { display: block; }
  .portfolio .section-heading { display: grid; }
  .portfolio .section-heading h2 { font-size: 36px; }
  .portfolio .section-intro { font-size: 13px; margin-top: 0; }
  .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portfolio-note { margin: 0 0 24px; padding-block: 13px; font-size: 11px; }
  .project-preview img { aspect-ratio: .95; }
  .project h3 { font-size: 16px; }
  .status { font-size: 10px; }
  .project > p { font-size: 12px; }
  .project summary { font-size: 12px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .process-grid h3 { font-size: 17px; }
  .process-grid p { font-size: 14px; }
  .about { padding-block: 45px; }
  .about-grid { gap: 32px; }
  .about h2 { font-size: 35px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-copy { max-width: 650px; }
  .contact h2 { font-size: 37px; }
  .footer-middle { align-items: flex-start; flex-direction: column; gap: 10px; }
}
/* Na mobilu obraz zůstává viditelný a text dostává vlastní prostor. */
@media (max-width: 699px) {
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 16px; min-height: 78px; flex-wrap: wrap; padding-block: 14px; }
  .brand > span { font-size: 17px; }
  .brand img { width: 32px; height: 26px; }
  .brand small { font-size: 7px; }
  .js .nav { top: 100%; padding-inline: 20px; }
  .nav { justify-content: flex-start; font-size: 12px; gap: 12px; }
  .hero { min-height: 645px; }
  .hero-grid { padding-top: 116px; padding-bottom: 210px; }
  .hero-copy { width: 100%; max-width: 470px; }
  .hero h1 { font-size: clamp(42px, 10.8vw, 61px); }
  .hero .eyebrow { font-size: 9px; letter-spacing: .14em; margin-bottom: 20px; }
  .hero-description { font-size: 14px; max-width: 340px; margin-top: 21px; }
  .hero-actions { gap: 10px 24px; margin-top: 24px; }
  .hero-scene-art { top: auto; bottom: 0; right: 0; height: 61%; }
  .hero-light { background: linear-gradient(180deg, #080b0ef5 0%, #080b0ef2 43%, #080b0e50 71%, #080b0e10), linear-gradient(90deg, #080b0e55, transparent); }
  .button { min-height: 50px; padding: 12px 20px; gap: 24px; }
  .text-link { min-height: 48px; font-size: 12px; }
  .services, .portfolio, .process { padding-block: 42px; }
  .section-heading, .portfolio .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2, .portfolio .section-heading h2 { font-size: 34px; }
  .section-heading > p, .portfolio .section-intro { margin-top: 20px; max-width: 440px; font-size: 14px; }
  .services-grid { grid-template-columns: 1fr; gap: 30px; }
  .service { max-width: 520px; width: 100%; margin-inline: auto; }
  .service-art { aspect-ratio: 1.8; }
  .service-number { font-size: 12px; margin-top: 16px; }
  .service h3 { font-size: 22px; margin-bottom: 12px; }
  .service p { font-size: 14px; }
  .service .service-lead { font-size: 14px; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .project-preview img { aspect-ratio: .72; }
  .project h3 { font-size: 15px; }
  .project-name { font-size: 10px; }
  .project > p { font-size: 12px; }
  .project summary { font-size: 11px; }
  .preview-label { font-size: 9px; }
  .status { font-size: 9px; }
  .project-detail { font-size: 12px; }
  .detail-meta { font-size: 11px; }
  .process-grid { gap: 30px 24px; }
  .process-grid h3 { font-size: 16px; }
  .process-grid p { font-size: 13px; }
  .step-number { margin-bottom: 13px; }
  .step-icon { margin-bottom: 15px; }
  .about { padding-block: 42px; background-position: 69% center; }
  .about-grid { display: block; }
  .about h2 { font-size: 36px; max-width: 430px; }
  .about-copy { font-size: 14px; margin-top: 24px; }
  .about-signature { margin-top: 30px; margin-left: auto; font-size: 42px; transform: rotate(-4deg); }
  .contact { padding-block: 42px; }
  .contact-grid { gap: 27px; }
  .contact-form { padding: 22px; }
  .contact h2 { font-size: 36px; }
  .contact-copy > p:not(.eyebrow, .contact-demo-note) { font-size: 14px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-top > p { font-size: 17px; }
  .footer nav { gap: 8px 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (max-width: 539px) {
  .contact-fields { grid-template-columns: 1fr; gap: 16px; }
  .contact-form { padding: 20px 16px; }
  .contact-form-actions .button { width: 100%; gap: 12px; padding-inline: 16px; }
}
@media (max-width: 374px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 40px; }
  .hero-actions { gap: 9px 14px; }
  .projects-grid { gap: 26px 15px; }
  .project h3 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation: none !important; transition: none !important; }
  .project:hover, .project:focus-within, .project:hover .project-preview img, .project:focus-within .project-preview img, .button:hover { transform: none; }
}
html.reduce-motion { scroll-behavior: auto; }
html.reduce-motion *, html.reduce-motion *:before, html.reduce-motion *:after { animation: none !important; transition: none !important; }
html.reduce-motion .project:hover, html.reduce-motion .project:focus-within, html.reduce-motion .project:hover .project-preview img, html.reduce-motion .project:focus-within .project-preview img, html.reduce-motion .button:hover { transform: none; }
