:root {
  --ink: #171716;
  --ink-soft: #343331;
  --paper: #f7f6f3;
  --white: #fff;
  --stone: #d8d2ca;
  --metal: #9b8f82;
  --line: rgba(23, 23, 22, 0.16);
  --radius-xl: 42px;
  --radius-lg: 32px;
  --radius-md: 22px;
  --max: 1380px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; }
a { color: inherit; }
button { font: 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; left: 1rem; top: -5rem; z-index: 1000; background: #fff; padding: .8rem 1rem; border-radius: 18px; }
.skip-link:focus { top: 1rem; }

.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); background: rgba(247,246,243,.96); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; border-radius: 0 0 26px 26px; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(23,23,22,.06); }
.site-header .brand { position: absolute; z-index: 2; left: var(--pad); top: 10px; width: 206px; height: 126px; padding: .58rem; display: flex; align-items: center; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 12px 34px rgba(23,23,22,.12); text-decoration: none; overflow: hidden; transition: height .25s, width .25s, box-shadow .25s; }
.site-header.is-scrolled .brand { width: 184px; height: 112px; box-shadow: 0 10px 28px rgba(23,23,22,.16); }
.site-header .brand img { width: 100%; height: 100%; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.75rem); margin-left: auto; }
.site-nav a { text-decoration: none; font-size: .82rem; letter-spacing: .08em; position: relative; }
.site-nav > a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; bottom: -.45rem; width: 100%; height: 1px; background: var(--ink); 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; }
.nav-contact { border: 1px solid var(--ink); border-radius: 17px; padding: .72rem 1rem; transition: background .2s, color .2s; }
.nav-contact:hover, .nav-contact:focus-visible { background: var(--ink); color: var(--white); }
.menu-toggle { display: none; border: 0; background: transparent; padding: .6rem; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 1px; background: var(--ink); margin: 5px 0; }

