/* ============================================================
   SEVEN HOUSE — site.css
   Tokens sampled from production (reference_brand_tokens.md),
   never invented. Acumin Pro is Adobe-licensed; Inter is the
   brand's stated public-web fallback and is self-hosted below.
   ============================================================ */

/* ---- Self-hosted fonts ----
   Acumin Pro is the SEVEN HOUSE brand display face (same files the other
   SEVEN surfaces self-host). Inter is the documented fallback. */
@font-face {
  font-family: "Acumin Pro";
  src: url("../fonts/AcuminPro-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Acumin Pro";
  src: url("../fonts/AcuminPro-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Acumin Pro";
  src: url("../fonts/AcuminPro-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Acumin Pro";
  src: url("../fonts/AcuminPro-Semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Acumin Pro";
  src: url("../fonts/AcuminPro-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "InterVar";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  /* Brand palette (sampled) */
  --bg:            #000000;
  --surface:       #0a0a0a;
  --surface-2:     #141414;
  --fg:            #fafafa;
  --muted:         #adaaaa;
  --accent:        #dbc8b6;          /* champagne beige — the real "gold" */
  --hairline:      rgba(250, 250, 250, 0.10);
  --hairline-soft: rgba(250, 250, 250, 0.06);
  --accent-glow:   rgba(219, 200, 182, 0.10);

  /* Type — Acumin Pro is the brand face across SEVEN HOUSE; Inter is fallback */
  --font: "Acumin Pro", "InterVar", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 40px;
  --s-5: 64px;
  --s-6: 96px;
  --s-7: 160px;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 60px);
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #000; }

/* ---- Shared atoms ---- */
.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}
.muted { color: var(--muted); }

/* Optical centering: letter-spacing adds a trailing space after the last
   glyph, nudging centered tracked caps left of true center. Indent by one
   tracking unit to rebalance. Applied only to CENTERED single-line tracked
   text (never the left-aligned brand-card tags). */
.hero__eyebrow,
.brands__head .eyebrow,
.residences .eyebrow,
.cta .eyebrow { text-indent: 0.32em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(72px, 12vw, var(--s-7)); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid var(--hairline);
  border-radius: 1px;
  background: transparent;
  transition: border-color .4s var(--ease), color .4s var(--ease), background .4s var(--ease);
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn--solid { background: var(--accent); color: #000; border-color: var(--accent); }
.btn--solid:hover { background: transparent; color: var(--accent); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-inline: var(--gutter);
  background: rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(0, 0, 0, 0.9);
  border-bottom-color: var(--hairline-soft);
}
.nav__links { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__links--right { justify-content: flex-end; }
.nav__logo { justify-self: center; }
.nav__logo img { height: 16px; width: auto; opacity: .95; }
.nav__link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--fg); }
.nav__link:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  justify-self: end;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { width: 22px; height: 1px; background: var(--fg); transition: transform .3s var(--ease), opacity .3s var(--ease); }

.nav__mobile {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(0, 0, 0, 0.98);
  border-bottom: 1px solid var(--hairline-soft);
  display: grid;
  gap: 4px;
  padding: var(--s-3) var(--gutter) var(--s-4);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 999;
}
.nav__mobile.is-open { opacity: 1; transform: none; pointer-events: auto; }
.nav__mobile a {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.nav__mobile a:hover { color: var(--accent); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--nav-h) + var(--s-4)) var(--gutter) var(--s-5);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 52%, var(--accent-glow) 0%, transparent 68%);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; }
.hero__eyebrow { margin-bottom: var(--s-4); }
.hero__lockup { width: clamp(220px, 42vw, 360px); margin: 0 auto var(--s-4); }
.hero__lockup img { width: 100%; }
.hero__heading {
  font-size: clamp(15px, 1.9vw, 19px);
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  line-height: 1.8;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto var(--s-5);
}
.hero__rule {
  width: 1px; height: 56px;
  margin: 0 auto var(--s-4);
  background: linear-gradient(var(--accent), transparent);
}
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  opacity: .6;
}

/* ============================================================
   WHY / OUR STORY
   ============================================================ */
.why { position: relative; }
.why__watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(180px, 34vw, 460px);
  font-weight: 200;
  letter-spacing: 0.06em;
  color: var(--surface-2);
  opacity: .55;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.why__inner { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; text-align: center; }
.why__lead {
  font-size: clamp(22px, 3.4vw, 38px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: var(--s-3) 0 var(--s-4);
}
.why__body { font-size: clamp(15px, 1.4vw, 17px); color: var(--muted); max-width: 620px; margin-inline: auto; }

/* ============================================================
   BRANDS
   ============================================================ */
.brands__head { text-align: center; max-width: 720px; margin: 0 auto clamp(48px, 7vw, 88px); }
.brands__intro {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: var(--fg);
  margin-top: var(--s-3);
}
.brands__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline-soft);
}
.brand {
  position: relative;
  background: var(--bg);
  padding: clamp(36px, 5vw, 64px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background .5s var(--ease);
}
.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color .5s var(--ease);
  pointer-events: none;
}
.brand:hover { background: var(--surface); }
.brand:hover::after { border-color: rgba(219, 200, 182, 0.28); }
.brand__num {
  position: absolute;
  top: 18px; right: 26px;
  font-size: 76px;
  font-weight: 200;
  color: var(--surface-2);
  line-height: 1;
  transition: color .5s var(--ease);
}
.brand:hover .brand__num { color: rgba(219, 200, 182, 0.16); }
.brand__tag { margin-bottom: var(--s-4); }
.brand__logo { height: 30px; width: auto; margin-bottom: var(--s-3); }
.brand__logo img { height: 100%; width: auto; }
.brand__desc { color: var(--muted); font-size: 15px; max-width: 38ch; margin-bottom: var(--s-4); }
.brand__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  transition: color .3s var(--ease);
}
.brand__link .arrow { transition: transform .35s var(--ease); }
.brand__link:hover { color: var(--accent); }
.brand__link:hover .arrow { transform: translateX(6px); }

