/* ==========================================================================
   ELIT Productions — elitproductions.com
   Built to ELIT WEBSITE DESIGN GUIDE v4 FINAL.

   Two rules govern everything below:
     · The films are the only things that move.
     · The site has no colour of its own. The grade is the colour.
   ========================================================================== */

/* --- Fonts. Subset to the characters the copy uses: 372KB -> 32KB. -------- */

@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Semibold.woff") format("woff");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Medium.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}
/* Bold appears once on the site: the Hospitality headline screen. */
@font-face {
  font-family: "Clash Display";
  src: url("/fonts/ClashDisplay-Bold.woff") format("woff");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Light.woff") format("woff");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/Poppins-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* --- 1. Tokens ----------------------------------------------------------- */

:root {
  /* Warm Night — a near-black with brown in it, so warm frames lift off the
     page instead of sinking into it. */
  --night: #161412;
  --night-2: #1C1916;      /* footer, closing band, projects menu */
  --line: #2E2924;         /* hairlines only, never type */
  --border: #3A352F;       /* secondary pill stroke, card edges */
  --stone: #B9AE9F;        /* eyebrows, captions, credits, numerals, nav */
  --bone: #F2EBDF;         /* headlines and body */
  --plaster: #EFE6D8;      /* the one light section */
  --plaster-2: #DCD2C2;    /* hairlines on Plaster (derived, same family) */

  --font-display: "Clash Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Grid: 1280 content, 1440 film, 6vw outer margin */
  --content: 1280px;
  --film: 1440px;
  --gutter: 6vw;
  --measure: 640px;        /* body never exceeds this */

  /* Spacing scale — 8px base. Nothing else. */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 40px;
  --s5: 64px; --s6: 96px; --s7: 160px;

  --section-y: var(--s7);
  --nav-h: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --panel-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- 2. Reset ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
picture { display: block; }          /* inline <picture> collapses its <img> */
a { color: inherit; text-decoration: none; }
figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
iframe { border: 0; }

:focus-visible { outline: 1px solid var(--bone); outline-offset: 3px; }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Type ------------------------------------------------------------- */
/* Sentence case everywhere. Uppercase is reserved for eyebrows, nav,
   buttons and captions at 12–13px. */

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; }

/* Sizes below are measured off the page designs at 1440: the hero statement
   is 74px, section headlines 44px, the closing headline 46px. The vw term is
   what carries them down to a phone. */
.display {
  font-size: clamp(40px, 5.15vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.display--sm { font-size: clamp(34px, 3.2vw, 46px); line-height: 1.1;
  letter-spacing: -0.01em; }

h2, .h2 {
  font-size: clamp(30px, 3.06vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.005em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
}

p { margin: 0 0 var(--s3); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 var(--s3);
  display: block;
}

.caption, .credit { font-size: 14px; color: var(--stone); line-height: 1.5; }
.lede { font-size: 18px; }
.muted { color: var(--stone); }

/* Headline -> body 24. Body -> CTA 40. */
.section-head { margin-bottom: var(--s5); }
/* The intro paragraph sits under its headline, never beside it. */
.section-head h1 + p,
.section-head h2 + p,
.section-head .display + p { margin-top: var(--s3); }
.section-head p { max-width: var(--measure); }
.section-head p + p { margin-top: var(--s3); }

/* --- 4. Layout ----------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--film { max-width: calc(var(--film) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--s6); }
.section--alt { background: var(--night-2); }
.section--light { background: var(--plaster); color: var(--night); }

.section--light .eyebrow { color: #6B6155; }
.section--light h2, .section--light h3, .section--light p { color: var(--night); }

/* Two-column: headline left, body right — the guide's default pairing */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
  align-items: start;
}
.split--wide { grid-template-columns: 1.3fr 1fr; }
/* The closing headline is 46px and sits above its paragraph, so it needs a
   measure of its own rather than a column. Breaking after "market?" is what
   this width buys. */
.section-head .display--sm { max-width: 34ch; }
.split > * { min-width: 0; }

/* --- 5. Pill buttons ----------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding-inline: var(--s3);
  border-radius: 999px;
  border: 1px solid var(--bone);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
.pill:hover { background: var(--bone); color: var(--night); }

.pill--secondary { border-color: var(--border); color: var(--stone); }
.pill--secondary:hover { background: transparent; border-color: var(--stone); color: var(--bone); }

.section--light .pill { border-color: var(--night); color: var(--night); }
.section--light .pill:hover { background: var(--night); color: var(--plaster); }

/* Text link — Bone, Stone underline on hover only */
.tlink {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--bone);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.tlink:hover { border-bottom-color: var(--stone); }
.tlink--stone { color: var(--stone); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; margin-top: var(--s4); }

/* --- 6. Navigation ------------------------------------------------------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(22, 20, 18, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: height 0.3s var(--ease), background-color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
/* Transparent and taller over the film on Home's first screen */
.nav--over {
  height: 88px;
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s3);
  width: 100%;
}

.nav-group { display: flex; align-items: center; gap: var(--s3); }
.nav-group--right { justify-content: flex-end; }

.nav-link {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--stone);
  transition: color 0.25s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"], .nav-link.is-current { color: var(--bone); }
button.nav-link { padding: 0; line-height: inherit; }

.nav-mark { justify-self: center; display: block; }
.nav-mark img { height: 26px; width: auto; transition: height 0.3s var(--ease); }
.nav--over .nav-mark img { height: 38px; }

.nav .pill { height: 40px; font-size: 11px; padding-inline: 18px; }

/* --- 7. Work menu: two plain lines under Work on hover -------------------- */
/* Real estate and Hospitality. No box, no border, no stills: the bar itself
   grows to hold them, exactly the way it already changes height over the
   Home hero. Replaced the property flyout in September 2026. */
.nav-sub {
  position: absolute; left: var(--gutter); top: var(--nav-h);
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 2px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.nav-sub a {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400; color: var(--stone);
  transition: color 0.25s var(--ease);
}
.nav-sub a:hover, .nav-sub a[aria-current="page"] { color: var(--bone); }
/* The bar grows by the same 72px whichever height it started at: 64 on
   an inner page, 88 over a hero. Both lines sit inside it either way. */
.nav.is-sub-open { height: calc(var(--nav-h) + 72px); }
.nav.is-sub-open.nav--over { height: calc(88px + 72px); }
.nav.is-sub-open .wrap { align-self: start; height: var(--nav-h); }
.nav.is-sub-open.nav--over .wrap { height: 88px; }
.nav.is-sub-open.nav--over .nav-sub { top: 88px; }
.nav.is-sub-open .nav-sub { opacity: 1; visibility: visible; }
.nav.is-sub-open.nav--over {
  background: rgba(22, 20, 18, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
}

/* Phone panel: Work heads its two entries and is not a link itself. */
.panel-list .head {
  display: flex; align-items: baseline; gap: 14px;
  padding-block: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 31px;
  color: var(--bone);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.2s var(--panel-ease), transform 0.2s var(--panel-ease);
}
body.menu-open .panel-list .head { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
.panel-list .head .n { font-size: 11px; letter-spacing: 0.12em; color: var(--stone); }
.panel-list li:has(.head) .sub { padding-top: 0; }
.panel-list .sub { list-style: none; margin: 0; padding: 0 0 12px 34px; border: 0; }
.panel-list .sub li { border: 0; }
.panel-list .sub a {
  font-family: var(--font-body); font-weight: 300; font-size: 17px;
  color: var(--stone); padding-block: 6px;
}
.panel-list .sub a[aria-current="page"] { color: var(--bone); }

/* --- 8. Hero — two screens ----------------------------------------------- */

/* Proximity, not mandatory: one step from film to statement, then the page
   scrolls normally. Never JavaScript scroll-jacking. */
html.has-snap { scroll-snap-type: y proximity; }
.screen { scroll-snap-align: start; }

.hero-film {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--night);
}
.hero-film video, .hero-film picture.poster, .hero-film img.poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* The video is invisible until it is actually playing, so the first paint is
   the poster — the exact first frame — and there is no flash on start. */
.hero-film video { opacity: 0; transition: opacity 0.4s var(--ease); }
.hero-film video.is-playing { opacity: 1; }
.hero-film .film-toggle { position: absolute; right: var(--gutter); bottom: var(--s5); }
/* No tint on the hero film. The loop plays at true colour. */
.hero-tagline {
  position: absolute; left: var(--gutter); bottom: var(--s5); z-index: 2;
  font-family: var(--font-body); font-weight: 400;
  font-size: 18px; letter-spacing: 0.06em;
  color: var(--bone);
  text-shadow: 0 1px 3px rgba(22, 20, 18, 0.30);
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 0; z-index: 2;
  width: 1px; height: var(--s5);
  background: linear-gradient(to bottom, transparent, rgba(242, 235, 223, 0.5));
}

.hero-statement {
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: var(--s6);
}
/* The statement sits in its own narrower, centred column — the only block on
   the site that leaves the 6vw margin. Measured off the design: 795px at 1440,
   which is what breaks the headline after "houses that deserve". */
.hero-statement .wrap { max-width: calc(795px + var(--gutter) * 2); }
.hero-statement .display { max-width: 100%; }
.hero-statement .lede { margin-top: var(--s4); }

/* --- 9. Proof bar -------------------------------------------------------- */

.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* The line sits above the marks so the marks can use the whole width. */
.proof .wrap { padding-block: var(--s4); }
.proof .eyebrow { margin: 0 0 var(--s4); }
.proof-logos {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4);
}
/* Every mark carries its own height in a --h custom property, written by the
   builder from the page design. A wordmark and a stacked lockup set to the
   same number look nothing alike. No boxes, no dimming. */
.proof-logos img { height: var(--h, 20px); width: auto; }

/* --- 10. Film card ------------------------------------------------------- */

.film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.film-grid--single { grid-template-columns: 1fr; }
/* An odd film out runs the full width rather than sitting beside a hole.
   The guide is firm about this: no empty cell, ever. */
.film-card.wide { grid-column: 1 / -1; }

.film-card { display: block; }
.film-card .media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--night-2);
  cursor: pointer;
}
.film-card .media picture,
.film-card .media img, .film-card .media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.film-card .media video { opacity: 0; transition: opacity 0.3s var(--ease); }
.film-card:hover .media video.is-ready { opacity: 1; }
/* Hover zoom never exceeds 2%. */
.film-card .media img { transition: transform 0.4s var(--ease); }
.film-card:hover .media img { transform: scale(1.02); }

.film-card .meta { padding-top: var(--s2); }
.film-card .name {
  display: block;
  font-family: var(--font-display); font-weight: 500; font-size: 20px;
  color: var(--bone);
}
.film-card .sub { display: block; font-size: 14px; color: var(--stone); margin-top: 4px; }

/* --- 11. Hairline lists (services, craft strip, filter row) -------------- */

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--s4);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.row .row-t {
  font-family: var(--font-display); font-weight: 500; font-size: 22px;
  color: var(--bone);
}
.row .row-b { color: var(--stone); font-size: 17px; margin: 0; max-width: var(--measure); }
.section--light .row { border-bottom-color: var(--plaster-2); }
.section--light .rows { border-top-color: var(--plaster-2); }
.section--light .row .row-t { color: var(--night); }
.section--light .row .row-b { color: #5E554A; }

/* Numbered hairline list — the craft strip on Home */
.numlist { border-top: 1px solid var(--line); }
.numlist .item {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--s2);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.numlist .n { font-size: 13px; letter-spacing: 0.08em; color: var(--stone); }
.numlist .t { font-family: var(--font-display); font-weight: 500; font-size: 22px; }

/* The line that closes the craft strip. Clash Medium, larger than body,
   deliberately shorter than the measure so it lands as a statement. */
.craft-close {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(22px, 1.95vw, 28px); line-height: 1.28;
  max-width: 480px;
  margin-top: var(--s5);
}

/* --- 12. Process list ---------------------------------------------------- */
/* Not cards. Two by two so the process reads short. */

.process { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s6); }
.step { display: grid; grid-template-columns: 40px 1fr; gap: var(--s2); align-items: baseline; }
.step .n { font-size: 14px; color: var(--stone); }
.step .t { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: var(--s1); }
.step p { font-size: 17px; color: var(--stone); margin: 0; }

