:root {
  --bg: #f6f0e7;
  --bg-alt: #efe6d8;
  --ink: #23201d;
  --ink-soft: #5d554d;
  --accent: #a4553a;
  --line: #d9cdbb;
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 240, 231, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { text-decoration: none; display: flex; flex-direction: row; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; display: block; }
.brand .bt { display: flex; flex-direction: column; line-height: 1.1; }
.brand .bt b { font-weight: 300; font-size: 19px; letter-spacing: 0.32em; }
.brand .bt span { font-size: 9px; letter-spacing: 0.4em; margin-top: 3px; padding-left: 2px; }
nav a { text-decoration: none; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-left: 24px; color: var(--ink-soft); }
nav a:hover { color: var(--accent); }

/* hero */
.hero {
  padding: 140px 0 120px; color: #fff;
  background:
    linear-gradient(90deg, rgba(24,20,17,.82) 0%, rgba(24,20,17,.55) 48%, rgba(24,20,17,.12) 100%),
    url("img/hero.webp") center / cover no-repeat;
}
.hero .loc { font-size: 12px; letter-spacing: 0.3em; color: #e3b49f; margin-bottom: 28px; }
.hero h1 { font-weight: 300; font-size: clamp(34px, 6.2vw, 68px); line-height: 1.08; letter-spacing: 0.01em; text-transform: uppercase; }
.hero h1 strong { font-weight: 800; display: block; }
.hero p.lead { margin-top: 28px; max-width: 560px; font-size: 18px; color: rgba(255,255,255,.88); font-weight: 300; }
.cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 14px 28px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink); transition: background .2s, color .2s;
}
.btn.solid { background: var(--ink); color: var(--bg); }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.hero .btn { border-color: #fff; }
.hero .btn.solid { background: #fff; color: var(--ink); }
.hero .btn.solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero .btn.ghost { color: #fff; }
.hero .btn.ghost:hover { background: #fff; color: var(--ink); }

/* sections */
section { padding: 80px 0; border-top: 1px solid var(--line); }
section.alt { background: var(--bg-alt); }
.eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
h2 { font-weight: 300; font-size: clamp(26px, 4vw, 40px); text-transform: uppercase; line-height: 1.15; }
h2 strong { font-weight: 800; }
.sub { margin-top: 14px; color: var(--ink-soft); max-width: 600px; font-weight: 300; font-size: 17px; }
.grid { display: grid; gap: 28px; margin-top: 48px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card { border-top: 2px solid var(--accent); padding-top: 18px; }
.card .n { font-size: 13px; letter-spacing: 0.2em; color: var(--accent); }
.card h3 { font-size: 19px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin: 8px 0 10px; }
.card p { color: var(--ink-soft); font-weight: 300; }

/* process */
.steps { list-style: none; margin-top: 48px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .num { font-size: 32px; font-weight: 300; color: var(--accent); line-height: 1; }
.steps h3 { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.steps p { color: var(--ink-soft); font-weight: 300; margin-top: 4px; }

/* team */
.person .years { font-size: 52px; font-weight: 300; line-height: 1; color: var(--ink); }
.person .years small { font-size: 12px; letter-spacing: 0.2em; color: var(--ink-soft); display: block; margin-top: 6px; }
.person h3 { margin-top: 16px; font-size: 20px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.04em; }
.person .role { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 4px 0 10px; }
.person p { color: var(--ink-soft); font-weight: 300; }
.note { margin-top: 36px; color: var(--ink-soft); font-weight: 300; max-width: 640px; }

/* contact */
.contact-list { margin-top: 36px; border-top: 1px solid var(--line); }
.contact-list div { display: grid; grid-template-columns: 160px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.contact-list dt { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.contact-list dd { font-size: 20px; font-weight: 300; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--accent); }

/* footer */
footer { padding: 36px 0 48px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.12em; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer a { text-decoration: none; text-transform: uppercase; }
footer a:hover { color: var(--accent); }

/* policy page */
.doc { padding: 72px 0 48px; max-width: 760px; }
.doc h1 { font-weight: 300; font-size: clamp(28px, 5vw, 44px); text-transform: uppercase; line-height: 1.12; }
.doc h1 strong { font-weight: 800; }
.doc .meta { margin-top: 12px; font-size: 13px; letter-spacing: 0.12em; color: var(--ink-soft); }
.doc h2 { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; margin: 40px 0 10px; text-transform: uppercase; }
.doc p, .doc li { color: #3b3631; font-weight: 400; }
.doc p { margin-top: 10px; }
.doc ul { margin: 10px 0 0 20px; }
.doc li { margin-top: 6px; }
.doc a { color: var(--accent); }

@media (max-width: 760px) {
  .hero { padding: 56px 0 56px; }
  section { padding: 56px 0; }
  .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 48px 1fr; }
  .contact-list div { grid-template-columns: 1fr; gap: 2px; }
  .contact-list dd { font-size: 18px; word-break: break-word; }
}

/* facts strip */
.facts { background: var(--ink); color: #f1e9dc; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts .wrap > div { padding: 30px 20px; border-left: 1px solid rgba(255,255,255,.14); }
.facts .wrap > div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-size: 30px; font-weight: 300; line-height: 1.1; }
.facts span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #bfb3a2; }

/* gallery */
.gallery { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; }
.gallery figure { position: relative; overflow: hidden; background: var(--bg-alt); }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  background: linear-gradient(0deg, rgba(24,20,17,.7), rgba(24,20,17,0));
}

/* team portraits */
.person { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; }
.person img { width: 150px; height: auto; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.person .years { font-size: 40px; }

/* contact band with photo */
section.contact-band {
  color: #fff; border-top: 0;
  background:
    linear-gradient(0deg, rgba(24,20,17,.78), rgba(24,20,17,.78)),
    url("img/contact.webp") center / cover no-repeat;
}
.contact-band .eyebrow { color: #e3b49f; }
.contact-band .sub { color: rgba(255,255,255,.8); }
.contact-band .contact-list { border-top-color: rgba(255,255,255,.2); }
.contact-band .contact-list div { border-bottom-color: rgba(255,255,255,.2); }
.contact-band .contact-list dt { color: rgba(255,255,255,.65); }
.contact-band .contact-list a { border-bottom-color: #e3b49f; }
.contact-band .btn { border-color: #fff; color: #fff; margin-top: 32px; }
.contact-band .btn:hover { background: #fff; color: var(--ink); }

@media (max-width: 760px) {
  .hero { padding: 84px 0 72px; background-position: 60% center;
    background-image: linear-gradient(180deg, rgba(24,20,17,.7) 0%, rgba(24,20,17,.55) 100%), url("img/hero-m.webp"); }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .facts .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts .wrap > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .person { grid-template-columns: 110px 1fr; gap: 16px; }
  .person img { width: 110px; }
}

/* case studies */
.case-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.case-card { display: block; text-decoration: none; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.case-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .6s ease; }
.case-card:hover img { transform: scale(1.03); }
.case-card .case-card-body { padding: 20px 22px 24px; }
.case-card .tag { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.case-card h3 { font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin: 8px 0 6px; }
.case-card p { color: var(--ink-soft); font-weight: 300; }
.case-card .meta { display: block; margin-top: 16px; font-size: 12px; letter-spacing: .08em; color: var(--ink-soft); }
.case-card .more { display: block; margin-top: 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.case-card:hover .more { color: var(--accent); }

.case-hero { padding: 120px 0 56px; color: #fff; background-image: linear-gradient(0deg,rgba(24,20,17,.72),rgba(24,20,17,.15)), var(--h); background-size: cover; background-position: center; min-height: 420px; display: flex; align-items: flex-end; }
.case-hero .wrap { width: 100%; }
.case-hero h1 { font-weight: 300; font-size: clamp(32px, 6vw, 60px); text-transform: uppercase; line-height: 1.08; margin-top: 8px; }
.case-hero p { margin-top: 14px; font-size: 18px; font-weight: 300; max-width: 620px; color: rgba(255,255,255,.9); }
.case-hero .eyebrow { color: #e3b49f; }
.crumb { display: inline-block; margin-bottom: 36px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.85); }
.crumb:hover { color: #fff; }
section.plain { border-top: 0; }
.case-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.case-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case-facts div:first-child { border-top: 1px solid var(--line); }
.case-facts dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.case-facts dd { font-size: 18px; font-weight: 300; }
.case-gallery { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.case-gallery figure { overflow: hidden; background: var(--bg-alt); }
.case-gallery img { width: 100%; display: block; aspect-ratio: 3 / 2; object-fit: cover; }
.case-nav { margin-top: 40px; display: flex; justify-content: space-between; gap: 16px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.case-nav a { text-decoration: none; }
.case-nav a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .case-hero { padding: 88px 0 40px; min-height: 340px; }
  .case-grid { grid-template-columns: 1fr; gap: 28px; }
  .case-gallery { grid-template-columns: 1fr; }
}

/* footer + social */
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { height: 28px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.social { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.social span { color: rgba(255,255,255,.6); }
.social a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(227,180,159,.7); padding-bottom: 2px; }
.social a:hover { color: #e3b49f; }
@media (max-width: 760px) { .brand .bt b { font-size: 16px; } .brand img { height: 32px; } }

section[id], main[id] { scroll-margin-top: 64px; }


.team-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin: 32px 0 0; align-items: stretch; }
.team-split .team-photo { margin: 0; }
.team-split .team-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center 40%; display: block; }
.team-caps { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.team-caps .card { border-top: 1px solid var(--accent); padding-top: 18px; }
@media (max-width: 820px) { .team-split { grid-template-columns: 1fr; gap: 32px; } .team-split .team-photo img { min-height: 0; height: auto; } }
.team-leads2 { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line, rgba(0,0,0,.15)); }

/* card image rotation */
.case-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; opacity: 0; transition: opacity .25s ease, transform .6s ease; }
.case-media img.on { opacity: 1; }
.case-card:hover .case-media img { transform: scale(1.03); }

/* case slider */
.slider { position: relative; margin-top: 28px; background: var(--bg-alt); }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slides::-webkit-scrollbar { display: none; }
.slides figure { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.slides img { width: 100%; height: min(68vh, 640px); object-fit: cover; display: block; }
.sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; background: rgba(246,240,231,.9); color: var(--ink); font-size: 18px; cursor: pointer; }
.sl-btn.prev { left: 14px; } .sl-btn.next { right: 14px; }
.sl-btn:hover { background: #fff; }
.sl-count { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; background: rgba(24,20,17,.6); color: #fff; font-size: 12px; letter-spacing: .12em; }
@media (max-width: 820px) { .slides img { height: 58vh; } .sl-btn { width: 40px; height: 40px; } }
.case-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.case-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.case-dots i.on { background: #fff; }

/* mobile menu */
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; margin-right: -10px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .25s, opacity .25s; }
header.site.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
header.site.open .burger span:nth-child(2) { opacity: 0; }
header.site.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .burger { display: block; }
  header.site nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; flex-direction: column; }
  header.site.open nav { display: flex; }
  header.site nav a { margin: 0; padding: 16px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  header.site nav a:last-child { border-bottom: 0; }
}
@media (max-width: 820px) { .facts b { font-size: 26px; } }


.brand { gap: 14px; }
.brand .bt { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; height: 36px; }
.brand .bt img { display: block; width: auto; }
.brand .b1 { height: 17px; }
.brand .b2 { height: 8.5px; }
@media (max-width: 820px) { .brand .bt { height: 32px; } .brand .b1 { height: 15px; } .brand .b2 { height: 7.5px; } .brand > img:first-child { height: 32px; width: auto; } }

/* case gallery: mosaic by zone */
.zone { margin-top: 56px; } .zone:first-child { margin-top: 0; }
.zone h3 { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted, #6b6258); margin: 0 0 16px; }
.mz { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 18px; }
.zone .mz { margin-top: 0; }
.mz figure { margin: 0; overflow: hidden; background: var(--bg-alt); cursor: zoom-in; }
.mz img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.mz figure:hover img { transform: scale(1.03); }
.mz .r1 { grid-column: span 6; height: 540px; }
.mz .r2 { grid-column: span 3; height: 380px; }
.mz .r3 { grid-column: span 2; height: 280px; }
@media (max-width: 820px) {
  .mz { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .mz .r1 { grid-column: span 2; height: 250px; }
  .mz .r2 { grid-column: span 1; height: 190px; }
  .mz .r3 { grid-column: span 1; height: 190px; }
  .mz .r3:first-child { grid-column: span 2; height: 230px; }
  .zone { margin-top: 36px; }
}
/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(18,15,12,.96); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 94vw; max-height: 88vh; object-fit: contain; display: block; }
.lb button { position: absolute; border: 0; background: rgba(246,240,231,.12); color: #fff; width: 48px; height: 48px; font-size: 22px; cursor: pointer; }
.lb button:hover { background: rgba(246,240,231,.28); }
.lb .lb-x { top: 14px; right: 14px; } .lb .lb-p { left: 14px; top: 50%; margin-top: -24px; } .lb .lb-n { right: 14px; top: 50%; margin-top: -24px; }
.lb .lb-c { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: #fff; font-size: 12px; letter-spacing: .14em; opacity: .8; }
@media (max-width: 820px) { .lb .lb-p, .lb .lb-n { display: none; } }
/* home card browsing */
.cm-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; line-height: 34px; text-align: center; background: rgba(246,240,231,.9); color: #1b1612; font-size: 24px; opacity: 0; transition: opacity .2s; z-index: 2; cursor: pointer; }
.cm-btn.prev { left: 10px; } .cm-btn.next { right: 10px; }
.case-card:hover .cm-btn { opacity: 1; }
.cm-count { position: absolute; right: 10px; top: 10px; padding: 4px 9px; background: rgba(24,20,17,.6); color: #fff; font-size: 11px; letter-spacing: .12em; z-index: 2; opacity: 0; transition: opacity .2s; }
.case-card:hover .cm-count, .case-media.touched .cm-count { opacity: 1; }
@media (hover: none) { .cm-btn { display: none; } .cm-count { opacity: 1; } }
.case-media img:not(.on) { transition: opacity .25s ease; }

@media (max-width: 820px) { .case-hero { background-image: linear-gradient(0deg,rgba(24,20,17,.72),rgba(24,20,17,.15)), var(--hm); } }
