/* ==========================================================================
   W LOFTS — landing page, v2
   Design system per Docs/Reference-2-spec.md (RBI case study):
   four colours, thin serif display, hairlines, card layout, minimal motion.
   ========================================================================== */

/* ---------- webfonts (self-hosted, SIL OFL 1.1) ---------- */
@font-face {
  font-family: "WLofts Display";
  src: url("../fonts/Prata-Regular.woff2") format("woff2"),
       url("../fonts/Prata-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "WLofts Sans";
  src: url("../fonts/Outfit-WLofts-Light.woff2") format("woff2"),
       url("../fonts/Outfit-WLofts-Light.ttf") format("truetype");
  font-weight: 300; font-style: normal; font-display: swap;
}

:root {
  /* Reference-2 palette. The kit's brass (#C08747) is kept as an alternate —
     swap --accent to it if the client rules for the kit colour. */
  /* Palette v5 — client-supplied swatch card: Raw Umber / Timberwolf /
     Anthracite / Gold. Project identity, deliberately not brokerage colours. */
  --ivory:  #E9E4DD;   /* Timberwolf, lifted slightly for page ground */
  --ivory-deep: #D7D0C7; /* Timberwolf as given — cards, map ground */
  --camel:  #AC8054;
  --umber:  #7A5938;   /* Raw Umber as given */
  --ink:#262928;
  --accent: var(--wl-brass);
  --wl-brass: #C08747;
  /* textured metallic gold for buttons */
  --gold-grad: linear-gradient(115deg, #9c6f39 0%, #c08747 26%, #e6b473 46%, #c08747 64%, #a9773c 100%);

  --ink-soft:   rgba(38,41,40,.72);
  --ink-mute:   rgba(38,41,40,.5);
  --line-dark:  rgba(38,41,40,.2);   /* hairline on ivory */
  --line-light: rgba(233,228,221,.2);/* hairline on ink/umber */
  --ivory-soft: rgba(233,228,221,.8);
  --ivory-mute: rgba(233,228,221,.55);

  --font-display: "WLofts Display", "Prata", Didot, Georgia, serif;
  --font-sans: "WLofts Sans", "Outfit", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(1.25rem, 4vw, 5rem);
  --maxw: 1600px;
  --hdr-h: 96px;
  --ease: cubic-bezier(.25,.6,.3,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 8px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(15px, .5vw + 13px, 17px);
  line-height: 1.65;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- shared ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(4rem, 9vh, 8rem); }

.on-ink   { background: var(--ink);   color: var(--ivory); }
.on-umber { background: var(--umber); color: var(--ivory); }
.on-light { background: #FFFFFF; color: var(--ink); }

/* section label: small caps + superscript index, camel */
.lbl {
  display: block;
  font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}
.lbl sup { font-size: 8px; letter-spacing: .1em; margin-left: .5em; opacity: .8; }

/* display type — thin, wide, all caps, two-tone */
.disp {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.14;
  margin: 0;
}
.disp .t1 { color: var(--accent); display: block; }
.disp .t2 { display: block; }
.d-xl { font-size: clamp(2.2rem, 5.4vw, 5.2rem); }
.d-lg { font-size: clamp(1.8rem, 3.6vw, 3.4rem); }
.d-md { font-size: clamp(1.3rem, 2.2vw, 2rem); }

.body-col { max-width: 44ch; }
.muted { color: var(--ink-mute); }
.on-ink .muted, .on-umber .muted { color: var(--ivory-mute); }

.hr { border: 0; height: 1px; background: var(--line-dark); margin: 0; }
.on-ink .hr, .on-umber .hr { background: var(--line-light); }

/* ---------- buttons ---------- */
.pill {
  display: inline-block;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  border: 0;
  background: var(--gold-grad); background-size: 220% 100%; background-position: 0% 0;
  color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background-position .6s var(--ease), filter .3s var(--ease);
}
.pill:hover { background-position: 95% 0; filter: brightness(1.06); }
.pill--ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .85; }
.pill--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; opacity: 1; }

/* camel circle arrow — the universal "more" affordance */
.cbtn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-grad); background-size: 220% 100%; background-position: 0% 0;
  color: #fff;
  border: 0; cursor: pointer; text-decoration: none;
  transition: transform .35s var(--ease), background-position .5s var(--ease);
}
.cbtn:hover { background-position: 95% 0; }
/* white arrow inside the gold circle, everywhere */
.qcard .cbtn, .bigcard .cbtn, .card .cbtn { color: #fff; }
.cbtn svg { width: 15px; height: 15px; }
.cbtn:hover { transform: scale(1.08); }
.cbtn--ghost { background: transparent; border: 1px solid var(--line-dark); color: inherit; }
.on-ink .cbtn--ghost, .on-umber .cbtn--ghost { border-color: var(--line-light); }
.cbtn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* tag chip */
.tag {
  display: inline-block;
  font-size: 11px; letter-spacing: .08em;
  padding: .35rem .85rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ink-soft);
}
.on-ink .tag, .on-umber .tag { border-color: var(--line-light); color: var(--ivory-soft); }