/* --- 13. Expandable rows (service list + FAQ) ---------------------------- */

.acc { border-top: 1px solid var(--line); }
.section--light .acc { border-top-color: var(--plaster-2); }

.acc-item { border-bottom: 1px solid var(--line); }
.section--light .acc-item { border-bottom-color: var(--plaster-2); }

.acc-head {
  width: 100%;
  display: grid;
  grid-template-columns: 360px 1fr 24px;
  gap: var(--s4);
  align-items: start;
  padding-block: var(--s3);
  text-align: left;
}
.acc-t { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--bone); }
.acc-sum { font-size: 17px; color: var(--stone); margin: 0; max-width: var(--measure); }
.acc-mark {
  justify-self: end; width: 24px; height: 24px; position: relative;
  transition: transform 0.2s var(--ease);
}
.acc-mark::before, .acc-mark::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--stone);
  transform: translate(-50%, -50%);
}
.acc-mark::before { width: 13px; height: 1px; }
.acc-mark::after  { width: 1px; height: 13px; transition: opacity 0.2s var(--ease); }
.acc-item.is-open .acc-mark { transform: rotate(135deg); }

.acc-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s var(--ease);
}
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-body .inner {
  padding: 0 0 var(--s3) 0;
  display: grid; grid-template-columns: 360px 1fr; gap: var(--s4);
}
.acc-body p { font-size: 17px; color: var(--stone); grid-column: 2; }