.hero { min-height: calc(100vh - 92px); height: 780px; max-height: 960px; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: #222; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; animation: heroIn 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { background: linear-gradient(90deg, rgba(10,10,9,.78) 0%, rgba(10,10,9,.48) 44%, rgba(10,10,9,.10) 72%), linear-gradient(0deg, rgba(10,10,9,.5), transparent 40%); }
.hero-content { position: relative; z-index: 1; width: min(800px, calc(100% - 2 * var(--pad))); margin: 0 0 clamp(5.5rem, 12vh, 8.5rem) var(--pad); }
.eyebrow { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; margin: 0 0 1.7rem; }
.hero h1 { margin: 0; font-size: clamp(3rem, 6.6vw, 6.9rem); line-height: .96; letter-spacing: -.052em; font-weight: 430; max-width: 980px; }
.hero h1 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-copy { max-width: 650px; margin: 2rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.58; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; align-items: center; gap: 2rem; margin-top: 2.2rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .75rem 1.35rem; border-radius: 18px; text-decoration: none; font-size: .82rem; letter-spacing: .07em; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--stone); }
.text-link { text-decoration: none; font-size: .82rem; letter-spacing: .07em; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: .35rem; }
.scroll-cue { position: absolute; z-index: 2; right: var(--pad); bottom: 2rem; display: flex; gap: 1rem; align-items: center; color: rgba(255,255,255,.75); text-decoration: none; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue i { display: block; height: 1px; width: 68px; background: currentColor; }

.sector-bar { min-height: 84px; display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 3vw, 3.4rem); margin-top: -36px; padding: calc(1.2rem + 36px) var(--pad) 1.2rem; background: var(--ink); color: rgba(255,255,255,.72); border-radius: 0 0 var(--radius-xl) var(--radius-xl); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.sector-bar i { width: 3px; height: 3px; background: var(--metal); border-radius: 50%; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(6rem, 11vw, 10rem) var(--pad); }
.section-label { display: flex; gap: 1.15rem; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 5rem); font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: #68635e; }
.section-label::after { content: ""; display: block; height: 1px; width: 72px; background: var(--line); }
.section-label span { color: var(--metal); }
.section-label.light { color: rgba(255,255,255,.64); }
.section-label.light::after { background: rgba(255,255,255,.25); }
.display-title { font-size: clamp(2.4rem, 5vw, 5.25rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 420; margin: 0; }
.display-title span { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; color: #766f68; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, .8fr); gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.intro-copy { max-width: 500px; color: #625e59; }
.intro-copy .lead { color: var(--ink); font-size: 1.25rem; line-height: 1.55; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; margin-top: clamp(5rem, 9vw, 8rem); }
.service { min-height: 280px; padding: 2rem clamp(1rem, 2vw, 2rem); background: #fff; border: 1px solid rgba(23,23,22,.08); border-radius: var(--radius-lg); }
.service:not(:first-child) { padding-left: clamp(1rem, 2vw, 2rem); }
.service-number { font: italic 1rem Georgia, serif; color: var(--metal); }
.service h3 { font-size: 1.16rem; font-weight: 520; letter-spacing: -.01em; margin: 4.5rem 0 .9rem; }
.service p { margin: 0; color: #6b6761; font-size: .92rem; }
.production-note { margin-top: clamp(2.5rem, 5vw, 4.5rem); padding: clamp(2.2rem, 5vw, 4.5rem); background: var(--ink); color: var(--white); display: grid; grid-template-columns: .72fr 1.25fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; border-radius: var(--radius-xl); overflow: hidden; }
.production-logo { min-height: 150px; background: #fff; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; border-radius: 28px; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.production-logo:hover, .production-logo:focus-visible { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.production-logo img { width: min(145px, 100%); height: auto; object-fit: contain; }
.production-logo span { color: #77716a; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.production-note h3 { margin: 0; font: 400 clamp(1.65rem, 3vw, 2.75rem)/1.15 Georgia, serif; }
.production-note > p:last-child { margin: .2rem 0 0; color: rgba(255,255,255,.66); font-size: .92rem; }

.projects { max-width: none; background: #e9e6e1; }
.projects-heading, .project-grid { max-width: calc(var(--max) - 2 * var(--pad)); margin-left: auto; margin-right: auto; }
.projects-heading { display: grid; grid-template-columns: minmax(180px,.5fr) minmax(0,1.5fr); gap: 3rem; }
.projects-heading .section-label { margin-top: 1rem; }
.projects-intro { max-width: 650px; margin: 2rem 0 4rem; color: #625e59; font-size: 1.06rem; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); grid-template-rows: repeat(38, 48px); gap: 0; position: relative; padding: 2rem 0 1rem; }
.project-card { margin: 0; position: relative; border-radius: var(--radius-xl); box-shadow: 0 22px 48px rgba(23,23,22,.16); }
.project-card:nth-child(1) { grid-column: 1 / 9; grid-row: 1 / 10; z-index: 1; }
.project-card:nth-child(2) { grid-column: 8 / 13; grid-row: 7 / 17; z-index: 3; }
.project-card:nth-child(3) { grid-column: 1 / 6; grid-row: 12 / 22; z-index: 2; }
.project-card:nth-child(4) { grid-column: 5 / 10; grid-row: 18 / 28; z-index: 4; }
.project-card:nth-child(5) { grid-column: 8 / 13; grid-row: 24 / 33; z-index: 3; }
.project-card:nth-child(6) { grid-column: 1 / 7; grid-row: 29 / 39; z-index: 2; }
.project-open { appearance: none; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: #222; color: inherit; text-align: left; cursor: zoom-in; overflow: hidden; }
.project-open:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.02); transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .3s; }
.project-card:hover img { transform: scale(1.015); filter: saturate(1); }
.project-card { overflow: hidden; }
.project-meta { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding: 3.5rem 1.2rem 1.15rem; color: #fff; background: linear-gradient(transparent, rgba(10,10,9,.76)); }
.project-meta > span { display: flex; flex-direction: column; }
.project-meta strong { font-size: 1.1rem; font-weight: 520; }
.project-meta small { margin: .15rem 0 0; color: rgba(255,255,255,.72); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.project-meta > small { text-align: right; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: minmax(56px, 1fr) minmax(0, 1200px) minmax(56px, 1fr); align-items: center; gap: clamp(.5rem, 2vw, 2rem); padding: clamp(1rem, 3vw, 3rem); color: #fff; background: rgba(13,13,12,.7); backdrop-filter: blur(22px) saturate(.72); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { grid-column: 2; margin: 0; display: grid; place-items: center; min-width: 0; }
.lightbox-figure img { width: auto; max-width: 100%; height: auto; max-height: min(78vh, 850px); object-fit: contain; box-shadow: 0 24px 70px rgba(0,0,0,.38); border-radius: var(--radius-lg); }
.lightbox-figure figcaption { width: 100%; max-width: 100%; display: flex; justify-content: space-between; gap: 2rem; padding-top: 1rem; }
.lightbox-figure strong { font-size: .92rem; font-weight: 500; }
.lightbox-figure figcaption span { color: rgba(255,255,255,.62); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.lightbox-close, .lightbox-nav { appearance: none; border: 1px solid rgba(255,255,255,.32); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); cursor: pointer; transition: background .2s, transform .2s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-close { position: absolute; top: clamp(1rem, 2.5vw, 2rem); right: clamp(1rem, 2.5vw, 2rem); width: 46px; height: 46px; border-radius: 50%; font-size: 1.8rem; font-weight: 200; line-height: 1; }
.lightbox-nav { width: 52px; height: 70px; border-radius: 22px; font-size: 2.2rem; line-height: 1; }
.lightbox-prev { grid-column: 1; justify-self: end; }
.lightbox-next { grid-column: 3; justify-self: start; }
.lightbox-count { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); color: rgba(255,255,255,.58); font-size: .72rem; letter-spacing: .13em; }

.method { background: var(--paper); }
.method-grid { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(4rem, 11vw, 10rem); }
.method-statement p { max-width: 560px; margin-top: 2rem; color: #625e59; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 55px 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--metal); font: italic .9rem Georgia, serif; padding-top: .25rem; }
.steps h3 { margin: 0 0 .35rem; font-size: 1.08rem; font-weight: 520; }
.steps p { margin: 0; color: #6b6761; font-size: .92rem; }

.contact { width: calc(100% - 2 * clamp(.75rem, 2vw, 2rem)); max-width: none; margin: 0 clamp(.75rem, 2vw, 2rem) clamp(.75rem, 2vw, 2rem); padding: 0; display: grid; grid-template-columns: 1.1fr .9fr; min-height: 720px; background: var(--ink); color: var(--white); border-radius: var(--radius-xl); overflow: hidden; }
.contact-image img { height: 100%; object-fit: cover; filter: saturate(.75); }
.contact-panel { padding: clamp(4.5rem, 8vw, 8rem) var(--pad); display: flex; flex-direction: column; justify-content: center; }
.contact-panel h2 { font: 400 clamp(2.5rem, 4.5vw, 4.8rem)/1.03 Georgia, serif; letter-spacing: -.035em; margin: 0; }
.contact-panel > p { max-width: 580px; color: rgba(255,255,255,.68); margin: 2rem 0; }
.email-link { display: inline-block; width: fit-content; color: var(--white); font-size: clamp(1.2rem, 2.2vw, 2rem); text-decoration-thickness: 1px; text-underline-offset: .38rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; border-top: 1px solid rgba(255,255,255,.18); margin-top: 4rem; padding-top: 1.7rem; }
.contact-details span { display: block; color: rgba(255,255,255,.46); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .55rem; }
.contact-details p { margin: 0; color: rgba(255,255,255,.82); font-size: .88rem; }

.footer { padding: clamp(3.5rem, 6vw, 5.5rem) var(--pad) 2rem; background: #0d0d0c; color: rgba(255,255,255,.62); display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 2.5rem 4rem; border-radius: var(--radius-xl) var(--radius-xl) 0 0; font-size: .73rem; line-height: 1.7; }
.footer-identity p { margin: 1rem 0 0; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand { display: inline-flex; color: var(--white); text-decoration: none; font-size: 1rem; font-weight: 650; letter-spacing: .22em; }
.footer-company, .footer-contact { display: flex; flex-direction: column; }
.footer-company strong { color: var(--white); font-weight: 500; letter-spacing: .08em; margin-bottom: .45rem; }
.footer-contact a { width: fit-content; color: var(--white); font-size: .9rem; margin-bottom: .45rem; text-underline-offset: .25rem; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.3rem; margin-top: .6rem; display: flex; justify-content: space-between; }
.footer-bottom a { color: inherit; text-underline-offset: .25rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes heroIn { from { opacity: .6; transform: scale(1.03); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .site-header .brand, .site-header.is-scrolled .brand { top: 7px; width: 128px; height: 82px; padding: .35rem; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: .75rem; right: .75rem; display: none; padding: 1.5rem var(--pad) 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: 0 18px 42px rgba(23,23,22,.12); flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .6rem 0; font-size: .95rem; }
  .nav-contact { text-align: center; margin-top: .5rem; }
  .hero { min-height: calc(100svh - 72px); }
  .intro-grid, .projects-heading, .method-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service:nth-child(2) { border-right: 0; }
  .production-note { grid-template-columns: 1fr 1.5fr; }
  .production-note > p:last-child { grid-column: 2; }
  .project-grid { grid-template-rows: repeat(34, 38px); }
  .project-card:nth-child(1) { grid-column: 1 / 10; grid-row: 1 / 9; }
  .project-card:nth-child(2) { grid-column: 7 / 13; grid-row: 7 / 16; }
  .project-card:nth-child(3) { grid-column: 1 / 7; grid-row: 12 / 20; }
  .project-card:nth-child(4) { grid-column: 5 / 11; grid-row: 18 / 26; }
  .project-card:nth-child(5) { grid-column: 8 / 13; grid-row: 23 / 29; }
  .project-card:nth-child(6) { grid-column: 1 / 7; grid-row: 27 / 35; }
  .contact { grid-template-columns: 1fr; }
  .contact-image { height: 55vw; min-height: 360px; }
}

@media (max-width: 620px) {
  .hero { height: 720px; }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,10,9,.85) 0%, rgba(10,10,9,.52) 64%, rgba(10,10,9,.15)); }
  .hero-content { margin-bottom: 5.2rem; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.4rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions { gap: 1.2rem; }
  .scroll-cue { display: none; }
  .sector-bar { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .services-grid { grid-template-columns: 1fr; }
  .service, .service:not(:first-child) { min-height: auto; padding: 1.8rem 0 2rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .service, .service:not(:first-child) { padding-left: 1.5rem; padding-right: 1.5rem; border: 1px solid rgba(23,23,22,.08); }
  .service h3 { margin-top: 2rem; }
  .project-grid { display: flex; flex-direction: column; gap: 1.3rem; padding-top: 0; }
  .project-card { width: 88%; height: clamp(260px, 72vw, 390px); }
  .project-card:nth-child(even) { align-self: flex-end; }
  .project-card:nth-child(3) { width: 76%; }
  .project-card:nth-child(6) { width: 82%; }
  .project-meta { align-items: start; }
  .project-meta > span { text-align: right; }
  .lightbox { grid-template-columns: 44px minmax(0,1fr) 44px; gap: .25rem; padding: .75rem; }
  .lightbox-figure img { max-height: 72vh; border-radius: 24px; }
  .lightbox-nav { width: 42px; height: 58px; border-radius: 18px; }
  .lightbox-figure figcaption { flex-direction: column; gap: .15rem; padding: .8rem .35rem 0; }
  .lightbox-close { width: 42px; height: 42px; }
  .contact-details { grid-template-columns: 1fr; }
  .production-note { grid-template-columns: 1fr; }
  .production-note > p:last-child { grid-column: auto; }
  .footer { grid-template-columns: 1fr; }
  .footer-bottom { grid-column: auto; }
}

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