/* spec table — label left, value right, hairlines */
.spec { list-style: none; margin: 0; padding: 0; }
.spec li {
  display: flex; justify-content: space-between; gap: 2rem;
  padding: .95rem 0; border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
}
.spec li span:first-child { color: var(--ink-mute); }
.spec li span:last-child { text-align: right; }
.on-ink .spec li, .on-umber .spec li { border-color: var(--line-light); }
.on-ink .spec li span:first-child, .on-umber .spec li span:first-child { color: var(--ivory-mute); }

/* ==========================================================================
   HEADER — thick, logo left, nav, phone + contact pill
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--hdr-h);
  will-change: transform;
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 3rem);
  padding-inline: var(--gut);
  background: var(--ink); color: var(--ivory);
  border-bottom: 1px solid var(--line-light);
}
.hdr__logo img { height: 40px; width: auto; }
.hdr__nav { display: flex; gap: clamp(.9rem, 1.8vw, 1.8rem); margin-left: calc(var(--gut) - clamp(1rem, 2.5vw, 3rem)); }
.hdr__nav a {
  font-size: 12.5px; letter-spacing: .08em;
  text-decoration: none; color: var(--ivory-soft);
  padding-block: .4rem;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.hdr__nav a:hover { color: var(--ivory); border-color: var(--accent); }
.hdr__tels { margin-left: auto; display: flex; align-items: center; gap: .7rem; }
.hdr__sep { color: var(--ivory-mute); font-size: 13px; }
.hdr__tel {
  font-size: 15px; letter-spacing: .08em; text-decoration: none;
  color: #fff; white-space: nowrap;
  transition: color .25s;
}
.hdr__tel:hover { color: var(--accent); }
.hdr__burger {
  display: none;
  background: none; border: 0; color: var(--ivory); cursor: pointer; padding: .4rem;
}
.hdr__burger svg { width: 26px; height: 18px; display: block; }

/* mobile menu */
.mnav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--ivory);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
body.menu-open .mnav { opacity: 1; visibility: visible; }
.mnav ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.mnav a {
  display: block; padding: .55rem 0;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  color: var(--ivory); text-decoration: none;
}
.mnav a:hover { color: var(--accent); }

/* ==========================================================================
   HERO — type on flat ink, photo band below
   ========================================================================== */
.hero { padding-top: calc(var(--hdr-h) + clamp(3rem, 8vh, 6.5rem)); padding-bottom: clamp(3rem, 7vh, 5.5rem); }
.hero .hr { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr);
  gap: clamp(2rem, 5vw, 6rem); align-items: end;
}
/* thin outlined circle with ↓ — decorative. The circle tucks behind the last
   letter so the letter cuts it, per the reference. */
.disp .w { position: relative; display: inline-block; }
.disp .w em { font-style: normal; position: relative; z-index: 1; }
.disp .cue {
  position: absolute; z-index: 0;
  left: calc(100% - .38em); top: 50%;
  width: 1.5em; height: 1.5em;
  transform: translateY(-54%);
  color: var(--accent);
  pointer-events: none;
}
/* the ring is drawn with a gap where the letter sits — the D "cuts" it */
.cue__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-121deg); }
.cue__ring circle { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-dasharray: 67 33; }
.cue__arr { position: absolute; left: 50%; top: 50%; width: .3em; height: .38em; transform: translate(-50%,-50%); }
.hero__aside { display: grid; gap: 1.4rem; padding-left: clamp(0rem, 2vw, 2rem); border-left: 1px solid var(--line-light); }
.hero__aside p { margin: 0; font-size: 14.5px; color: var(--ivory-soft); max-width: 34ch; }
.hero__meta { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ivory-mute); }

