/* ============================================================
   Sethi Properties — stylesheet
   Direction: high-contrast, colour-blocked, cobalt accent
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:         #F4F4F1;
  --surface:    #FFFFFF;
  --ink:        #111312;
  --muted:      #5A605B;
  --line:       #E4E4DE;

  /* Brand: navy and gold, taken from the Vishesh Properties logo */
  --blue:       #17294E;   /* primary — navy */
  --blue-deep:  #0F1C36;
  --blue-soft:  #EBEEF5;

  --gold:       #C2A04A;   /* decorative fills, rules, dots */
  --gold-text:  #8A6B18;   /* gold at small text sizes, for contrast */
  --gold-soft:  #F7F1E1;
  --gold-light: #D9BC6E;   /* gold on dark backgrounds */

  --char:       #16181A;
  --char-2:     #22262A;
  --on-char:    #F2F3F0;
  --on-char-mut:#A3ABA4;

  --display: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --brand:   "Cinzel", Georgia, "Times New Roman", serif;
  --body:    "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --sh-sm: 0 1px 2px rgba(17,19,18,.04), 0 4px 14px -8px rgba(17,19,18,.14);
  --sh-md: 0 2px 4px rgba(17,19,18,.04), 0 16px 32px -16px rgba(17,19,18,.20);
  --sh-lg: 0 4px 8px rgba(17,19,18,.05), 0 32px 64px -24px rgba(17,19,18,.30);

  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 9rem);
  --max: 1240px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
}
h3, h4 { line-height: 1.14; letter-spacing: -0.025em; }

p { margin: 0 0 1rem; max-width: 64ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }

:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .8rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 5rem); }

.section--ink {
  background: var(--char);
  color: var(--on-char);
  border-radius: var(--r-xl);
  margin-inline: clamp(.5rem, 2vw, 1.25rem);
}
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink p { color: var(--on-char-mut); }
.section--ink a { color: #fff; }

/* Panel — was a survey frame, now a soft card */
.plot {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  box-shadow: var(--sh-sm);
}
.plot::before, .plot::after { content: none; }

/* ---------- 4. Type helpers ---------- */
.eyebrow {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--mono);
  font-size: .69rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.35rem;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex: none;
}
.eyebrow--center { justify-content: center; }
.section--ink .eyebrow { color: var(--gold-light); }
.section--ink .eyebrow::before { background: var(--gold-light); }

.h-xl { font-size: clamp(3rem, 8vw, 6.4rem); letter-spacing: -.05em; line-height: .93; }
.h-lg { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.045em; line-height: .98; }
.h-md { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.h-sm { font-size: 1.22rem; }

.lede {
  font-size: clamp(1.1rem, 1.55vw, 1.32rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 54ch;
}

.mono { font-family: var(--mono); }
.tag {
  font-family: var(--mono);
  font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--body);
  font-size: .95rem; font-weight: 500; letter-spacing: -.01em;
  padding: .9rem 1.6rem;
  border: 1.5px solid var(--blue);
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover {
  background: var(--blue-deep); border-color: var(--blue-deep); color: #fff;
  transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(23,41,78,.6);
}

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); color: var(--ink); box-shadow: var(--sh-md); }
.section--ink .btn--ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.section--ink .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

.btn--brass { background: var(--ink); border-color: var(--ink); }
.btn--brass:hover { background: #000; border-color: #000; box-shadow: 0 12px 24px -12px rgba(17,19,18,.6); }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-block: .7rem;
  background: linear-gradient(var(--bg) 60%, rgba(244,244,241,0));
}
.site-header__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 62px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding-inline: 1.1rem;
  box-shadow: var(--sh-sm);
}

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name { font-family: var(--brand); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; line-height: 1; }
.brand__sub {
  display: block; font-family: var(--brand); font-size: .54rem; font-weight: 500;
  letter-spacing: .34em; text-transform: uppercase; color: var(--gold-text); margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  font-size: .92rem; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; color: var(--muted);
  padding: .5rem .95rem; border-radius: var(--r-pill);
  transition: background .16s ease, color .16s ease;
}
.nav a:hover { color: var(--ink); background: rgba(17,19,18,.05); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }

.nav-toggle {
  display: none; cursor: pointer;
  background: var(--ink); color: #fff; border: 0;
  padding: .6rem 1.15rem; border-radius: var(--r-pill);
  font-size: .88rem; font-weight: 500;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + .5rem);
    flex-direction: column; align-items: stretch; gap: .1rem;
    background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--r-md);
    padding: .6rem;
    box-shadow: var(--sh-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: .8rem 1rem; font-size: 1rem; }
}

/* ---------- 7. Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: normal; color: var(--blue); }

.hero__meta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__meta div {
  flex: 1 1 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: .85rem 1.1rem;
}
.hero__meta strong {
  display: block;
  font-family: var(--display); font-size: 1.6rem; font-weight: 700;
  letter-spacing: -.045em; line-height: 1; margin-bottom: .3rem;
}

/* ---------- 8. Site plan ---------- */
.siteplan {
  background: var(--char);
  border-radius: var(--r-lg);
  padding: 1rem 1rem .6rem;
  box-shadow: var(--sh-lg);
}
.siteplan__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .35rem .35rem .85rem;
}
.siteplan__head span {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-char-mut);
}
.siteplan__head span:first-child { color: #fff; }

.plot-unit { cursor: pointer; }
.plot-unit rect.pu-fill {
  fill: rgba(255,255,255,.05);
  stroke: rgba(255,255,255,.22);
  stroke-width: 1.5;
  transition: fill .18s ease, stroke .18s ease;
}
.plot-unit:hover rect.pu-fill,
.plot-unit:focus-visible rect.pu-fill,
.plot-unit[data-active="true"] rect.pu-fill {
  fill: var(--gold); stroke: #E2CC8C; stroke-width: 2;
}
.plot-unit text { font-family: var(--mono); fill: var(--on-char-mut); pointer-events: none; transition: fill .18s ease; }
.plot-unit:hover text, .plot-unit[data-active="true"] text { fill: #fff; }
.plot-unit .pu-no { font-size: 15px; font-weight: 500; letter-spacing: .02em; fill: #fff; }
.plot-unit:hover .pu-no, .plot-unit[data-active="true"] .pu-no,
.plot-unit:hover .pu-area, .plot-unit[data-active="true"] .pu-area { fill: #17294E; }
.plot-unit .pu-area { font-size: 10px; letter-spacing: .06em; }
.plot-unit[data-status="Sold"] rect.pu-fill { fill: url(#hatch); }
.plot-unit:focus-visible { outline: none; }

.sp-line { stroke: rgba(255,255,255,.3); fill: none; }
.sp-thin { stroke: rgba(255,255,255,.16); fill: none; stroke-width: 1; }
.sp-label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; fill: var(--on-char-mut); text-transform: uppercase; }
.sp-park { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.18); stroke-dasharray: 4 4; }

.siteplan__readout {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .4rem;
  margin-top: .5rem;
}
.siteplan__readout div {
  background: rgba(255,255,255,.06);
  border-radius: var(--r-sm);
  padding: .65rem .75rem;
}
.siteplan__readout dt {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .13em;
  text-transform: uppercase; color: var(--on-char-mut); margin-bottom: .3rem;
}
.siteplan__readout dd { margin: 0; font-size: .92rem; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.siteplan__hint {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-char-mut);
  text-align: center; padding: .75rem 0 .2rem;
}
@media (max-width: 560px) {
  .siteplan__readout { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- 9. Marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.15rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee__track span {
  display: flex; align-items: center; gap: 2.5rem; white-space: nowrap;
  font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 600; letter-spacing: -.035em; color: var(--muted);
  padding-right: 2.5rem;
}
.marquee__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 10. Grids & cards ---------- */
.grid { display: grid; gap: .7rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid > .cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.section--ink .grid > .cell { background: var(--char-2); border-color: rgba(255,255,255,.08); }

@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.cell__icon {
  color: var(--blue); margin-bottom: 1.2rem;
  background: var(--blue-soft); padding: .5rem; border-radius: 12px;
  width: 44px; height: 44px; box-sizing: border-box;
}
.section--ink .cell__icon { background: rgba(143,160,255,.14); color: #8FA0FF; }
.cell h3 { margin-bottom: .5rem; }
.cell p { font-size: .97rem; color: var(--muted); }

.cell__list { list-style: none; margin: 1.2rem 0 0; padding: 0; font-size: .87rem; color: var(--muted); }
.cell__list li { padding: .48rem 0 .48rem 1.35rem; position: relative; }
.cell__list li::before {
  content: ""; position: absolute; left: 0; top: .95em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.section--ink .cell__list { color: var(--on-char-mut); }
.section--ink .cell__list li::before { background: var(--gold-light); }

.listing {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease;
}
.listing:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.listing__media { aspect-ratio: 4 / 3; background: var(--blue-soft); overflow: hidden; }
.listing__media svg, .listing__media img { width: 100%; height: 100%; object-fit: cover; }
.listing__body { padding: 1.25rem 1.35rem 1.4rem; }
.listing__body h3 { font-size: 1.15rem; margin: .35rem 0 .4rem; }
.listing__row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .85rem;
  font-size: .85rem; color: var(--muted);
}
.listing__price {
  color: var(--gold-text); font-weight: 600; font-size: .95rem;
  background: var(--gold-soft); padding: .25rem .7rem; border-radius: var(--r-pill);
}

.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .9rem; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .cards-3 { grid-template-columns: 1fr; } }

/* ---------- 11. Process ---------- */
.steps { counter-reset: step; display: grid; gap: .6rem; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.6rem minmax(0,.95fr) minmax(0,1.15fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
  background: var(--char-2);
  border-radius: var(--r-md);
  padding: 1.6rem 1.7rem;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: .76rem; font-weight: 500;
  color: var(--gold-light);
  background: rgba(217,188,110,.14);
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
}
.step h3 { font-size: 1.3rem; }
.step p { font-size: .97rem; }
@media (max-width: 800px) {
  .step { grid-template-columns: 2.4rem minmax(0,1fr); gap: 1rem 1.2rem; }
  .step p { grid-column: 2; }
}

/* ---------- 12. Split ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--narrow { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
@media (max-width: 900px) { .split, .split--narrow { grid-template-columns: 1fr; } }

.spec { margin: 0; }
.spec div {
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: .9rem 0; border-bottom: 1px solid var(--line);
}
.spec div:last-child { border-bottom: 0; }
.spec dt { font-size: .92rem; color: var(--muted); }
.spec dd { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -.025em; text-align: right; }

/* ---------- 13. Gallery ---------- */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
}
@media (max-width: 1000px) { .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px)  { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; } }

.gal-item {
  display: block;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--blue-soft);
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease;
}
.gal-item[hidden] { display: none; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.7,.3,1), opacity .4s ease;
}
.gal-item:hover { box-shadow: var(--sh-lg); }
.gal-item:hover img { transform: scale(1.06); }
.gal-item:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; }

/* newly revealed batches fade in */
.gal-item.is-new img { opacity: 0; }
.gal-item.is-new.is-shown img { opacity: 1; }

/* infinite loader */
.gal-more {
  display: flex; justify-content: center; align-items: center;
  min-height: 84px; margin-top: 1.5rem;
}
.gal-more[hidden] { display: none; }
.gal-spinner {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--blue);
  animation: gal-spin .7s linear infinite;
}
@keyframes gal-spin { to { transform: rotate(360deg); } }
/* the button is the no-IntersectionObserver fallback */
.gal-more__btn { display: none; }
.gal-more[data-manual="true"] .gal-spinner { display: none; }
.gal-more[data-manual="true"] .gal-more__btn { display: inline-flex; }

.gal-end {
  text-align: center; margin-top: 2rem;
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.gal-end[hidden] { display: none; }

/* lightbox navigation */
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__nav--prev { left: clamp(.5rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(.5rem, 3vw, 2rem); }
@media (max-width: 600px) { .lightbox__nav { width: 42px; height: 42px; font-size: 1.4rem; } }

.lightbox__inner .frame img { width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.lightbox__cap { justify-content: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,12,11,.86);
  backdrop-filter: blur(10px);
  display: grid; place-items: center; padding: var(--gutter);
}
.lightbox[hidden] { display: none; }
.lightbox__inner { max-width: 900px; width: 100%; }
.lightbox__inner .frame { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.lightbox__inner svg, .lightbox__inner img { width: 100%; height: auto; }
.lightbox__cap {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: #fff; font-size: .92rem; padding-top: 1rem;
}
.lightbox__cap span:last-child { color: var(--on-char-mut); font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; }
.lightbox__close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; padding: .6rem 1.2rem; border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 500; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.24); }

/* ---------- 14. Forms ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .85rem 1rem; width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: none;
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 140px; }
.field__error { font-size: .8rem; color: #C62B14; min-height: 1em; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #C62B14; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-note { font-size: .84rem; color: var(--muted); line-height: 1.55; }
.form-status {
  background: var(--gold-soft); border: 1px solid #E4D6AB;
  border-radius: var(--r-md); padding: 1rem 1.15rem;
  font-size: .95rem; margin-bottom: 1.25rem;
}
.form-status[hidden] { display: none; }

/* ---------- 15. Contact ---------- */
.contact-lines { list-style: none; margin: 0; padding: 0; }
.contact-lines li { border-bottom: 1px solid var(--line); padding: 1.05rem 0; display: grid; gap: .25rem; }
.contact-lines li:last-child { border-bottom: 0; }
.contact-lines span { font-family: var(--mono); font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.contact-lines a, .contact-lines strong { font-size: 1.05rem; font-weight: 600; letter-spacing: -.025em; text-decoration: none; color: var(--ink); }
.contact-lines a:hover { color: var(--blue); }

.locmap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .75rem; }
.locmap svg { width: 100%; height: auto; border-radius: var(--r-md); }
.lm-road { fill: none; stroke: #E4E4DE; stroke-width: 12; stroke-linecap: round; }
.lm-road-main { stroke: #D5D5CE; stroke-width: 22; }
.lm-block { fill: #F4F4F1; }
.lm-pin { fill: var(--blue); }
.lm-txt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; fill: var(--muted); text-transform: uppercase; }
.lm-you { font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: -.03em; fill: var(--ink); }

/* ---------- 16. Quote ---------- */
.quote {
  background: var(--blue); color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.quote blockquote {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.7vw, 2.05rem);
  font-weight: 600; line-height: 1.18; letter-spacing: -.035em;
}
.quote figcaption { font-size: .9rem; color: var(--gold-light); }

/* ---------- 17. Person ---------- */
.person { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.person__plate { aspect-ratio: 1/1; background: var(--blue-soft); display: grid; place-items: center; }
.person__plate span {
  font-family: var(--display); font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 700; letter-spacing: -.05em; color: var(--blue);
}
.person__body { padding: 1.25rem 1.35rem 1.5rem; }
.person__body h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.person__body p { font-size: .95rem; color: var(--muted); margin-top: .8rem; }

/* ---------- 18. Services ---------- */
.index-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.index-list a {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1rem 1.35rem; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em;
  transition: border-color .18s ease, transform .18s ease, color .18s ease;
}
.index-list a:hover { border-color: var(--blue); transform: translateX(6px); color: var(--blue); }
.index-list em { font-style: normal; color: var(--muted); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }

.svc { scroll-margin-top: 100px; }
.svc + .svc { margin-top: clamp(3rem, 7vw, 6rem); }
.svc__no {
  display: inline-block;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text); background: var(--gold-soft);
  padding: .35rem .8rem; border-radius: var(--r-pill); margin-bottom: 1.1rem;
}

/* ---------- 19. Page head ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { margin-bottom: 1rem; }
.crumb { font-family: var(--mono); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.75rem; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--blue); }

/* ---------- 20. Footer ---------- */
.site-footer {
  background: var(--char); color: var(--on-char-mut);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  margin-inline: clamp(.5rem, 2vw, 1.25rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}
.site-footer h4 { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--gold-light); margin-bottom: 1.15rem; }
.site-footer a { color: var(--on-char-mut); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .95rem; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
}
.site-footer .brand, .site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: var(--gold-light); }

/* ---------- 21. Drawing motifs ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mo-bg { fill: var(--blue-soft); }
.mo-l  { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mo-t  { fill: none; stroke: #C6CDDD; stroke-width: 1.2; }
.mo-a  { fill: var(--blue); stroke: none; }
.mo-s  { fill: #D3DAE6; stroke: none; }
.mo-x  { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; fill: var(--muted); }

/* ---------- 22. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

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

/* ============================================================
   23. Photography layer
   ============================================================ */
.media {
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-soft), #D7DBFA);
  position: relative;
}
.media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
a:hover .media img,
button:hover .media img { transform: scale(1.07); }

/* ---------- Photo hero ---------- */
.hero--photo {
  position: relative;
  min-height: min(90vh, 920px);
  display: grid; align-items: end;
  margin: 0 clamp(.5rem, 2vw, 1.25rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  padding: 0;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--char); }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(200deg, rgba(23,41,78,.42) 0%, rgba(22,24,26,.10) 42%),
    linear-gradient(0deg, rgba(12,14,13,.92) 4%, rgba(12,14,13,.55) 38%, rgba(12,14,13,.18) 70%);
}
.hero__content { padding: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem); width: 100%; }
.hero__content h1 { color: #fff; max-width: 16ch; margin-bottom: 1.25rem; }
.hero__content h1 em { font-style: normal; color: var(--gold-light); }
.hero__content .lede { color: rgba(255,255,255,.82); max-width: 46ch; }
.hero__content .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero__content .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; box-shadow: none; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(10px);
  color: #fff; border-radius: var(--r-pill);
  padding: .45rem 1rem .45rem .6rem;
  font-size: .82rem; font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero__badge b {
  background: var(--gold); color: #17294E; border-radius: var(--r-pill);
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .6rem; font-weight: 600;
}

.scroll-cue {
  position: absolute; right: clamp(1.5rem, 5vw, 4.5rem); bottom: clamp(2rem, 5vw, 4.5rem);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  display: grid; place-items: center; color: #fff;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* ---------- Stats band with count-up ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .7rem; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.6rem 1.5rem;
}
.stat b {
  display: block; font-family: var(--display);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 700;
  letter-spacing: -.05em; line-height: 1; color: var(--ink);
  margin-bottom: .5rem;
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- Photo split band ---------- */
.band {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
}
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }
.band .media { border-radius: var(--r-lg); aspect-ratio: 4/3; }
.band--flip .media { order: 2; }
@media (max-width: 900px) { .band--flip .media { order: 0; } }

/* ---------- Full-bleed CTA ---------- */
.cta-photo {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  margin-inline: clamp(.5rem, 2vw, 1.25rem);
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4.5rem);
  text-align: center; color: #fff;
}
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(23,41,78,.86), rgba(12,14,13,.88));
}
.cta-photo h2 { color: #fff; margin-bottom: 1rem; }
.cta-photo p { color: rgba(255,255,255,.8); margin-inline: auto; }
.cta-photo .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-photo .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.cta-photo .eyebrow { color: var(--gold-light); }
.cta-photo .eyebrow::before { background: var(--gold-light); }

/* ---------- Listing photo tweaks ---------- */
.listing__media { position: relative; }
.listing__badge {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: var(--blue); color: #fff; border-radius: var(--r-pill);
  font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  padding: .3rem .8rem;
}

/* ---------- Staggered reveal ---------- */
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

/* ---------- Person photo ---------- */
.person__plate { aspect-ratio: 1/1; overflow: hidden; padding: 0; }
.person__plate img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.person:hover .person__plate img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .scroll-cue { animation: none; }
  .media img, .person__plate img { transition: none; }
  a:hover .media img, button:hover .media img, .person:hover .person__plate img { transform: none; }
}