.section--light .acc-t { color: var(--night); }
.section--light .acc-sum, .section--light .acc-body p { color: #5E554A; }
.section--light .acc-mark::before, .section--light .acc-mark::after { background: var(--night); }

/* --- 14. Testimonials ---------------------------------------------------- */
/* Two per row, no carousel, never collapsed behind a click. */

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s4); }

/* Every quote shows three lines, whatever its length, so a 116-word
   testimonial and a 28-word one make the same shape on the page. The rest
   opens on a click. */
.quote p.q {
  font-size: 22px; line-height: 1.45; color: var(--bone);
  max-width: var(--measure); margin: 0;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3;
  overflow: hidden;
}
.quote.is-open p.q { display: block; -webkit-line-clamp: none; overflow: visible; }

/* The button appears only where there is more to read — the script unhides
   it after measuring, so a short quote never shows a control that does
   nothing. */
.q-more {
  margin-top: var(--s2);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.q-more:hover { color: var(--bone); border-bottom-color: var(--stone); }
.q-more[hidden] { display: none; }
.quote .who { margin-top: var(--s3); }
.quote .who { display: block; }
.quote .nm { display: block; font-weight: 400; font-size: 14px; color: var(--bone); }
.quote .rl { display: block; font-size: 14px; color: var(--stone); margin-top: 2px; }
.quote .blogo { height: 18px; width: auto; }
.quote.is-placeholder p.q { color: var(--stone); }

/* --- 15. Credits block --------------------------------------------------- */

.credits { display: block; }
.credits dt {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone); margin: var(--s4) 0 6px;
}
.credits dt:first-child { margin-top: 0; }
.credits dd { margin: 0; font-size: 18px; color: var(--bone); }

