:root {
  --ink: #10100e;
  --night: #0b0b09;
  --paper: #f0ede5;
  --paper-soft: #e4e0d6;
  --gold: #bd8738;
  --line: rgba(16, 16, 14, .18);
  --line-dark: rgba(255, 255, 255, .18);
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
body.menu-open, body.lightbox-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .8rem; left: .8rem; z-index: 100; transform: translateY(-180%); background: var(--paper); color: var(--ink); padding: .6rem 1rem; }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 1rem clamp(1.25rem, 4vw, 4.5rem); color: #fff; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, min-height .3s; }
.site-header.scrolled { min-height: 72px; background: rgba(11,11,9,.94); backdrop-filter: blur(14px); border-color: var(--line-dark); }
.brand { display: inline-flex; width: min(250px, 26vw); text-decoration: none; }
.brand-logo { width: 100%; height: auto; filter: invert(1); }
.site-nav { display: flex; gap: clamp(1.25rem, 2.5vw, 2.6rem); }
.site-nav a, .language-switcher button { position: relative; border: 0; background: none; text-decoration: none; text-transform: uppercase; font-size: .68rem; letter-spacing: .16em; cursor: pointer; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -.55rem; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.language-switcher { justify-self: end; display: flex; gap: .5rem; align-items: center; }
.language-switcher button { opacity: .55; padding: .4rem .2rem; }
.language-switcher button.active { color: var(--gold); opacity: 1; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--night); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero-shade { background: linear-gradient(90deg, rgba(5,5,4,.94) 0%, rgba(5,5,4,.74) 35%, rgba(5,5,4,.18) 72%, rgba(5,5,4,.28) 100%), linear-gradient(0deg, rgba(5,5,4,.55), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(880px, 88vw); margin-left: clamp(1.25rem, 7vw, 8rem); padding: 9rem 0 6rem; }
.eyebrow { margin: 0 0 1.4rem; color: var(--gold); text-transform: uppercase; font-size: .67rem; font-weight: 600; letter-spacing: .3em; }
.hero h1 { max-width: 940px; margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6.2vw, 7.4rem); font-weight: 400; letter-spacing: -.035em; line-height: .93; }
.hero-copy { max-width: 560px; margin: 2rem 0 0; color: rgba(255,255,255,.72); font-size: clamp(.95rem, 1.3vw, 1.15rem); }
.hero-actions { display: flex; align-items: center; gap: 2.4rem; margin-top: 2.6rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid; padding: .85rem 1.5rem; text-decoration: none; text-transform: uppercase; font-size: .65rem; font-weight: 700; letter-spacing: .22em; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.button-primary { border-color: var(--gold); background: var(--gold); color: #111; }
.button-primary:hover, .button-primary:focus-visible { background: #d19a49; border-color: #d19a49; }
.text-link { display: inline-flex; gap: 1rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.35); padding: .35rem 0; color: #fff; text-decoration: none; text-transform: uppercase; font-size: .66rem; font-weight: 700; letter-spacing: .18em; }
.text-link span:last-child { color: var(--gold); font-size: 1rem; transition: transform .2s; }
.text-link:hover span:last-child { transform: translate(.2rem,-.2rem); }
.text-link.dark { color: var(--ink); border-color: var(--line); }
.scroll-cue { position: absolute; z-index: 2; right: clamp(1.25rem, 4vw, 4.5rem); bottom: 2rem; display: flex; gap: 1rem; align-items: center; color: rgba(255,255,255,.65); text-decoration: none; text-transform: uppercase; font-size: .6rem; letter-spacing: .22em; transform: rotate(90deg); transform-origin: right center; }
.scroll-cue i { display: block; width: 55px; height: 1px; background: var(--gold); }

.section { position: relative; padding: clamp(5.5rem, 10vw, 10rem) clamp(1.25rem, 7vw, 8rem); }
.section-dark { position: relative; padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 4vw, 4.5rem); background: var(--night); color: #fff; }
.section-number { position: absolute; top: clamp(3rem, 6vw, 6rem); left: clamp(1.25rem, 3.2vw, 4rem); color: var(--gold); font-size: .63rem; letter-spacing: .2em; }
.intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; }
.intro h2, .services h2, .about h2, .faq h2, .section-head h2, .contact h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 6rem); font-weight: 400; letter-spacing: -.03em; line-height: 1; }
.intro-copy { max-width: 520px; padding-bottom: .4rem; }
.intro-copy p { margin: 0 0 2rem; color: rgba(16,16,14,.72); font-size: clamp(1rem, 1.5vw, 1.22rem); }

.section-head { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: 3.2rem; }
.section-head h2 { font-size: clamp(3rem, 5vw, 5.8rem); }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem 1.5rem; }
.filters button { border: 0; border-bottom: 1px solid transparent; padding: .4rem 0; background: none; color: rgba(255,255,255,.55); text-transform: uppercase; font-size: .62rem; letter-spacing: .15em; cursor: pointer; }
.filters button.active { border-color: var(--gold); color: #fff; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(260px, 32vw); gap: 1rem; }
.project { position: relative; overflow: hidden; min-height: 320px; border: 0; padding: 0; background: #222; cursor: zoom-in; text-align: left; }
.project-wide { grid-column: span 2; }
.project-tall { grid-row: span 2; }
.project picture, .project picture img { width: 100%; height: 100%; }
.project img { object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82), transparent 55%); transition: background .3s; }
.project:hover img { transform: scale(1.035); filter: brightness(.85); }
.project-meta { position: absolute; z-index: 2; left: 1.4rem; right: 1.4rem; bottom: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; align-items: end; color: #fff; }
.project-meta b { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 400; }
.project-meta small { color: var(--gold); text-transform: uppercase; font-size: .55rem; letter-spacing: .16em; white-space: nowrap; }
.project[hidden] { display: none; }

.services { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: clamp(4rem, 9vw, 10rem); }
.services-heading { position: sticky; top: 120px; align-self: start; }
.service { display: grid; grid-template-columns: 50px minmax(180px,.8fr) minmax(220px,1fr); gap: 1.5rem; align-items: start; border-top: 1px solid var(--line); padding: 2.2rem 0; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service > span { color: var(--gold); font-size: .65rem; letter-spacing: .15em; }
.service h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.7rem); font-weight: 400; line-height: 1.08; }
.service p { margin: .2rem 0 0; color: rgba(16,16,14,.65); }

