/* =================================================================
   BLACKLIST — Editorial design system
   Dark, exclusive, fashion-meets-automotive.
   One stylesheet powers every page.
   ================================================================= */

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, .gw__panel:focus-visible, .svc-banner:focus-visible {
  outline: 2px solid currentColor; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ---------- Fonts ---------- */
/* Cormorant Garamond = editorial serif headlines
   Inter = technical sans for nav, labels, specs, body */

:root {
  /* Palette — monochrome "Marque": gunmetal + paper, ink is the only accent */
  --bg:          #101113;   /* asphalt charcoal — black, lifted off pure black */
  --bg-2:        #16171a;
  --bg-3:        #1c1e21;
  --surface:     #212329;
  --ink:         #f2f1ed;   /* off-white */
  --ink-dim:     #9a9994;
  --ink-mute:    #76756d;   /* AA-compliant on charcoal for small labels */
  --line:        rgba(242, 241, 237, 0.13);
  --line-soft:   rgba(242, 241, 237, 0.07);
  --line-strong: rgba(242, 241, 237, 0.30);
  --accent:      var(--ink);             /* monochrome — emphasis is ink, not colour */
  --accent-dim:  rgba(242, 241, 237, 0.34);

  /* Type — one engineered grotesque for display + wordmark, Inter for body */
  --serif: "Space Grotesk", system-ui, sans-serif;   /* grotesque: wordmark, labels, prices, data */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;  /* editorial headlines */
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Optical display sizes (used by .display / .h-*) */
  --t-display: clamp(3.4rem, 10vw, 9rem);
  --t-xl:      clamp(2.7rem, 6.4vw, 5.8rem);
  --t-lg:      clamp(2.1rem, 4.4vw, 3.7rem);
  --t-md:      clamp(1.6rem, 3vw, 2.4rem);

  /* Spacing scale — uneven on purpose (≈1.618 ratio). Use these, not guesses. */
  --s-1: 0.5rem;
  --s-2: 0.85rem;
  --s-3: 1.4rem;
  --s-4: 2.2rem;
  --s-5: 3.6rem;
  --s-6: 5.8rem;
  --s-7: 9.4rem;

  /* Rhythm */
  --container: 1380px;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --section-y: clamp(5rem, 13vh, 11rem);

  /* Motion — one signature curve for reveals, one quicker for hovers */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);

  /* Registry motif */
  --tick: 14px;            /* corner registration tick length */
  --hair: 1px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--ink); color: var(--bg); }

/* One focus language everywhere: a fine champagne rule, slightly offset. */
:focus { outline: none; }
:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Typography ----------
   Cormorant carries the voice; Inter carries the apparatus (labels,
   numerals, specs). Display sizes are optical: the bigger the setting,
   the tighter the tracking and leading. */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.06; letter-spacing: -0.003em; }

.display {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--t-display);
  line-height: 0.99;
  letter-spacing: -0.008em;
  text-wrap: balance;
}

.h-xl { font-size: var(--t-xl); line-height: 0.96; letter-spacing: -0.025em; text-wrap: balance; }
.h-lg { font-size: var(--t-lg); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.h-md { font-size: var(--t-md); }

.italic { font-style: italic; }
.serif { font-family: var(--display); }

/* Numerals: anything that reads like data sits on tabular figures */
.tnum,
.spec-row, .listing__price, .tier__price, .stat b,
.cal__cell, .amount-line .amt, .offer__price .val,
.mini-table .num, .bar-row .val {
  font-variant-numeric: tabular-nums lining-nums;
}

/* Eyebrow / kicker label */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--ink-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: var(--hair);
  background: var(--accent);
  opacity: 0.8;
}
.eyebrow--plain::before { display: none; }
.eyebrow--center { justify-content: center; }

/* Registry index — the small champagne numeral that files a section
   like an entry in a private register. <span class="sec-i">01</span> */
.sec-i {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2em;
}

/* Ledger rule — an eyebrow whose hairline runs on to the end of the
   measure, like a line in a register. Use on full-width section heads. */
.eyebrow--ledger { display: flex; width: 100%; }
.eyebrow--ledger::after {
  content: "";
  flex: 1;
  height: var(--hair);
  background: var(--line-soft);
  margin-left: 0.4rem;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-dim);
  font-weight: 300;
}

.measure   { max-width: 58ch; }
.measure-sm { max-width: 44ch; }
.muted { color: var(--ink-dim); }
.mute2 { color: var(--ink-mute); }
.accent { color: var(--accent); }
.center { text-align: center; }
.upper { text-transform: uppercase; letter-spacing: 0.2em; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1620px; }
.container--narrow { max-width: 940px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3.5rem, 7vh, 6rem); }
.section--hair { border-top: 1px solid var(--line-soft); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }

.stack > * + * { margin-top: 1.5rem; }
.stack-sm > * + * { margin-top: 0.85rem; }
.stack-lg > * + * { margin-top: 2.5rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  padding: 1.15rem 2.1rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  z-index: 0;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--bg); border-color: var(--ink); }
.btn:hover::after { transform: translateY(0); }