/* Definition list: brief / approach / delivered */
.deflist { display: grid; gap: 10px; margin-top: var(--s5); }
.deflist .dl-row {
  display: grid; grid-template-columns: 170px 1fr; gap: var(--s2);
  align-items: baseline;
}
.deflist dt {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone);
}
.deflist dd { margin: 0; font-size: 16px; color: var(--bone); max-width: 62ch; }

/* --- 16. Project page ---------------------------------------------------- */

.project-film {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: var(--night-2); overflow: hidden;
}
.project-film picture,
.project-film img, .project-film video, .project-film iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* The player is painted over the poster rather than replacing it, so if
   Vimeo is ever blocked or slow the visitor still sees the still. */
.project-film iframe { z-index: 2; }

/* Same shape as the hero's pause control: a quiet pill over the film. */
.film-sound {
  position: absolute; right: var(--s3); bottom: var(--s3); z-index: 3;
  height: 40px; padding-inline: 18px; border-radius: 999px;
  border: 1px solid rgba(242, 235, 223, 0.5);
  background: rgba(22, 20, 18, 0.4);
  backdrop-filter: blur(6px);
  color: var(--bone); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease),
              background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.project-film.is-live .film-sound { opacity: 1; visibility: visible; }
.film-sound:hover { background: rgba(22, 20, 18, 0.7); border-color: var(--bone); }
.film-toggle {
  position: absolute; right: var(--s3); bottom: var(--s3); z-index: 3;
  height: 40px; padding-inline: 18px; border-radius: 999px;
  border: 1px solid rgba(242, 235, 223, 0.5);
  background: rgba(22, 20, 18, 0.4);
  backdrop-filter: blur(6px);
  color: var(--bone); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.film-toggle:hover { background: rgba(22,20,18,0.7); border-color: var(--bone); }

/* One frame, full content width, under the point-of-view section on Home. */
.pov-still { margin-top: var(--s5); }
/* The frame under a row list needs more air above it than one
   under a paragraph — the hairline is right up against it. */
.pov-still--under { margin-top: var(--s6); }
.pov-still img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* A muted loop at content width — the twilight clip under "What you get".
   The poster carries the block until the film is on screen and playing, so
   the height never changes and nothing flashes. */
.loop-film {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  overflow: hidden; background: var(--night-2);
  margin-top: var(--s6);
}
.loop-film picture, .loop-film img, .loop-film video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.loop-film video { opacity: 0; transition: opacity 0.5s var(--ease); }
.loop-film video.is-playing { opacity: 1; }

.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.frames picture { width: 100%; }
.frames .eyebrow { margin-bottom: var(--s5); }
.frames img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.section > .wrap > .eyebrow { margin-bottom: var(--s5); }

/* Project page: title, place, body, then the two lists. */
.project-film + .section { padding-top: var(--s7); }
.place { color: var(--stone); margin: var(--s2) 0 0; }
.project-body { margin-top: var(--s4); }
.project-body p { max-width: 720px; }
.project-credits { margin-top: var(--s6); }
.project-credits .eyebrow { margin-bottom: var(--s4); }
.project-credits + .btn-row { margin-top: var(--s6); }

/* Every page except Home starts below the bar rather than under it. */
body:not(.is-home) main { padding-top: var(--nav-h); }
/* ...except the project film, which runs to the bar's edge by design. */
body:not(.is-home) main > .project-film:first-child { margin-top: 0; }
.section--head { padding-top: var(--s6); }

/* --- 17. Craft page ------------------------------------------------------ */

.craft-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6);
  align-items: center;
  margin-bottom: 200px;                 /* most whitespace on the site */
}
.craft-item:last-child { margin-bottom: 0; }
.craft-item:nth-child(even) .craft-text { order: 2; }
.craft-text { max-width: 480px; }
.craft-text h2, .craft-text .h3 { margin-bottom: var(--s3); }
.craft-text p { font-size: 18px; color: var(--stone); }
.craft-text .n { font-size: 14px; color: var(--stone); margin-bottom: var(--s3); display: block; }
.craft-still img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.craft-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); }
.craft-pair img { aspect-ratio: 4 / 5; }