.statement { position: relative; min-height: min(80vh, 850px); display: grid; place-items: center; overflow: hidden; color: #fff; background: var(--night); }
.statement picture, .statement-shade { position: absolute; inset: 0; }
.statement img { width: 100%; height: 100%; object-fit: cover; }
.statement-shade { background: rgba(5,5,4,.58); }
.statement-content { position: relative; z-index: 2; max-width: 980px; padding: 5rem 1.25rem; text-align: center; }
.statement blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5.2vw, 6.2rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em; }

.about { display: grid; grid-template-columns: clamp(340px, 30vw, 420px) minmax(320px,1fr); gap: clamp(3rem, 8vw, 9rem); align-items: center; }
.about-portrait { width: 100%; aspect-ratio: 1 / 1; justify-self: center; align-self: center; overflow: hidden; background: #cbc4b6; }
.about-portrait picture { display: block; width: 100%; height: 100%; }
.about-portrait img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; filter: contrast(1.02); }
.about-copy { max-width: 690px; }
.about-copy h2 { margin-bottom: 2.4rem; }
.about-copy > p:not(.eyebrow) { color: rgba(16,16,14,.7); font-size: clamp(.98rem, 1.3vw, 1.15rem); }
.about-copy .text-link { margin-top: 1.4rem; }

.faq { display: grid; grid-template-columns: minmax(240px,.65fr) minmax(0,1.35fr); gap: clamp(4rem, 9vw, 10rem); border-top: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; cursor: pointer; list-style: none; padding: 1.8rem 3.2rem 1.8rem 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.9rem); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .3rem; top: 1.65rem; color: var(--gold); font-family: var(--sans); font-weight: 300; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 720px; margin: -.4rem 0 1.8rem; color: rgba(16,16,14,.65); }

