/* ==========================================================================
   Scotch Stone Holdings — design system
   Brand: #ff5e15 (orange), #001247 (navy). Orange is an accent, never a field.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  /* brand */
  --navy:        #001247;
  --navy-700:    #0a1f57;
  --navy-500:    #24356d;
  --orange:      #ff5e15;
  --orange-700:  #d94a08;

  /* ground + ink */
  --paper:       #faf8f5;
  --paper-2:     #f2eee8;
  --card:        #ffffff;
  --ink:         #16171c;
  --ink-2:       #4a4d57;
  --ink-3:       #74777f;
  --rule:        #e2ddd4;
  --rule-strong: #cbc4b8;

  /* type */
  --display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* scale — 1.25 major third, clamped for fluidity */
  --t-xs:   0.75rem;
  --t-sm:   0.8125rem;
  --t-base: 1rem;
  --t-md:   clamp(1.05rem, 0.4vw + 0.95rem, 1.2rem);
  --t-lg:   clamp(1.3rem, 0.7vw + 1.1rem, 1.6rem);
  --t-xl:   clamp(1.7rem, 1.4vw + 1.3rem, 2.4rem);
  --t-2xl:  clamp(2.2rem, 2.8vw + 1.4rem, 3.6rem);
  --t-3xl:  clamp(2.8rem, 4.6vw + 1.4rem, 5.4rem);

  /* rhythm */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 8rem);
  --maxw: 1240px;
  --measure: 62ch;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-3xl); }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 860px; }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.measure { max-width: var(--measure); }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--flip > :first-child { order: 2; }
}