/* full rendering, never cropped — the page scrolls through the whole image */
.heroband { display: block; }
.heroband img { width: 100%; height: auto; }

/* ==========================================================================
   FILM — headline above, video in one big bordered card
   ========================================================================== */
.film-card {
  position: relative;
  border: 1px solid var(--line-dark);
  padding: clamp(.6rem, 1.2vw, 1rem);
  margin-top: clamp(2rem, 5vh, 3.5rem);
}
.film-card__media { position: relative; overflow: hidden; }
.film-card__media img,
.film-card__media video,
.film-card__media iframe { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; border: 0; }
.film-card__media img { filter: brightness(.88); }
.film__play {
  position: absolute; inset: 0; margin: auto;
  width: clamp(76px, 8vw, 104px); height: clamp(76px, 8vw, 104px);
  border-radius: 50%; border: 0;
  background: var(--gold-grad); background-size: 220% 100%;
  display: grid; place-items: center; color: #fff; cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.film__play svg { width: 22px; height: 22px; margin-left: 4px; }
.film__play:hover { background-position: 95% 0; transform: scale(1.06); }
.film__play[hidden] { display: none; }

/* ==========================================================================
   MANIFESTO — headline, hairline, two text columns right, stat squares below
   ========================================================================== */
.mani__cols {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.5rem);
  margin-top: clamp(3.5rem, 9vh, 6rem);
  margin-bottom: clamp(3.5rem, 9vh, 6rem);
}
.mani__cols p { margin: 0; font-size: 14px; line-height: 1.75; }
.mani__cols p:nth-child(1) { grid-column: 3; }
.mani__cols p:nth-child(2) { grid-column: 4; }

/* ==========================================================================
   ROOFTOP — wide horizontal image, content below
   ========================================================================== */
.wideimg { display: block; }
.wideimg img { width: 100%; height: auto; }
.rooftop-head { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.rooftop-head p { margin: 0; font-size: 14.5px; max-width: 40ch; }

/* ==========================================================================
   EXPLORE ROW — two square cards + one wide image card (bird's-eye)
   ========================================================================== */
.explore { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(2rem, 4vw, 5rem); margin-top: clamp(2rem, 4vh, 3rem); }
.explore__l { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 2rem); }
.qcard {
  border: 1px solid var(--line-dark);
  padding: clamp(1.2rem, 2vw, 1.8rem);
  min-height: clamp(240px, 30vh, 320px);
  display: flex; flex-direction: column;
  text-decoration: none;
}
.qcard h3 { margin: 0; font-size: 15.5px; font-weight: 300; line-height: 1.5; max-width: 20ch; }
.qcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 1rem; }
.qcard__foot span { font-size: 12px; color: var(--ink-mute); line-height: 1.6; }
.bigcard {
  position: relative; overflow: hidden; text-decoration: none;
  display: block; min-height: clamp(240px, 30vh, 320px);
}
.bigcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.66); transition: transform .9s var(--ease); }
.bigcard:hover img { transform: scale(1.04); }
.bigcard__title {
  position: absolute; top: clamp(1rem, 2vw, 1.8rem); left: clamp(1rem, 2vw, 1.8rem);
  color: var(--ivory);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.2; margin: 0;
}
.bigcard__foot {
  position: absolute; left: clamp(1rem, 2vw, 1.8rem); right: clamp(1rem, 2vw, 1.8rem); bottom: clamp(1rem, 2vw, 1.8rem);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ivory); font-size: 12.5px;
}

/* ==========================================================================
   STAT BOXES — outlined squares, first filled camel
   ========================================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(.8rem, 1.6vw, 1.5rem);
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
}
/* per reference: number upper-left in camel serif, caption lower-right, square,
   generous white space */
