/* South Flagler Estates - sflaglerestates.com
   Palette and type follow the brochure: deep green, cream, gold;
   Cormorant Garamond for display, Hanken Grotesk for text and labels. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #0f2b24;
  --green-deep: #0b231d;
  --green-raised: #143630;
  --cream: #f4efe3;
  --cream-deep: #ebe4d3;
  --gold: #bfa06a;
  --gold-title: #cdb27f;
  --gold-italic: #d2b882;
  --gold-ink: #7a6030;
  --ink: #0f2b24;
  --text-on-cream: #33443d;
  --text-on-dark: #b9bfb4;
  --muted-on-dark: #8e978f;
  --rule-on-dark: rgba(191, 160, 106, 0.25);
  --rule-on-cream: rgba(15, 43, 36, 0.18);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --max: 76rem;
  --section-pad: clamp(5rem, 11vw, 9.5rem);
  --header-h: 4.5rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--green);
  color: var(--text-on-dark);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  line-height: 1.75;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
figure { margin: 0; }
button, input, textarea { font: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cream); color: var(--green);
  padding: 0.6rem 1rem; font-size: 0.875rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- shared type ---------- */

.label {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.6875rem;
  line-height: 1.6;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
}
.label--stack span { display: block; }
.cream .label { color: var(--gold-ink); }

.display {
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 2rem + 3vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--cream);
  font-variant-numeric: lining-nums proportional-nums;
}
.cream .display { color: var(--ink); }
.display em { font-style: italic; font-weight: 400; color: var(--gold-italic); }
.cream .display em { color: #9a7a3c; }

.serif { font-family: var(--serif); font-variant-numeric: lining-nums proportional-nums; }

.lede { max-width: 36rem; }

/* ---------- layout ---------- */

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section-pad); position: relative; }
.dark { background: var(--green); color: var(--text-on-dark); }
.cream { background: var(--cream); color: var(--text-on-cream); }