/* The closing line sits after the last item, not inside it. */
.craft-list + .craft-close { margin-top: 0; }

/* A second-level heading inside a section, above its own row list. */
.section-sub { margin-bottom: var(--s5); }

/* --- 18. About ----------------------------------------------------------- */

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s6); align-items: start; }
.about-portrait { position: sticky; top: calc(var(--nav-h) + var(--s4)); }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-portrait .caption { margin-top: var(--s2); }
.about-body p { max-width: 100%; }

/* On About the brokerage logos run left to right under the section, with
   room to breathe — they are not squeezed into a bar. */
.proof-logos--wide {
  justify-content: flex-start;
  gap: clamp(28px, 4vw, 64px);
  margin-top: var(--s6);
}

/* Journal index */
.entry-list { border-top: 1px solid var(--line); }
.entry-list .entry-row:first-of-type { border-top: 0; }
.contact-details { margin-top: var(--s6); }
.contact-details .dl-row { align-items: baseline; }
.tlink--plain {
  font-size: 18px; letter-spacing: 0; text-transform: none;
  border-bottom: 1px solid var(--line);
}
.tlink--plain:hover { border-bottom-color: var(--stone); }

/* --- 19. Journal --------------------------------------------------------- */

.entry-row {
  color: inherit;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6);
  align-items: center;
  padding-block: var(--s5);
  border-bottom: 1px solid var(--line);
}
.entry-row:first-of-type { border-top: 1px solid var(--line); }
.entry-row .still img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry-row h3, .entry-row .h3 { margin-bottom: var(--s2); font-size: 24px; }
.entry-row p { margin-bottom: var(--s3); }
.entry-row:hover .still img { transform: scale(1.02); }
.entry-row .still img { transition: transform 0.4s var(--ease); }
.entry-row .still { overflow: hidden; }