.contact { display: grid; grid-template-columns: minmax(280px,.85fr) minmax(320px,1.15fr); gap: clamp(4rem, 9vw, 10rem); }
.contact h2 { font-size: clamp(3rem, 5vw, 6rem); margin-bottom: 3rem; }
.contact-email { display: inline-block; color: var(--gold); font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 2rem); text-underline-offset: .4rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-content: start; }
.contact-form label { display: grid; gap: .55rem; }
.contact-form label > span { color: rgba(255,255,255,.62); text-transform: uppercase; font-size: .6rem; letter-spacing: .16em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; outline: none; background: transparent; color: #fff; padding: .7rem 0; }
.contact-form select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--gold) 50%) calc(100% - 12px) 52%/5px 5px no-repeat, linear-gradient(135deg, var(--gold) 50%, transparent 50%) calc(100% - 7px) 52%/5px 5px no-repeat; }
.contact-form select option { color: #111; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form .full, .contact-form .form-note { grid-column: 1 / -1; }
.contact-form textarea { resize: vertical; }
.contact-form .button { width: max-content; margin-top: .4rem; }
.form-note { margin: 0; color: rgba(255,255,255,.42); font-size: .72rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; padding: 2.7rem clamp(1.25rem, 4vw, 4.5rem); background: #060605; color: rgba(255,255,255,.55); border-top: 1px solid var(--line-dark); }
.footer-links { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.4rem; }
.footer-links a, .footer-link-button { border: 0; padding: 0; background: none; color: inherit; text-decoration: none; text-transform: uppercase; font-size: .6rem; letter-spacing: .15em; cursor: pointer; }
.footer-links a:hover, .footer-link-button:hover { color: var(--gold); }
.site-footer > p { grid-column: 1; grid-row: 1; margin: 0; font-size: .67rem; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; border: 0; padding: 2.8rem; background: rgba(4,4,3,.97); }
.lightbox::backdrop { background: #040403; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: fixed; z-index: 2; top: 1rem; right: 1.5rem; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 50%; background: #111; color: #fff; font-size: 1.5rem; cursor: pointer; }

.privacy-dialog { width: min(680px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); border: 1px solid var(--line-dark); padding: clamp(2rem, 5vw, 4rem); background: var(--night); color: #fff; }
.privacy-dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(5px); }
.privacy-dialog h2 { margin: 0 0 1.6rem; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 400; line-height: 1; }
.privacy-dialog p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.privacy-dialog a { color: var(--gold); text-underline-offset: .25rem; }
.privacy-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: #fff; font-size: 1.35rem; cursor: pointer; }
.privacy-actions, .cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.privacy-actions { margin-top: 2rem; }
.cookie-choice { min-height: 46px; border: 1px solid var(--gold); padding: .7rem 1rem; background: transparent; color: #fff; text-transform: uppercase; font-size: .6rem; font-weight: 700; letter-spacing: .14em; cursor: pointer; transition: background .2s, color .2s; }
.cookie-choice:hover, .cookie-choice:focus-visible { background: var(--gold); color: #111; }

.cookie-banner { position: fixed; z-index: 80; left: clamp(.75rem, 2vw, 2rem); right: clamp(.75rem, 2vw, 2rem); bottom: clamp(.75rem, 2vw, 2rem); display: grid; grid-template-columns: minmax(0,1fr) auto; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; max-width: 1180px; margin: 0 auto; border: 1px solid var(--line-dark); padding: clamp(1.3rem, 3vw, 2.3rem); background: rgba(11,11,9,.98); color: #fff; box-shadow: 0 20px 70px rgba(0,0,0,.42); backdrop-filter: blur(16px); }
.cookie-banner[hidden] { display: none; }
.cookie-banner .eyebrow { margin-bottom: .55rem; }
.cookie-banner h2 { margin: 0 0 .45rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2.15rem); font-weight: 400; line-height: 1.1; }
.cookie-banner p:not(.eyebrow) { max-width: 720px; margin: 0; color: rgba(255,255,255,.65); font-size: .86rem; }
.cookie-more { border: 0; border-bottom: 1px solid rgba(255,255,255,.35); padding: .2rem 0; margin-top: .7rem; background: none; color: rgba(255,255,255,.78); font-size: .67rem; cursor: pointer; }
.cookie-actions { justify-content: flex-end; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; min-height: 76px; }
  /* A backdrop-filter on a fixed ancestor changes the containing block of
     fixed descendants in iOS Safari. Keep the mobile header opaque so the
     full-screen navigation remains anchored to the viewport after scroll. */
  .site-header.scrolled { background: rgba(11,11,9,.98); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-toggle { z-index: 2; display: grid; gap: 6px; width: 38px; height: 38px; place-content: center; border: 0; background: transparent; }
  .menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 1px; background: #fff; transition: transform .2s; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; z-index: 1; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; background: rgba(8,8,7,.98); }
  .menu-open .site-nav { display: flex; }
  .site-nav a { font-family: var(--serif); font-size: clamp(2.2rem, 8vw, 4.5rem); text-transform: none; letter-spacing: -.02em; }
  .language-switcher { z-index: 2; }
  .intro, .services, .about, .faq, .contact { grid-template-columns: 1fr; }
  .about-portrait { width: min(70%, 420px); }
  .services-heading { position: static; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; }
  .project-tall { grid-row: span 1; }
  .contact { gap: 4rem; }
  .cookie-banner { grid-template-columns: 1fr; align-items: start; }
  .cookie-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .site-header { gap: .7rem; padding-inline: 1rem; }
  .brand { width: min(190px, 48vw); }
  .language-switcher { gap: .2rem; }
  .hero-content { width: auto; margin: 0; padding: 8rem 1.25rem 6rem; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.7rem); }
  .hero-copy { max-width: 90%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .scroll-cue { display: none; }
  .section-head { align-items: start; flex-direction: column; }
  .filters { justify-content: flex-start; }
  .project-grid { display: flex; flex-direction: column; }
  .project { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .project-wide { grid-column: span 1; }
  .project-tall { min-height: 0; aspect-ratio: 3 / 4; }
  .project-meta { align-items: start; flex-direction: column; gap: .2rem; }
  .service { grid-template-columns: 38px 1fr; }
  .service p { grid-column: 2; }
  .statement { min-height: 72vh; }
  .about { grid-template-columns: 1fr; }
  .about-portrait { width: min(88%, 360px); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .contact-form .full, .contact-form .form-note { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { grid-column: 1; grid-row: 1; justify-content: flex-start; }
  .site-footer > p { grid-column: 1; grid-row: 2; }
  .lightbox { padding: 1rem; }
  .cookie-actions, .privacy-actions { display: grid; grid-template-columns: 1fr; }
  .cookie-choice { width: 100%; }
  .privacy-dialog { padding: 3.5rem 1.25rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
