/* ATLANT — Luxury Residential Construction
   Layout: architectural grid (12-col, 1px rules) carrying editorial moments (Playfair headlines, charcoal bands).
   Brand: Charcoal / Cream / Coral, Roboto + Playfair Display. Single deliberate light look with charcoal bands. */
:root {
  --charcoal: #212121;
  --cream: #F4EFEB;
  --cream-tint: #FAF7F4;
  --sand: #D9C2B4;
  --coral: #FF7D57;
  --coral-ink: #FF7D57;           /* brand coral, used as-is on cream as well as charcoal */
  --muted: #5E5754;               /* warm grey for secondary text on cream */
  --muted-dark: #B9B1AB;          /* secondary text on charcoal */
  --rule: #212121;
  --rule-soft: #D8D0C9;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Roboto', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1280px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --header-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 65ch; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--charcoal); color: var(--cream); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin: 0 auto;
  padding-left: max(var(--gutter), 32px);
  padding-right: max(var(--gutter-r), 32px);
}
@media (max-width: 640px) {
  .wrap { padding-left: var(--gutter); padding-right: var(--gutter-r); }
}

/* ---------- Type ---------- */
.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.label--coral { color: var(--coral-ink); }
.band .label--coral, .hero .label--coral { color: var(--coral); }
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.display em { font-style: italic; }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.12;
}
.h2 em { font-style: italic; }
.h-caps {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; font-weight: 300; }
.caption { font-size: 13px; font-style: italic; font-weight: 300; color: var(--muted); }
.caption::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--coral); vertical-align: middle; margin-right: 10px; }
.band .caption { color: var(--muted-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid currentColor; border-radius: 2px;
  font-family: var(--sans); font-size: 14px; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  background: transparent; color: inherit; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.btn--solid { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.btn--solid:hover { background: var(--coral); border-color: var(--coral); color: var(--charcoal); }
.btn--light { color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }
.btn--coral { background: var(--coral); border-color: var(--coral); color: var(--charcoal); }
.btn--coral:hover { background: var(--cream); border-color: var(--cream); color: var(--charcoal); }
.btn .arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .25s ease; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 26px; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 6px; }
.link-arrow .arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .25s ease; }
.link-arrow .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.link-arrow:hover .arrow { width: 28px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--cream); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--cream); color: var(--charcoal);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .9; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark__name { font-size: 30px; font-weight: 300; letter-spacing: 0.16em; padding-bottom: 6px; border-bottom: 1.5px solid currentColor; }
.wordmark__tag { font-size: 10.5px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 7px; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav a { text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--coral); transition: right .3s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav .btn { min-height: 42px; padding: 0 18px; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 10px; margin-right: -10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s ease, opacity .3s ease; }

/* Transparent header over the video hero */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; color: var(--cream); }
.has-hero .site-header .btn:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }
.has-hero .site-header.is-solid { background: var(--cream); color: var(--charcoal); box-shadow: 0 1px 0 rgba(33,33,33,.06); }
.has-hero .site-header.is-solid .btn:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.has-hero body::before, body.has-hero::before { background: var(--charcoal); }

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .wordmark__name { font-size: 24px; }
  .wordmark__tag { font-size: 9.5px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: calc(var(--header-h) + 24px) var(--gutter-r) 48px var(--gutter);
    background: var(--charcoal); color: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s;
  }
  .nav a { font-family: var(--serif); text-transform: none; letter-spacing: 0; font-size: 36px; font-weight: 400; }
  .nav .btn { font-family: var(--sans); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-top: 24px; min-height: 52px; color: var(--cream); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .site-header { color: var(--cream); background: transparent; box-shadow: none; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
}

/* ---------- Hero (video) ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 600px; height: 100svh; max-height: 1000px;
  color: var(--cream); background: var(--charcoal);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,0) 22%),
    linear-gradient(0deg, rgba(20,20,20,.78) 0%, rgba(20,20,20,.25) 45%, rgba(20,20,20,0) 70%);
}
.hero__inner { width: 100%; padding-bottom: clamp(32px, 6vh, 72px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; }
.hero .label { color: var(--cream); display: flex; align-items: center; gap: 14px; }
.hero .label::before { content: ""; width: 28px; height: 1px; background: var(--coral); }
.hero .display { max-width: 15ch; margin: 18px 0 22px; }
.hero__sub { font-size: clamp(16px, 1.4vw, 19px); max-width: 46ch; margin-bottom: 30px; color: rgba(244,239,235,.92); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.hero__meta .caption { color: rgba(244,239,235,.85); }
.hero__meta .caption::before { background: var(--coral); }
.video-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(33,33,33,.35); color: var(--cream);
  border: 1px solid rgba(244,239,235,.6); border-radius: 2px;
  font: 400 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 14px; cursor: pointer; backdrop-filter: blur(4px); white-space: nowrap;
}
.video-toggle:hover { background: var(--cream); color: var(--charcoal); }
.video-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 1px; height: 46px; background: rgba(244,239,235,.35); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: var(--cream); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { to { top: 46px; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; top: 0; } }
@media (max-width: 760px) {
  .hero { min-height: 560px; height: 92svh; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__meta { align-items: flex-start; text-align: left; flex-direction: row-reverse; justify-content: space-between; align-items: center; }
  .scroll-cue { display: none; }
}

/* ---------- Awards strip ---------- */
.awards { background: var(--charcoal); color: var(--cream); }
.awards__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.awards__list li { padding: 30px 24px 30px 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid rgba(244,239,235,.18); }
.awards__list li + li { padding-left: 24px; border-left: 1px solid rgba(244,239,235,.18); }
.awards__year { font-family: var(--serif); font-size: 15px; font-style: italic; color: var(--coral); }
.awards__title { font-size: 16px; font-weight: 400; line-height: 1.35; }
.awards__note { font-size: 13px; color: var(--muted-dark); }
@media (max-width: 960px) {
  .awards__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .awards__list li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .awards__list { grid-template-columns: 1fr; }
  .awards__list li, .awards__list li + li { padding: 20px 0; border-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .h2 { margin-top: 12px; }
@media (max-width: 640px) { .section-head { grid-template-columns: 1fr; } }

/* Intro / statement */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__figure { position: relative; }
.intro__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro__figure figcaption { margin-top: 12px; }
.intro__text .h2 { margin: 16px 0 28px; }
.facts { list-style: none; padding: 0; margin: 36px 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.facts li { padding: 18px 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--rule-soft); }
.facts strong { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.facts span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro__figure img { aspect-ratio: 3 / 2; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--rule-soft); }
}

/* ---------- Project cards ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.card { grid-column: span 6; display: flex; flex-direction: column; text-decoration: none; color: inherit; min-width: 0; }
.card--wide { grid-column: span 12; }
.card--third { grid-column: span 4; }
.card__img { position: relative; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.card--wide .card__img { aspect-ratio: 21 / 9; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img img { transform: scale(1.035); }
.card__badge { position: absolute; left: 0; top: 18px; background: var(--coral); color: var(--charcoal); padding: 7px 12px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.card__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding-top: 16px; border-top: 1px solid transparent; }
.card__title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; line-height: 1.15; }
.card__title small { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; color: var(--muted); margin-left: 10px; vertical-align: middle; }
.card__type { font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); align-self: center; text-align: right; }
.card__desc { grid-column: 1 / -1; font-size: 15px; color: var(--muted); margin: 0; max-width: 60ch; }
.card--wide .card__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: baseline; }
.card--wide .card__desc { grid-column: auto; }
@media (max-width: 860px) {
  .card, .card--third { grid-column: span 12; }
  .card--wide .card__img { aspect-ratio: 4 / 3; }
  .card--wide .card__body { grid-template-columns: minmax(0, 1fr) auto; }
  .card--wide .card__desc { grid-column: 1 / -1; }
}
@media (min-width: 861px) and (max-width: 1100px) { .card--third { grid-column: span 6; } }

/* ---------- Feature band (RIBA) ---------- */
.band { background: var(--charcoal); color: var(--cream); }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature__media { position: relative; }
.feature__media video, .feature__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #111; }
.feature__text .h2 { margin: 16px 0 24px; }
.feature__text p { color: rgba(244,239,235,.86); }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.45; border-left: 3px solid var(--coral); padding-left: 22px; margin: 28px 0 32px; max-width: 30ch; }
.feature__links { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.award-list { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid rgba(244,239,235,.2); }
.award-list li { padding: 12px 0; border-bottom: 1px solid rgba(244,239,235,.2); display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.award-list li span:last-child { color: var(--coral); font-family: var(--serif); font-style: italic; white-space: nowrap; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.process li { padding: 28px 28px 0 0; min-width: 0; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--rule-soft); }
.process__num { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--coral-ink); display: block; margin-bottom: 18px; }
.process h3 { font-size: 18px; font-weight: 400; margin-bottom: 12px; }
.process p { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
  .process li:nth-child(n+3) { border-top: 1px solid var(--rule-soft); margin-top: 28px; }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 24px 0; border-left: 0; margin-top: 0; }
  .process li + li { border-top: 1px solid var(--rule-soft); }
}

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.founder .h2 { margin: 16px 0 24px; }
.founder .sig { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.founder .sig strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.founder .sig span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder__img { order: -1; } }

/* ---------- On site now ---------- */
.onsite { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: clamp(32px, 4vw, 48px); }
.onsite__sites { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.onsite__sites li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 1px solid var(--rule-soft); }
.onsite__sites strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.onsite__sites span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .onsite { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .onsite__sites { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta { background: var(--charcoal); color: var(--cream); }
.cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.cta .display { font-size: clamp(38px, 5vw, 68px); margin-top: 16px; }
.cta__side p { color: rgba(244,239,235,.86); }
.cta__contacts { display: flex; flex-direction: column; gap: 6px; margin: 24px 0 32px; font-size: 18px; }
.cta__contacts a { text-decoration: none; border-bottom: 1px solid rgba(244,239,235,.3); align-self: flex-start; }
.cta__contacts a:hover { border-color: var(--coral); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 860px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: var(--cream); padding-block: 56px 32px; border-top: 1px solid rgba(244,239,235,.15); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.footer__grid h4 { font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 14px; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--coral); }
.footer__grid address { font-style: normal; }
.footer__base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(244,239,235,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted-dark); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(32px, 4vw, 56px); }
.page-head .display { margin-top: 16px; max-width: 18ch; }
.page-head .lede { margin-top: 24px; max-width: 58ch; color: var(--muted); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3vw, 44px); }
.filter { min-height: 40px; padding: 0 18px; border: 1px solid var(--rule); background: transparent; color: var(--charcoal); font: 400 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.filter[aria-pressed="true"] { background: var(--charcoal); color: var(--cream); }
.filter:hover:not([aria-pressed="true"]) { background: var(--cream-tint); }

/* ---------- Project page ---------- */
.project-hero { position: relative; background: var(--charcoal); }
.project-hero img, .project-hero video { width: 100%; height: min(78svh, 860px); min-height: 380px; object-fit: cover; }
.project-hero .video-toggle { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px; }
.project-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px); }
.project-intro .display { font-size: clamp(42px, 5.4vw, 76px); margin: 14px 0 28px; }
.project-intro .display small { display: block; font-family: var(--sans); font-size: 15px; letter-spacing: .2em; color: var(--muted); margin-top: 12px; font-weight: 300; }
.spec { margin: 0; border-top: 1px solid var(--rule); }
.spec div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
.spec dt { font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-size: 15px; }
.spec .btn { margin-top: 24px; }
.project-aside { display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 860px) { .project-intro { grid-template-columns: 1fr; } }