.rule { display: block; width: 3rem; height: 1px; background: var(--gold); border: 0; margin: 0; }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-inline: var(--gutter);
  color: var(--cream);
  transition: background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(11, 35, 29, 0.94);
  border-bottom-color: var(--rule-on-dark);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: rgba(11, 35, 29, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.brand {
  display: inline-flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: var(--cream);
  font-family: var(--serif); font-weight: 500;
  font-size: 0.95rem; letter-spacing: 0.24em; text-transform: uppercase;
  white-space: nowrap;
}
.brand svg { width: 1.75rem; height: 1.75rem; flex: none; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav a {
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  text-decoration: none; color: var(--cream); opacity: 0.86;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.nav a:hover { opacity: 1; color: var(--gold-title); }
.nav .nav-cta {
  opacity: 1; color: var(--gold-title);
  border: 1px solid rgba(205, 178, 127, 0.7);
  padding: 0.6rem 1.1rem 0.6rem 1.35rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav .nav-cta:hover { background: var(--gold-title); color: var(--green); }

.nav-toggle {
  display: none;
  background: none; border: 0; color: var(--cream); cursor: pointer;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 0.75rem 0 0.75rem 0.75rem;
}
.nav-toggle .bars { display: inline-block; width: 1.4rem; vertical-align: middle; margin-left: 0.6rem; }
.nav-toggle .bars i { display: block; height: 1px; background: currentColor; margin: 5px 0; transition: transform 0.3s ease; }
.site-header.is-open .nav-toggle .bars i:first-child { transform: translateY(3px) rotate(45deg); }
.site-header.is-open .nav-toggle .bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

@media (max-width: 1080px) {
  .brand span { letter-spacing: 0.2em; font-size: 0.85rem; }
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--green-deep);
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: 0.8125rem; }
}
@media (max-width: 420px) {
  .brand span { display: none; }
}

/* ---------- hero ---------- */

.hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--green);
}
.hero-cover {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(1.75rem, 5vh, 3rem);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  position: relative;
}
.arch {
  --w: min(24rem, 76vw, 48vh);
  width: var(--w);
  aspect-ratio: 374 / 517;
  border: 1px solid rgba(191, 160, 106, 0.6);
  border-bottom-width: 1px;
  border-radius: 50% 50% 0 0 / 36.2% 36.2% 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding-top: calc(var(--w) * 0.31);
  text-align: center;
}
.arch-mark { width: calc(var(--w) * 0.17); height: auto; color: var(--gold); margin-bottom: calc(var(--w) * 0.13); }
.hero-title {
  font-family: var(--serif); font-weight: 500;
  font-size: calc(var(--w) * 0.08);
  line-height: 1.25;
  letter-spacing: 0.24em; text-indent: 0.24em;
  text-transform: uppercase; color: var(--gold-title);
}
.hero-title span { display: block; }
.arch .rule { width: calc(var(--w) * 0.128); margin: calc(var(--w) * 0.075) 0 calc(var(--w) * 0.08); }
.hero-sub {
  font-family: var(--serif); font-weight: 400;
  font-size: calc(var(--w) * 0.06);
  letter-spacing: 0.06em; color: var(--cream); margin: 0 0 calc(var(--w) * 0.075);
}
.hero-loc {
  font-size: calc(var(--w) * 0.022 + 0.2rem);
  font-weight: 500; letter-spacing: 0.3em; text-indent: 0.3em; line-height: 2;
  text-transform: uppercase; color: #a9b0a4; margin: 0;
}
.hero-media { position: relative; overflow: hidden; }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 60%; }
/* keeps the menu legible where it crosses the image */
.hero-media::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 11rem; z-index: 1;
  background: linear-gradient(rgba(11, 35, 29, 0.82), rgba(11, 35, 29, 0.45) 45%, rgba(11, 35, 29, 0));
  pointer-events: none;
}
@media (max-width: 900px) { .hero-media::before { display: none; } }
.hero-caption {
  position: absolute; left: 1.5rem; bottom: 1.5rem; z-index: 1;
}
.scroll-cue {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.32em; text-indent: 0.32em; text-transform: uppercase;
  color: var(--muted-on-dark); text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
}
.scroll-cue::after { content: ""; width: 1px; height: 2.4rem; background: linear-gradient(var(--gold), transparent); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-cover { min-height: 100vh; min-height: 100svh; }
  .hero-media { height: 62vw; min-height: 16rem; }
  .arch { --w: min(22rem, 74vw, 50svh); }
}

/* image caption chip (as in the brochure) */
.chip {
  display: inline-block;
  background: rgba(15, 43, 36, 0.92);
  color: var(--cream);
  font-family: var(--serif); font-weight: 500; font-size: 1rem; line-height: 1.3;
  padding: 0.45rem 0.9rem 0.5rem;
  font-variant-numeric: lining-nums;
}

/* ---------- introduction ---------- */

.intro { text-align: center; }
.intro .label { text-indent: 0.32em; }
.intro .display { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.intro-copy { max-width: 37rem; margin-inline: auto; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.1rem); line-height: 1.85; }

.stats {
  margin: clamp(4rem, 8vw, 7rem) auto 0; max-width: 56rem;
  border-top: 1px solid var(--gold);
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-top: 2rem;
}
.stat { padding: 0.25rem 1rem; }
.stat + .stat { border-left: 1px solid var(--rule-on-cream); }
.stat-value {
  display: block;
  font-family: var(--serif); font-weight: 500; color: var(--ink);
  font-size: clamp(2.4rem, 1.9rem + 2.2vw, 3.6rem); line-height: 1.1;
  font-variant-numeric: lining-nums proportional-nums;
}
.stat-label {
  display: block; margin-top: 0.85rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.28em; text-indent: 0.28em; text-transform: uppercase;
  color: var(--gold-ink);
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; padding-top: 0.5rem; }
  .stat { padding: 1.6rem 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--rule-on-cream); }
}

/* ---------- full-bleed image band ---------- */

.band { position: relative; height: clamp(22rem, 72vh, 52rem); overflow: hidden; background: var(--green); }
.band picture, .band img { width: 100%; height: 100%; }
.band img { object-fit: cover; object-position: 50% 55%; }
.band .chip { position: absolute; left: var(--gutter); bottom: clamp(1.25rem, 3vw, 2.5rem); }
@media (max-width: 900px) {
  .band { height: auto; aspect-ratio: 3 / 2; }
  .band .chip { font-size: 0.9rem; }
}