/* Entry page — the light variant */
.entry { background: var(--plaster); color: var(--night); }
.entry .entry-lead img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.entry-body { max-width: var(--measure); margin-inline: auto; }
.entry-body p { color: #4A4239; margin-bottom: var(--s3); }
.entry-body picture, .entry-body img { width: 100%; margin-block: var(--s5); }
.entry-body .eyebrow { color: #6B6155; }
.entry-body h1 { margin-bottom: var(--s5); }
.entry .tlink { color: var(--night); }
.entry .tlink:hover { border-bottom-color: var(--night); }
.entry h1 { color: var(--night); }
.entry .eyebrow, .entry .caption { color: #6B6155; }

/* --- 20. Footer ---------------------------------------------------------- */

/* The closing band and the footer are both Night-2, which the design intends
   — a single foot to the page. A hairline gives them a seam without adding a
   colour, using the rule the site already uses everywhere else. */
.footer {
  background: var(--night-2);
  border-top: 1px solid var(--line);
  padding-block: var(--s6) var(--s4);
}
.footer-grid { display: grid; grid-template-columns: 1.9fr 1fr 1fr 1fr; gap: var(--s4); }
.footer-mark img { height: 18px; width: auto; margin-bottom: var(--s3); }
.footer p { font-size: 13px; color: var(--stone); max-width: 32ch; margin-bottom: var(--s1); }
.footer p.tagline { color: var(--bone); font-weight: 400; }
.footer h4 {
  font-family: var(--font-body); font-weight: 400;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--stone); margin-bottom: var(--s2);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--s1); font-size: 13px; color: var(--stone); }
.footer a { color: var(--stone); transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--bone); }
.footer-base {
  margin-top: var(--s5); padding-top: var(--s3);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: var(--s2);
  font-size: 12px; color: var(--stone);
}

/* --- 21. Mobile menu ----------------------------------------------------- */
/* Two hairlines that rotate into a cross. No circle, no box, no label. */

.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn .bar {
  position: absolute; left: 50%; top: 50%;
  width: 26px; height: 1.4px; background: var(--bone);
  transform: translate(-50%, -50%) translateY(-6px);
  transition: transform 0.24s var(--panel-ease), opacity 0.2s var(--ease);
}
.menu-btn .bar:nth-child(2) { transform: translate(-50%, -50%) translateY(6px); }
body.menu-open .menu-btn .bar:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .menu-btn .bar:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.panel {
  position: fixed; inset: 0; z-index: 95;
  background: var(--night);
  padding: calc(var(--nav-h) + var(--s4)) 22px var(--s4);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  /* Close is a straight 200ms fade — leaving should feel faster than arriving. */
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  overflow-y: auto;
}
body.menu-open .panel {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity 0.28s var(--panel-ease), transform 0.28s var(--panel-ease),
              visibility 0.28s;
}
body.menu-open { overflow: hidden; }