.stat {
  border: 1px solid var(--line-dark);
  aspect-ratio: 1 / 1;
  padding: clamp(1.4rem, 2.6vw, 2.4rem);
  display: flex; flex-direction: column; justify-content: space-between;
}
.on-ink .stat { border-color: var(--line-light); }
.stat b {
  font-family: var(--font-display); font-weight: 400;
  color: var(--accent);
  font-size: clamp(2rem, 3.8vw, 3.6rem); line-height: 1;
  letter-spacing: .02em;
}
.stat span { font-size: 14.5px; letter-spacing: .04em; opacity: .78; align-self: flex-end; text-align: right; line-height: 1.5; max-width: 15ch; }
.stat--fill { background: var(--gold-grad); background-size: 160% 130%; border-color: transparent; color: #fff; }
.stat--fill b { color: #fff; }
.stat--fill span { opacity: .9; }

/* ==========================================================================
   TWO-COLUMN EDITORIAL (manifesto, rooftop, parking, developer)
   ========================================================================== */
.duo {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(2rem, 5vw, 6rem); align-items: start;
}
.duo__copy p { margin: 0 0 1.2rem; }
.duo__media { position: relative; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.duo__media--tall img { aspect-ratio: 4/5; }
.duo__media:not(.duo__media--tall) img { aspect-ratio: 4/3; } /* reserve space — no shift while lazy images load */
.duo__media .cbtn { position: absolute; right: 1.2rem; bottom: 1.2rem; }

/* ==========================================================================
   CARDS — renderings, inside-the-project, journal
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.card {
  border: 1px solid var(--line-dark);
  background: transparent;
  display: flex; flex-direction: column;
}
.on-ink .card, .on-umber .card { border-color: var(--line-light); }
.card__media { position: relative; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge {
  position: absolute; top: 1rem; left: 1rem;
  font-size: 11px; letter-spacing: .1em;
  padding: .4rem 1rem; border-radius: 999px;
  background: rgba(249,240,236,.85); color: var(--ink);
  backdrop-filter: blur(4px);
}
.card__body { padding: clamp(1.1rem, 2vw, 1.6rem); display: flex; flex-direction: column; gap: .9rem; flex: 1; }
.card__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.15rem, 1.6vw, 1.5rem); text-transform: uppercase; letter-spacing: .05em; margin: 0; }
.card__meta { font-size: 13px; color: var(--ink-mute); }
.on-ink .card__meta { color: var(--ivory-mute); }
.card__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--line-dark); font-size: 13px; }
.on-ink .card__foot, .on-umber .card__foot { border-color: var(--line-light); }

/* inside-the-project: big camel number cards */
.ncard {
  border: 1px solid var(--line-dark);
  padding: clamp(1.4rem, 2.5vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: clamp(240px, 30vh, 320px);
}
.ncard b {
  font-family: var(--font-display); font-weight: 400;
  color: var(--accent);
  font-size: clamp(3.2rem, 6.5vw, 5.5rem); line-height: 1;
}
.ncard .t { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.ncard .d { font-size: 13.5px; color: var(--ink-mute); margin-top: auto; }

/* ==========================================================================
   SALES TEAM cards
   ========================================================================== */
.scard {
  border: 1px solid var(--line-dark);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
}
.scard__role { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.scard__name { margin: 0 0 .4rem; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(1.15rem, 2.1vw, 1.9rem); }
.tlink { color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-dark); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.tlink:hover { color: var(--accent); border-color: var(--accent); }
.on-ink .tlink { color: var(--ivory-soft); border-color: var(--line-light); }

/* amenities: plain names in two columns */
.amlist {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 3vw, 3rem);
  max-width: 560px;
}
.amlist li { padding: .8rem 0; border-bottom: 1px solid var(--line-dark); font-size: 14.5px; }
.on-ink .amlist li { border-color: var(--line-light); }

/* team strip: three text columns on umber */
.team3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3.5vw, 4rem); }
.team3__name {
  margin: .9rem 0 1rem; font-family: var(--font-display); font-weight: 400;
  text-transform: uppercase; letter-spacing: .05em; font-size: clamp(1.15rem, 1.7vw, 1.5rem);
}
.team3 p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ivory-soft); }

/* ==========================================================================
   DEVELOPER — text left; modest photo right, bleeding to the viewport edge
   ========================================================================== */
.dev {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start; /* top-aligned like every other two-column section */
}
.dev__img { margin: 0 calc(-1 * var(--gut) - max(0px, (100vw - var(--maxw)) / 2)) 0 0; }
.dev__img img { width: 100%; height: auto; } /* native ratio — never crop the team */
@media (max-width: 1080px) {
  .dev { grid-template-columns: 1fr; }
  .dev__img { margin: 0 calc(-1 * var(--gut)) 0 0; }
}

/* ==========================================================================
   MAP
   ========================================================================== */
.map { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: clamp(2rem, 4vw, 5rem); align-items: start; }
.map__figure { border: 1px solid var(--line-dark); }
.map__figure svg { width: 100%; height: auto; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.chip {
  font: inherit; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: .5rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-dark); background: none; cursor: pointer;
  color: var(--ink-mute); transition: all .25s var(--ease);
}
.chip[aria-pressed="true"], .chip:hover { border-color: var(--accent); color: var(--accent); }
.poi {
  list-style: none; margin: 0; padding: 0 1rem 3rem 0;
  max-height: clamp(300px, 44vh, 430px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-dark) transparent;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
          mask-image: linear-gradient(180deg, #000 78%, transparent);
}
.poi li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line-dark); font-size: 14.5px; }
.poi li[hidden] { display: none; }
.poi span { color: var(--ink-mute); font-size: 12px; letter-spacing: .08em; white-space: nowrap; }