.gallery { columns: 3 320px; column-gap: 16px; }
.gallery button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: var(--sand); cursor: zoom-in; break-inside: avoid; }
.gallery img { width: 100%; height: auto; transition: opacity .3s ease; }
.gallery button:hover img { opacity: .9; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,20,20,.96); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: calc(12px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); color: var(--cream); }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: .14em; }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__nav { display: flex; justify-content: center; gap: 12px; }
.lightbox button { background: transparent; color: var(--cream); border: 1px solid rgba(244,239,235,.4); min-height: 44px; min-width: 44px; padding: 0 16px; font: 400 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.lightbox button:hover { background: var(--cream); color: var(--charcoal); }

.next-project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-decoration: none; color: var(--cream); background: var(--charcoal); }
.next-project img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.next-project__text { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.next-project:hover img { opacity: .92; }
@media (max-width: 760px) { .next-project { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field legend { padding: 0; }
.field label, .field legend { font-size: 12px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: 300 16px/1.5 var(--sans); color: var(--charcoal);
  background: var(--cream-tint); border: 0; border-bottom: 1px solid var(--rule);
  padding: 12px 14px; border-radius: 0; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--coral); background: #fff; }
.field fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips label { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 300; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 2px; cursor: pointer; }
.chips input:checked + span { background: var(--charcoal); color: var(--cream); }
.chips input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; }
.form-done { grid-column: 1 / -1; border-left: 3px solid var(--coral); padding: 18px 22px; background: var(--cream-tint); }
.contact-aside { display: flex; flex-direction: column; gap: 32px; }
.contact-aside .block { border-top: 1px solid var(--rule); padding-top: 18px; }
.contact-aside .block p { margin: 8px 0 0; font-size: 17px; }
.contact-aside a { text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.contact-aside a:hover { border-color: var(--coral); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.about-cols img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.services { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--rule); }
.services li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--rule-soft); }
.services strong { font-weight: 400; }
.services span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .about-cols { grid-template-columns: 1fr; } .about-cols img { aspect-ratio: 3 / 2; } }
@media (max-width: 520px) { .services li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal.pre { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) { .js .reveal.pre { opacity: 1; transform: none; } }

/* Prototype ribbon */
.proto-note { background: var(--coral); color: var(--charcoal); font-size: 13px; text-align: center; padding: 8px var(--gutter-r) 8px var(--gutter); }

/* Draft 2 */
.hero .display { max-width: 11.5em; margin-top: 0; }
.hero__locations {
  font-size: clamp(13px, 1.1vw, 15px); font-weight: 400; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(244,239,235,.92); margin: 0 0 32px; max-width: none;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.hero__locations::before { content: ""; width: 28px; height: 1px; background: var(--coral); }
.wordmark__name { padding-bottom: 7px; }
.detail-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--rule); }
.detail-list li { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; display: flex; align-items: center; gap: 14px; }
.detail-list li::before { content: ""; width: 14px; height: 1px; background: var(--coral-ink); flex: none; }
@media (max-width: 520px) { .hero__locations::before { display: none; } .hero__locations { letter-spacing: .16em; } }