.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li { border-bottom: 1px solid var(--line); }
.panel-list a {
  display: flex; align-items: baseline; gap: 14px;
  padding-block: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 31px;
  color: var(--bone);
  opacity: 0; transform: translateY(8px);
  transition: color 0.12s var(--ease), opacity 0.2s var(--panel-ease),
              transform 0.2s var(--panel-ease);
}
body.menu-open .panel-list a { opacity: 1; transform: translateY(0); }
/* Names arrive one after another, 40ms apart */
body.menu-open .panel-list li:nth-child(1) a { transition-delay: 0.08s; }
body.menu-open .panel-list li:nth-child(2) a { transition-delay: 0.12s; }
body.menu-open .panel-list li:nth-child(3) a { transition-delay: 0.16s; }
body.menu-open .panel-list li:nth-child(4) a { transition-delay: 0.20s; }
body.menu-open .panel-list li:nth-child(5) a { transition-delay: 0.24s; }
.panel-list .n { font-size: 11px; letter-spacing: 0.12em; color: var(--stone); }
/* On press the name goes full white and its hairline lifts to Stone. */
.panel-list a:active, .panel-list a.is-active { color: #FFFFFF; }
.panel-list li:has(a.is-active), .panel-list li:has(a:active) { border-bottom-color: var(--stone); }

.panel-foot { margin-top: var(--s4); }
.panel-foot .tag { font-size: 15px; color: var(--bone); margin-bottom: var(--s3); max-width: 20ch; }
.panel-foot .pill { width: 100%; height: 52px; font-size: 11px; letter-spacing: 0.15em; }
.panel-contact {
  margin-top: var(--s3); padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-size: 11.5px; color: var(--stone);
}
.panel-contact a.em { color: var(--bone); display: block; margin-bottom: 4px; }
.panel-contact .cr { margin-top: var(--s2); display: block; }

/* --- 22. Breakpoints — 1440 · 1200 · 900 · 600 --------------------------- */

@media (max-width: 1200px) {
  :root { --section-y: 120px; }
  .nav-link { font-size: 11px; letter-spacing: 0.10em; }
  .nav .pill { height: 36px; font-size: 10px; padding-inline: 14px; }
  .row, .acc-head, .acc-body .inner { grid-template-columns: 260px 1fr; }
  .craft-item { margin-bottom: 140px; }
}

@media (max-width: 900px) {
  :root { --section-y: var(--s6); --gutter: 20px; }

  /* The bar carries the mark and the two hairlines. Nothing else — the pill
     lives inside the panel, pinned above the contact block. */
  .nav-group--left, .nav-group--right .nav-link, .nav .pill { display: none; }
  .menu-btn { display: block; }
  .nav { height: var(--nav-h); }
  .nav--over { height: var(--nav-h); }
  .nav .wrap { display: flex; justify-content: flex-end; position: relative; }
  .nav-mark {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
  }
  .nav-mark img, .nav--over .nav-mark img { height: 20px; }
  /* Whenever the panel is open the bar gets its background back, and it sits
     above the panel so the cross stays visible. */
  body.menu-open .nav {
    z-index: 300;
    background: rgba(22, 20, 18, 0.94);
    backdrop-filter: saturate(140%) blur(12px);
    border-bottom-color: var(--line);
  }

  .split, .split--wide, .about-grid, .process, .quotes,
  .film-grid, .entry-row, .craft-item { grid-template-columns: 1fr; }

  .split, .about-grid { gap: var(--s4); }
  .craft-item { gap: var(--s3); margin-bottom: var(--s6); }
  .craft-item:nth-child(even) .craft-text { order: 0; }   /* still above text */
  .about-portrait { position: static; }

  .row, .acc-head, .acc-body .inner { grid-template-columns: 1fr; gap: var(--s1); }
  .acc-head { grid-template-columns: 1fr 24px; }
  .acc-head .acc-sum { grid-column: 1 / -1; }
  .acc-body p { grid-column: 1; }

  .frames { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .footer-base { flex-direction: column; gap: 6px; }

  /* On a phone the marks stay on one line and are pushed by finger. No
     animation: the films are the only things on this site that move. The
     last mark bleeds past the edge so it is obvious there is more. */
  .proof-logos {
    justify-content: flex-start;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1);
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, #000 88%, transparent);
  }
  .proof-logos::-webkit-scrollbar { display: none; }
  .proof-logos img { height: calc(var(--h, 20px) * 0.9); flex: none; }

  .hero-tagline { bottom: var(--s4); font-size: 16px; }
  /* The study is firm that the tagline is the only text over the film on a
     phone, but the guide is equally firm that the loop needs a visible pause.
     So on small screens the control keeps its job and loses its word: two
     small bars, Stone, no border, out of the tagline's line. */
  .hero-film .film-toggle {
    right: var(--gutter); bottom: var(--s4); top: auto;
    width: 28px; height: 28px; padding: 0; border: 0; border-radius: 0;
    font-size: 0; background: none;
  }
  .hero-film .film-toggle::before,
  .hero-film .film-toggle::after {
    content: ""; position: absolute; top: 50%; width: 2px; height: 13px;
    background: var(--stone); transform: translateY(-50%);
  }
  .hero-film .film-toggle::before { left: 9px; }
  .hero-film .film-toggle::after  { left: 15px; }
  .hero-film .film-toggle[data-state="paused"]::after { display: none; }
  .hero-film .film-toggle[data-state="paused"]::before {
    left: 10px; width: 0; height: 0; background: none;
    border-left: 11px solid var(--stone);
    border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  }
  .quotes { gap: var(--s5); }
  /* 21:9 is a sliver on a phone — the lead still gets room to be a picture. */
  .entry .entry-lead img { aspect-ratio: 4 / 3; }
  .entry-body { max-width: 100%; }
  .entry-row {
  color: inherit; padding-block: var(--s4); }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .quote p.q { font-size: 19px; }
  .frames { grid-template-columns: 1fr; }
  .deflist .dl-row { grid-template-columns: 1fr; gap: 2px; }
  .deflist { gap: var(--s3); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s3); }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .pill { width: 100%; }
}