/* ==========================================================================
   CONTACT — headline left, form right
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.form .field--full, .form .form__foot, .form .form__msg { grid-column: 1 / -1; }
.field select, .field textarea {
  width: 100%; background: none; border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 1rem 0; font: inherit; color: inherit; letter-spacing: .04em;
  border-radius: 0;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' fill='none'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23C08747'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .2rem center;
}
.field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field select.is-empty { color: var(--ink-mute); }
.field textarea { resize: vertical; min-height: 96px; }
.field textarea::placeholder { color: var(--ink-mute); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
/* boxed fields on the dark form — a filled, bordered box reads as "fill me in"
   where the old bare underline blended into the background (client 2026-09-23).
   background-color (not the shorthand) so the select keeps its arrow image. */
.on-ink .field input, .on-ink .field select, .on-ink .field textarea {
  background-color: rgba(255,255,255,.06);
  border: 1px solid rgba(233,228,221,.22);
  padding: .95rem 1.05rem;
  color: var(--ivory);
  transition: border-color .25s, background-color .25s;
}
.on-ink .field select { background-position: right .9rem center; }
.on-ink .field input:focus, .on-ink .field select:focus, .on-ink .field textarea:focus {
  outline: none; border-color: var(--accent); background-color: rgba(255,255,255,.09);
}
.on-ink .field input::placeholder, .on-ink .field textarea::placeholder,
.on-ink .field select.is-empty { color: var(--ivory-mute); }
.on-ink .field select option { color: var(--ink); }
.on-ink .form__note { color: var(--ivory-mute); }
.field input {
  width: 100%; background: none; border: 0;
  border-bottom: 1px solid var(--line-dark);
  padding: 1rem 0; font: inherit; color: inherit; letter-spacing: .04em;
}
.field input:focus { outline: none; border-color: var(--accent); }
.field input::placeholder { color: var(--ink-mute); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.form__note { font-size: 12px; color: var(--ink-mute); max-width: 44ch; }
.form__msg { font-size: 13px; color: var(--accent); min-height: 1.3em; margin: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.foot { padding-block: clamp(3rem, 7vh, 5rem) 2rem; }
.foot__top { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; }
.foot__top img { height: 44px; width: auto; }
.foot__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem; padding-block: 2.5rem;
}
.foot__grid h4 { margin: 0 0 .9rem; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); font-weight: 300; }
.foot__grid ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.foot__grid li { margin-bottom: .5rem; }
.foot__grid a { text-decoration: none; transition: color .25s; }
.foot__grid a:hover { color: var(--accent); }
.foot__logos { display: flex; align-items: center; gap: 2.6rem; padding-top: 2.2rem; flex-wrap: wrap; }
.foot__logos img { height: 44px; width: auto; }
.foot__end { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; padding-top: 1.6rem; }
.foot__end img { height: 34px; width: auto; flex: none; }
.foot__legal { font-size: 11px; line-height: 1.7; color: var(--ink-mute); max-width: 100ch; margin: 0; }
.on-light .foot__grid li { color: var(--ink-soft); }
.on-light .hr { background: var(--line-dark); }
.on-light .foot__grid a:hover { color: var(--accent); }

/* ==========================================================================
   REVEAL — subtle only
   ========================================================================== */