/* ---------- editorial furniture ---------- */
.eyebrow {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--orange);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lede { font-size: var(--t-md); color: var(--ink-2); line-height: 1.55; }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .02em;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-700); }
.btn--ink { background: var(--navy); color: #fff; }
.btn--ink:hover { background: var(--navy-700); }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--onDark { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn--onDark:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,248,245,.94);
  border-bottom: 1px solid var(--rule);
}
.masthead__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand__mark { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.brand__name {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--navy);
  line-height: 1.1;
}
.brand__sub {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); flex: none; }
.nav > * { flex: none; }
.nav__links a {
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  padding: .35rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--orange); }
.navPanel a[aria-current="page"] { color: var(--orange-700); }
.nav__cta { margin-left: .4rem; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

/* mobile menu */
.navToggle {
  display: none;
  background: transparent; border: 1px solid var(--rule-strong); border-radius: 2px;
  padding: .55rem .7rem; cursor: pointer; line-height: 0;
}
.navToggle svg { width: 20px; height: 20px; stroke: var(--ink); }
.navPanel {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: .75rem var(--gut) 1.5rem;
}
/* :not(.btn) so the panel's link styling never strips the button's own padding */
.navPanel a:not(.btn) {
  display: block; padding: .85rem 0; text-decoration: none;
  color: var(--ink); font-size: var(--t-md); font-weight: 500;
  border-bottom: 1px solid var(--rule);
}
.navPanel a:not(.btn):last-of-type { border-bottom: 0; }
.navPanel .btn { margin-top: 1.25rem; width: 100%; justify-content: center; padding-block: 1.05rem; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .navToggle { display: block; }
}
@media (min-width: 901px) {
  .navPanel { display: none !important; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,18,71,.30) 0%, rgba(0,18,71,.52) 52%, rgba(0,18,71,.88) 100%),
    linear-gradient(100deg, rgba(0,10,38,.72) 0%, rgba(0,10,38,.34) 52%, rgba(0,10,38,.05) 78%);
}
.hero__in { position: relative; z-index: 2; padding-block: clamp(5rem, 13vw, 9.5rem); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { color: rgba(255,255,255,.82); max-width: 54ch; margin-top: 1.6rem; }
.hero .eyebrow { color: #ffb489; }
.hero .eyebrow::before { background: var(--orange); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.4rem; }

/* hero fact bar */
.factbar {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.factbar__item { padding: 1.5rem var(--gut); border-right: 1px solid rgba(255,255,255,.12); }
.factbar__item:last-child { border-right: 0; }
.factbar__k {
  font-size: var(--t-xs); letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: .4rem;
}
.factbar__v { font-family: var(--display); font-size: 1.28rem; color: #fff; }

/* ---------- data sheet ---------- */
.sheet { border-top: 2px solid var(--navy); }
.sheet__row {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 1.5rem;
  padding: .95rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.sheet__k {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink-3);
}
.sheet__v { font-size: var(--t-base); color: var(--ink); }
.sheet__v strong { font-weight: 600; }

/* ---------- price table ---------- */
/* Wide tables scroll inside their own container so the page body never does. */
.tableScroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tableScroll > .prices { min-width: 560px; }
.prices { width: 100%; border-collapse: collapse; }
.prices caption {
  text-align: left;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3);
  padding-bottom: .85rem;
}
.prices th, .prices td { text-align: left; padding: .95rem 0; border-bottom: 1px solid var(--rule); }
.prices thead th {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
  border-bottom-color: var(--rule-strong);
}
.prices td:last-child, .prices th:last-child { text-align: right; }
.prices .plot { font-weight: 500; }
.prices .amount {
  font-family: var(--display);
  font-size: 1.32rem;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  white-space: nowrap;
}
.prices .amount--tbc {
  font-family: var(--sans); font-size: var(--t-sm); font-style: italic;
  color: var(--ink-3);
}
.prices__note { font-size: var(--t-sm); color: var(--ink-3); margin-top: 1rem; }

/* ---------- property cards ---------- */
.cards { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }
@media (min-width: 780px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 780px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--navy); color: #fff;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: .5rem .85rem;
}
.card__body { padding: 1.6rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.card__loc {
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .5rem;
}
.card h3 { font-size: var(--t-lg); margin-bottom: .75rem; }
.card__desc { font-size: var(--t-sm); color: var(--ink-2); margin-bottom: 1.3rem; }
/* price breakdown inside a card — every figure carries its plot size */
.cardPrice { margin-top: auto; border-top: 1px solid var(--rule); padding-top: 1rem; }
.cardPrice__head {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem;
}
.cardPrice__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: .4rem 0; border-bottom: 1px solid var(--rule);
}
.cardPrice__row:last-child { border-bottom: 0; }
.cardPrice__plot { font-size: var(--t-sm); color: var(--ink-2); }
.cardPrice__amt {
  font-family: var(--display); font-size: 1.12rem; color: var(--navy);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.cardPrice__amt--tbc {
  font-family: var(--sans); font-size: var(--t-sm); font-style: italic; color: var(--ink-3);
}

/* an explicit affordance so the card reads as a route to a fuller page */
.card__foot {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: .25rem;
}
.card__cta {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--t-sm); font-weight: 600; color: var(--orange-700);
}
.card:hover .card__cta { color: var(--orange); }
.card:hover .card__cta .btn__arrow { transform: translateX(4px); }
.card__cta .btn__arrow { transition: transform .18s ease; }
.card__hint { font-size: var(--t-xs); color: var(--ink-3); }

/* ---------- video ---------- */
.vid {
  position: relative;
  background: var(--navy);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
}
.vid--portrait { aspect-ratio: 9 / 16; }
.vid__poster { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .25s ease, transform .5s ease; }
.vid:hover .vid__poster { opacity: .68; transform: scale(1.02); }
/* The glyph is a triangle inside a circle, so it needs optical centring, not
   geometric: the SVG viewBox is nudged rather than the box, which keeps the
   triangle centred at every size. */
.vid__play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  display: grid; place-items: center;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .28);
  transition: transform .2s ease, background-color .2s ease;
}
.vid:hover .vid__play { transform: translate(-50%, -50%) scale(1.06); background: var(--orange-700); }
.vid__play svg { width: 22px; height: 22px; fill: #fff; display: block; }
@media (max-width: 700px) {
  .vid__play { width: 54px; height: 54px; }
  .vid__play svg { width: 19px; height: 19px; }
}
.vid__label {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(0,18,71,.85));
  color: #fff; text-align: left;
}
.vid__label b { display: block; font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
.vid__label span { font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.vid video, .vid iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }

/* ---------- proposed / vision block ---------- */
.proposed {
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--orange);
  background: var(--paper-2);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.proposed__tag {
  display: inline-block;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-700);
  border: 1px solid currentColor;
  padding: .25rem .6rem;
  margin-bottom: 1rem;
}
.proposed h3 { margin-bottom: .75rem; }
.proposed ul { margin: 1rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: var(--t-sm); }
.proposed li { margin-bottom: .45rem; }