.btn--solid { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--solid::after { background: var(--bg); }
.btn--solid:hover { color: var(--ink); border-color: var(--ink); }

.btn--full { width: 100%; justify-content: center; }
.btn .arr { transition: transform 0.5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* underline text link */
.link-u {
  font-family: var(--sans);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 4px;
  position: relative;
  color: var(--ink);
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--line-strong);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.link-u:hover::after { background: var(--accent); }
.link-u .arr { transition: transform 0.45s var(--ease); }
.link-u:hover .arr { transform: translateX(5px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: clamp(0.7rem, 1.8vw, 1.15rem) 0 0;
  pointer-events: none;            /* clicks pass through the gutters beside the pill */
  transition: padding 0.4s var(--ease);
}
.site-header .container { pointer-events: none; }

/* The nav is a floating pill — content scrolls and blurs underneath it. */
.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.6rem 0.85rem 0.6rem 1.5rem;
  border-radius: 100px;
  background: rgba(16, 16, 16, 0.58);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 14px 42px -14px rgba(0, 0, 0, 0.55);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.scrolled .nav {
  background: rgba(16, 16, 16, 0.82);
  box-shadow: 0 16px 48px -16px rgba(0, 0, 0, 0.65);
}

/* Pages with a dark hero keep a dark pill + light text in either theme. */
body.has-hero .nav { background: rgba(14, 14, 14, 0.52); border-color: rgba(255, 255, 255, 0.12); }
body.has-hero .site-header.scrolled .nav { background: rgba(14, 14, 14, 0.82); }
body.has-hero .brand { color: #f4f2ec; }
body.has-hero .nav-links a { color: rgba(244, 242, 236, 0.80); }
body.has-hero .nav-links a:hover,
body.has-hero .nav-links a.current { color: #fff; }
body.has-hero .menu-toggle span { background: #f4f2ec; }
.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  white-space: nowrap;
  color: var(--ink);
  padding-left: 0.34em; /* optically balance tracking */
}
.brand b { font-weight: 600; }
/* The full stop — the wordmark always ends with a champagne period. */
.brand::after {
  content: ".";
  color: var(--accent);
  letter-spacing: 0;
  margin-left: -0.32em; /* pull the stop back against the final letter */
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 400;
  color: var(--ink-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.4s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.current::after { transform: scaleX(1); }
.nav-links a.current { color: var(--ink); font-weight: 500; }

.nav-cta { margin-left: 0.5rem; }

/* Menu toggle (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  z-index: 120;
}
.menu-toggle span {
  display: block; height: 1px; width: 100%;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 11vw, 4rem);
  line-height: 1.18;
  color: var(--ink);
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease);
}
body.menu-open .mobile-menu a { transform: translateY(0); }
body.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.08s; }
body.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.14s; }
body.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.20s; }
body.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.26s; }
body.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.32s; }
.mobile-menu .mm-foot {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
}

/* ---------- Image frame / placeholder system ----------
   Until real photos are dropped into /images, frames show an
   elegant labelled placeholder. When the image loads, it covers it.
   When it 404s, JS adds .is-missing and the placeholder stays. */
.frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 30% 20%, #181818 0%, #0c0c0c 55%, #070707 100%);
  border: 1px solid var(--line-soft);
}
.frame::after { /* fine grain texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.014) 0 2px, transparent 2px 6px);
  pointer-events: none;
}
.frame__ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  text-align: center;
  padding: 1.5rem;
  z-index: 1;
}
.frame__ph .mark {
  font-family: var(--sans);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
}
.frame__ph .cap {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-dim);
  max-width: 24ch;
  line-height: 1.3;
}
.frame__ph .cross {
  width: 22px; height: 22px;
  position: relative;
  opacity: 0.5;
}
.frame__ph .cross::before,
.frame__ph .cross::after {
  content: ""; position: absolute; background: var(--accent-dim);
}
.frame__ph .cross::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.frame__ph .cross::after  { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.1s var(--ease), transform 1.4s var(--ease);
}
.frame img.is-loaded { opacity: 1; }
.frame.is-missing img { display: none; }

/* aspect ratios */
.frame--3x2   { aspect-ratio: 3 / 2; }
.frame--4x3   { aspect-ratio: 4 / 3; }
.frame--16x9  { aspect-ratio: 16 / 9; }
.frame--4x5   { aspect-ratio: 4 / 5; }
.frame--square{ aspect-ratio: 1 / 1; }
.frame--21x9  { aspect-ratio: 21 / 9; }
.frame--tall  { aspect-ratio: 3 / 4; }

/* subtle zoom on hover when used as a link/card */
.hover-zoom:hover .frame img.is-loaded { transform: scale(1.04); }

/* Registration ticks — two fine champagne corner marks, set diagonally,
   like crop marks on a contact sheet. The Blacklist frame. Applied where
   a frame reads as a plate on the page (not full-bleed heroes). */
.listing__media .frame::before,
.feature__media .frame::before,
.offer__hero .frame::before,
.offer__gallery .frame::before,
.frame--plate::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(var(--accent), var(--accent)) left 0 top 0 / var(--hair) var(--tick),
    linear-gradient(var(--accent), var(--accent)) left 0 top 0 / var(--tick) var(--hair),
    linear-gradient(var(--accent), var(--accent)) right 0 bottom 0 / var(--hair) var(--tick),
    linear-gradient(var(--accent), var(--accent)) right 0 bottom 0 / var(--tick) var(--hair);
  background-repeat: no-repeat;
  opacity: 0.55;
  transition: opacity 0.6s var(--ease);
}
.hover-zoom:hover .frame::before { opacity: 1; }

/* Plate caption — reads like a magazine credit line under an image. */
.frame-cap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.8rem;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.frame-cap::after { content: ""; flex: 1; height: var(--hair); background: var(--line-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media .frame { width: 100%; height: 100%; border: none; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,6,6,0.55) 0%, rgba(6,6,6,0.05) 28%, rgba(6,6,6,0.4) 62%, rgba(6,6,6,0.96) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(3.5rem, 9vh, 7rem); padding-top: 9rem; }
.hero__title { margin-block: 1.6rem 1.8rem; max-width: 14ch; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.4rem;
  align-items: center;
  position: relative;
  padding-top: 1.6rem;
  margin-top: 2.4rem;
}
/* the rule above the meta row draws itself in once revealed */
.hero__meta::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: var(--hair);
  background: var(--line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease) 0.3s;
}
.hero__meta.is-visible::before,
.hero__meta:not(.reveal)::before { transform: scaleX(1); }
.hero__meta span {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-dim);
}
/* parallax headroom — JS adds .has-parallax so the image can drift
   without ever exposing an edge */
.hero.has-parallax .hero__media { top: -10%; bottom: -10%; will-change: transform; }
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 9vh, 7rem);
  z-index: 2;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 54px; background: linear-gradient(var(--accent), transparent);
}

/* ---------- Split (two sides of the business) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.split__half {
  position: relative;
  padding: clamp(2.5rem, 5vw, 5rem);
  min-height: clamp(420px, 60vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-left: 1px solid var(--line);
}
.split__half:first-child { border-left: none; }
.split__half .frame { position: absolute; inset: 0; border: none; }
.split__half .scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6,6,6,0.35), rgba(6,6,6,0.5) 55%, rgba(6,6,6,0.96));
  transition: background 0.6s var(--ease);
}
.split__half:hover .scrim { background: linear-gradient(180deg, rgba(6,6,6,0.2), rgba(6,6,6,0.4) 55%, rgba(6,6,6,0.92)); }
.split__half:hover .frame img.is-loaded { transform: scale(1.05); }
.split__body { position: relative; z-index: 2; }
.split__body h3 { margin-block: 1rem 1rem; }
.split__num {
  font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--accent); text-transform: uppercase;
}

/* ---------- Listings ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
  border-block: 1px solid var(--line);
  padding-block: 1.4rem;
}
.filters button {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  transition: color 0.35s var(--ease);
  position: relative;
}
.filters button:hover { color: var(--ink); }
.filters button.active { color: var(--ink); }
.filters button.active::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--accent);
}
.filters .count { margin-left: auto; font-size: 0.68rem; letter-spacing: 0.2em; color: var(--ink-mute); text-transform: uppercase; }

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 5vw, 5.5rem) clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.listing { display: block; }
.listing--wide { grid-column: 1 / -1; }
.listing--wide .listing__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 3vw, 3.5rem); align-items: center; }
.listing__media { position: relative; }
.listing__tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.24em;
  padding: 0.5rem 0.85rem;
  background: rgba(6,6,6,0.72);
  backdrop-filter: blur(6px);
  color: var(--ink); border: 1px solid var(--line);
}
.listing__tag.sold { color: var(--accent); border-color: var(--accent-dim); }
.listing__meta { margin-top: 1.5rem; }
.listing__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid var(--line); padding-bottom: 1rem;
}
.listing__name { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.listing__price { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.12em; color: var(--ink); white-space: nowrap; }
.listing__price .enq { color: var(--accent); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; }
.spec-row {
  display: flex; flex-wrap: wrap; gap: 0.4rem 2rem;
  margin-top: 1rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-dim);
}
.spec-row span { display: inline-flex; gap: 0.5rem; }
.spec-row span b { color: var(--ink-mute); font-weight: 400; }
.listing__cta { margin-top: 1.3rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.step { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.step__n { font-family: var(--serif); font-size: 2.6rem; color: var(--accent); line-height: 1; }
.step h4 { font-size: 1.35rem; margin-block: 1.1rem 0.7rem; }
.step p { font-size: 0.92rem; color: var(--ink-dim); }

/* ---------- Pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.tier {
  border: 1px solid var(--line);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column;
  background: var(--bg-2);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
}
.tier:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tier--feature { background: var(--surface); border-color: var(--accent-dim); }
.tier__name { font-size: 1.7rem; margin-bottom: 0.4rem; }
.tier__for { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 1.6rem; }
.tier__price { font-family: var(--serif); font-size: 2.6rem; line-height: 1; margin-bottom: 0.3rem; }
.tier__price small { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); display: block; margin-top: 0.6rem; }
.tier__list { list-style: none; margin: 1.8rem 0; display: flex; flex-direction: column; gap: 0.85rem; flex: 1; }
.tier__list li { font-size: 0.86rem; color: var(--ink-dim); padding-left: 1.4rem; position: relative; line-height: 1.5; }
.tier__list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 1px; background: var(--accent); }
.tier .btn { margin-top: auto; }

/* tiers as the booking trigger — selectable plates */
button.tier { text-align: left; width: 100%; cursor: pointer; }
.tier__pick {
  margin-top: auto;
  display: block;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  transition: color 0.35s var(--ease);
}
.tier.is-active { border-color: var(--accent); background: var(--surface); transform: none; }
.tier.is-active .tier__pick { color: var(--accent); }

/* ---------- Clients strip — set like a register of names ---------- */
.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 0;
  align-items: baseline;
  margin-top: 2.5rem;
}
.clients span {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: var(--ink-dim);
  font-style: italic;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
/* hairline dividers between names, never after the last */
.clients span + span::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: var(--hair);
  background: var(--line);
  margin-inline: 1.6rem;
  vertical-align: middle;
}
.clients span:hover { color: var(--ink); }

/* ---------- Client logo wall (logos drop in via Site Images) ---------- */
.client-logos { display:grid; grid-template-columns:repeat(auto-fit, minmax(140px, 1fr)); gap:clamp(1.6rem,3vw,2.8rem); align-items:center; margin-top:2.5rem; }
.client-logo { display:flex; align-items:center; justify-content:center; min-height:52px; text-align:center; }
.client-logo img { display:none; max-height:44px; max-width:100%; width:auto; object-fit:contain; filter:grayscale(1) opacity(0.82); transition:filter 0.4s var(--ease); }
.client-logo img.on { display:block; }
.client-logo img.on ~ b { display:none; }
.client-logo:hover img.on { filter:grayscale(0) opacity(1); }
.client-logo b { font-family:var(--serif); font-style:italic; font-weight:400; font-size:clamp(1rem,1.8vw,1.35rem); color:var(--ink-dim); transition:color 0.4s var(--ease); }
.client-logo:hover b { color:var(--ink); }

/* ---------- Feature rows (alternating editorial) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature + .feature { margin-top: clamp(4rem, 9vw, 8rem); }

/* ---------- Stat / quote band ---------- */
.bigquote { font-family: var(--display); font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.16; letter-spacing: 0; font-weight: 400; }
.bigquote em { color: var(--accent); font-style: italic; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; font-weight: 300; }
.stat span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-dim); margin-top: 0.7rem; display: block; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.8rem; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field label {
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-dim);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 300;
  padding: 0.75rem 0;
  transition: border-color 0.4s var(--ease);
  border-radius: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-mute); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999990' fill='none' stroke-width='1'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.2rem center; }