/* Draft 3: logo matches current site; underline exactly the word width */
.wordmark__name { font-size: 40px; font-weight: 400; letter-spacing: 0.1em; padding-bottom: 6px; border-bottom: 2px solid currentColor; }
.wordmark__last { letter-spacing: 0; }
@media (max-width: 900px) { .wordmark__name { font-size: 30px; } }
.site-footer .wordmark__name { font-size: 32px; }

/* Contact page */
.contact-page { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.contact-details .block { border-top: 1px solid var(--rule); padding-top: 18px; min-width: 0; }
.contact-details .block:nth-child(-n+2) { grid-column: 1 / -1; }
.contact-details p { margin: 8px 0 0; font-size: 17px; }
.contact-details .contact-big { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; overflow-wrap: anywhere; }
.contact-details a { text-decoration: none; border-bottom: 1px solid var(--rule-soft); }
.contact-details a:hover { border-color: var(--coral); }
.contact-figure { margin: 0; }
.contact-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .contact-page { grid-template-columns: 1fr; } .contact-details { grid-template-columns: 1fr; } .contact-figure img { aspect-ratio: 3 / 2; } }

/* Draft 4 */
.founder__img img { aspect-ratio: auto; height: auto; }
.link-arrow--lower { text-transform: none; letter-spacing: .04em; }
.insta-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.insta-grid a { display: block; overflow: hidden; background: var(--sand); aspect-ratio: 1 / 1; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.insta-grid a:hover img { transform: scale(1.04); opacity: .92; }
@media (max-width: 640px) { .insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* Draft 5: text blocks line up with the top and bottom of their image or film */
.intro, .feature, .founder { align-items: stretch; }
.intro > *, .feature > *, .founder > * { min-width: 0; }
.intro__text > .label:first-child,
.feature__text > .label:first-child,
.founder > div:first-child > .label:first-child { line-height: 1; margin-top: 0; }
.intro__text, .feature__text, .founder > div:first-child { display: flex; flex-direction: column; }
.intro__text .facts { margin: auto 0 0; padding-top: 0; }
.facts li { padding-bottom: 0; }
.facts li > :last-child { margin-bottom: -0.35em; }
.intro__figure { display: flex; flex-direction: column; position: relative; }
.intro__figure img { flex: 1; height: 100%; min-height: 0; aspect-ratio: 4 / 5; }
.intro__figure figcaption { position: absolute; top: 100%; left: 0; }
.intro__text .lede { margin-top: 0; }
.feature__media { display: flex; }
.feature__media video { height: 100%; min-height: 100%; }
.feature__links { margin-top: auto; }
.feature__text .award-list { margin-bottom: 32px; }
.founder > div:first-child .detail-list { margin-top: auto; }
.founder__img { display: flex; }
.founder__img img { height: 100%; aspect-ratio: 1813 / 2000; object-fit: cover; }
@media (max-width: 900px) {
  .feature__media video { height: auto; aspect-ratio: 16 / 10; }
  .feature__links, .founder > div:first-child .detail-list, .intro__text .facts { margin-top: 28px; }
}
@media (max-width: 860px) {
  .intro__figure figcaption { position: static; margin-top: 12px; }
  .intro__figure img { aspect-ratio: 3 / 2; }
}

/* Instagram: dark band */
.insta-band .section-head { border-bottom-color: rgba(244,239,235,.25); }
.insta-band .link-arrow { color: var(--cream); }
.insta-band .insta-grid a { background: #2c2c2c; }

/* Contact band: light, so it reads apart from the dark sections around it */
.cta { background: var(--cream); color: var(--charcoal); border-top: 1px solid var(--rule); }
.cta .label--coral { color: var(--coral-ink); }
.cta__side p { color: var(--muted); }
.cta__contacts a { border-bottom-color: var(--rule-soft); }
.cta .btn--light { color: var(--charcoal); }
.cta .btn--light:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.insta-band + .cta, .next-project + .cta { border-top: 0; }

/* Project credits: secondary */
.credits { margin: 0; font-size: 13px; font-style: italic; color: var(--muted); }

/* Draft 6 */
.section-head + .process { border-top: 0; }
.section-head:has(+ .process) { margin-bottom: 0; }
.section-rule { border: 0; border-top: 1px solid var(--rule); margin: 0 0 clamp(56px, 7vw, 96px); }
.h2--coral { color: var(--coral); }

/* Next / all projects */
.next-project__img { display: block; overflow: hidden; }
.next-project__img img { transition: opacity .3s ease; }
.next-project__img:hover img { opacity: .9; }
.next-project:hover img { opacity: 1; }
.next-project__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Footer: columns sized to content, last column flush with the right edge of the rule */
.footer__grid { grid-template-columns: minmax(0, 1fr) repeat(3, auto); column-gap: clamp(56px, 7vw, 120px); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 32px; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__grid ul { gap: 0; }
.footer__grid li, .footer__grid address { line-height: 1.9; }

/* Header logo: no underline (the footer keeps it) */
.site-header .wordmark__name { border-bottom: 0; padding-bottom: 0; }

/* Project cards: postcode sits on the name's baseline; description and type start level with the name */
.card__title small { vertical-align: baseline; }
.card--wide .card__body { align-items: start; }
.card__title { line-height: 1; padding-top: 2px; }
.card__desc { line-height: 1.6; }
.card--wide .card__desc { margin-top: -0.1em; }
.card--wide .card__type { align-self: start; padding-top: 4px; }

/* Contact band: left column starts level with the text on the right */
.cta__inner { align-items: start; }
.cta__inner > div:first-child > .label { line-height: 1; margin-top: 0.45em; }
.cta__side p:first-child { margin-top: 0; }
.footer__tag { margin: 18px 0 0; font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--cream); }
#contact { scroll-margin-top: var(--header-h); }

/* Mobile hero: film on top, text underneath on charcoal so the house stays clear */
@media (max-width: 760px) {
  .hero { display: block; height: auto; min-height: 0; max-height: none; }
  .hero__media { position: relative; inset: auto; height: 62svh; min-height: 380px; }
  .hero::before { inset: 0 0 auto 0; height: 62svh; min-height: 380px;
    background: linear-gradient(180deg, rgba(20,20,20,.5) 0%, rgba(20,20,20,0) 20%, rgba(20,20,20,0) 70%, rgba(33,33,33,1) 100%); }
  .hero__inner { padding-block: 8px 40px; }
  .hero .display { font-size: clamp(36px, 10vw, 48px); }
}
/* "Built with care" photo: same portrait shape on every screen */
@media (max-width: 860px) {
  .intro__figure img { aspect-ratio: 4 / 5; }
}
@media (max-width: 760px) {
  .hero__media, .hero::before { height: 50svh; min-height: 340px; }
  .hero__media video { object-position: 50% 40%; }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
  .hero::before { top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
}

/* Hero title: one word per line, upright, a little smaller */
.hero .hero__title { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.08; font-style: normal; max-width: none; }
@media (max-width: 760px) { .hero .hero__title { font-size: clamp(34px, 9vw, 42px); } }

/* Instagram band: no rule under the heading */
.insta-band .section-head { border-bottom: 0; padding-bottom: 0; }

/* Enquiries band */
.cta__email { margin: 24px 0 32px; }
.cta__email a { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); text-decoration: none; border-bottom: 1px solid var(--coral); }
.cta__btns { align-items: center; gap: 16px 32px; }

/* Projects page: less space under the header */
.page-head { padding-block: clamp(36px, 4.5vw, 64px) clamp(28px, 3vw, 44px); }

/* Project cards: category · location sits under the name, flush left */
.card__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "type" "desc"; gap: 8px; }
.card__title { grid-area: title; }
.card__type { grid-area: type; text-align: left; align-self: start; padding-top: 0; }
.card__desc { grid-area: desc; }
.card--wide .card__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "title desc" "type desc"; align-items: start; column-gap: clamp(20px, 2.4vw, 36px); }
.card--wide .card__type { padding-top: 0; }
@media (max-width: 860px) { .card--wide .card__body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "type" "desc"; } }
/* Mobile: locations on a single line */
@media (max-width: 520px) {
  .hero__locations { white-space: nowrap; font-size: 3.3vw; letter-spacing: .1em; }
}

/* Mobile: hide the awards strip under the hero */
@media (max-width: 760px) { .awards { display: none; } }