/* ============================================================
   RESIDENCES BAND
   ============================================================ */
.residences {
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)),
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(219,200,182,.06), transparent 70%);
  border-block: 1px solid var(--hairline-soft);
}
.residences__inner { max-width: 680px; margin-inline: auto; }
.residences__logo { margin: var(--s-3) 0; }
.residences__logo img {
  display: block;
  width: clamp(190px, 30vw, 300px);
  height: auto;
  margin-inline: auto;
}
.residences__body { color: var(--muted); font-size: clamp(15px, 1.4vw, 17px); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta { text-align: center; }
.cta__title {
  font-size: clamp(28px, 4.6vw, 52px);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: var(--s-3);
}
.cta__sub { margin-bottom: var(--s-5); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hairline-soft); padding-block: clamp(56px, 8vw, 96px) var(--s-4); }
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--hairline-soft);
}
.footer__brand img { height: 18px; width: auto; margin-bottom: var(--s-3); }
.footer__tagline { color: var(--muted); font-size: 14px; max-width: 36ch; }
.footer__col h4 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: var(--s-3);
}
.footer__col ul { list-style: none; display: grid; gap: 12px; }
.footer__col a, .footer__col li { color: var(--muted); font-size: 14px; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--fg); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
  flex-wrap: wrap;
  padding-top: var(--s-3);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ---- Hero one-shot intro ---- */
.hero [data-intro] { opacity: 0; transform: translateY(18px); }
.hero.is-ready [data-intro] {
  opacity: 1; transform: none;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.hero.is-ready [data-intro="1"] { transition-delay: .1s; }
.hero.is-ready [data-intro="2"] { transition-delay: .28s; }
.hero.is-ready [data-intro="3"] { transition-delay: .46s; }
.hero.is-ready [data-intro="4"] { transition-delay: .62s; }

/* ============================================================
   404
   ============================================================ */
.error {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--gutter);
}
.error__code { font-size: clamp(72px, 18vw, 160px); font-weight: 200; color: var(--surface-2); line-height: 1; }
.error__msg { font-size: clamp(16px, 2vw, 20px); font-weight: 300; letter-spacing: .04em; margin: var(--s-3) 0 var(--s-4); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__links { display: none; }
  .nav__logo { justify-self: start; }
  .nav__toggle { display: flex; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .brands__grid { grid-template-columns: 1fr; }
  .brand { min-height: 300px; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero [data-intro] { opacity: 1 !important; transform: none !important; }
}