/* --- 23. Motion preferences ---------------------------------------------- */
/* Respect prefers-reduced-motion: show the poster only. */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-snap { scroll-snap-type: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .film-card:hover .media img { transform: none; }
  .hero-film video { display: none; }
}

/* --- 24. Print ----------------------------------------------------------- */

@media print {
  .nav, .panel, .menu-btn, .scroll-cue, .nav-sub, .film-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}

/* --- 25. Hospitality page --------------------------------------------- */
/* Same studio, different room. Nothing here introduces a color, a border
   box or a new motion; the mood comes from image and pacing. */
/* --- Hero: one still, one sentence, until the first hospitality film ------ */
/* Runs under the bar edge to edge, like Home. The frame is bright where the
   bar sits, so a short scrim at the very top keeps the bar legible; it is
   gone by 180px and never touches the sentence. */
.is-hosp .hero-film { height: 100svh; }
.is-hosp .hero-film::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px;
  z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(22, 20, 18, 0.5), rgba(22, 20, 18, 0));
}
.is-hosp .hero-film .hero-tagline { font-size: 20px; }

/* --- Headline screen: Clash Bold, the only place it appears --------------- */
.hosp-statement { min-height: 100svh; display: flex; align-items: center; padding-block: var(--s6); }
.hosp-statement .wrap { max-width: calc(980px + var(--gutter) * 2); }
.hosp-statement .display {
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.04;
  letter-spacing: 0.025em; word-spacing: 0.12em;
}

/* --- Text sections: eyebrow left, words right, one measure ---------------- */
.hosp-block {
  display: grid; grid-template-columns: 1fr 2fr; gap: var(--s5);
  align-items: start;
}
.hosp-block .eyebrow { margin: 6px 0 0; }
.hosp-block > div { min-width: 0; }
.hosp-block .lead {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(24px, 2.1vw, 30px); line-height: 1.3;
  max-width: 27ch; margin-bottom: var(--s4);
}
.hosp-block p { max-width: var(--measure); font-size: 18px; }
.hosp-block .tlink { margin-top: var(--s4); }
.section--light .hosp-block .lead { color: var(--night); }
.section--light .tlink { color: var(--night); }
.section--light .tlink:hover { border-bottom-color: var(--night); }

/* Longer holds between blocks than the real estate pages. */
.is-hosp .section { padding-block: 200px; }
.is-hosp .section--light { padding-block: 180px; }
.is-hosp .section--alt { padding-block: var(--s7); }

/* --- Filming now: one full-bleed loop, the line set small over it. No pause
   control here: it is a loop, it just plays. -------------------------------- */
.frame-bleed {
  position: relative; width: 100%; height: 88svh; min-height: 560px;
  overflow: hidden; background: var(--night-2);
}
.frame-bleed picture, .frame-bleed img, .frame-bleed video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.frame-bleed video { opacity: 0; transition: opacity 0.5s var(--ease); }
.frame-bleed video.is-playing { opacity: 1; }
.frame-bleed .line {
  position: absolute; left: var(--gutter); bottom: var(--s5); z-index: 2;
  margin: 0; max-width: 34ch;
  font-family: var(--font-body); font-weight: 400;
  font-size: 15px; letter-spacing: 0.06em; line-height: 1.5;
  color: var(--bone);
  text-shadow: 0 1px 3px rgba(22, 20, 18, 0.30);
}

/* --- Contact: the question, then the two ways to answer it ---------------- */
.hosp-contact .display--sm { max-width: 22ch; }
.hosp-contact .ways { margin-top: var(--s4); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hosp-contact .ways a { font-size: 20px; }

@media (max-width: 900px) {
  .hosp-block { grid-template-columns: 1fr; gap: var(--s3); }
  .hosp-block .eyebrow { margin-top: 0; }
  .is-hosp .section { padding-block: 120px; }
  .is-hosp .section--light { padding-block: 112px; }
  .is-hosp .section--alt { padding-block: var(--s6); }
  .frame-bleed { height: 78svh; min-height: 480px; }
  .frame-bleed .line { bottom: var(--s4); font-size: 14px; max-width: 26ch; }
  .hosp-statement .display { font-size: clamp(36px, 10.5vw, 48px); }
  .is-hosp .hero-film .hero-tagline { font-size: 17px; }
  .hosp-contact .ways a { font-size: 18px; }
}