/* ---------- feature list ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 620px) { .features { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.features li {
  display: flex; align-items: baseline; gap: .7rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm);
}
.features li::before {
  content: ""; width: 5px; height: 5px; background: var(--orange);
  flex: none; transform: translateY(-2px);
}

/* ---------- allocation / proof ---------- */
.proof { background: var(--navy); color: #fff; }
.proof .eyebrow { color: #ffb489; }
.proof h2 { color: #fff; }
.proof .lede { color: rgba(255,255,255,.78); }
.proof__grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .proof__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .proof__grid { grid-template-columns: repeat(6, 1fr); } }
/* a wide establishing shot leads, the individual handovers follow beneath it */
@media (min-width: 1000px) {
  .proof__item--wide { grid-column: span 3; }
  .proof__item--half { grid-column: span 3; }
  .proof__item--third { grid-column: span 2; }
}
.proof__item { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy-700); }
.proof__item--wide, .proof__item--half { aspect-ratio: 3 / 2; }
.proof__item--third { aspect-ratio: 4 / 5; }
.proof__item img { width: 100%; height: 100%; object-fit: cover; }
.proof__item .vid { height: 100%; aspect-ratio: auto; }
.proof__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: .9rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,10,40,.9));
  font-size: var(--t-xs); color: rgba(255,255,255,.9);
}

/* ---------- gallery ----------
   Every tile is the same shape and every row is full, so no cell is ever left
   half-empty. Counts are kept to multiples of three in build.py. */
.gallery { display: grid; gap: 1rem; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; display: flex; flex-direction: column; }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.gallery figcaption { font-size: var(--t-xs); color: var(--ink-3); padding-top: .55rem; }