.field select option { background: var(--bg-2); color: var(--ink); }

/* checkbox / acknowledgment */
.check { display: flex; gap: 0.9rem; align-items: flex-start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  flex: none; width: 18px; height: 18px; margin-top: 3px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.check .box::after { content: ""; width: 8px; height: 8px; background: var(--accent); transform: scale(0); transition: transform 0.25s var(--ease); }
.check input:checked + .box { border-color: var(--accent); }
.check input:checked + .box::after { transform: scale(1); }
.check input:focus-visible + .box { border-color: var(--accent); }
.check .txt { font-size: 0.85rem; color: var(--ink-dim); line-height: 1.55; }

.form-note { font-size: 0.78rem; color: var(--ink-mute); line-height: 1.6; }

/* fee callout */
.fee {
  border: 1px solid var(--accent-dim);
  background: linear-gradient(180deg, rgba(140,140,140,0.06), rgba(140,140,140,0.01));
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.fee .eyebrow { color: var(--accent); }
.fee .eyebrow::before { background: var(--accent); }
.fee p { color: var(--ink-dim); margin-top: 1rem; }
.fee strong { color: var(--ink); font-weight: 400; }

/* form feedback */
.form-status { font-size: 0.82rem; letter-spacing: 0.04em; min-height: 1.2em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #d98c7a; }
.form-success {
  border: 1px solid var(--accent-dim);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.form-success h3 { font-size: 1.8rem; margin-bottom: 0.8rem; }
.form-success p { color: var(--ink-dim); }
.hidden { display: none !important; }

/* ---------- Contact rows ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 7vw, 7rem); }
.contact-block + .contact-block { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 2.6rem; }
.contact-block h4 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.contact-block a.big { font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.9rem); color: var(--ink); transition: color 0.4s var(--ease); }
.contact-block a.big:hover { color: var(--accent); }
.contact-block p { color: var(--ink-dim); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .display { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: 0.3em; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1; padding-left: 0.3em; }
.footer-brand .display::after { content: "."; color: var(--accent); } /* the full stop */
.footer-brand p { color: var(--ink-dim); margin-top: 1.4rem; max-width: 34ch; font-size: 0.92rem; }
.footer-col h5 { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.24em; color: var(--ink-mute); margin-bottom: 1.4rem; font-family: var(--sans); font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a { font-size: 0.86rem; color: var(--ink-dim); transition: color 0.35s var(--ease); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line-soft);
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-top: clamp(9rem, 18vh, 13rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero .display { margin-top: 1.6rem; }
.page-hero .lead { margin-top: 1.8rem; }

/* ---------- Reveal animation ----------
   The signature entrance: content settles up into place on the house
   curve — unhurried, no bounce. Headlines may add .reveal--mask to
   rise from behind a clipped edge instead. */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 1.25s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

.reveal--mask {
  clip-path: inset(0 0 102% 0);
  transform: translateY(14px);
  transition: clip-path 1.2s var(--ease-out), transform 1.25s var(--ease-out), opacity 0.6s linear;
}
.reveal--mask.is-visible { clip-path: inset(0 0 -12% 0); }

/* ---------- Misc ---------- */
.rule { height: 1px; background: var(--line); border: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.gap-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }

/* ---------- Editorial spread ----------
   The asymmetric replacement for "center everything": a narrow side
   column for the registry label, a wide offset column for the matter.
   Collapses politely on small screens. */
.ed {
  display: grid;
  grid-template-columns: minmax(140px, 3fr) 9fr;
  column-gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}
.ed__side { padding-top: 0.55em; /* optically align label to the matter's cap height */ }
.ed__main { max-width: 56rem; }
.ed__main--wide { max-width: none; }
.bigquote--measure { max-width: 28ch; } /* line length tuned to the quote's own size */
/* push the matter off-centre to the right — the spread breathes unevenly */
.ed--drift .ed__main { margin-left: clamp(0rem, 6vw, 7rem); }

@media (max-width: 860px) {
  .ed { grid-template-columns: 1fr; row-gap: var(--s-3); }
  .ed--drift .ed__main { margin-left: 0; }
}

/* Staggered listing spread — the even two-up grid becomes a spread:
   the second plate sits lower, like pinned photographs. */
@media (min-width: 861px) {
  .listing-grid--stagger .listing:nth-child(even) { margin-top: var(--s-7); }
  .listing-grid--stagger { align-items: start; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__half { border-left: none; border-top: 1px solid var(--line); min-height: 70vh; }
  .split__half:first-child { border-top: none; }
  .listing-grid { grid-template-columns: 1fr; gap: clamp(3rem, 9vw, 4.5rem); }
  .listing--wide .listing__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .feature, .feature--rev { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 0; }
  .stat { padding-block: 1.2rem; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .brand { font-size: 0.88rem; letter-spacing: 0.32em; }
  .hero__meta { gap: 0.6rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .frame img { transition: opacity 0.3s linear; }
  .hero__meta::before { transform: none !important; transition: none !important; }
  .hero.has-parallax .hero__media { top: 0; bottom: 0; transform: none !important; }
}

/* ---------- Installed app (Add to Home Screen) ----------
   In standalone mode the page runs edge-to-edge under the iOS status
   bar — pad the fixed chrome by the device's safe areas. */
@media (display-mode: standalone) {
  .site-header { padding-top: calc(1.6rem + env(safe-area-inset-top, 0px)); }
  .site-header.scrolled { padding-top: calc(1.05rem + env(safe-area-inset-top, 0px)); }
  .mobile-menu { padding-top: calc(var(--gutter) + env(safe-area-inset-top, 0px)); }
  body { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .page-hero { padding-top: calc(clamp(9rem, 18vh, 13rem) + env(safe-area-inset-top, 0px) * 0.5); }
}

/* ============================================================
   LIGHT MODE — applied automatically when the operating system
   is set to a light appearance. The dark values in :root above
   remain the default (used for dark mode and as a fallback).
   ============================================================ */
@media (prefers-color-scheme: light) {
  :root {
    --bg:          #f4f3ef;   /* paper */
    --bg-2:        #ffffff;
    --bg-3:        #ebe9e3;
    --surface:     #ffffff;
    --ink:         #16160f;   /* near-black */
    --ink-dim:     #5b594f;
    --ink-mute:    #6e6c62;   /* AA-compliant on paper for small labels */
    --line:        rgba(22, 21, 14, 0.15);
    --line-soft:   rgba(22, 21, 14, 0.07);
    --line-strong: rgba(22, 21, 14, 0.32);
    --accent:      var(--ink);
    --accent-dim:  rgba(22, 21, 14, 0.34);
  }

  /* Hero & split panels sit over darkened photography — keep their
     text light and use champagne (not the dark gold) over the image. */
  .hero .eyebrow, .hero .lead, .hero__meta span,
  .split__body, .split__body .lead { color: rgba(244, 242, 236, 0.74); }
  .hero__meta::before { background: rgba(244, 242, 236, 0.22); }
  .hero__title, .split__body h3 { color: #f6f4ee; }
  .hero .accent, .split__num { color: #e9e7e1; }
  .hero .eyebrow::before, .split .eyebrow::before { background: #e9e7e1; }
  .scroll-cue { color: rgba(244, 242, 236, 0.55); }
  .scroll-cue::after { background: linear-gradient(#e9e7e1, transparent); }
  .split__body .link-u { color: #f4f2ec; }
  .split__body .link-u::after { background: rgba(244, 242, 236, 0.35); }

  /* Floating pill becomes light glass in light mode (non-hero pages) */
  .nav {
    background: rgba(250, 249, 246, 0.72);
    border-color: rgba(22, 21, 16, 0.10);
    box-shadow: 0 14px 42px -16px rgba(40, 38, 32, 0.22);
  }
  .site-header.scrolled .nav { background: rgba(250, 249, 246, 0.90); }

  /* Status chips ride on top of photos → stay light on a dark pill */
  .listing__tag { color: #f4f2ec; background: rgba(10, 10, 10, 0.6); border-color: rgba(244, 242, 236, 0.22); }
  .listing__tag.sold { color: #e9e7e1; }

  /* Darker dropdown chevron for contrast on white fields */
  .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237d5e30' fill='none' stroke-width='1'/%3E%3C/svg%3E");
  }

  /* Frame fallback surface (only visible before a photo loads) */
  .frame { background: radial-gradient(120% 120% at 30% 20%, #eceae3 0%, #e3e0d8 55%, #dcd8cf 100%); }
}

/* ============================================================
   GATEWAY (split Brokerage | Media entry)
   ============================================================ */
.gateway { height: 100svh; display: flex; position: relative; overflow: hidden; }

/* LEFT — the brand block, holds half the screen */
.gw-left {
  flex: 0 0 46%; position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.6rem,3vw,2.8rem) clamp(1.8rem,4vw,3.6rem);
  background: var(--bg); border-right: 1px solid var(--line);
}
.gw-left__nav { display: flex; gap: clamp(1rem,2vw,1.7rem); font-family: var(--sans); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.2em; }
.gw-left__nav a { color: var(--ink); }
.gw-left__nav a:hover { color: var(--accent); }
.gw-left__brand { padding: clamp(1rem,2vw,2rem) 0; }
.gw-mark { font-family: var(--serif); font-weight: 400; line-height: 0.95; letter-spacing: -0.04em; font-size: clamp(2.6rem, 6.4vw, 6.6rem); color: var(--ink); white-space: nowrap; }
.gw-mark .md { color: var(--accent); } /* the champagne full stop */
.gw-tag {
  margin-top: clamp(1.2rem,2vw,1.9rem);
  max-width: 27ch;
  color: var(--ink-dim);
  font-size: clamp(0.92rem,1.1vw,1.06rem);
  line-height: 1.55;
  padding-left: clamp(0.9rem, 1.4vw, 1.4rem);
  border-left: var(--hair) solid var(--line); /* tag reads as a filed note */
}
.gw-left__foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-mute); }
.gw-left__foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.gw-left__foot a:hover { color: var(--ink); }

/* RIGHT — the three panels, stacked */
.gw-right { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.gw__panel {
  position: relative; flex: 1; overflow: hidden; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.3rem,2.4vw,2.3rem) clamp(1.7rem,3.2vw,3rem);
  border-top: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(243,241,234,0.09);
  transition: flex 0.7s var(--ease), box-shadow 0.5s var(--ease);
  text-decoration: none;
}
.gw__panel:first-child { border-top: none; }
/* legibility plinth: a hard dark wash behind the text, leaving the car clear above */
.gw__panel::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 82%; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.5) 66%, rgba(0,0,0,0.92) 100%);
}
.gw__panel .frame { position: absolute; inset: 0; border: none; }
.gw__panel .frame img {
  scale: 1.06; /* headroom so the pointer drift never exposes an edge */
  transition: transform 1.6s var(--ease), translate 1.1s var(--ease);
}
.gw__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.05) 38%, rgba(0,0,0,0.12) 100%);
  transition: background 0.7s var(--ease);
}
/* Text sits straight on the gradient now — no box, just a strong shadow for safety. */
.gw__body {
  position: relative; z-index: 3;
  max-width: min(46ch, 100%);
  text-shadow: 0 1px 24px rgba(0,0,0,0.9), 0 2px 4px rgba(0,0,0,0.55);
}
.gw__num { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--sans); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: #e9e7e1; font-variant-numeric: tabular-nums; }
.gw__num::before { content: ""; width: 26px; height: 1px; background: #e9e7e1; }
.gw__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 5.2vw, 4.6rem); line-height: 0.96; letter-spacing: -0.02em; color: #fff; margin: 0.55rem 0 0.6rem; }
.gw__line { color: rgba(250,249,245,0.94); font-size: clamp(0.88rem, 1.05vw, 1.05rem); line-height: 1.5; margin-bottom: 1.1rem; max-width: 42ch; }
.gw__enter {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--sans); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.22em; font-weight: 500;
  color: #f6f4ee; padding-bottom: 4px; border-bottom: 1px solid rgba(244,242,236,0.35);
}
.gw__enter .arr { transition: transform 0.45s var(--ease); }
.gw__panel:hover .gw__enter .arr { transform: translateX(5px); }
@media (hover: hover) and (min-width: 861px) {
  .gw__panel:hover { flex: 1.6; box-shadow: inset 0 0 0 1px rgba(244,242,236,0.45); }
  .gw__panel:hover .gw__scrim { background: linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.02) 45%, rgba(0,0,0,0.08) 100%); }
  .gw__panel:hover .frame img.is-loaded { transform: scale(1.05); }
}
@media (max-width: 860px) {
  .gateway { flex-direction: column; height: auto; min-height: 100svh; }
  .gw-left { flex: none; border-right: none; border-bottom: 1px solid var(--line); }
  .gw-left__brand { padding: clamp(2rem,9vw,3.5rem) 0; }
  .gw-mark { font-size: clamp(2.2rem, 11vw, 4.6rem); }
  .gw__panel { min-height: 46svh; }
}

/* ============================================================
   CALENDAR + BOOKING
   ============================================================ */
.book-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.book-panel { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(1.6rem, 3vw, 2.4rem); position: sticky; top: 100px; }
.book-when { font-family: var(--serif); font-size: 1.5rem; }
.book-empty { color: var(--ink-mute); font-size: 0.92rem; }

.cal { user-select: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.cal__title { font-family: var(--serif); font-size: 1.4rem; }
.cal__nav { width: 38px; height: 38px; border: 1px solid var(--line-strong); color: var(--ink); display: grid; place-items: center; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.cal__nav:hover:not(:disabled) { background: var(--ink); color: var(--bg); }
.cal__dows { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal__dows span { text-align: center; font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__cell {
  position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-dim);
  font-size: 0.86rem; background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cal__cell--empty { border: none; }
.cal__cell:disabled { color: var(--ink-mute); opacity: 0.4; cursor: default; }
.cal__cell.is-closed { color: var(--ink-mute); opacity: 0.45; }
.cal__cell.is-open { color: var(--ink); border-color: var(--line-strong); cursor: pointer; }
.cal__cell.is-open:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.cal__cell.is-selected { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cal__cell.is-today::before { content: ""; position: absolute; top: 5px; right: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.cal__cell.is-blocked { color: var(--ink-mute); opacity: 0.5; }
.cal__cell.is-blocked .cal__num { text-decoration: line-through; }
.cal__badge {
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  font-size: 0.54rem; letter-spacing: 0.05em; color: var(--accent); font-family: var(--sans);
}
.cal__legend { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-top: 1.4rem; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-dim); }
.cal__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.cal__legend i { width: 12px; height: 12px; border: 1px solid var(--line-strong); display: inline-block; }
.cal__legend i.open { background: transparent; border-color: var(--ink); }
.cal__legend i.sel { background: var(--ink); border-color: var(--ink); }
.cal__legend i.off { background: transparent; opacity: 0.4; }

/* time slots */
.slots { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.4rem; }
.slot {
  flex: 1 1 auto; min-width: 90px; text-align: center;
  border: 1px solid var(--line-strong); padding: 0.7rem 0.9rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.slot:hover:not(:disabled) { border-color: var(--ink); }
.slot.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.slot:disabled { opacity: 0.35; cursor: default; text-decoration: line-through; }

/* admin list */
.bk-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.4rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.bk-date { font-family: var(--serif); font-size: 1.1rem; white-space: nowrap; }
.bk-date small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-top: 2px; }
.bk-who b { font-weight: 400; }
.bk-who span { color: var(--ink-dim); font-size: 0.86rem; }
.bk-rm { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); border: 1px solid var(--line); padding: 0.45rem 0.8rem; transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.bk-rm:hover { color: #d98c7a; border-color: #d98c7a; }
.bk-empty { color: var(--ink-mute); padding: 2rem 0; font-style: italic; font-family: var(--serif); font-size: 1.1rem; }
.bk-stat { display: flex; gap: 2.4rem; flex-wrap: wrap; margin-bottom: 2rem; }
.bk-stat b { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; display: block; line-height: 1; }
.bk-stat span { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-dim); margin-top: 0.5rem; display: block; }
.mode-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); border: 1px solid var(--line); padding: 0.4rem 0.7rem; }
.mode-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* passcode gate overlay */
.gate { position: fixed; inset: 0; z-index: 300; background: var(--bg); display: grid; place-items: center; padding: var(--gutter); }
.gate__card { width: 100%; max-width: 360px; text-align: left; }
.gate__input { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line-strong); color: var(--ink); font-size: 1.1rem; padding: 0.7rem 0; margin-bottom: 0.6rem; }
.gate__input:focus { outline: none; border-bottom-color: var(--accent); }
.gate__err { color: #d98c7a; font-size: 0.78rem; min-height: 1.1em; margin-bottom: 1rem; }

@media (max-width: 860px) {
  .book-grid { grid-template-columns: 1fr; }
  .book-panel { position: static; }
  .bk-row { grid-template-columns: 1fr auto; }
}

/* ============================================================
   PACKAGE PICKER (booking flow)
   ============================================================ */
.pkg-pick { display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.pkg {
  text-align: left; border: 1px solid var(--line-strong); padding: 0.85rem 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pkg:hover { border-color: var(--ink); }
.pkg.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pkg__l .pkg__name { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; }
.pkg__l .pkg__desc { display: block; font-size: 0.72rem; color: var(--ink-dim); margin-top: 3px; }
.pkg.is-active .pkg__desc { color: rgba(244, 242, 236, 0.6); }
.pkg__price { font-family: var(--serif); font-size: 1.1rem; white-space: nowrap; }
/* the shoot plan — the computed day-by-day schedule, set like a register */
.plan { border: 1px solid var(--line); background: var(--bg); }
.plan__row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.plan__row:last-child { border-bottom: none; }
.plan__row b { font-weight: 400; font-family: var(--serif); font-size: 1.05rem; }
.plan__row span {
  color: var(--ink-dim); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.14em; white-space: nowrap; font-variant-numeric: tabular-nums;
}

.amount-line { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1.2rem; }
.amount-line .lbl { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-dim); }
.amount-line .amt { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.amount-line .amt small { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); display: block; text-align: right; }

/* ============================================================
   HISTORICAL EARNINGS DASHBOARD
   ============================================================ */
.dash-streams { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.dash-stream { border: 1px solid var(--line); background: var(--bg-2); padding: 1.4rem 1.5rem; }
.dash-stream b { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; display: block; }
.dash-stream span { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-dim); margin-top: 0.6rem; display: block; }
.dash-stream.is-total { border-color: var(--accent-dim); background: var(--surface); }
.dash-stream.is-total b { color: var(--accent); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); margin-top: 2.6rem; }
.dash-card h4 { font-family: var(--sans); font-weight: 500; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-mute); margin-bottom: 1rem; }
.mini-table { width: 100%; border-collapse: collapse; }
.mini-table th { text-align: left; font-family: var(--sans); font-weight: 500; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-mute); padding: 0 0 0.7rem; border-bottom: 1px solid var(--line); }
.mini-table td { padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; color: var(--ink-dim); }
.mini-table td.name { color: var(--ink); }
.mini-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bars { display: flex; flex-direction: column; gap: 0.55rem; }
.bar-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 0.8rem; align-items: center; font-size: 0.76rem; }
.bar-row .lbl { color: var(--ink-dim); white-space: nowrap; }
.bar-track { height: 7px; background: var(--line-soft); position: relative; }
.bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent); min-width: 2px; }
.bar-row .val { color: var(--ink-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 760px) { .dash-grid { grid-template-columns: 1fr; } }

/* ============================================================
   INVOICE (branded, print-ready) — fixed light palette
   ============================================================ */
.invoice-page { background: #ece9e1; min-height: 100vh; padding: clamp(1.2rem, 4vw, 3rem) 0; }
.inv {
  background: #fbfaf6; color: #1b1813; width: 100%; max-width: 850px; margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.6rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  font-family: var(--sans); font-weight: 300;
}
.inv__rule { height: 2px; background: #1b1813; }
.inv__brand { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.4rem 0 1.8rem; }
.inv__brand .mark { font-family: var(--sans); font-weight: 600; letter-spacing: 0.42em; font-size: 1.1rem; color: #1b1813; padding-left: 0.42em; }
.inv__brand .mark::after { content: "."; color: #1b1813; letter-spacing: 0; margin-left: -0.32em; }
.inv__brand .tag { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: #8a857a; }
.inv__head { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; padding-top: 1.6rem; }
.inv__title { font-family: var(--display); font-weight: 500; font-size: 3.4rem; line-height: 0.92; letter-spacing: 0; }
.inv__contact { margin-top: 1.2rem; font-size: 0.84rem; color: #555049; line-height: 1.7; }
.inv__meta { font-size: 0.9rem; color: #2c2820; line-height: 1.85; }
.inv__meta b { font-weight: 500; }
.inv__meta .lab { color: #8a857a; }
.inv__table { width: 100%; border-collapse: collapse; margin-top: 2.4rem; }
.inv__table thead th { background: #161310; color: #f3f1ea; font-family: var(--sans); font-weight: 500; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.16em; text-align: left; padding: 0.85rem 1rem; }
.inv__table thead th.num { text-align: right; }
.inv__table tbody td { padding: 0.95rem 1rem; border-bottom: 1px solid #e7e2d7; font-size: 0.92rem; color: #2c2820; }
.inv__table tbody td.num { text-align: right; font-variant-numeric: tabular-nums; }
.inv__table tbody tr:last-child td { border-bottom: 1px solid #cfc8b8; }
.inv__total td { padding: 1.1rem 1rem; font-size: 0.95rem; }
.inv__total .lab { text-align: right; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.66rem; color: #8a857a; }
.inv__total .sum { text-align: right; font-family: var(--serif); font-size: 1.6rem; color: #1b1813; }
.inv__foot { margin-top: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.inv__pay .lab, .inv__terms .lab { font-family: var(--sans); font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.2em; color: #8a857a; display: block; margin-bottom: 0.5rem; }
.inv__pay p { font-size: 0.9rem; color: #2c2820; }
.inv__note { margin-top: 2.4rem; font-size: 0.88rem; color: #555049; line-height: 1.7; max-width: 60ch; }
.inv__sign { margin-top: 2rem; }
.inv__sign .sig { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #1b1813; }
.inv__split { margin-top: 2.2rem; border: 1px solid #e0dac9; background: #f3efe4; padding: 1rem 1.2rem; font-size: 0.78rem; color: #6a655b; }
.inv-actions { max-width: 850px; margin: 0 auto 1.2rem; display: flex; gap: 0.7rem; justify-content: flex-end; }
.inv-actions .btn { font-size: 0.66rem; padding: 0.85rem 1.5rem; color: #1b1813; border-color: rgba(0,0,0,0.25); }
.inv-actions .btn--solid { background: #161310; color: #f3f1ea; border-color: #161310; }
@media (max-width: 620px) { .inv__head, .inv__foot { grid-template-columns: 1fr; } .inv__title { font-size: 2.6rem; } }
@media print {
  .no-print { display: none !important; }
  .invoice-page { background: #fff; padding: 0; }
  .inv { box-shadow: none; max-width: none; margin: 0; padding: 0; }
  @page { margin: 16mm; }
}

/* ============================================================
   LISTINGS CMS (admin)
   ============================================================ */
.cms-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.1rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.cms-thumb { width: 64px; height: 80px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.cms-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cms-info b { font-weight: 400; font-family: var(--serif); font-size: 1.15rem; }
.cms-info span { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-dim); margin-top: 3px; }
.cms-act { display: flex; gap: 0.5rem; }
.cms-editor { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(1.6rem, 3vw, 2.4rem); margin-top: 2.5rem; }
.cms-imgrow { display: flex; gap: 1.2rem; align-items: flex-start; flex-wrap: wrap; }
.cms-preview { width: 120px; height: 150px; flex: none; background: var(--surface); border: 1px solid var(--line-strong); overflow: hidden; display: grid; place-items: center; color: var(--ink-mute); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.14em; text-align: center; }
.cms-preview img { width: 100%; height: 100%; object-fit: cover; }
.file-btn { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid var(--line-strong); padding: 0.75rem 1.2rem; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; cursor: pointer; transition: border-color 0.3s var(--ease); }
.file-btn:hover { border-color: var(--ink); }
.file-btn input { display: none; }

/* ============================================================
   OFFER DOCUMENT (client-facing — always dark editorial)
   ============================================================ */
.offer-page {
  --bg: #070707; --bg-2: #0c0c0c; --surface: #151515;
  --ink: #f3f1ea; --ink-dim: #a4a29a; --ink-mute: #6c6a63;
  --line: rgba(243,241,234,0.12); --line-soft: rgba(243,241,234,0.06); --line-strong: rgba(243,241,234,0.26);
  --accent: #e7e5e0; --accent-dim: rgba(231,229,224,0.34);
  background: var(--bg); color: var(--ink); min-height: 100vh;
}
.offer { max-width: 1100px; margin: 0 auto; padding: clamp(1.4rem,4vw,3rem) var(--gutter) 4rem; }
.offer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; border-bottom: 1px solid var(--accent-dim); padding-bottom: 1.4rem; }
.offer__head .wm { font-family: var(--sans); font-weight: 600; letter-spacing: 0.4em; font-size: 1.05rem; padding-left: 0.4em; }
.offer__head .wm::after { content: "."; color: var(--accent); letter-spacing: 0; margin-left: -0.32em; }
.offer__head .meta { text-align: right; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-dim); line-height: 2; }
.offer__head .meta b { color: var(--ink); }
.offer__head .meta .pf { color: var(--accent); }
.offer__hero { margin-top: 1.8rem; }
.offer__hero .frame { aspect-ratio: 16 / 8; border: 1px solid var(--line); }
.offer__title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.2rem; }
.offer__title { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem,5.2vw,3.9rem); line-height: 1.02; }
.offer__sub { color: var(--ink-dim); font-size: 0.9rem; letter-spacing: 0.06em; margin-top: 0.7rem; }
.offer__price { text-align: right; }
.offer__price .lab { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent); }
.offer__price .val { font-family: var(--serif); font-size: clamp(1.8rem,4vw,2.6rem); line-height: 1; margin-top: 0.4rem; }
.offer__price .note { font-size: 0.7rem; color: var(--ink-dim); margin-top: 0.5rem; letter-spacing: 0.04em; }
.offer__specs { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem 1rem; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.8rem; }
.offer__specs .sp .k { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--ink-mute); }
.offer__specs .sp .v { font-family: var(--sans); font-weight: 500; font-size: 0.95rem; margin-top: 0.4rem; }
.offer__hl { margin-top: 2.4rem; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.offer__hl h4 { font-family: var(--sans); font-weight: 500; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 1.1rem; }
.offer__hl ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 2rem; }
.offer__hl li { position: relative; padding-left: 1.4rem; color: var(--ink-dim); font-size: 0.92rem; }
.offer__hl li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 1px; background: var(--accent); }
.offer__gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 0.8rem; margin-top: 2.4rem; }
.offer__gallery .frame { aspect-ratio: 3 / 4; }
.offer__foot { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-mute); }
.offer__disclaimer { margin-top: 1.3rem; font-family: var(--serif); font-style: italic; color: var(--ink-mute); font-size: 0.95rem; }
.offer-actions { max-width: 1100px; margin: 0 auto; padding: 1rem var(--gutter) 0; display: flex; gap: 0.7rem; justify-content: flex-end; }
.gal-thumb { position: relative; width: 92px; height: 112px; border: 1px solid var(--line-strong); overflow: hidden; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumb button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; background: rgba(6,6,6,0.7); color: #fff; border: none; font-size: 0.9rem; line-height: 1; cursor: pointer; }
@media (max-width: 680px) { .offer__specs { grid-template-columns: 1fr 1fr; } .offer__hl ul { grid-template-columns: 1fr; } }
@media print {
  .no-print { display: none !important; }
  .offer-page { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .offer { padding: 0; }
  @page { margin: 12mm; }
}

/* ============================================================
   STUDIO ZONES — owner dashboard · photographer · media clients
   ============================================================ */
.role-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.2rem; }
.role-card { border:1px solid var(--line); padding:2rem 1.8rem; text-decoration:none; color:var(--ink); display:block; transition:border-color .25s var(--ease); }
.role-card:hover { border-color:var(--ink); }
.role-card .num { font-family:var(--serif); font-weight:500; font-size:.66rem; letter-spacing:.2em; color:var(--ink-mute); }
.role-card h3 { font-family:var(--serif); font-weight:500; font-size:1.5rem; margin:.7rem 0 .4rem; letter-spacing:-.01em; }
.role-card p { font-family:var(--sans); font-size:.82rem; color:var(--ink-dim); font-weight:300; line-height:1.5; }

.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1px; background:var(--line); border:1px solid var(--line); margin:1.6rem 0; }
.kpi { background:var(--bg); padding:1.4rem 1.3rem; }
.kpi b { display:block; font-family:var(--serif); font-weight:500; font-size:1.7rem; font-variant-numeric:tabular-nums; line-height:1; }
.kpi span { display:block; font-family:var(--sans); font-size:.58rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute); margin-top:.55rem; }
.kpi--owed { background:var(--inv-bg, var(--surface)); }
.kpi--owed b { color:var(--ink); }

.dash-panel { border:1px solid var(--line); padding:clamp(1.3rem,2.5vw,2rem); margin-top:1.4rem; }
.dash-panel h3 { font-family:var(--serif); font-weight:500; font-size:1.2rem; margin-bottom:1.2rem; }
.dash-2 { display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; }
@media (max-width:760px){ .dash-2 { grid-template-columns:1fr; } }
/* owner dashboard: two equal columns — photography | brokering */
.dash-split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(1.4rem,3vw,2.4rem); align-items:start; margin-top:1.8rem; }
.dash-col { min-width:0; }
.dash-col > .dash-panel:first-of-type { margin-top:0.8rem; }
.dash-col-title { font-family:var(--sans); font-size:0.7rem; letter-spacing:0.24em; text-transform:uppercase; color:var(--ink); padding-bottom:0.7rem; border-bottom:1px solid var(--ink); }
@media (max-width:900px){ .dash-split { grid-template-columns:1fr; gap:0; } .dash-col + .dash-col { margin-top:1.4rem; } }
/* needs-action banner at the top of the owner dashboard */
.needs-action { border-color:var(--ink); }
.needs-item { display:flex; gap:1rem; align-items:baseline; padding:0.7rem 0; border-top:1px solid var(--line); }
.needs-item:first-child { border-top:none; padding-top:0; }
.needs-tag { font-family:var(--sans); font-size:0.56rem; letter-spacing:0.16em; text-transform:uppercase; color:var(--bg); background:var(--ink); padding:0.28rem 0.6rem; white-space:nowrap; flex:0 0 auto; }
.needs-d { font-family:var(--sans); font-size:0.9rem; color:var(--ink-dim); line-height:1.5; }
.needs-clear { font-family:var(--sans); font-size:0.9rem; color:var(--ink-dim); }
.deal-margin { color:var(--ink-mute); }
.chart svg { width:100%; height:auto; display:block; }
.chart .axis { fill:var(--ink-mute); font-family:var(--sans); font-size:9px; letter-spacing:.04em; }
.chart .bar { fill:var(--ink); }
.chart .bar--soft { fill:var(--ink-dim); }
.chart .grid { stroke:var(--line); stroke-width:1; }
.chart .line { fill:none; stroke:var(--ink); stroke-width:1.5; }
.chart .area { fill:var(--line-soft); }
.chart .dot { fill:var(--ink); }

.ledger { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.ledger th { text-align:left; font-family:var(--sans); font-weight:500; font-size:.58rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-mute); padding:0 0 .7rem; border-bottom:1px solid var(--line); }
.ledger td { padding:.7rem 0; border-top:1px solid var(--line); font-size:.86rem; }
.ledger td.r, .ledger th.r { text-align:right; }
.ledger .rm { font-family:var(--sans); font-size:.6rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-mute); cursor:pointer; background:none; border:none; }
.ledger .rm:hover { color:#c0392b; }

.flow { display:flex; align-items:flex-start; margin:.3rem 0 .2rem; }
.flow__step { flex:1; position:relative; text-align:center; }
.flow__step::before { content:""; position:absolute; top:6px; left:-50%; width:100%; height:1.5px; background:var(--line); }
.flow__step:first-child::before { display:none; }
.flow__dot { width:13px; height:13px; border-radius:50%; border:1.5px solid var(--line-strong); background:var(--bg); margin:0 auto; position:relative; z-index:1; }
.flow__lbl { font-family:var(--sans); font-size:.55rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-mute); margin-top:.5rem; }
.flow__step.done .flow__dot { background:var(--ink); border-color:var(--ink); }
.flow__step.done::before { background:var(--ink); }
.flow__step.now .flow__dot { border-color:var(--ink); box-shadow:0 0 0 3px rgba(128,128,128,.22); }
.flow__step.done .flow__lbl, .flow__step.now .flow__lbl { color:var(--ink); }

.stage-tag { display:inline-block; font-family:var(--sans); font-size:.55rem; letter-spacing:.14em; text-transform:uppercase; border:1px solid var(--line); padding:.25rem .55rem; color:var(--ink-dim); }
.stage-tag.is-paid { border-color:var(--ink); color:var(--ink); }
.stage-sel { font-family:var(--sans); font-size:.7rem; padding:.35rem .5rem; background:transparent; color:var(--ink); border:1px solid var(--line); }

.shoot { border:1px solid var(--line); padding:1.3rem 1.4rem; margin-bottom:1rem; }
.shoot__head { display:flex; justify-content:space-between; align-items:baseline; gap:1rem; flex-wrap:wrap; }
.shoot__title { font-family:var(--serif); font-weight:500; font-size:1.15rem; }
.shoot__date { font-family:var(--sans); font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-mute); }
.shoot__items { font-family:var(--sans); font-size:.82rem; color:var(--ink-dim); font-weight:300; margin-top:.5rem; line-height:1.5; }
.shoot__amt { font-family:var(--serif); font-weight:500; font-variant-numeric:tabular-nums; }
.shoot .flow { margin-top:1.1rem; }

/* small login card (media clients) */
.login-wrap { min-height:72vh; display:flex; align-items:center; justify-content:center; padding:2rem; }
.login-box { width:100%; max-width:360px; }
.login-box .field { margin-top:1.1rem; }
.login-box select, .login-box input { width:100%; }