/* ---------- location ---------- */

.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.location .display { margin-bottom: 2rem; }
.location .lede { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.distances { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(191, 160, 106, 0.5); }
.distances li {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--rule-on-dark);
  color: var(--cream); font-size: 0.95rem;
}
.distances .time {
  flex: none;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-title);
}
.location-figure { position: relative; }
.location-figure img { width: 100%; }
.figcaption-label {
  display: block; margin-top: 1rem;
  font-size: 0.625rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-on-dark);
}
.cream .figcaption-label { color: var(--gold-ink); }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- the estates on the drive ---------- */

.drive .display { margin-bottom: 2rem; font-size: clamp(2.6rem, 2rem + 3.2vw, 4.4rem); }
.drive .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; }
.drive .lede { max-width: 25rem; }
.drive .accent { margin-top: 2.5rem; }
.plans { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.plan-frame { border: 1px solid rgba(191, 160, 106, 0.7); padding: 6px; background: var(--green); }
.plan-caption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  margin-top: 0.9rem;
}
.plan-caption .name { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--ink); font-variant-numeric: lining-nums; }
.plan-caption .area {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-ink);
}
@media (max-width: 900px) {
  .drive .split { grid-template-columns: 1fr; }
}

/* ---------- residences gallery ---------- */

.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.gallery-head .display { margin: 0; }
.carousel-controls { display: flex; align-items: center; gap: 1.25rem; }
.carousel-count { font-family: var(--serif); font-size: 1.15rem; color: var(--cream); min-width: 4.5rem; text-align: center; font-variant-numeric: lining-nums tabular-nums; }
.carousel-btn {
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 1px solid rgba(205, 178, 127, 0.6); background: transparent; color: var(--gold-title);
  display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.carousel-btn:hover { background: var(--gold-title); color: var(--green); }
.carousel-btn[disabled] { opacity: 0.35; cursor: default; }
.carousel-btn[disabled]:hover { background: transparent; color: var(--gold-title); }
.carousel-btn svg { width: 1.1rem; height: 1.1rem; }

.carousel-track {
  --edge: max(var(--gutter), (100% - var(--max)) / 2);
  position: relative;
  display: flex; gap: clamp(1rem, 2vw, 1.75rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 var(--edge) 0.5rem;
  scroll-padding-inline: var(--edge);
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { --ar: 1.7914; flex: none; scroll-snap-align: start; margin: 0; }
.slide.r-pano { --ar: 2.4909; }
.slide.r-168 { --ar: 1.6788; }
/* every image keeps its own proportions: one shared height, never wider than the screen
   (less a peek of the next image) */
.slide img {
  height: min(66vh, 44rem, (100vw - 2 * var(--gutter) - 2rem) / var(--ar));
  width: auto; max-width: none;
}
.slide figcaption {
  display: flex; gap: 0.9rem; align-items: baseline; margin-top: 1rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream);
}
.slide figcaption .num { font-family: var(--serif); font-size: 1rem; letter-spacing: 0.04em; color: var(--gold-title); font-weight: 500; font-variant-numeric: lining-nums; }
.gallery-note { margin-top: 2.5rem; font-size: 0.625rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-on-dark); }

/* ---------- site plan ---------- */

.siteplan-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.siteplan-head .display { margin: 0; }
.siteplan-head p { max-width: 34rem; margin: 0; }
.siteplan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.siteplan-media { position: relative; min-width: 46rem; }
.siteplan-media img { width: 100%; }
.siteplan-labels { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.siteplan-labels .sl-sans { font-family: var(--sans); font-weight: 600; }
.siteplan-labels .sl-num { font-family: var(--serif); font-weight: 600; font-variant-numeric: lining-nums; }
.scroll-hint { display: none; margin-top: 0.75rem; font-size: 0.625rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-ink); }
@media (max-width: 760px) { .scroll-hint { display: block; } }

.plots { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 1.75rem; }
.plot { border-top: 1px solid var(--ink); padding-top: 1rem; }
.plot-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.3; color: var(--ink); font-variant-numeric: lining-nums; margin: 0 0 0.35rem; }
.plot-name .no { color: var(--gold-ink); margin-right: 0.5rem; }
.plot-detail { font-size: 0.875rem; color: #4a5650; margin: 0; }
@media (max-width: 1000px) { .plots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plots { grid-template-columns: 1fr; } }

/* ---------- overview table ---------- */

.overview { padding-top: 0; }
.overview .display { margin-bottom: clamp(2rem, 4vw, 3rem); }
.table-wrap { overflow-x: auto; }
.overview-table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums; min-width: 52rem; }
.overview-table th {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink);
  text-align: left; padding: 0 0 1rem; border-bottom: 1px solid var(--ink); white-space: nowrap;
}
.overview-table td { padding: 1.25rem 0; border-bottom: 1px solid var(--rule-on-cream); color: #1c2b26; font-size: 0.95rem; white-space: nowrap; vertical-align: baseline; }
.overview-table tbody tr:last-child td { border-bottom-color: var(--ink); }
.overview-table th + th, .overview-table td + td { padding-left: 1.25rem; }
.overview-table .num { text-align: right; }
.overview-table td.no { font-family: var(--serif); font-size: 1.45rem; color: var(--gold-ink); font-weight: 500; }
.overview-table td.address { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); font-weight: 600; }
.overview-table td.strong { font-weight: 600; }
.overview-table tfoot td { border-bottom: 0; padding-top: 1rem; }
.overview-table tfoot .total-label { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink); }
.footnote { margin-top: 1.75rem; font-size: 0.8125rem; color: #5a5f52; max-width: 52rem; }

@media (max-width: 760px) {
  .overview-table { min-width: 0; }
  .overview-table thead { display: none; }
  .overview-table, .overview-table tbody, .overview-table tr, .overview-table td { display: block; width: 100%; }
  .overview-table tbody tr { position: relative; border-top: 1px solid var(--ink); padding: 1.1rem 0 0.9rem 2.75rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
  .overview-table td { border: 0; padding: 0.35rem 0; white-space: normal; text-align: left !important; }
  .overview-table td + td { padding-left: 0; }
  .overview-table td.address, .overview-table td.street { grid-column: 1 / -1; }
  .overview-table td.no, .overview-table td.address { font-size: 1.3rem; line-height: 1.3; }
  .overview-table td.no { position: absolute; left: 0; top: 1.1rem; }
  .overview-table td.street { padding-top: 0; margin-bottom: 0.6rem; color: #4a5650; }
  .overview-table td[data-label]::before {
    content: attr(data-label); display: block;
    font-family: var(--sans); font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink);
  }
  .overview-table td.empty { display: none; }
  .overview-table tfoot { display: block; }
  .overview-table tfoot tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; align-items: baseline; border-top: 1px solid var(--ink); padding: 0.75rem 0 0 2.75rem; }
  .overview-table tfoot td.spacer { display: none; }
}

/* ---------- the estates + design team ---------- */

.design .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 0; }
.design-copy { padding-right: clamp(2rem, 5vw, 4.5rem); border-right: 1px solid rgba(191, 160, 106, 0.45); }
.design-copy p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem); line-height: 1.6; color: #c9cec3; margin-bottom: 1.6em; }
.design-team { padding-left: clamp(2rem, 5vw, 4.5rem); }
.team { margin: 0; display: grid; gap: 2.75rem; }
.team div { display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; align-items: center; }
.team dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.team dd { margin: 0; }
.team img { max-height: 3.25rem; width: auto; }
.team img.tall { max-height: 4.4rem; }
@media (max-width: 900px) {
  .design .split { grid-template-columns: 1fr; }
  .design-copy { padding-right: 0; border-right: 0; border-bottom: 1px solid rgba(191, 160, 106, 0.45); padding-bottom: 2.5rem; margin-bottom: 3rem; }
  .design-team { padding-left: 0; }
}
@media (max-width: 520px) {
  .team div { grid-template-columns: 1fr; gap: 0.9rem; }
}