/* groundbreaking event — date & venue set large, per client */
.gb { position: relative; overflow: hidden; background: var(--ink); }
.gb .gb__bg {
  position: absolute; inset: 0;
  background: url(../img/gb-bg.jpg) center / cover no-repeat;
  opacity: .34;
}
@supports (background-image: url("a.webp")) {
  .gb .gb__bg { background-image: url(../img/gb-bg.webp); }
}
.gb .wrap { position: relative; z-index: 1; }
.gb__details { display: flex; flex-direction: column; max-width: 560px; }
.gb__d {
  display: flex; align-items: center; gap: 1.15rem;
  border-top: 1px solid var(--line-light); padding: 1rem 0;
}
.gb__d:last-child { border-bottom: 1px solid var(--line-light); }
.gb__di { flex: 0 0 auto; width: 21px; height: 21px; color: var(--accent); }
.gb__di svg { width: 100%; height: 100%; display: block; }
.gb__dv {
  font-size: clamp(.95rem, 1.4vw, 1.1rem); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; font-weight: 500; line-height: 1.6;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hdr__nav { display: none; }
  /* phones ride with the burger on the right; logo alone on the left */
  .hdr__tels { margin-left: auto; }
  .hdr__burger { display: block; margin-left: 0; }
  .hero__grid, .duo, .map, .rooftop-head, .explore { grid-template-columns: 1fr; }
  .hero__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-light); padding-top: 1.4rem; }
  .map__figure { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr 1fr; }
  .mani__cols { grid-template-columns: 1fr 1fr; }
  .mani__cols p:nth-child(1), .mani__cols p:nth-child(2) { grid-column: auto; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --hdr-h: 76px; }
  .hdr__logo img { height: 30px; }
  .hdr .pill { display: none; }
  .hdr__sep, .hdr__tel--2 { display: none; } /* one number fits on phones */
  /* footer: HH mark reads larger; disclaimer runs full width with the
     privacy link + EHO mark on their own row beneath it */
  .foot__logos .hh { height: 64px; }
  .foot__end { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .foot__legal { max-width: none; }
  .cards, .form, .mani__cols, .explore__l, .team3 { grid-template-columns: 1fr !important; }
  .amlist { max-width: none; } /* two columns hold even on phones — items are short */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { aspect-ratio: auto; min-height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   ELASTIC SCROLL (light) — lerped transform on the content wrapper
   ========================================================================== */
html.smooth-on { scroll-behavior: auto; }
html.smooth-on .smooth { position: fixed; top: 0; left: 0; right: 0; will-change: transform; }

/* ==========================================================================
   PRELOADER — stacked mark, progress bar, curtain open
   ========================================================================== */
#loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; }
/* Curtain per Rockwell Park: three panels FALL AWAY DOWNWARD so the top of
   the page appears first, staggered left → right. Overlap kills the hairline
   seams between compositing layers mid-stagger. */
.ld__cols { position: absolute; inset: 0; display: flex; overflow: hidden; }
.ld__cols i {
  flex: 1 1 0; background: var(--ink);
  transform: translateY(0);
  transition: transform 1s cubic-bezier(.7,0,.2,1);
  margin-left: -1px;
  box-shadow: 1px 0 0 var(--ink), -1px 0 0 var(--ink);
}
.ld__cols i:first-child { margin-left: 0; }
.ld__cols i:nth-child(1) { transition-delay: 0s; }
.ld__cols i:nth-child(2) { transition-delay: .11s; }
.ld__cols i:nth-child(3) { transition-delay: .22s; }
.ld__box { position: relative; z-index: 2; display: grid; justify-items: center; gap: 2.2rem; transition: opacity .4s var(--ease); }
.ld__box img { width: clamp(110px, 14vw, 170px); }
.ld__bar { width: min(220px, 46vw); height: 1px; background: rgba(233,228,221,.2); overflow: hidden; }
.ld__fill { display: block; height: 100%; width: 0%; background: var(--accent); transition: width .3s ease-out; }
body.ld-fade .ld__box { opacity: 0; }          /* step 1: mark + bar fade away */
body.ld-open .ld__cols i { transform: translateY(101%); } /* step 2: panels fall away */
body.ld-done #loader { display: none; }
body:not(.preload) #loader { display: none; }

/* hero reveal after the curtain */
body.preload [data-hr] { opacity: 0; transform: translateY(30px); }
body.ld-open [data-hr], body.ld-done [data-hr] {
  opacity: 1; transform: none;
  transition: opacity .9s var(--ease) calc(.25s + var(--d, 0s)), transform .9s var(--ease) calc(.25s + var(--d, 0s));
}

@media (prefers-reduced-motion: reduce) {
  #loader { display: none !important; }
  body.preload [data-hr] { opacity: 1; transform: none; }
}