/* ---------- callout ---------- */
.callout { background: var(--navy); color: #fff; }
.callout h2 { color: #fff; max-width: 20ch; }
.callout .lede { color: rgba(255,255,255,.78); }

/* ---------- footer ---------- */
.foot { background: #0a0c11; color: rgba(255,255,255,.62); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: var(--t-sm); }
.foot a { color: rgba(255,255,255,.75); text-decoration: none; }
.foot a:hover { color: #fff; }
.foot__grid { display: grid; gap: 2.5rem; }
@media (min-width: 780px) { .foot__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.foot h4 {
  font-family: var(--sans); font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .6rem; }
.foot__brand { font-family: var(--display); font-size: 1.15rem; color: #fff; margin-bottom: .5rem; }
.foot__tag { color: var(--orange); font-size: var(--t-sm); }
.foot__base {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: var(--t-xs); color: rgba(255,255,255,.45);
}

/* ---------- utility ---------- */
.stack > * + * { margin-top: 1.5rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; } .mt-4 { margin-top: 2.5rem; }
.center { text-align: center; }
.skip {
  position: absolute; left: -9999px;
  background: var(--navy); color: #fff; padding: .8rem 1.2rem; z-index: 100;
}
.skip:focus { left: var(--gut); top: .5rem; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ==========================================================================
   Small screens
   Most of the layout collapses on its own via minmax/auto-fit. The rules below
   fix the places where a desktop-shaped component does not simply stack:
   dividers that were drawn on the wrong edge, two-column rows that become too
   narrow to read, and buttons that end up ragged.
   ========================================================================== */
@media (max-width: 700px) {

  /* Fact bar: dividers were vertical, which breaks once cells wrap onto rows.
     Draw them along the bottom instead and let each fact take the full width. */
  .factbar { grid-template-columns: 1fr 1fr; }
  .factbar__item {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 1.1rem var(--gut);
  }
  .factbar__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .factbar__item:last-child:nth-child(odd) { border-right: 0; grid-column: 1 / -1; }
  .factbar__v { font-size: 1.05rem; }

  /* Data sheet: 120px of label against 160px of value is unreadable.
     Stack the label above its value. */
  .sheet__row { grid-template-columns: 1fr; gap: .3rem; padding: .85rem 0; }

  /* Buttons go full width so stacked CTAs line up instead of stepping. */
  .hero__actions { flex-direction: column; align-items: stretch; gap: .7rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Price tables: keep the figure on one line at narrow widths. */
  .prices .amount { font-size: 1.12rem; }
  .prices th, .prices td { padding: .8rem 0; }

  /* Proof grid: one shape for every tile so the rows stay even. */
  .proof__grid { grid-template-columns: 1fr; gap: 1rem; }
  .proof__item,
  .proof__item--wide,
  .proof__item--half,
  .proof__item--third { aspect-ratio: 4 / 3; }
  .proof__item .vid { aspect-ratio: 4 / 3; }

  /* Tighten the vertical rhythm — desktop leading feels cavernous on a phone. */
  .hero__in { padding-block: clamp(3rem, 12vw, 5rem); }
  .card__body { padding: 1.3rem 1.2rem 1.5rem; }
}

@media (max-width: 420px) {
  /* The strapline under the wordmark is the first thing to go when the
     hamburger and the logo start competing for the bar. */
  .brand__sub { display: none; }
  .brand__name { font-size: .95rem; }
  .vid__label b { font-size: .95rem; }
}

/* whatsapp */
.wa {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
}
.wa svg { width: 27px; height: 27px; fill: #fff; }

/* Keep the floating WhatsApp button clear of the last row of footer links. */
@media (max-width: 700px) {
  .foot { padding-bottom: 5.5rem; }
}

.card__title-doc {
  font-size: var(--t-xs); color: var(--orange-700); font-weight: 600;
  margin: .45rem 0 .75rem; display: flex; align-items: baseline; gap: .45rem;
}
.card__title-doc::before { content: ""; width: 5px; height: 5px; background: currentColor; flex: none; }

/* On a phone the five-column comparison table becomes a sideways scroll for no
   benefit — the cards below carry the same figures in a readable shape. */
@media (max-width: 760px) {
  .tableScroll { display: none; }
  .tableScroll + * { margin-top: 0; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-family: var(--display); font-size: var(--t-lg); line-height: 1.25;
  color: var(--navy); position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: .35rem; top: 1.55rem;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--orange); border-bottom: 1.5px solid var(--orange);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); top: 1.8rem; }
.faq__item summary:hover { color: var(--orange-700); }
.faq__a { padding: 0 2rem 1.4rem 0; color: var(--ink-2); font-size: var(--t-sm); line-height: 1.65; }

/* ---------- form states ---------- */
.formNote {
  margin-top: 1rem; font-size: var(--t-sm); padding: .75rem .9rem;
  border-left: 3px solid var(--orange); background: var(--paper-2); color: var(--ink-2);
}
.formNote[data-state="error"] { border-left-color: #b3261e; color: #7a1c15; }
.formDone {
  border: 1px solid var(--rule-strong); border-left: 3px solid var(--orange);
  background: var(--paper-2); padding: clamp(1.5rem, 3vw, 2.25rem);
}
.formDone h3 { color: var(--navy); }
.formDone a { color: var(--navy); font-weight: 600; }
button[data-submit][disabled] { opacity: .6; cursor: progress; }

/* ==========================================================================
   Development-company layout
   ========================================================================== */

/* Plot schedule — sizes, not prices. Figures are quoted on enquiry. */
.plots { border-top: 2px solid var(--navy); padding-top: 1.25rem; }
.plots__head {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem;
}
.plots__grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.plots__item {
  font-family: var(--display); font-size: 1.18rem; color: var(--navy);
  border: 1px solid var(--rule-strong); padding: .6rem 1.05rem; border-radius: 2px;
  background: var(--card); white-space: nowrap;
}
.plots__terms { margin-top: 1.4rem; font-size: var(--t-sm); color: var(--ink-2); }
.plots__ask { margin-top: .9rem; font-size: var(--t-sm); color: var(--ink-3); }
.plots__ask a { color: var(--orange-700); font-weight: 600; }

/* Card meta — title and plots replace the old price block */
.card__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--rule);
}
.card__meta span {
  display: block; font-size: var(--t-xs); letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .25rem;
}
.card__meta b { font-size: var(--t-sm); font-weight: 600; color: var(--navy); }

/* How we work */
.pillars { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.pillar { padding: 1.35rem 0; border-bottom: 1px solid var(--rule); display: grid;
  grid-template-columns: 3rem 1fr; gap: 1rem; align-items: start; }
.pillar__n {
  font-family: var(--display); font-size: 1rem; color: var(--orange);
  font-variant-numeric: tabular-nums; padding-top: .15rem;
}
.pillar h3 { font-size: var(--t-md); margin-bottom: .35rem; }
.pillar p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }

/* Landmarks */
.landmarks { list-style: none; margin: 0; padding: 0; }
.landmarks li {
  padding: .65rem 0; border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm); display: flex; align-items: baseline; gap: .7rem;
}
.landmarks li::before {
  content: ""; width: 5px; height: 5px; background: var(--orange);
  flex: none; transform: translateY(-2px);
}
.corridor { background: var(--navy); color: #fff; }
.corridor h2 { color: #fff; }
.corridor .lede { color: rgba(255,255,255,.78); }
.corridor .eyebrow { color: #ffb489; }
.landmarks--dark li { border-bottom-color: rgba(255,255,255,.16); color: rgba(255,255,255,.9); }

/* Masterplan */
.masterplan { background: var(--paper-2); }
.masterplan__aside { display: flex; flex-direction: column; gap: 1rem; }
.masterplan__slot {
  flex: 1; min-height: 260px;
  border: 1px dashed var(--rule-strong); border-radius: 2px;
  display: grid; place-content: center; text-align: center; gap: .4rem;
  color: var(--ink-3); background:
    repeating-linear-gradient(45deg, transparent, transparent 11px,
      rgba(0,18,71,.028) 11px, rgba(0,18,71,.028) 22px);
}
.masterplan__slot p { font-family: var(--display); font-size: var(--t-md); color: var(--ink-2); margin: 0; }
.masterplan__slot span { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 700px) {
  .card__meta { grid-template-columns: 1fr; gap: .75rem; }
  .plots__item { font-size: 1.05rem; padding: .5rem .85rem; }
  .masterplan__slot { min-height: 180px; }
}

/* ---------- why choose us ---------- */
.why { background: var(--card); border-block: 1px solid var(--rule); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 560px) { .ticks { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.ticks li {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .85rem 0; border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm); font-weight: 500; color: var(--ink);
}
.ticks li::before {
  content: ""; flex: none; width: 15px; height: 9px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg) translateY(-1px);
}

/* ---------- proposed / masterplan visual ---------- */
.masterplan__fig { margin: 0; }
.masterplan__fig img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border: 1px solid var(--rule-strong);
}
.masterplan__fig figcaption {
  font-size: var(--t-xs); color: var(--ink-3); padding-top: .6rem; font-style: italic;
}

/* An estate card now leads on the artist's impression, so the label has to be
   unmistakable — nobody should mistake a render for the land as it stands. */
.card__media::after {
  content: "Artist's impression";
  position: absolute; right: 0; top: 0;
  background: rgba(0, 18, 71, .82); color: #fff;
  font-size: var(--t-xs); letter-spacing: .06em;
  padding: .4rem .7rem;
}

/* ---------- WhatsApp lead funnel ----------
   Every WhatsApp link opens with the message already written, so the sales desk
   knows the estate and the question before the visitor types anything. */
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; }
.btn--lg { font-size: var(--t-base); padding: 1.15rem 2rem; }
.btn__wa { width: 18px; height: 18px; fill: currentColor; flex: none; }
.waCta { background: var(--paper-2); border-block: 1px solid var(--rule); }

/* ---------- process steps ---------- */
.steps { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step { border-top: 2px solid var(--navy); padding-top: 1rem; }
.step__n {
  display: block; font-family: var(--display); font-size: 1.6rem;
  color: var(--orange); line-height: 1; margin-bottom: .5rem;
}
.step h3 { font-size: var(--t-md); margin-bottom: .4rem; }
.step p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }

/* ---------- locations ---------- */
.locs { display: grid; gap: 1.5rem; }
@media (min-width: 780px) { .locs { grid-template-columns: repeat(3, 1fr); } }
.loc { background: var(--card); border: 1px solid var(--rule); padding: 1.6rem 1.5rem; }
.loc h3 { font-size: var(--t-lg); margin-bottom: .6rem; }
.loc p { font-size: var(--t-sm); color: var(--ink-2); margin-bottom: 1rem; }
.loc a { font-size: var(--t-sm); font-weight: 600; color: var(--orange-700); text-decoration: none; }

/* ---------- blog ---------- */
.posts { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 780px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 780px) { .posts--3 { grid-template-columns: repeat(3, 1fr); } }
.post {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--card); border: 1px solid var(--rule);
  transition: border-color .2s ease, transform .2s ease;
}
.post:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.post__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.post__media img { width: 100%; height: 100%; object-fit: cover; }
.post__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post__meta {
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .6rem;
}
.post h3 { font-size: var(--t-lg); margin-bottom: .7rem; }
.post__excerpt { font-size: var(--t-sm); color: var(--ink-2); margin-bottom: 1.2rem; }
.post .card__cta { margin-top: auto; }

/* ---------- article ---------- */
.article__title { font-size: var(--t-2xl); }
.article__meta { font-size: var(--t-sm); color: var(--ink-3); margin-top: .9rem; }
.article__hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 2rem 0; }
.prose { font-size: 1.05rem; line-height: 1.72; color: var(--ink-2); }
.prose h2 {
  font-size: var(--t-xl); color: var(--ink); margin: 2.4rem 0 .9rem;
  padding-top: 1.4rem; border-top: 1px solid var(--rule);
}
.prose p { margin-bottom: 1.1em; }
.prose .lede { font-size: var(--t-md); color: var(--ink); }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.3em; }
.prose li { margin-bottom: .55em; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- why choose us ----------
   Previously a 7/5 split: the heading stranded on the left, six short ticks
   floating top-right, and dead space under both. Centred statement, then the
   six commitments given equal weight across a grid. */
.why__head { max-width: 760px; margin-inline: auto; text-align: center; }
.why__head .eyebrow { justify-content: center; }
.why__head .lede { margin-inline: auto; max-width: 60ch; }
.why__grid {
  display: grid; gap: 0; margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule);
}
@media (min-width: 620px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why__item {
  padding: 1.75rem 1.75rem 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 620px) {
  .why__item { border-right: 1px solid var(--rule); padding-inline: 1.75rem; }
  .why__item:nth-child(2n) { border-right: 0; }
}
@media (min-width: 940px) {
  .why__item:nth-child(2n) { border-right: 1px solid var(--rule); }
  .why__item:nth-child(3n) { border-right: 0; }
}
.why__item h3 {
  font-size: var(--t-md); margin-bottom: .5rem; color: var(--navy);
  display: flex; align-items: baseline; gap: .7rem;
}
.why__item h3::before {
  content: ""; flex: none; width: 14px; height: 8px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg) translateY(-2px);
}
.why__item p { font-size: var(--t-sm); color: var(--ink-2); margin: 0; }

/* ---------- services ---------- */
.svc__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc--alt { background: var(--paper-2); }
.svcGrid { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 620px) { .svcGrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .svcGrid { grid-template-columns: repeat(3, 1fr); } }
.svcCard {
  background: var(--card); padding: 1.6rem 1.5rem; text-decoration: none; color: inherit;
  transition: background-color .18s ease;
}
.svcCard:hover { background: var(--paper-2); }
.svcCard h3 { font-size: var(--t-md); color: var(--navy); margin-bottom: .4rem; }
.svcCard p { font-size: var(--t-xs); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); margin: 0; }

.vm { border-top: 2px solid var(--navy); padding-top: 1.5rem; }
.vm h2 { font-size: var(--t-xl); }

/* The client's own headline, set to carry as a three-line statement. */
.hero__h1--caps { text-transform: uppercase; letter-spacing: -.005em; line-height: 1.02; }
@media (max-width: 700px) { .hero__h1--caps { font-size: clamp(2.2rem, 10vw, 3.2rem); } }

/* ==========================================================================
   Motion
   Nothing here hides content unless JS is running and the visitor has not
   asked for reduced motion. If the script fails, the page renders in full —
   the failure mode that made the previous site show blank sections.
   ========================================================================== */

/* --- scroll reveal --- */
.js-motion [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* children stagger in rather than arriving as one block */
.js-motion [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1),
              transform .6s cubic-bezier(.22,.61,.36,1);
}
.js-motion [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js-motion [data-reveal-group].is-in > *:nth-child(1) { transition-delay: .04s; }
.js-motion [data-reveal-group].is-in > *:nth-child(2) { transition-delay: .10s; }
.js-motion [data-reveal-group].is-in > *:nth-child(3) { transition-delay: .16s; }
.js-motion [data-reveal-group].is-in > *:nth-child(4) { transition-delay: .22s; }
.js-motion [data-reveal-group].is-in > *:nth-child(5) { transition-delay: .28s; }
.js-motion [data-reveal-group].is-in > *:nth-child(6) { transition-delay: .34s; }

/* --- hero entrance --- */
.js-motion .hero__in > * {
  opacity: 0; transform: translateY(26px);
  animation: heroIn .9s cubic-bezier(.22,.61,.36,1) forwards;
}
.js-motion .hero__in > *:nth-child(1) { animation-delay: .12s; }
.js-motion .hero__in > *:nth-child(2) { animation-delay: .22s; }
.js-motion .hero__in > *:nth-child(3) { animation-delay: .32s; }
.js-motion .hero__in > *:nth-child(4) { animation-delay: .42s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* a slow drift on the hero photograph, so the top of the page is never still */
.js-motion .hero__media img { animation: heroDrift 26s ease-out forwards; }
@keyframes heroDrift {
  from { transform: scale(1.10); }
  to   { transform: scale(1.005); }
}

/* --- header condenses once you leave the hero --- */
.masthead { transition: box-shadow .3s ease, background-color .3s ease; }
.masthead__in { transition: min-height .3s ease; }
.masthead.is-stuck {
  box-shadow: 0 1px 0 var(--rule), 0 6px 24px rgba(0, 18, 71, .07);
  background: rgba(250, 248, 245, .98);
}
.masthead.is-stuck .masthead__in { min-height: 62px; }
.brand__mark { transition: transform .3s ease; }
.masthead.is-stuck .brand__mark { transform: scale(.9); }

/* --- interactions --- */
.card, .post, .svcCard, .loc, .why__item { transition: transform .28s cubic-bezier(.22,.61,.36,1),
  border-color .22s ease, background-color .22s ease, box-shadow .28s ease; }
.card:hover, .post:hover { box-shadow: 0 14px 40px rgba(0, 18, 71, .10); }
.loc:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 18, 71, .08); }
.why__item { position: relative; }
.why__item::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--orange); transition: width .35s cubic-bezier(.22,.61,.36,1);
}
.why__item:hover::after { width: 100%; }
.plots__item { transition: border-color .2s ease, transform .2s ease; }
.plots__item:hover { border-color: var(--orange); transform: translateY(-2px); }
.landmarks li, .ticks li, .features li { transition: color .2s ease, padding-left .25s ease; }
.landmarks li:hover, .ticks li:hover, .features li:hover { padding-left: .35rem; color: var(--ink); }
.faq__item summary { transition: color .2s ease, padding-left .25s ease; }
.faq__item summary:hover { padding-left: .3rem; }
.foot a { transition: color .2s ease, padding-left .2s ease; }
.foot a:hover { padding-left: .2rem; }

/* the floating WhatsApp button earns a little attention on arrival */
.js-motion .wa { animation: waIn .5s cubic-bezier(.34,1.56,.64,1) .9s both; }
@keyframes waIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.wa { transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease; }
.wa:hover { transform: scale(1.09); box-shadow: 0 10px 28px rgba(37, 211, 102, .4); }

@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal],
  .js-motion [data-reveal-group] > *,
  .js-motion .hero__in > * { opacity: 1 !important; transform: none !important; animation: none !important; }
  .js-motion .hero__media img, .js-motion .wa { animation: none !important; }
}

/* A compact three-column tick list for the homepage, where the six
   commitments are a summary rather than the full explanation. */
@media (min-width: 780px) { .ticks--3 { grid-template-columns: repeat(3, 1fr); column-gap: 2.5rem; } }

/* Each service category carries its own picture, so the six read as six
   different things rather than one repeated tile. */
.svcCard { padding: 0; display: block; overflow: hidden; }
.svcCard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.svcCard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.svcCard:hover .svcCard__media img { transform: scale(1.05); }
.svcCard__body { display: block; padding: 1.3rem 1.4rem 1.5rem; }