/* ---------- about ---------- */

.about .split { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.about-wordmark { width: min(15rem, 70%); margin-top: 0.5rem; }
.about-copy p { font-family: var(--serif); font-weight: 500; font-size: clamp(1.25rem, 1.12rem + 0.55vw, 1.55rem); line-height: 1.6; color: var(--ink); }
.text-link {
  display: inline-block; margin-top: 1.25rem;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.3rem;
}
.text-link:hover { color: var(--ink); }
@media (max-width: 900px) { .about .split { grid-template-columns: 1fr; } }

/* ---------- enquire ---------- */

.enquire .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
.enquire .display { font-size: clamp(3rem, 2.2rem + 4vw, 5.2rem); line-height: 1.0; margin-bottom: 2.5rem; }
.contact { font-style: normal; color: #c4c9be; line-height: 1.95; }
.contact a { color: var(--gold-italic); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.contact a:hover { border-bottom-color: currentColor; }

.form-arch {
  --w: min(32rem, 100%);
  width: var(--w); margin-left: auto;
  border: 1px solid rgba(191, 160, 106, 0.6);
  border-radius: 16rem 16rem 0 0;
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}
.form-arch .arch-mark { width: 3.6rem; margin: 0 auto 1.75rem; }
.form-title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: 0.24em; text-indent: 0.24em; text-transform: uppercase; color: var(--gold-title); line-height: 1.35; margin: 0 0 0.75rem; }
.form-arch .rule { margin: 1.4rem auto 2rem; width: 2.6rem; }

.enquiry-form { text-align: left; display: grid; gap: 1.1rem; }
.field label { display: block; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.45rem; }
.field input, .field textarea {
  width: 100%; background: transparent; color: var(--cream);
  border: 0; border-bottom: 1px solid rgba(191, 160, 106, 0.45); border-radius: 0;
  padding: 0.55rem 0; font-size: 1rem; line-height: 1.5;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 5.5rem; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-title); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit {
  margin-top: 0.75rem; justify-self: start;
  background: var(--gold-title); color: var(--green); border: 1px solid var(--gold-title);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 1rem 1.6rem 1rem 1.9rem; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease;
}
.submit:hover { background: transparent; color: var(--gold-title); }
.submit[disabled] { opacity: 0.6; cursor: progress; }
.form-status { min-height: 1.5rem; font-size: 0.9rem; color: var(--cream); margin: 0.25rem 0 0; }
.form-status.is-error { color: #e2b4a4; }
.form-note { font-size: 0.75rem; color: var(--muted-on-dark); margin: 0.5rem 0 0; }
@media (max-width: 900px) {
  .enquire .split { grid-template-columns: 1fr; }
  .form-arch { margin: 1rem auto 0; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .form-arch { border-radius: 12rem 12rem 0 0; }
}

/* ---------- footer ---------- */

.site-footer { background: var(--green-deep); color: var(--muted-on-dark); padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem; font-size: 0.875rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: end; border-bottom: 1px solid var(--rule-on-dark); padding-bottom: 2.5rem; }
.footer-wordmark { width: 9.5rem; margin-bottom: 1.4rem; }
.footer-place { font-size: 0.625rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; margin: 0; }
.footer-contact { text-align: right; line-height: 1.9; }
.footer-contact a { color: var(--cream); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-title); }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap; padding-top: 1.75rem; font-size: 0.75rem; line-height: 1.7; }
.footer-legal p { margin: 0; max-width: 46rem; }
.footer-legal a { color: inherit; }
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}

/* ---------- reveal on scroll (only when JS is running) ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- simple pages (404 / thanks) ---------- */

.simple-page { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 6rem var(--gutter); text-align: center; }
.simple-page .arch-mark { width: 3.6rem; margin: 0 auto 2rem; }
.simple-page .display { margin: 1.5rem 0 1.25rem; }
.simple-page p { max-width: 28rem; margin-inline: auto; }
.simple-page .text-link { color: var(--gold-title); }
