/* =========================================================
   AM ARCHITECTS — Style System
   Editorial luxury · Cormorant/Fraunces serifs paired with Inter
   Palette: ivory, parchment, charcoal, faint gold
   ========================================================= */

:root {
  /* palette — Maison Bordeaux: deep wine, cognac, champagne, ivory */
  --bg:            #0d0a0b;       /* near-black with wine undertone */
  --bg-2:          #16111240;
  --bg-3:          #1f1518;
  --paper:         #1a1314;
  --ink:           #f5ede0;       /* warm ivory */
  --ink-2:         #d4c8b5;       /* champagne text */
  --muted:         #877665;
  --line:          rgba(245, 237, 224, .12);
  --line-soft:     rgba(245, 237, 224, .06);
  --gold:          #c9985f;       /* cognac */
  --gold-deep:     #8a5a2a;       /* burnt cognac */
  --emerald:       #6b1f2a;       /* deep bordeaux */
  --emerald-deep:  #4a1418;       /* oxblood */
  --sky:           #b8946a;       /* aged brass */
  --sky-deep:      #8c6a44;
  --plum:          #3a1822;
  --shadow:        0 30px 60px -30px rgba(0, 0, 0, .85);
  --shadow-soft:   0 8px 24px -10px rgba(0, 0, 0, .55);

  /* type */
  --serif:  'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* sizes */
  --max:    1380px;
  --pad:    clamp(20px, 4vw, 56px);
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip; /* modern: prevents horizontal overflow without creating a scroll container, so position:sticky still works */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; outline: none; }

/* film-grain overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 100000;
  display: grid; place-items: center;
  transition: opacity .8s ease, visibility .8s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }

.loader__inner { text-align: center; padding: 0 40px; }
.loader__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  animation: loaderLogoFade .9s ease both;
}
.loader__logo-img {
  width: clamp(96px, 14vw, 140px);
  height: clamp(96px, 14vw, 140px);
  object-fit: contain;
  display: block;
}
@keyframes loaderLogoFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.loader__mark {
  font-family: var(--sans);
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-2);
}
.loader__service { color: var(--ink-2); }
.loader__sep { color: var(--gold); font-weight: 300; }
.loader__dot { color: var(--gold); transform: translateY(-8px); }
.loader__line {
  width: min(280px, 60vw);
  height: 1px;
  background: var(--line);
  margin: 32px auto 18px;
  position: relative;
}
.loader__progress {
  position: absolute; inset: 0 auto 0 0;
  background: var(--ink);
  width: 0%;
  transition: width .3s linear;
}
.loader__studio {
  font-family: var(--serif);
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 8px;
  animation: loaderStudioFade 1.1s ease both;
  animation-delay: .15s;
}
@keyframes loaderStudioFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.loader__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(246, 241, 232, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-pic { display: block; line-height: 0; }
.nav__logo-fallback {
  display: none;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1;
}
.nav__logo--fallback .nav__logo-fallback { display: inline-block; }
.nav__logo--fallback .nav__logo-pic { display: none; }
.nav__logo-img {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transition: width .3s ease, height .3s ease, transform .3s ease;
}
.nav__logo:hover .nav__logo-img {
  transform: scale(1.04);
}
.nav.is-scrolled .nav__logo-img {
  width: 48px;
  height: 48px;
}
.nav__logo-mark {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: .02em;
}
.nav__logo-sub {
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold);
  transition: width .35s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__user {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .03em;
  transition: background .25s, border-color .25s, color .25s;
}
.nav__user:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nav__burger { display: none; width: 30px; height: 30px; position: relative; }
.nav__burger span {
  position: absolute; left: 4px; right: 4px; height: 1px;
  background: var(--ink);
  transition: transform .3s, top .3s, opacity .3s;
}
.nav__burger span:nth-child(1) { top: 11px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav.is-menu-open .nav__burger span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.nav.is-menu-open .nav__burger span:nth-child(2) { top: 14px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav__links {
    position: fixed; top: 0; right: 0;
    width: min(380px, 80vw); height: 100vh;
    background: var(--bg);
    border-left: 1px solid var(--line-soft);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .4s ease;
  }
  .nav.is-menu-open .nav__links { transform: translateX(0); }
  .nav__links a {
    font-family: var(--serif);
    font-size: 28px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__burger { display: block; }
  .nav__logo-sub { display: none; }
  .nav__logo-img {
    width: 44px;
    height: 44px;
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.hero__bg-image {
  position: absolute; inset: -8%;
  background-size: cover; background-position: center;
  filter: contrast(1.05) saturate(.85);
  opacity: 0;
  transition: opacity 1400ms ease;
}
.hero__bg-image.is-active {
  opacity: 1;
  animation: heroZoom 9s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg-image.is-active { animation: none; }
  .hero__bg-image { transition: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1); }
}
.hero__bg-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,26,22,.35) 0%, rgba(28,26,22,.05) 30%, rgba(246,241,232,.8) 85%, var(--bg) 100%);
}

.hero__grid {
  position: relative; z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

.hero__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 1s .4s forwards;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero__title {
  font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif;
  font-weight: 300;
  font-size: clamp(54px, 10vw, 156px);
  line-height: .96;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 36px;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__line > * {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero__line:nth-child(1) > * { animation-delay: .55s; }
.hero__line:nth-child(2) > * { animation-delay: .7s; }
.hero__line:nth-child(3) > * { animation-delay: .85s; }
.hero__title,
.hero__title *,
.hero__title em,
.hero__title i { font-style: normal !important; font-family: 'Century Gothic', 'CenturyGothic', 'AppleGothic', sans-serif !important; }
.hero__title em { font-weight: 300; color: var(--gold-deep); }
.hero__title .accent { color: var(--gold-deep); }

@keyframes rise {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  max-width: 540px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 44px;
  opacity: 0; animation: fadeUp 1s 1.05s forwards;
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s 1.2s forwards; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  position: relative;
  transition: all .35s ease;
  cursor: pointer;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn--primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--full { width: 100%; justify-content: center; }
.btn span { line-height: 1; }

.hero__foot {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 56px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  opacity: 0; animation: fadeUp 1s 1.4s forwards;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 32px;
  border-left: 1px solid var(--ink-2);
}
.hero__stat:first-child {
  padding-left: 0;
  border-left: 0;
}
@media (max-width: 600px) {
  .hero__stat { padding-left: 20px; }
  .hero__stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}
.hero__stat b {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--ink);
}
.hero__stat span {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 600px) {
  .hero__foot { grid-template-columns: 1fr 1fr; gap: 28px; }
}

.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: 80px;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  opacity: 0; animation: fadeUp 1s 1.6s forwards;
}
.hero__scroll-line {
  width: 1px; height: 60px; background: var(--ink);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold);
  animation: scrollBar 2.4s ease-in-out infinite;
}
@keyframes scrollBar {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
.hero__scroll-text {
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-2);
  writing-mode: vertical-rl;
}
@media (max-width: 768px) { .hero__scroll { display: none; } }

/* =========================================================
   SHARED SECTION
   ========================================================= */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}
.eyebrow span:first-child {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -.02em;
  color: var(--ink);
}
.display em { font-style: italic; color: var(--gold-deep); }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
  margin-bottom: 64px;
}
.section__sub {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 100px;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: 40px; } }

.about__lead .display em { color: var(--gold-deep); }

/* word-by-word reveal for headings */
.split-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.split-reveal.is-in .word { opacity: 1; transform: translateY(0); }

/* stat band inside about lead */
.about__stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.abs {
  background: var(--bg);
  padding: 28px 24px;
  transition: background .35s, transform .35s;
  cursor: default;
}
.abs:hover, .abs:active { background: var(--paper); transform: translateY(-2px); }
.abs b {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.abs span {
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 500px) { .about__stats { grid-template-columns: 1fr; } }

/* pull quote */
.about__pull {
  margin-top: 48px;
  padding: 36px 32px 32px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(180deg, transparent, rgba(176, 141, 79, .04));
  position: relative;
}
.about__pull-mark {
  position: absolute;
  top: -22px; left: 24px;
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: var(--gold);
  font-style: italic;
}
.about__pull p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 16px;
}
.about__pull cite {
  font-style: normal;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.about__body p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.about__body em { font-style: italic; color: var(--ink); font-family: var(--serif); font-size: 1.05em; }

.about__pillars {
  margin-top: 50px;
  display: grid; gap: 28px;
  border-top: 1px solid var(--line-soft);
  padding-top: 40px;
}
.pillar {
  display: grid; grid-template-columns: 100px 1fr; gap: 24px;
  align-items: baseline;
}
.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-deep);
  font-size: 18px;
}
.pillar p { font-size: 15px; color: var(--ink-2); line-height: 1.7; }

.about__plate {
  position: relative;
  margin-top: 40px;
}
.about__plate img {
  width: 100%;
  height: clamp(320px, 60vh, 640px);
  object-fit: cover;
  border-radius: var(--radius);
}
.about__plate figcaption {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   PROJECTS
   ========================================================= */
.filters {
  display: flex; gap: 6px; flex-wrap: wrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  background: var(--paper);
}
.filter {
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 999px;
  transition: background .3s, color .3s;
}
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); }

.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.project {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  transition: opacity .4s, transform .4s;
}
.project[hidden] { display: none; }
.project--lg { grid-column: span 7; }
.project--md { grid-column: span 5; }
.project--sm { grid-column: span 4; }
@media (max-width: 900px) {
  .project--lg, .project--md, .project--sm { grid-column: span 12; }
}

.project__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}
.project--lg .project__media { aspect-ratio: 16 / 11; }
.project__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1), filter .8s;
  filter: contrast(1.02) saturate(.9);
}
.project:hover .project__media img { transform: scale(1.05); }
.project__body {
  padding: 22px 4px 8px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
}
.project__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.project__meta {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.project__year {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 16px;
  white-space: nowrap;
}
.project__tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 12px;
}
.project__tags span {
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}
.project__view {
  position: absolute; top: 16px; right: 16px;
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .35s, transform .35s;
}
.project:hover .project__view { opacity: 1; transform: translateY(0); }

/* =========================================================
   INTERIORS
   ========================================================= */
.interiors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.int {
  position: relative;
  overflow: hidden;
  transition: transform .8s cubic-bezier(.2,.8,.2,1) var(--d, 0ms);
}
.int img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s; }
.int:hover img { transform: scale(1.05); }
.int figcaption {
  position: absolute; left: 18px; bottom: 18px;
  font-family: var(--serif); font-style: italic;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 2px 14px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(8px);
  transition: opacity .4s, transform .4s;
}
.int:hover figcaption { opacity: 1; transform: translateY(0); }
.int--tall { grid-row: span 2; }
.int--wide { grid-column: span 2; }
@media (max-width: 900px) {
  .interiors-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .int--tall { grid-row: span 1; }
  .int--wide { grid-column: span 2; }
}

/* =========================================================
   ELEMENTS
   ========================================================= */
.elements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 900px) { .elements { grid-template-columns: 1fr; } }
.element {
  background: var(--bg);
  padding: 48px 40px;
  transition: background .35s;
}
.element:hover { background: var(--paper); }
.element__num {
  font-family: var(--serif); font-style: italic;
  color: var(--gold-deep);
  font-size: 22px;
  margin-bottom: 18px;
}
.element h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.element p { color: var(--ink-2); font-size: 15px; line-height: 1.75; }

/* =========================================================
   COMMUNITY
   ========================================================= */
.stories { display: grid; gap: 80px; }
.story {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story--reverse { grid-template-columns: 1fr 1.1fr; }
.story--reverse .story__media { order: 2; }
@media (max-width: 900px) {
  .story, .story--reverse { grid-template-columns: 1fr; gap: 32px; }
  .story--reverse .story__media { order: 0; }
}
.story__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.story__tag {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-deep);
  display: block; margin-bottom: 18px;
}
.story__body h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: 20px;
}
.story__body p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.section--testimonials { background: var(--bg-2); }
.carousel {
  position: relative;
  display: flex; align-items: center; gap: 24px;
}
.carousel__track {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 360px;
}
.testi {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 220px 1fr; gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s, transform .8s;
  pointer-events: none;
}
.testi.is-active { opacity: 1; transform: translateX(0); pointer-events: auto; }
@media (max-width: 700px) {
  .testi { grid-template-columns: 1fr; gap: 24px; }
  .carousel__track { height: 460px; }
}
.testi__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
}
.testi__media img { width: 100%; height: 100%; object-fit: cover; }
.testi__media::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, transparent, rgba(28,26,22,.15));
}
.testi__media-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(28,26,22,.25);
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
  cursor: pointer;
}
.testi__media:hover .testi__media-play { opacity: 1; }
.testi__media--initials {
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  background: transparent;
}
.testi__media--initials::after { content: none; }
.testi__initials {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 5.5vw, 70px);
  letter-spacing: .04em;
  line-height: 1;
  color: var(--gold);
}
.testi__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.4;
  letter-spacing: -.005em;
  color: var(--ink);
  margin-bottom: 28px;
}
.testi__quote::before { content: '“'; color: var(--gold-deep); margin-right: 4px; }
.testi__quote::after { content: '”'; color: var(--gold-deep); margin-left: 2px; }
.testi__name { font-family: var(--serif); font-size: 18px; }
.testi__role {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.carousel__nav {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  transition: background .25s, color .25s;
  flex-shrink: 0;
}
.carousel__nav:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 700px) {
  .carousel__nav { width: 40px; height: 40px; }
}
.carousel__dots {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 32px;
}
.carousel__dots button {
  width: 24px; height: 1px; background: var(--line);
  transition: background .3s, height .3s;
}
.carousel__dots button.is-active { background: var(--ink); height: 2px; }

/* =========================================================
   RATINGS
   ========================================================= */
.ratings__display {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 60px 0;
}
@media (max-width: 800px) { .ratings__display { grid-template-columns: 1fr; gap: 40px; } }
.ratings__avg { display: flex; flex-direction: column; gap: 12px; }
.ratings__num {
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 130px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.03em;
}
.ratings__stars-static {
  font-size: 22px; color: var(--gold);
  letter-spacing: 4px;
}
.ratings__count {
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.ratings__give { padding-left: 40px; border-left: 1px solid var(--line); }
@media (max-width: 800px) { .ratings__give { padding-left: 0; border-left: none; padding-top: 30px; border-top: 1px solid var(--line); } }
.ratings__prompt {
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  margin-bottom: 22px;
}
.rate-stars {
  display: flex; gap: 6px;
  font-size: 36px;
  color: var(--line);
  margin-bottom: 16px;
}
.rate-stars span {
  cursor: pointer;
  transition: color .25s, transform .2s;
}
.rate-stars span:hover { transform: translateY(-2px); }
.rate-stars.is-locked span { cursor: not-allowed; }
.rate-stars.is-locked span:hover { transform: none; }
.rate-stars span.is-on { color: var(--gold); }
.ratings__note { font-size: 13px; color: var(--muted); }

/* =========================================================
   ARTICLES
   ========================================================= */
.articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 900px) { .articles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .articles { grid-template-columns: 1fr; } }

.article {
  cursor: pointer;
  transition: opacity .4s;
}
.article[hidden] { display: none; }
.article__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
  margin-bottom: 22px;
}
.article__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s;
}
.article:hover .article__media img { transform: scale(1.05); }
.article__cat {
  font-size: 10px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.article__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.005em;
  margin-bottom: 12px;
}
.article__excerpt {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.article__meta {
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 12px; align-items: center;
}
.article__meta span:first-child::after {
  content: '·'; margin-left: 12px; color: var(--line);
}

/* =========================================================
   CAREERS
   ========================================================= */
.careers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .careers { grid-template-columns: 1fr; gap: 40px; } }
.careers__copy p {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 520px;
}
.careers__open {
  list-style: none;
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
}
.careers__open li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 18px;
}
.careers__open li span:last-child {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.careers__form {
  background: var(--paper);
  padding: 48px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 22px;
  box-shadow: var(--shadow);
}
.careers__form h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 8px;
}
.careers__form label {
  display: grid; gap: 8px;
}
.careers__form label > span {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.careers__form input,
.careers__form select,
.careers__form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink);
  transition: border-color .25s;
}
.careers__form input:focus,
.careers__form select:focus,
.careers__form textarea:focus { border-bottom-color: var(--ink); }

.careers__file-box {
  display: flex; align-items: center; gap: 12px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .25s, background .25s;
  position: relative;
  font-size: 13px;
  color: var(--muted);
}
.careers__file-box:hover { border-color: var(--ink); background: var(--bg); }
.careers__file-box input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
.contact__copy p {
  margin-top: 22px;
  font-size: 16px; color: var(--ink-2);
  line-height: 1.8; max-width: 460px;
}
.contact__lines {
  margin-top: 50px;
  display: grid; gap: 20px;
}
.contact__lines > div {
  display: grid; grid-template-columns: 100px 1fr; gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}
.contact__lines span {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted);
}
.contact__lines b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
}

.contact__form-wrap {
  position: relative;
  background: var(--paper);
  padding: 48px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  min-height: 480px;
}
.contact__lock {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px;
  text-align: center;
  background: rgba(251, 247, 238, .94);
  backdrop-filter: blur(4px);
  z-index: 2;
  transition: opacity .5s, visibility .5s;
}
.contact__lock.is-hidden { opacity: 0; visibility: hidden; }
.contact__lock svg {
  color: var(--gold-deep);
  margin-bottom: 22px;
}
.contact__lock h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 14px;
}
.contact__lock p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 28px;
}

.contact__form { display: grid; gap: 22px; }
.contact__form label { display: grid; gap: 8px; }
.contact__form label > span {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink);
  resize: none;
  transition: border-color .25s;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus { border-bottom-color: var(--ink); }
.contact__form input[readonly] { color: var(--muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0 32px;
  margin-top: 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(246, 241, 232, .15);
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
.footer__brand p {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(246,241,232,.7);
  max-width: 320px;
}
.footer__mark {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -.02em;
}
.footer__col {
  display: grid; gap: 14px;
  align-content: start;
}
.footer__col span:first-child {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(246,241,232,.75);
  transition: color .25s;
}
.footer__col a:hover { color: var(--bg); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 32px;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(246,241,232,.5);
  flex-wrap: wrap;
}

/* =========================================================
   FAB
   ========================================================= */
.fab {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
}
.fab__main {
  width: 54px; height: 54px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s;
  position: relative; z-index: 2;
}
.fab__main:hover { background: var(--gold-deep); }
.fab.is-open .fab__main { transform: rotate(45deg); }
.fab__item {
  position: absolute;
  right: 0; bottom: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .35s;
  transform: translateY(0);
}
.fab.is-open .fab__item {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(calc(var(--i) * -60px));
}

/* =========================================================
   MODAL
   ========================================================= */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
}
.modal.is-open { display: block; }
.modal__veil {
  position: absolute; inset: 0;
  background: rgba(20, 18, 14, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .35s ease;
}
.modal__card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(460px, 92vw);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--paper);
  padding: 48px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.4);
  animation: cardRise .5s cubic-bezier(.2,.8,.2,1);
}
.modal__card--wide { width: min(880px, 94vw); padding: 0; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cardRise {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .25s, color .25s;
  z-index: 2;
}
.modal__close:hover { background: var(--ink); color: var(--bg); }
.modal__eyebrow {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.modal__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -.015em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.modal__sub {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}
.modal__sub b { font-weight: 500; color: var(--ink); }
.modal__label { display: grid; gap: 8px; margin-bottom: 20px; }
.modal__label span {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.modal__label input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  font-size: 16px;
}
.modal__label input:focus { border-bottom-color: var(--ink); }
.modal__fineprint {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.auth-link {
  display: block;
  margin: 14px auto 0;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.auth-link:hover { color: var(--ink); }

.auth-step { display: none; animation: fadeUp .4s ease; }
.auth-step.is-active { display: block; }

.phone-row {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  margin-bottom: 28px;
}
.phone-row__cc {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--muted);
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.phone-row input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 18px;
  letter-spacing: .04em;
}

.otp-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.otp-row input {
  aspect-ratio: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  text-align: center;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  transition: border-color .25s, background .25s;
}
.otp-row input:focus { border-color: var(--ink); background: var(--paper); }
.otp-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.otp-hint b {
  font-family: var(--serif);
  color: var(--gold-deep);
  letter-spacing: .3em;
  font-size: 15px;
}

.modal__success {
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--gold-deep);
  animation: pop .6s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes pop {
  from { transform: scale(.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* project & article detail inside modal */
.proj-detail, .article-detail { display: grid; }
.proj-detail__hero, .article-detail__hero {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.proj-detail__hero img, .article-detail__hero img { width: 100%; height: 100%; object-fit: cover; }
.proj-detail__body, .article-detail__body { padding: 48px; }
.proj-detail__cat, .article-detail__cat {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.proj-detail__title, .article-detail__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.015em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.proj-detail__meta {
  display: flex; gap: 30px; flex-wrap: wrap;
  margin-bottom: 28px;
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
}
.proj-detail__meta b {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}
.proj-detail__body p, .article-detail__body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.article-detail__meta {
  display: flex; gap: 16px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
}
.article-detail__meta span:first-child::after { content: '·'; margin-left: 16px; }
@media (max-width: 700px) {
  .proj-detail__body, .article-detail__body { padding: 32px 24px; }
}

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed;
  left: 50%; bottom: 32px;
  transform: translateX(-50%) translateY(40px);
  background: var(--ink);
  color: var(--bg);
  padding: 16px 28px;
  font-size: 13px;
  letter-spacing: .04em;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 2000;
  opacity: 0;
  transition: opacity .4s, transform .4s;
  pointer-events: none;
  max-width: 90vw;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   UTILITIES
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   PREMIUM UPGRADES
   ========================================================= */

/* --- custom cursor --- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100001;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .25s, height .25s, background .25s, opacity .25s;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--ink-2);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), border-color .25s, opacity .3s;
  mix-blend-mode: difference;
  opacity: .5;
}
.cursor-ring.is-hover {
  width: 64px; height: 64px;
  border-color: var(--gold);
  opacity: .9;
}
.cursor.is-hover { width: 4px; height: 4px; background: var(--gold); }
@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-ring { display: none; }
}

/* --- magnetic buttons (transform applied via JS) --- */
.magnetic { transition: transform .35s cubic-bezier(.2,.8,.2,1); }

/* --- hero rail (left side, desktop) --- */
.hero__rail {
  position: absolute;
  left: var(--pad); top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  display: flex; align-items: center; gap: 16px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-2);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 1.8s forwards;
}
.hero__rail-num { font-family: var(--serif); font-style: italic; letter-spacing: .15em; color: var(--gold-deep); }
.hero__rail-line { width: 60px; height: 1px; background: var(--ink-2); }
@media (max-width: 900px) { .hero__rail { display: none; } }

/* --- hero giant decorative year (right edge) --- */
.hero__year {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  letter-spacing: .25em;
  color: var(--gold-deep);
  opacity: 0;
  animation: fadeUp 1s 1.8s forwards;
  white-space: nowrap;
}
.hero__year span { margin: 0 14px; opacity: .4; }
@media (max-width: 900px) { .hero__year { display: none; } }

/* --- live time in hero meta --- */
.hero__time {
  margin-left: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--gold-deep);
  letter-spacing: .04em;
  text-transform: none;
}
.hero__meta { padding-right: 100px; }
@media (max-width: 600px) {
  .hero__meta { padding-right: 0; flex-wrap: wrap; }
  .hero__time { margin-left: 0; width: 100%; }
}

/* --- marquee --- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -.01em;
}
.marquee__track span:not(.marquee__dot) {
  flex-shrink: 0;
}
.marquee__dot {
  color: var(--gold);
  font-style: normal;
  font-size: .7em;
  display: flex;
  align-items: center;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- recognition strip --- */
.recognition {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}
.recognition__label {
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--muted);
}
.recognition__list {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.rec {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: .15em;
  color: var(--ink);
  opacity: .5;
  transition: opacity .35s, color .35s, transform .35s;
  cursor: default;
}
.rec i { font-style: italic; color: var(--gold-deep); font-weight: 300; }
.rec:hover { opacity: 1; transform: translateY(-2px); }
@media (max-width: 700px) {
  .recognition { grid-template-columns: 1fr; gap: 20px; }
  .recognition__list { gap: 28px; }
}

/* --- kinetic divider --- */
.kinetic {
  overflow: hidden;
  padding: 60px 0;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.kinetic__row {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(50px, 8vw, 110px);
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink);
  align-items: center;
  will-change: transform;
}
.kinetic__row span:not(.kinetic__star) { flex-shrink: 0; }
.kinetic__row i { font-style: italic; color: var(--gold-deep); }
.kinetic__star {
  color: var(--gold);
  font-size: .4em;
  flex-shrink: 0;
}

/* --- image-mask reveal on projects --- */
.project__media {
  position: relative;
}
.project__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(.77,0,.18,1);
  z-index: 2;
  pointer-events: none;
}

/* --- image hover overlay with title --- */
.project__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(28,26,22,.55));
  opacity: 0;
  transition: opacity .5s;
  z-index: 1;
}
.project:hover .project__media::before { opacity: 1; }

/* --- enhanced project view button --- */
.project__view {
  background: var(--ink) !important;
  color: var(--bg);
  padding: 10px 18px !important;
  border-radius: 999px;
  font-weight: 500;
}

/* --- section number watermark --- */
.section { position: relative; }
.section--about::before,
.section--projects::before,
.section--articles::before,
.section--community::before {
  content: attr(data-num);
  position: absolute;
  top: 80px; right: var(--pad);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 1;
  color: var(--gold);
  opacity: .07;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -.03em;
}
.section .container { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .section--about::before, .section--projects::before,
  .section--articles::before, .section--community::before { display: none; }
}

/* --- enhanced eyebrow with growing line --- */
.eyebrow {
  position: relative;
  padding-left: 80px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 60px; height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s .2s cubic-bezier(.2,.8,.2,1);
}
.eyebrow.is-in::before { transform: scaleX(1); }

/* --- text hover effect for nav links --- */
.nav__links a {
  overflow: hidden;
  height: 18px;
  display: inline-block;
}
.nav__links a span {
  display: block;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.nav__links a:hover span { transform: translateY(-100%); }
.nav__links a span::after {
  content: attr(data-text);
  display: block;
  color: var(--gold-deep);
}

/* --- enhanced project hover lift --- */
.project {
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s;
}
.project:hover { transform: translateY(-6px); }

/* --- about pull-quote refinement --- */
.about__pull {
  transition: border-color .5s, transform .5s;
}
.about__pull:hover {
  border-left-color: var(--gold-deep);
  transform: translateX(4px);
}

/* --- enhanced display title with text-mask gradient on hover --- */
.display {
  position: relative;
}

/* --- floating decorative numbers in projects --- */
.project__index {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--bg);
  background: rgba(28,26,22,.7);
  backdrop-filter: blur(6px);
  padding: 4px 12px;
  border-radius: 999px;
  z-index: 3;
  letter-spacing: .05em;
}

/* --- sticky-style award strip refinement --- */
.recognition__list .rec {
  position: relative;
}
.recognition__list .rec::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.recognition__list .rec:hover::after { transform: scaleX(1); }

/* --- keyboard-style highlights on lede --- */
.hero__lede em {
  font-style: italic;
  color: var(--gold-deep);
}

/* --- entrance for section heads --- */
.section__head .display { overflow: hidden; }

/* --- improve button magnetism feel --- */
.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s cubic-bezier(.77,0,.18,1);
  z-index: -1;
}
.btn--primary { z-index: 1; overflow: hidden; }
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--ghost { position: relative; overflow: hidden; }
.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s cubic-bezier(.77,0,.18,1);
  z-index: -1;
}
.btn--ghost { z-index: 1; }
.btn--ghost:hover::before { transform: scaleY(1); transform-origin: top; }

/* =========================================================
   COLOR LAYER — emerald + terracotta theming
   ========================================================= */

/* swap primary ink to emerald in key spots */
.btn--primary {
  background: var(--emerald);
  border-color: var(--emerald);
}
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--primary::before { background: var(--gold); }

.footer { background: var(--emerald-deep); }

.nav.is-scrolled {
  background: rgba(242, 235, 220, .85);
}

/* hero veil tinted */
.hero__bg-veil {
  background:
    linear-gradient(180deg,
      rgba(20,61,48,.45) 0%,
      rgba(20,61,48,.15) 25%,
      rgba(242,235,220,.6) 75%,
      var(--bg) 100%);
}

/* hero accent words */
.hero__title em,
.hero__title .accent { color: var(--emerald); }
.hero__title em { font-style: italic; }

/* display headings — emerald italic instead of gold */
.display em { color: var(--emerald); }
.about__lead .display em { color: var(--emerald); }

/* eyebrow numbers — terracotta */
.eyebrow span:first-child { color: var(--gold-deep); }
.eyebrow::before { background: var(--gold); }

/* loader dot */
.loader__dot { color: var(--gold); }

/* nav user button hover */
.nav__user:hover { background: var(--emerald); border-color: var(--emerald); color: var(--bg); }

/* nav underline */
.nav__links a::after { background: var(--gold); }
.nav__links a span::after { color: var(--gold-deep); }

/* hero rail */
.hero__rail-num { color: var(--gold-deep); }
.hero__rail-line { background: var(--emerald); }
.hero__time { color: var(--gold-deep); }
.hero__year { color: var(--emerald); }

/* hero stat numbers — slight emerald tint */
.hero__stat b { color: var(--ink); }

/* about pillars italic numbers */
.pillar__num { color: var(--emerald); }

/* about pull-quote */
.about__pull {
  border-left: 3px solid var(--emerald);
  background: linear-gradient(180deg, transparent, rgba(31, 95, 74, .06));
}
.about__pull-mark { color: var(--gold); }
.about__pull:hover { border-left-color: var(--gold-deep); }

/* about stats hover state */
.abs:hover { background: var(--paper); }

/* recognition labels italic */
.rec i { color: var(--gold-deep); }
.recognition__list .rec::after { background: var(--emerald); }

/* kinetic divider — colorful */
.kinetic { background: var(--emerald); }
.kinetic__row { color: var(--paper); }
.kinetic__row i { color: var(--gold); }
.kinetic__star { color: var(--gold); }

/* marquee colors */
.marquee { background: var(--emerald-deep); color: var(--paper); }
.marquee__dot { color: var(--gold); }

/* filters active state */
.filter.is-active { background: var(--emerald); }

/* project tags */
.project__tags span {
  border-color: var(--line);
  color: var(--ink-2);
}
.project__year { color: var(--gold-deep); font-style: italic; }
.project__index { background: rgba(31, 95, 74, .85); }

/* article category labels */
.article__cat { color: var(--gold-deep); }
.story__tag { color: var(--gold-deep); }
.proj-detail__cat, .article-detail__cat { color: var(--gold-deep); }

/* element numerals */
.element__num { color: var(--gold); font-weight: 400; }
.element:hover { background: rgba(31, 95, 74, .03); }

/* testimonials section background tint */
.section--testimonials {
  background: linear-gradient(180deg, var(--bg-2) 0%, #ddd1b6 100%);
  position: relative;
}
.testi__quote::before, .testi__quote::after { color: var(--emerald); }
.testi__role { color: var(--gold-deep); }
.carousel__dots button.is-active { background: var(--emerald); }
.carousel__nav { border-color: var(--emerald); color: var(--emerald); }
.carousel__nav:hover { background: var(--emerald); color: var(--bg); }

/* ratings */
.ratings__num { color: var(--ink); }
.ratings__stars-static { color: var(--gold); }
.ratings__prompt { color: var(--ink); }
.rate-stars span.is-on { color: var(--gold); }

/* careers + contact form accents */
.careers__form, .contact__form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--emerald);
}
.careers__form h3, .modal__title { color: var(--ink); }
.careers__open li {
  font-family: var(--serif);
}
.careers__open li:hover { color: var(--emerald); }

/* contact lock icon */
.contact__lock svg { color: var(--emerald); }

/* fab */
.fab__main { background: var(--emerald); }
.fab__main:hover { background: var(--gold-deep); }
.fab__item { color: var(--emerald); }

/* modal */
.modal__eyebrow { color: var(--gold-deep); }
.modal__success { color: var(--emerald); }

/* watermark section numbers — switch to emerald with low opacity */
.section--about::before,
.section--projects::before,
.section--articles::before,
.section--community::before {
  color: var(--emerald);
  opacity: .08;
}

/* footer links accent */
.footer__col span:first-child { color: var(--gold); }
.footer__brand p { color: rgba(248, 241, 225, .7); }
.footer__col a { color: rgba(248, 241, 225, .75); }
.footer__bottom { color: rgba(248, 241, 225, .5); }

/* OTP focus */
.otp-row input:focus { border-color: var(--emerald); }

/* form field focus */
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus,
.careers__form input:focus,
.careers__form select:focus,
.careers__form textarea:focus,
.modal__label input:focus,
.phone-row input:focus { border-bottom-color: var(--emerald); }

/* hero scroll bar accent */
.hero__scroll-line::after { background: var(--gold); }

/* dot accent */
.dot { background: var(--gold); }

/* article meta divider */
.article__meta span:first-child::after { color: var(--gold); }

/* =========================================================
   OPTIMIST LAYER — varied section backgrounds
   ========================================================= */

/* tint the body subtly so it's never a flat plane */
body {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(106, 166, 194, .12), transparent 50%),
    radial-gradient(ellipse at 100% 30%, rgba(232, 122, 63, .08), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(45, 122, 95, .07), transparent 50%),
    var(--bg);
  background-attachment: fixed;
}

/* ABOUT — paper (warm cream) panel */
.section--about { background: var(--paper); }

/* PROJECTS — sage-mint default but lift container */
.section--projects { background: var(--bg); }

/* INTERIORS — peach band */
.section--interiors {
  background: linear-gradient(180deg, var(--bg-2) 0%, #fdd9bf 100%);
}

/* ELEMENTS — sky blue */
.section--elements {
  background: linear-gradient(180deg, var(--bg-3) 0%, #c8dde9 100%);
}
.element { background: rgba(247, 243, 236, .6); }
.element:hover { background: var(--paper); }
.elements { background: var(--line-soft); border-color: var(--line-soft); }

/* COMMUNITY — back to paper */
.section--community { background: var(--paper); }

/* TESTIMONIALS — deep emerald block (inverted) */
.section--testimonials {
  background: var(--emerald-deep);
  color: var(--paper);
}
.section--testimonials .display { color: var(--paper); }
.section--testimonials .eyebrow { color: rgba(247, 243, 236, .6); }
.section--testimonials .eyebrow span:first-child { color: var(--gold); }
.section--testimonials .eyebrow::before { background: var(--gold); }
.testi__quote { color: var(--paper); }
.testi__quote::before, .testi__quote::after { color: var(--gold); }
.testi__name { color: var(--paper); }
.testi__role { color: rgba(247, 243, 236, .6); }
.section--testimonials .carousel__nav {
  border-color: rgba(247, 243, 236, .4);
  color: var(--paper);
}
.section--testimonials .carousel__nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.section--testimonials .carousel__dots button { background: rgba(247, 243, 236, .25); }
.section--testimonials .carousel__dots button.is-active { background: var(--gold); }

/* AWARDS — paper section with bento-style media grid */
.section--awards { background: var(--paper); padding-block: clamp(80px, 10vw, 140px); }
.section--awards .display { margin-bottom: 18px; }
.section--awards .section__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.55;
  margin-bottom: 56px;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.award {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.award--wide { grid-column: span 7; grid-row: span 2; }
.award--tall { grid-column: span 5; grid-row: span 2; }
.award__media {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--ink);
}
.award__media img,
.award__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.award:hover .award__media img,
.award:hover .award__video { transform: scale(1.04); }

/* Caption pinned at the bottom, strong gradient + bright CSK yellow text for legibility */
.award__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 26px 24px;
  color: #FFE600;
  background: linear-gradient(180deg,
    rgba(13,10,11,0) 0%,
    rgba(13,10,11,.55) 30%,
    rgba(13,10,11,.92) 65%,
    rgba(13,10,11,.98) 100%);
  pointer-events: none;
}
.award__year {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #FFE600;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}
.award__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  color: #FFE600;
  margin: 0 0 10px;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}
.award__note {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: #FFE600;
  margin: 0;
  max-width: 560px;
  text-shadow: 0 1px 4px rgba(0,0,0,.7);
}

/* Video play button overlay */
.award--video .award__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 10, 11, .15);
  pointer-events: none;
  transition: background .3s ease;
}
.award--video:hover .award__media::before { background: rgba(13, 10, 11, 0); }
.award__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(247, 243, 236, .92);
  border: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
  z-index: 2;
  padding-left: 4px;
}
.award__play:hover { background: var(--gold); transform: translate(-50%, -50%) scale(1.08); }
.award.is-playing .award__play { opacity: 0; pointer-events: none; }

/* Tablet: stack to 2 columns */
@media (max-width: 980px) {
  .awards-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 200px;
  }
  .award--wide { grid-column: span 6; grid-row: span 2; }
  .award--tall { grid-column: span 6; grid-row: span 2; }
}

/* Mobile: single column, generous height */
@media (max-width: 600px) {
  .awards-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
    gap: 12px;
  }
  .award--wide, .award--tall { grid-column: 1; grid-row: span 1; }
  .award__caption { padding: 18px 18px 16px; }
  .award__play { width: 52px; height: 52px; }
}

/* RATINGS — peach */
.section--ratings { background: var(--bg-2); }

/* ARTICLES — sky */
.section--articles { background: var(--bg-3); }

/* CAREERS — paper */
.section--careers { background: var(--paper); }

/* CONTACT — sage */
.section--contact { background: var(--bg); }

/* hero veil — soften with optimistic warm tone */
.hero__bg-veil {
  background:
    linear-gradient(180deg,
      rgba(22, 41, 42, .4) 0%,
      rgba(22, 41, 42, .1) 25%,
      rgba(238, 244, 241, .55) 75%,
      var(--bg) 100%);
}

/* recolor accents to match new palette */
.btn--primary { background: var(--emerald); border-color: var(--emerald); }
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--primary::before { background: var(--gold); }

.footer { background: var(--ink); }

/* hero accent words to fresh teal-green */
.hero__title em, .hero__title .accent { color: var(--emerald); }

/* display italics — alternate emerald and gold for variety */
.display em { color: var(--emerald); }
.section--testimonials .display em { color: var(--gold); }

/* eyebrow — terracotta number */
.eyebrow span:first-child { color: var(--gold-deep); }
.eyebrow::before { background: var(--gold); }
.section--articles .eyebrow span:first-child { color: var(--sky-deep); }
.section--articles .eyebrow::before { background: var(--sky-deep); }
.section--interiors .eyebrow span:first-child { color: var(--gold-deep); }
.section--elements .eyebrow span:first-child { color: var(--sky-deep); }
.section--elements .eyebrow::before { background: var(--sky-deep); }

/* loader dot */
.loader__dot { color: var(--gold); }

/* nav */
.nav.is-scrolled { background: rgba(238, 244, 241, .85); }
.nav__user:hover { background: var(--emerald); border-color: var(--emerald); color: var(--paper); }
.nav__links a::after { background: var(--gold); }
.nav__links a span::after { color: var(--gold-deep); }

/* hero rail */
.hero__rail-num { color: var(--gold-deep); }
.hero__rail-line { background: var(--emerald); }
.hero__time { color: var(--gold-deep); }
.hero__year { color: var(--emerald); }

/* about */
.pillar__num { color: var(--emerald); }
.about__pull {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, transparent, rgba(232, 122, 63, .08));
}
.about__pull-mark { color: var(--gold); }
.about__pull:hover { border-left-color: var(--emerald); }

/* recognition */
.rec i { color: var(--gold-deep); }
.recognition__list .rec::after { background: var(--emerald); }

/* kinetic divider — bright peach with deep teal letters */
.kinetic { background: linear-gradient(90deg, var(--bg-2), #ffd0a8, var(--bg-2)); }
.kinetic__row { color: var(--emerald-deep); }
.kinetic__row i { color: var(--gold-deep); }
.kinetic__star { color: var(--gold); }

/* marquee — sky blue band */
.marquee {
  background: var(--sky-deep);
  color: var(--paper);
  border-color: var(--sky-deep);
}
.marquee__dot { color: var(--bg-2); }

/* filters */
.filters { background: rgba(247, 243, 236, .6); }
.filter.is-active { background: var(--emerald); color: var(--paper); }

/* projects */
.project__year { color: var(--gold-deep); font-style: italic; }
.project__index { background: rgba(45, 122, 95, .9); color: var(--paper); }
.project__tags span { background: rgba(247, 243, 236, .5); }

/* articles */
.article__cat { color: var(--gold-deep); }
.story__tag { color: var(--gold-deep); }
.proj-detail__cat, .article-detail__cat { color: var(--gold-deep); }
.section--articles .article__cat { color: var(--sky-deep); }

/* elements */
.element__num { color: var(--gold); }

/* ratings */
.ratings__num { color: var(--ink); }
.ratings__stars-static, .rate-stars span.is-on { color: var(--gold); }
.ratings__prompt { color: var(--ink); }

/* contact lock */
.contact__lock { background: rgba(247, 243, 236, .94); }
.contact__lock svg { color: var(--emerald); }

/* forms accent stripe */
.careers__form, .contact__form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--emerald);
}
.careers__open li:hover { color: var(--emerald); }

/* fab */
.fab__main { background: var(--emerald); }
.fab__main:hover { background: var(--gold); color: var(--ink); }
.fab__item { color: var(--emerald); background: var(--paper); }

/* modal */
.modal__eyebrow { color: var(--gold-deep); }
.modal__success { color: var(--emerald); }

/* watermark numerals */
.section--about::before, .section--projects::before,
.section--articles::before, .section--community::before {
  color: var(--emerald);
  opacity: .07;
}
.section--articles::before { color: var(--sky-deep); opacity: .1; }

/* footer accents */
.footer__col span:first-child { color: var(--gold); }

/* form focus */
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus,
.careers__form input:focus, .careers__form select:focus, .careers__form textarea:focus,
.modal__label input:focus, .phone-row input:focus,
.otp-row input:focus { border-color: var(--emerald); border-bottom-color: var(--emerald); }

/* hero scroll bar */
.hero__scroll-line::after { background: var(--gold); }
.dot { background: var(--gold); }

/* about plate caption */
.about__plate figcaption { color: var(--muted); }

/* nav user button border */
.nav__user { border-color: var(--line); }

/* community story tag dot */
.story__tag::before {
  content: '◆ ';
  color: var(--gold);
  margin-right: 4px;
}

/* =========================================================
   SKY BLUE LEAD — promote sky to primary
   ========================================================= */

/* primary buttons → sky */
.btn--primary {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
  color: var(--paper);
}
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--primary::before { background: var(--gold); }

/* hero italic words */
.hero__title em, .hero__title .accent { color: var(--sky-deep); }

/* display italics */
.display em { color: var(--sky-deep); }

/* nav user hover */
.nav__user:hover { background: var(--sky-deep); border-color: var(--sky-deep); color: var(--paper); }

/* hero rail line */
.hero__rail-line { background: var(--sky-deep); }
.hero__year { color: var(--sky-deep); }

/* about pillar labels */
.pillar__num { color: var(--sky-deep); }

/* about pull quote → sky */
.about__pull {
  border-left: 3px solid var(--sky-deep);
  background: linear-gradient(180deg, transparent, rgba(106, 166, 194, .1));
}
.about__pull:hover { border-left-color: var(--gold); }

/* recognition underline */
.recognition__list .rec::after { background: var(--sky-deep); }

/* kinetic divider — sky base */
.kinetic { background: linear-gradient(90deg, var(--bg-3), #b5d0dd, var(--bg-3)); }
.kinetic__row { color: var(--sky-deep); }
.kinetic__row i { color: var(--gold-deep); }
.kinetic__star { color: var(--gold); }

/* marquee — deep teal */
.marquee { background: var(--ink); border-color: var(--ink); }

/* filters active */
.filter.is-active { background: var(--sky-deep); color: var(--paper); }

/* projects */
.project__index { background: rgba(61, 122, 152, .9); color: var(--paper); }

/* testimonials inverted block — sky deep instead of emerald */
.section--testimonials { background: var(--sky-deep); }
.section--testimonials .display em { color: var(--gold); }
.testi__quote::before, .testi__quote::after { color: var(--gold); }
.section--testimonials .carousel__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.section--testimonials .carousel__dots button.is-active { background: var(--gold); }

/* section watermark numbers */
.section--about::before, .section--projects::before,
.section--articles::before, .section--community::before {
  color: var(--sky-deep);
  opacity: .08;
}

/* contact lock */
.contact__lock svg { color: var(--sky-deep); }

/* form top accent stripe */
.careers__form, .contact__form-wrap {
  border-top: 3px solid var(--sky-deep);
}
.careers__open li:hover { color: var(--sky-deep); }

/* fab */
.fab__main { background: var(--sky-deep); }
.fab__main:hover { background: var(--gold); color: var(--ink); }
.fab__item { color: var(--sky-deep); }

/* modal accents */
.modal__success { color: var(--sky-deep); }

/* section background tints — keep sky as lead, vary supporting */
.section--about { background: var(--paper); }
.section--projects { background: var(--bg); }
.section--interiors { background: linear-gradient(180deg, var(--bg-3) 0%, #c8dde9 100%); }
.section--elements { background: linear-gradient(180deg, var(--bg-2) 0%, #fdd9bf 100%); }
.section--community { background: var(--paper); }
.section--ratings { background: var(--bg-3); }
.section--articles { background: var(--bg-3); }
.section--careers { background: var(--paper); }
.section--contact { background: var(--bg); }

/* recolor section eyebrow numbers to match new lead */
.eyebrow span:first-child { color: var(--sky-deep); }
.eyebrow::before { background: var(--sky-deep); }
.section--interiors .eyebrow span:first-child,
.section--interiors .eyebrow::before { color: var(--sky-deep); background: var(--sky-deep); }
.section--elements .eyebrow span:first-child { color: var(--gold-deep); }
.section--elements .eyebrow::before { background: var(--gold); }

/* form focus → sky */
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus,
.careers__form input:focus, .careers__form select:focus, .careers__form textarea:focus,
.modal__label input:focus, .phone-row input:focus,
.otp-row input:focus { border-color: var(--sky-deep); border-bottom-color: var(--sky-deep); }

/* hero scroll bar accent stays gold for warmth */
.hero__scroll-line::after { background: var(--gold); }

/* about plate caption neutral */
.about__plate figcaption { color: var(--muted); }

/* =========================================================
   MID-TONE FILL — every section saturated, no plain gaps
   ========================================================= */

body {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(58, 107, 90, .15), transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(196, 118, 58, .12), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}

/* alternating saturated section backgrounds */
.section--about       { background: var(--paper); }
.section--projects    { background: var(--bg-2); }
.section--interiors   { background: var(--emerald); color: var(--paper); }
.section--elements    { background: var(--paper); }
.section--community   { background: var(--bg-3); }
.section--testimonials{ background: var(--ink); }
.section--ratings     { background: var(--paper); }
.section--articles    { background: var(--bg-2); }
.section--careers     { background: var(--bg-3); }
.section--contact     { background: var(--emerald-deep); color: var(--paper); }

/* hero veil — warmer */
.hero__bg-veil {
  background:
    linear-gradient(180deg,
      rgba(31, 45, 42, .45) 0%,
      rgba(31, 45, 42, .15) 25%,
      rgba(216, 212, 196, .65) 75%,
      var(--bg) 100%);
}

/* ---- INTERIORS (dark teal block) ---- */
.section--interiors .display,
.section--interiors .section__sub { color: var(--paper); }
.section--interiors .eyebrow { color: rgba(226, 220, 203, .65); }
.section--interiors .eyebrow span:first-child { color: var(--gold); }
.section--interiors .eyebrow::before { background: var(--gold); }
.section--interiors .display em { color: var(--gold); }

/* ---- TESTIMONIALS (deep ink block) ---- */
.section--testimonials .display,
.section--testimonials .testi__quote,
.section--testimonials .testi__name { color: var(--paper); }
.section--testimonials .eyebrow { color: rgba(226, 220, 203, .6); }
.section--testimonials .eyebrow span:first-child { color: var(--gold); }
.section--testimonials .eyebrow::before { background: var(--gold); }
.section--testimonials .display em,
.testi__quote::before,
.testi__quote::after { color: var(--gold); }
.testi__role { color: rgba(226, 220, 203, .6); }
.section--testimonials .carousel__nav {
  border-color: rgba(226, 220, 203, .35); color: var(--paper);
}
.section--testimonials .carousel__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.section--testimonials .carousel__dots button { background: rgba(226, 220, 203, .25); }
.section--testimonials .carousel__dots button.is-active { background: var(--gold); }

/* ---- CONTACT (deep emerald block) ---- */
.section--contact .display,
.section--contact .contact__copy p,
.section--contact .contact__lines b { color: var(--paper); }
.section--contact .eyebrow { color: rgba(226, 220, 203, .6); }
.section--contact .eyebrow span:first-child { color: var(--gold); }
.section--contact .eyebrow::before { background: var(--gold); }
.section--contact .display em { color: var(--gold); }
.section--contact .contact__lines span { color: rgba(226, 220, 203, .6); }
.section--contact .contact__lines > div { border-top-color: rgba(226, 220, 203, .15); }

/* ---- accent system ---- */
.btn--primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--primary::before { background: var(--ink); }

.footer { background: var(--ink); color: var(--paper); }
.footer__col span:first-child { color: var(--gold); }

/* hero accents */
.hero__title em, .hero__title .accent { color: var(--gold-deep); }
.hero__rail-line { background: var(--emerald); }
.hero__year { color: var(--emerald); }
.hero__time { color: var(--gold-deep); }

/* display italic accents */
.display em { color: var(--emerald); }

/* eyebrow */
.eyebrow span:first-child { color: var(--gold-deep); }
.eyebrow::before { background: var(--gold); }

/* nav */
.nav.is-scrolled { background: rgba(216, 212, 196, .88); }
.nav__user:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.nav__links a::after { background: var(--gold); }

/* about */
.pillar__num { color: var(--emerald); }
.about__pull {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, transparent, rgba(196, 118, 58, .08));
}
.about__pull-mark { color: var(--gold); }
.about__pull:hover { border-left-color: var(--emerald); }
.abs { background: var(--paper); }
.abs:hover { background: var(--bg); }
.about__stats { background: var(--line); border-color: var(--line); }

/* recognition */
.rec i { color: var(--gold-deep); }
.recognition__list .rec::after { background: var(--emerald); }

/* kinetic divider — clay band */
.kinetic { background: var(--gold); border-color: var(--gold-deep); }
.kinetic__row { color: var(--ink); }
.kinetic__row i { color: var(--paper); }
.kinetic__star { color: var(--paper); }

/* marquee — deep ink */
.marquee { background: var(--emerald-deep); color: var(--paper); border-color: var(--emerald-deep); }
.marquee__dot { color: var(--gold); }

/* filters */
.filters { background: var(--paper); border-color: var(--line); }
.filter.is-active { background: var(--ink); color: var(--paper); }

/* projects */
.project { background: var(--paper); }
.project__year { color: var(--gold-deep); }
.project__index { background: rgba(31, 45, 42, .85); color: var(--paper); }
.project__tags span { background: var(--paper); border-color: var(--line); }
.project__media::after { background: var(--bg-2); }

/* elements grid */
.elements { background: var(--line); border-color: var(--line); }
.element { background: var(--paper); }
.element:hover { background: var(--bg); }
.element__num { color: var(--gold); }

/* articles */
.article__cat { color: var(--gold-deep); }
.story__tag { color: var(--gold-deep); }

/* ratings */
.ratings__stars-static, .rate-stars span.is-on { color: var(--gold); }

/* contact lock + form panel */
.contact__form-wrap, .careers__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.contact__lock { background: rgba(226, 220, 203, .96); }
.contact__lock svg { color: var(--emerald); }
.careers__open li:hover { color: var(--gold-deep); }

/* fab */
.fab__main { background: var(--gold); color: var(--ink); }
.fab__main:hover { background: var(--ink); color: var(--paper); }
.fab__item { background: var(--paper); color: var(--ink); }

/* modal */
.modal__card { background: var(--paper); border-color: var(--line); }
.modal__eyebrow { color: var(--gold-deep); }
.modal__success { color: var(--emerald); }
.otp-row input { background: var(--bg); }
.otp-row input:focus { background: var(--paper); border-color: var(--ink); }

/* watermark numerals */
.section--about::before, .section--projects::before,
.section--articles::before, .section--community::before {
  color: var(--emerald); opacity: .08;
}

/* form focus */
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus,
.careers__form input:focus, .careers__form select:focus, .careers__form textarea:focus,
.modal__label input:focus, .phone-row input:focus { border-bottom-color: var(--gold); }

/* hero scroll bar */
.hero__scroll-line::after { background: var(--gold); }
.dot { background: var(--gold); }
.loader__dot { color: var(--gold); }

/* dark-section form fields (contact) */
.section--contact .contact__form input,
.section--contact .contact__form select,
.section--contact .contact__form textarea { color: var(--ink); }

/* =========================================================
   COSMOS LAYER — galaxy theme
   ========================================================= */

/* fix: nav clipping the text */
.nav__links a {
  overflow: visible;
  height: auto;
  color: var(--ink-2);
}
.nav__links a:hover { color: var(--gold); }
.nav__links a span { transition: color .3s; }
.nav__links a:hover span { transform: none; color: var(--gold); }
.nav__links a span::after { display: none; }

/* nebula gradient body */
body {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(157, 127, 216, .35), transparent 50%),
    radial-gradient(ellipse at 85% 30%, rgba(217, 122, 171, .25), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(93, 123, 179, .3), transparent 50%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
}

/* star field overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,.4), transparent),
    radial-gradient(2px 2px at 70% 25%, rgba(245,184,216,.6), transparent),
    radial-gradient(1px 1px at 45% 45%, rgba(196,168,232,.7), transparent);
  background-size: 100% 100%;
  opacity: .7;
}

/* sections — varied nebula tones, no plain gaps */
.section--about       { background: var(--bg-2); }
.section--projects    { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 100%); }
.section--interiors   { background: var(--bg-3); }
.section--elements    { background: var(--bg-2); }
.section--community   { background: var(--bg); }
.section--testimonials{ background: linear-gradient(180deg, var(--bg-3), var(--plum)); }
.section--ratings     { background: var(--bg-2); }
.section--articles    { background: linear-gradient(180deg, var(--plum) 0%, var(--bg-3) 100%); }
.section--careers     { background: var(--bg-2); }
.section--contact     { background: linear-gradient(180deg, var(--bg-3), var(--bg)); }

/* hero veil */
.hero__bg-veil {
  background:
    linear-gradient(180deg,
      rgba(26, 29, 58, .55) 0%,
      rgba(26, 29, 58, .25) 30%,
      rgba(26, 29, 58, .65) 75%,
      var(--bg) 100%);
}

/* hero text colors */
.hero__title em, .hero__title .accent { color: var(--gold); font-style: italic; }
.hero__lede { color: var(--ink-2); }
.hero__meta, .hero__rail { color: var(--ink-2); }
.hero__rail-num { color: var(--gold); }
.hero__rail-line { background: var(--sky); }
.hero__year { color: var(--sky); }
.hero__time { color: var(--gold); }
.hero__stat b { color: var(--ink); }
.hero__stat span { color: var(--muted); }
.hero__scroll-text { color: var(--ink-2); }
.hero__scroll-line { background: var(--ink-2); }
.hero__scroll-line::after { background: var(--gold); }
.dot { background: var(--gold); }
.hero__foot { border-top-color: var(--line); }
.hero__stat { border-left-color: var(--line); }

/* loader — dark */
.loader { background: var(--bg); }
.loader__mark { color: var(--ink); }
.loader__dot { color: var(--gold); }
.loader__line { background: var(--line); }
.loader__progress { background: var(--gold); }
.loader__text { color: var(--muted); }

/* nav */
.nav.is-scrolled {
  background: rgba(26, 29, 58, .85);
  border-bottom-color: var(--line);
}
.nav__logo-mark { color: var(--ink); }
.nav__logo-sub { color: var(--muted); }
.nav__user { color: var(--ink); border-color: var(--line); }
.nav__user:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.nav__burger span { background: var(--ink); }

/* eyebrow + display */
.eyebrow { color: var(--muted); }
.eyebrow span:first-child { color: var(--gold); }
.eyebrow::before { background: var(--gold); }
.display { color: var(--ink); }
.display em { color: var(--gold); }

/* about */
.about__body p { color: var(--ink-2); }
.about__body em { color: var(--ink); }
.pillar__num { color: var(--sky); }
.pillar p { color: var(--ink-2); }
.about__pull {
  border-left: 3px solid var(--gold-deep);
  background: linear-gradient(180deg, transparent, rgba(217, 122, 171, .12));
}
.about__pull p { color: var(--ink); }
.about__pull cite { color: var(--muted); }
.about__pull-mark { color: var(--gold); }
.about__pull:hover { border-left-color: var(--sky); }
.about__pull-mark::before { content: ''; }
.about__plate figcaption { color: var(--muted); }

/* about stats */
.abs { background: var(--paper); }
.abs:hover { background: var(--bg-3); }
.abs b { color: var(--ink); }
.abs span { color: var(--muted); }
.about__stats { background: var(--line); border-color: var(--line); }
.about__pillars { border-top-color: var(--line); }

/* recognition */
.recognition { border-color: var(--line); }
.recognition__label { color: var(--muted); }
.rec { color: var(--ink-2); }
.rec i { color: var(--gold); }
.rec:hover { color: var(--ink); }
.recognition__list .rec::after { background: var(--gold); }

/* kinetic divider — nebula */
.kinetic {
  background: linear-gradient(90deg, var(--bg-3), var(--plum), var(--bg-3));
  border-color: var(--line);
}
.kinetic__row { color: var(--ink); }
.kinetic__row i { color: var(--gold); font-style: italic; }
.kinetic__star { color: var(--sky); }

/* marquee — deep navy */
.marquee {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}
.marquee__dot { color: var(--gold); }

/* filters */
.filters { background: rgba(244, 236, 255, .06); border-color: var(--line); }
.filter { color: var(--muted); }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--gold); color: var(--bg); }

/* projects */
.project { background: var(--paper); }
.project__title { color: var(--ink); }
.project__meta { color: var(--muted); }
.project__year { color: var(--gold); font-style: italic; }
.project__tags span { background: rgba(244, 236, 255, .08); border-color: var(--line); color: var(--ink-2); }
.project__index { background: rgba(245, 184, 216, .9); color: var(--bg); }
.project__media::after { background: var(--bg-2); }
.project__view { background: var(--gold) !important; color: var(--bg); }

/* interiors / community / story tags */
.int figcaption { color: #fff; }
.story__tag { color: var(--gold); }
.story__body h3 { color: var(--ink); }
.story__body p { color: var(--ink-2); }

/* elements */
.elements { background: var(--line); border-color: var(--line); }
.element { background: var(--paper); }
.element:hover { background: var(--bg-3); }
.element__num { color: var(--gold); }
.element h3 { color: var(--ink); }
.element p { color: var(--ink-2); }

/* testimonials */
.testi__quote { color: var(--ink); }
.testi__quote::before, .testi__quote::after { color: var(--gold); }
.testi__name { color: var(--ink); }
.testi__role { color: var(--gold); }
.carousel__nav { border-color: var(--ink-2); color: var(--ink); }
.carousel__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.carousel__dots button { background: var(--line); }
.carousel__dots button.is-active { background: var(--gold); }
.section__sub { color: var(--ink-2); }

/* ratings */
.ratings__display { border-color: var(--line); }
.ratings__num { color: var(--ink); }
.ratings__stars-static { color: var(--gold); }
.ratings__count { color: var(--muted); }
.ratings__give { border-left-color: var(--line); }
.ratings__prompt { color: var(--ink); }
.rate-stars { color: var(--line); }
.rate-stars span.is-on { color: var(--gold); }
.ratings__note { color: var(--muted); }

/* articles */
.article__title { color: var(--ink); }
.article__cat { color: var(--gold); }
.article__excerpt { color: var(--ink-2); }
.article__meta { color: var(--muted); }
.article__media { background: var(--bg-3); }

/* careers */
.careers__copy p { color: var(--ink-2); }
.careers__open { border-top-color: var(--line); }
.careers__open li {
  border-bottom-color: var(--line);
  color: var(--ink);
}
.careers__open li:hover { color: var(--gold); }
.careers__open li span:last-child { color: var(--muted); }
.careers__form, .contact__form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.careers__form h3 { color: var(--ink); }
.careers__form label > span,
.contact__form label > span { color: var(--muted); }
.careers__form input, .careers__form select, .careers__form textarea,
.contact__form input, .contact__form select, .contact__form textarea {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.careers__form input:focus, .careers__form select:focus, .careers__form textarea:focus,
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { border-bottom-color: var(--gold); }
.careers__form select option { background: var(--bg-2); color: var(--ink); }
.contact__form select option { background: var(--bg-2); color: var(--ink); }
.careers__file-box { color: var(--muted); border-color: var(--line); }
.careers__file-box:hover { border-color: var(--gold); background: rgba(245, 184, 216, .05); }
.contact__form input[readonly] { color: var(--muted); }

/* contact */
.contact__copy p { color: var(--ink-2); }
.contact__lines > div { border-top-color: var(--line); }
.contact__lines span { color: var(--muted); }
.contact__lines b { color: var(--ink); }
.contact__lock {
  background: rgba(42, 45, 82, .94);
}
.contact__lock svg { color: var(--gold); }
.contact__lock h3 { color: var(--ink); }
.contact__lock p { color: var(--ink-2); }

/* buttons */
.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.btn--primary:hover { background: var(--sky); border-color: var(--sky); color: var(--bg); }
.btn--primary::before { background: var(--sky); }
.btn--ghost { color: var(--ink); border-color: var(--ink-2); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--ghost::before { background: var(--ink); }

/* fab */
.fab__main { background: var(--gold); color: var(--bg); }
.fab__main:hover { background: var(--sky); }
.fab__item { background: var(--paper); color: var(--gold); }

/* modal */
.modal__veil { background: rgba(10, 12, 30, .75); }
.modal__card {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.modal__close { border-color: var(--line); color: var(--ink); }
.modal__close:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.modal__title { color: var(--ink); }
.modal__sub { color: var(--ink-2); }
.modal__sub b { color: var(--ink); }
.modal__eyebrow { color: var(--gold); }
.modal__fineprint { color: var(--muted); }
.modal__label span { color: var(--muted); }
.modal__label input { color: var(--ink); border-bottom-color: var(--line); }
.modal__label input:focus { border-bottom-color: var(--gold); }
.modal__success { color: var(--gold); }
.auth-link { color: var(--ink-2); }
.auth-link:hover { color: var(--gold); }
.phone-row { border-bottom-color: var(--line); }
.phone-row__cc { color: var(--muted); border-right-color: var(--line); }
.phone-row input { color: var(--ink); }
.phone-row input:focus { color: var(--ink); }
.otp-row input { background: var(--bg-2); border-color: var(--line); color: var(--ink); }
.otp-row input:focus { border-color: var(--gold); background: var(--bg-3); }
.otp-hint { color: var(--muted); }
.otp-hint b { color: var(--gold); }

/* watermark numerals */
.section--about::before, .section--projects::before,
.section--articles::before, .section--community::before {
  color: var(--gold);
  opacity: .08;
}

/* footer */
.footer { background: #0d1028; color: var(--ink); border-top: 1px solid var(--line); }
.footer__grid { border-bottom-color: var(--line); }
.footer__brand p { color: rgba(244, 236, 255, .6); }
.footer__col span:first-child { color: var(--gold); }
.footer__col a { color: rgba(244, 236, 255, .7); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { color: rgba(244, 236, 255, .4); }

/* toast */
.toast { background: var(--gold); color: var(--bg); }

/* projects __body adjustments for dark */
.project__body { color: var(--ink); }

/* careers__form form bg adjust for inputs */
.careers__file-box span { color: var(--muted); }

/* community story__media border */
.section--testimonials .display em { color: var(--gold); }

/* careers form select arrow visible on dark */
.careers__form select, .contact__form select { background-color: transparent; }

/* film grain quieter on dark */
body::before { opacity: .04; mix-blend-mode: screen; }

/* =========================================================
   MIDNIGHT ATELIER — overrides for dark luxury
   ========================================================= */

/* kill the cosmos starfield */
body::after { display: none; }
body::before { opacity: .03; mix-blend-mode: screen; }

/* warm gradient body */
body {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(201, 169, 97, .08), transparent 55%),
    radial-gradient(ellipse at 100% 60%, rgba(122, 138, 111, .06), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
}

/* alternating saturated mid-dark sections */
.section--about       { background: var(--bg-2); }
.section--projects    { background: var(--bg); }
.section--interiors   { background: var(--bg-3); }
.section--elements    { background: var(--bg-2); }
.section--community   { background: var(--bg); }
.section--testimonials{ background: linear-gradient(180deg, var(--bg-2), var(--bg-3)); }
.section--ratings     { background: var(--bg); }
.section--articles    { background: var(--bg-2); }
.section--careers     { background: var(--bg-3); }
.section--contact     { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

/* hero veil */
.hero__bg-veil {
  background: linear-gradient(180deg,
    rgba(15, 16, 17, .55) 0%,
    rgba(15, 16, 17, .25) 30%,
    rgba(15, 16, 17, .8) 75%,
    var(--bg) 100%);
}

/* hero text */
.hero__title { color: var(--ink); }
.hero__title em, .hero__title .accent { color: var(--gold); font-style: italic; }
.hero__lede { color: var(--ink-2); }
.hero__meta { color: var(--ink-2); }
.hero__rail { color: var(--ink-2); }
.hero__rail-num { color: var(--gold); }
.hero__rail-line { background: var(--gold); }
.hero__year { color: var(--gold); }
.hero__time { color: var(--gold); }
.hero__stat b { color: var(--ink); }
.hero__stat span { color: var(--muted); }
.hero__scroll-text { color: var(--ink-2); }
.hero__scroll-line { background: var(--ink-2); }
.hero__scroll-line::after { background: var(--gold); }
.dot { background: var(--gold); }
.hero__foot { border-top-color: var(--line); }
.hero__stat { border-left-color: var(--line); }

/* loader */
.loader { background: var(--bg); }
.loader__mark { color: var(--ink); }
.loader__dot { color: var(--gold); }
.loader__line { background: var(--line); }
.loader__progress { background: var(--gold); }
.loader__text { color: var(--muted); }

/* nav */
.nav.is-scrolled {
  background: rgba(15, 16, 17, .88);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__logo-mark { color: var(--ink); }
.nav__logo-sub { color: var(--gold); }
.nav__user { color: var(--ink); border-color: var(--line); }
.nav__user:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.nav__burger span { background: var(--ink); }

/* nav links — clean color hover, no slide-up */
.nav__links a {
  overflow: visible;
  height: auto;
  color: var(--ink-2);
}
.nav__links a:hover { color: var(--gold); }
.nav__links a span { transform: none; transition: color .3s; color: inherit; }
.nav__links a span::after { display: none; }
.nav__links a::after { background: var(--gold); }

/* eyebrow + display */
.eyebrow { color: var(--muted); }
.eyebrow span:first-child { color: var(--gold); font-style: italic; }
.eyebrow::before { background: var(--gold); }
.display { color: var(--ink); }
.display em { color: var(--gold); font-style: italic; }

/* about */
.about__body p { color: var(--ink-2); }
.about__body em { color: var(--ink); }
.about__lead .display em { color: var(--gold); }
.pillar__num { color: var(--gold); }
.pillar p { color: var(--ink-2); }
.about__pull {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, transparent, rgba(201, 169, 97, .08));
}
.about__pull p { color: var(--ink); }
.about__pull cite { color: var(--muted); }
.about__pull-mark { color: var(--gold); }
.about__pull:hover { border-left-color: var(--gold-deep); }
.about__plate figcaption { color: var(--muted); }

/* about stats */
.abs { background: var(--paper); }
.abs:hover { background: var(--bg-3); }
.abs b { color: var(--ink); }
.abs span { color: var(--muted); }
.about__stats { background: var(--line); border-color: var(--line); }
.about__pillars { border-top-color: var(--line); }

/* recognition */
.recognition { border-color: var(--line); }
.recognition__label { color: var(--muted); }
.rec { color: var(--ink-2); opacity: .6; }
.rec:hover { color: var(--ink); opacity: 1; }
.rec i { color: var(--gold); }
.recognition__list .rec::after { background: var(--gold); }

/* kinetic divider */
.kinetic {
  background: var(--bg-3);
  border-color: var(--line);
}
.kinetic__row { color: var(--ink); }
.kinetic__row i { color: var(--gold); }
.kinetic__star { color: var(--gold); }

/* marquee */
.marquee {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.marquee__dot { color: var(--bg); }

/* filters */
.filters { background: var(--paper); border-color: var(--line); }
.filter { color: var(--muted); }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--gold); color: var(--bg); }

/* projects */
.project { background: var(--paper); }
.project__title { color: var(--ink); }
.project__meta { color: var(--muted); }
.project__year { color: var(--gold); font-style: italic; }
.project__tags span {
  background: rgba(244, 237, 224, .04);
  border-color: var(--line);
  color: var(--ink-2);
}
.project__index { background: var(--gold); color: var(--bg); }
.project__media::after { background: var(--bg); }
.project__view { background: var(--gold) !important; color: var(--bg); }

/* interiors / community */
.int figcaption { color: var(--ink); }
.story__tag { color: var(--gold); }
.story__body h3 { color: var(--ink); }
.story__body p { color: var(--ink-2); }

/* elements */
.elements { background: var(--line); border-color: var(--line); }
.element { background: var(--paper); }
.element:hover { background: var(--bg-3); }
.element__num { color: var(--gold); }
.element h3 { color: var(--ink); }
.element p { color: var(--ink-2); }

/* testimonials */
.section__sub { color: var(--ink-2); }
.testi__quote { color: var(--ink); }
.testi__quote::before, .testi__quote::after { color: var(--gold); }
.testi__name { color: var(--ink); }
.testi__role { color: var(--gold); }
.carousel__nav { border-color: var(--ink-2); color: var(--ink); }
.carousel__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.carousel__dots button { background: var(--line); }
.carousel__dots button.is-active { background: var(--gold); }

/* ratings */
.ratings__display { border-color: var(--line); }
.ratings__num { color: var(--ink); }
.ratings__stars-static { color: var(--gold); }
.ratings__count { color: var(--muted); }
.ratings__give { border-left-color: var(--line); }
.ratings__prompt { color: var(--ink); }
.rate-stars { color: var(--line); }
.rate-stars span.is-on { color: var(--gold); }
.ratings__note { color: var(--muted); }

/* articles */
.article__title { color: var(--ink); }
.article__cat { color: var(--gold); }
.article__excerpt { color: var(--ink-2); }
.article__meta { color: var(--muted); }
.article__media { background: var(--bg-3); }

/* careers */
.careers__copy p { color: var(--ink-2); }
.careers__open { border-top-color: var(--line); }
.careers__open li { border-bottom-color: var(--line); color: var(--ink); }
.careers__open li:hover { color: var(--gold); }
.careers__open li span:last-child { color: var(--muted); }
.careers__form, .contact__form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.careers__form h3 { color: var(--ink); }
.careers__form label > span,
.contact__form label > span { color: var(--muted); }
.careers__form input, .careers__form select, .careers__form textarea,
.contact__form input, .contact__form select, .contact__form textarea {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.careers__form input:focus, .careers__form select:focus, .careers__form textarea:focus,
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
  border-bottom-color: var(--gold);
}
.careers__form select option, .contact__form select option {
  background: var(--bg-2);
  color: var(--ink);
}
.careers__file-box { color: var(--muted); border-color: var(--line); }
.careers__file-box:hover { border-color: var(--gold); background: rgba(201, 169, 97, .04); }
.contact__form input[readonly] { color: var(--muted); }

/* contact */
.contact__copy p { color: var(--ink-2); }
.contact__lines > div { border-top-color: var(--line); }
.contact__lines span { color: var(--muted); }
.contact__lines b { color: var(--ink); }
.contact__lock { background: rgba(28, 29, 32, .96); }
.contact__lock svg { color: var(--gold); }
.contact__lock h3 { color: var(--ink); }
.contact__lock p { color: var(--ink-2); }

/* buttons */
.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn--primary::before { background: var(--ink); }
.btn--ghost { color: var(--ink); border-color: var(--ink-2); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--ghost::before { background: var(--ink); }

/* fab */
.fab__main { background: var(--gold); color: var(--bg); }
.fab__main:hover { background: var(--ink); color: var(--bg); }
.fab__item { background: var(--paper); color: var(--gold); }

/* modal */
.modal__veil { background: rgba(0, 0, 0, .8); }
.modal__card {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 60px 120px -20px rgba(0,0,0,.85);
}
.modal__close { border-color: var(--line); color: var(--ink); }
.modal__close:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.modal__title { color: var(--ink); }
.modal__sub { color: var(--ink-2); }
.modal__sub b { color: var(--ink); }
.modal__eyebrow { color: var(--gold); }
.modal__fineprint { color: var(--muted); }
.modal__label span { color: var(--muted); }
.modal__label input { color: var(--ink); border-bottom-color: var(--line); }
.modal__label input:focus { border-bottom-color: var(--gold); }
.modal__success { color: var(--gold); }
.auth-link { color: var(--ink-2); }
.auth-link:hover { color: var(--gold); }
.phone-row { border-bottom-color: var(--line); }
.phone-row__cc { color: var(--muted); border-right-color: var(--line); }
.phone-row input { color: var(--ink); }
.otp-row input {
  background: var(--bg-2);
  border-color: var(--line);
  color: var(--ink);
}
.otp-row input:focus { border-color: var(--gold); background: var(--bg-3); }
.otp-hint { color: var(--muted); }
.otp-hint b { color: var(--gold); }

/* watermark numerals */
.section--about::before, .section--projects::before,
.section--articles::before, .section--community::before {
  color: var(--gold);
  opacity: .06;
}

/* footer */
.footer { background: #08090a; color: var(--ink); border-top: 1px solid var(--line); }
.footer__grid { border-bottom-color: var(--line); }
.footer__brand p { color: rgba(244, 237, 224, .6); }
.footer__col span:first-child { color: var(--gold); }
.footer__col a { color: rgba(244, 237, 224, .7); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { color: rgba(244, 237, 224, .35); }

/* toast */
.toast { background: var(--gold); color: var(--bg); }

/* custom cursor on dark */
.cursor { background: var(--ink); }
.cursor-ring { border-color: var(--ink-2); }
.cursor.is-hover { background: var(--gold); }
.cursor-ring.is-hover { border-color: var(--gold); }

/* glow accent on hero gold elements */
.hero__title em, .hero__title .accent {
  text-shadow: 0 0 60px rgba(201, 169, 97, .25);
}

/* =========================================================
   MAISON BORDEAUX — full premium overrides
   ========================================================= */

body::after { display: none; }
body::before { opacity: .03; mix-blend-mode: screen; }

body {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(201, 152, 95, .07), transparent 55%),
    radial-gradient(ellipse at 100% 50%, rgba(107, 31, 42, .12), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
}

/* sections */
.section--about       { background: #110d0e; }
.section--projects    { background: var(--bg); }
.section--interiors   { background: #1a1112; }
.section--elements    { background: #110d0e; }
.section--community   { background: var(--bg); }
.section--testimonials{ background: linear-gradient(180deg, var(--plum), var(--emerald-deep)); }
.section--ratings     { background: #1a1213; }
.section--articles    { background: #110d0e; }
.section--careers     { background: #1a1213; }
.section--contact     { background: linear-gradient(180deg, var(--emerald-deep), var(--bg)); }

/* hero */
.hero__bg-veil {
  background: linear-gradient(180deg,
    rgba(13, 10, 11, .55), rgba(13, 10, 11, .25) 30%,
    rgba(13, 10, 11, .8) 75%, var(--bg));
}
.hero__title em, .hero__title .accent {
  color: var(--gold);
  text-shadow: 0 0 60px rgba(201, 152, 95, .35);
}
.hero__lede, .hero__meta, .hero__rail { color: var(--ink-2); }
.hero__rail-num, .hero__time, .hero__year { color: var(--gold); }
.hero__rail-line { background: var(--gold); }
.hero__stat b { color: var(--ink); }
.hero__stat span { color: var(--muted); }
.hero__stat { border-left-color: var(--line); }
.hero__foot { border-top-color: var(--line); }
.hero__scroll-text { color: var(--ink-2); }
.hero__scroll-line { background: var(--ink-2); }
.hero__scroll-line::after { background: var(--gold); }
.dot { background: var(--gold); }

/* loader */
.loader { background: var(--bg); }
.loader__mark { color: var(--ink); }
.loader__dot { color: var(--gold); }
.loader__line { background: var(--line); }
.loader__progress { background: var(--gold); }
.loader__text { color: var(--muted); }

/* nav */
.nav.is-scrolled {
  background: rgba(13, 10, 11, .9);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line);
}
.nav__logo-mark { color: var(--ink); }
.nav__logo-sub { color: var(--gold); letter-spacing: .26em; }
.nav__user { color: var(--ink); border-color: var(--line); }
.nav__user:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.nav__burger span { background: var(--ink); }
.nav__links a { overflow: visible; height: auto; color: var(--ink-2); }
.nav__links a:hover { color: var(--gold); }
.nav__links a span { transform: none; color: inherit; }
.nav__links a span::after { display: none; }
.nav__links a::after { background: var(--gold); }

/* eyebrow + display */
.eyebrow { color: var(--muted); }
.eyebrow span:first-child { color: var(--gold); font-style: italic; }
.eyebrow::before { background: var(--gold); }
.display { color: var(--ink); }
.display em { color: var(--gold); font-style: italic; }

/* about */
.about__body p { color: var(--ink-2); }
.about__body em { color: var(--ink); }
.pillar__num { color: var(--gold); }
.pillar p { color: var(--ink-2); }
.about__pull {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, transparent, rgba(201, 152, 95, .08));
}
.about__pull p { color: var(--ink); }
.about__pull cite { color: var(--muted); }
.about__pull-mark { color: var(--gold); }
.about__plate figcaption { color: var(--muted); }
.abs { background: var(--paper); }
.abs:hover { background: var(--bg-3); }
.abs b { color: var(--ink); }
.abs span { color: var(--muted); }
.about__stats { background: var(--line); border-color: var(--line); }
.about__pillars { border-top-color: var(--line); }

/* recognition */
.recognition { border-color: var(--line); }
.recognition__label { color: var(--muted); }
.rec { color: var(--ink-2); opacity: .55; }
.rec:hover { color: var(--gold); opacity: 1; }
.rec i { color: var(--gold); }
.recognition__list .rec::after { background: var(--gold); }

/* ============ STATS STRIP ============ */
.stats-strip {
  padding: 70px 0;
  background: var(--emerald-deep);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(245, 237, 224, .1);
}
.ss-stat {
  background: var(--emerald-deep);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.ss-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.ss-num sup {
  color: var(--gold);
  font-size: .5em;
  vertical-align: super;
}
.ss-label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ss-label i { color: var(--gold); font-style: italic; text-transform: none; letter-spacing: .04em; font-size: 13px; }
@media (max-width: 800px) { .stats-strip__grid { grid-template-columns: 1fr 1fr; } }

/* ============ SERVICES — vertical luxury list ============ */
.services {
  padding: clamp(80px, 12vw, 160px) 0;
  background: #110d0e;
  position: relative;
}
.services .display { margin-bottom: 60px; }
.svc-list { list-style: none; border-top: 1px solid var(--line); }
.svc {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .5s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.svc:hover { padding-left: 30px; }
.svc__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
}
.svc__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 56px);
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.05;
  transition: color .4s, transform .5s cubic-bezier(.2,.8,.2,1);
}
.svc__title i { color: var(--gold); font-style: italic; }
.svc:hover .svc__title { color: var(--gold); }
.svc__arrow {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink-2);
  transition: transform .4s, color .4s;
}
.svc:hover .svc__arrow { color: var(--gold); transform: translateX(8px); }
.svc__preview {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%) scale(.9);
  width: 280px;
  height: 180px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1);
  z-index: 2;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.svc:hover .svc__preview {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}
@media (max-width: 800px) {
  .svc { grid-template-columns: 50px 1fr 30px; gap: 20px; padding: 24px 0; }
  .svc__preview { display: none; }
}

/* ============ BEFORE/AFTER ============ */
.ba {
  margin-bottom: 60px;
}
.ba__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  user-select: none;
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.ba__img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba__img--after { position: absolute; inset: 0; }
.ba__before {
  position: absolute; inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}
.ba__before .ba__img {
  width: 100vw;
  max-width: none;
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  object-fit: cover;
}
.ba__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  z-index: 3;
  cursor: ew-resize;
}
.ba__knob {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  cursor: ew-resize;
}
.ba__label {
  position: absolute;
  top: 16px;
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: rgba(13, 10, 11, .7);
  backdrop-filter: blur(6px);
  color: var(--ink);
  z-index: 4;
}
.ba__label--before { left: 16px; }
.ba__label--after { right: 16px; }
.ba__caption {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* kinetic divider */
.kinetic { background: var(--emerald-deep); border-color: var(--gold); }
.kinetic__row { color: var(--ink); }
.kinetic__row i { color: var(--gold); }
.kinetic__star { color: var(--gold); }

/* marquee */
.marquee { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.marquee__dot { color: var(--bg); }

/* filters */
.filters { background: var(--paper); border-color: var(--line); }
.filter { color: var(--muted); }
.filter:hover { color: var(--ink); }
.filter.is-active { background: var(--gold); color: var(--bg); }

/* projects */
.project { background: var(--paper); }
.project__title { color: var(--ink); }
.project__meta { color: var(--muted); }
.project__year { color: var(--gold); font-style: italic; }
.project__tags span { background: rgba(245, 237, 224, .04); border-color: var(--line); color: var(--ink-2); }
.project__index { background: var(--gold); color: var(--bg); }
.project__media::after { background: var(--bg); }
.project__view { background: var(--gold) !important; color: var(--bg); }

/* interiors */
.int figcaption { color: var(--ink); }
.story__tag { color: var(--gold); }
.story__body h3 { color: var(--ink); }
.story__body p { color: var(--ink-2); }

/* elements */
.elements { background: var(--line); border-color: var(--line); }
.element { background: var(--paper); }
.element:hover { background: var(--bg-3); }
.element__num { color: var(--gold); }
.element h3 { color: var(--ink); }
.element p { color: var(--ink-2); }

/* testimonials (gradient bordeaux) */
.section__sub { color: var(--ink-2); }
.testi__quote { color: var(--ink); }
.testi__quote::before, .testi__quote::after { color: var(--gold); }
.testi__name { color: var(--ink); }
.testi__role { color: var(--gold); }
.carousel__nav { border-color: var(--ink-2); color: var(--ink); }
.carousel__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.carousel__dots button { background: rgba(245, 237, 224, .25); }
.carousel__dots button.is-active { background: var(--gold); }

/* ratings */
.ratings__display { border-color: var(--line); }
.ratings__num { color: var(--ink); }
.ratings__stars-static, .rate-stars span.is-on { color: var(--gold); }
.ratings__count { color: var(--muted); }
.ratings__give { border-left-color: var(--line); }
.ratings__prompt { color: var(--ink); }
.rate-stars { color: var(--line); }
.ratings__note { color: var(--muted); }

/* articles */
.article__title { color: var(--ink); }
.article__cat { color: var(--gold); }
.article__excerpt { color: var(--ink-2); }
.article__meta { color: var(--muted); }
.article__media { background: var(--bg-3); }

/* careers */
.careers__copy p { color: var(--ink-2); }
.careers__open { border-top-color: var(--line); }
.careers__open li { border-bottom-color: var(--line); color: var(--ink); }
.careers__open li:hover { color: var(--gold); }
.careers__open li span:last-child { color: var(--muted); }
.careers__form, .contact__form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.careers__form h3 { color: var(--ink); }
.careers__form label > span, .contact__form label > span { color: var(--muted); }
.careers__form input, .careers__form select, .careers__form textarea,
.contact__form input, .contact__form select, .contact__form textarea {
  color: var(--ink); border-bottom-color: var(--line);
}
.careers__form input:focus, .careers__form select:focus, .careers__form textarea:focus,
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus {
  border-bottom-color: var(--gold);
}
.careers__form select option, .contact__form select option { background: var(--bg-2); color: var(--ink); }
.careers__file-box { color: var(--muted); border-color: var(--line); }
.careers__file-box:hover { border-color: var(--gold); background: rgba(201, 152, 95, .04); }
.contact__form input[readonly] { color: var(--muted); }

/* contact */
.contact__copy p { color: var(--ink-2); }
.contact__lines > div { border-top-color: var(--line); }
.contact__lines span { color: var(--muted); }
.contact__lines b { color: var(--ink); }
.contact__lock { background: rgba(26, 19, 20, .96); }
.contact__lock svg { color: var(--gold); }
.contact__lock h3 { color: var(--ink); }
.contact__lock p { color: var(--ink-2); }

/* buttons */
.btn--primary { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn--primary::before { background: var(--ink); }
.btn--ghost { color: var(--ink); border-color: var(--ink-2); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--ghost::before { background: var(--ink); }

/* fab */
.fab__main { background: var(--gold); color: var(--bg); }
.fab__main:hover { background: var(--ink); color: var(--bg); }
.fab__item { background: var(--paper); color: var(--gold); }

/* modal */
.modal__veil { background: rgba(0, 0, 0, .82); }
.modal__card {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 60px 120px -20px rgba(0,0,0,.85);
}
.modal__close { border-color: var(--line); color: var(--ink); }
.modal__close:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.modal__title { color: var(--ink); }
.modal__sub, .modal__sub b { color: var(--ink-2); }
.modal__sub b { color: var(--ink); }
.modal__eyebrow, .modal__success { color: var(--gold); }
.modal__fineprint { color: var(--muted); }
.modal__label span { color: var(--muted); }
.modal__label input { color: var(--ink); border-bottom-color: var(--line); }
.modal__label input:focus { border-bottom-color: var(--gold); }
.auth-link { color: var(--ink-2); }
.auth-link:hover { color: var(--gold); }
.phone-row { border-bottom-color: var(--line); }
.phone-row__cc { color: var(--muted); border-right-color: var(--line); }
.phone-row input { color: var(--ink); }
.otp-row input { background: var(--bg-2); border-color: var(--line); color: var(--ink); }
.otp-row input:focus { border-color: var(--gold); background: var(--bg-3); }
.otp-hint { color: var(--muted); }
.otp-hint b { color: var(--gold); }

/* watermark numerals */
.section--about::before, .section--projects::before,
.section--articles::before, .section--community::before {
  color: var(--gold); opacity: .06;
}

/* footer */
.footer { background: #07050580; color: var(--ink); border-top: 1px solid var(--line); }
.footer__grid { border-bottom-color: var(--line); }
.footer__brand p { color: rgba(245, 237, 224, .6); }
.footer__col span:first-child { color: var(--gold); }
.footer__col a { color: rgba(245, 237, 224, .7); }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { color: rgba(245, 237, 224, .35); }

/* toast */
.toast { background: var(--gold); color: var(--bg); }

/* cursor */
.cursor { background: var(--ink); }
.cursor-ring { border-color: var(--ink-2); }
.cursor.is-hover { background: var(--gold); }
.cursor-ring.is-hover { border-color: var(--gold); }

/* Fix 1: text contrast on dark bordeaux sections */
.section--testimonials .display,
.section--testimonials .display em,
.section--contact .display,
.section--contact .display em,
.section--contact .contact__copy p,
.section--contact .contact__lines b { color: var(--ink) !important; }
.section--testimonials .display em,
.section--contact .display em { color: var(--gold) !important; }
.section--contact .contact__lines span { color: var(--ink-2); }
.section--contact .eyebrow { color: var(--ink-2); }

/* Fix 2: services clickable + cursor */
.svc { cursor: pointer; }
.svc__title { pointer-events: none; }

/* Fix: interiors section text contrast */
.section--interiors .display,
.section--interiors .section__sub,
.section--interiors .ba__caption { color: var(--ink) !important; }
.section--interiors .display em { color: var(--gold) !important; }
.section--interiors .section__sub { color: var(--ink-2) !important; }
.section--interiors .eyebrow { color: var(--ink-2); }
.section--interiors .ba__caption { color: var(--muted) !important; }

/* ============ HORIZONTAL SCROLL — process ============ */
.hscroll {
  background: linear-gradient(180deg, #110d0e, #0d0a0b);
  position: relative;
  /* total scroll distance — taller = more horizontal travel */
  height: 220vh;
}
.hscroll__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hscroll__head {
  flex-shrink: 0;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 80px var(--pad) 30px;
}
.hscroll__head .display { font-size: clamp(28px, 4vw, 48px); margin-bottom: 0; }
.hscroll__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.hscroll__rail {
  display: flex;
  gap: 32px;
  padding: 0 var(--pad);
  will-change: transform;
}
.hs-card {
  flex: 0 0 clamp(280px, 28vw, 400px);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color .4s, transform .4s;
}
.hs-card:hover { border-color: var(--gold); }
.hs-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}
.hs-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1);
}
.hs-card:hover .hs-card__media img { transform: scale(1.06); }
.hs-card__step {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--bg);
  background: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: .05em;
}
.hs-card__body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.hs-card__phase {
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
}
.hs-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
}
.hs-card__title i { color: var(--gold); font-style: italic; }
.hs-card__text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
}
.hs-card__duration {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hs-card__duration b { color: var(--ink); font-family: var(--serif); font-weight: 400; font-size: 14px; }

/* progress bar at bottom */
.hscroll__progress {
  flex-shrink: 0;
  height: 1px;
  background: var(--line);
  margin: 30px var(--pad) 60px;
  position: relative;
}
.hscroll__progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--gold);
  width: 0%;
  transition: width .15s linear;
}
.hscroll__counter {
  display: flex; justify-content: space-between;
  margin: 12px var(--pad) 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 13px;
}
.hscroll__counter b { color: var(--gold); font-style: normal; font-family: var(--sans); letter-spacing: .1em; }

/* mobile fallback — convert to plain horizontal scroll */
@media (max-width: 800px) {
  .hscroll { height: auto; }
  .hscroll__pin { position: static; height: auto; }
  .hscroll__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 40px;
  }
  .hscroll__viewport::-webkit-scrollbar { display: none; }
  .hs-card { scroll-snap-align: start; flex: 0 0 80vw; }
  .hscroll__progress { display: none; }
}

/* =========================================================
   ADMIN PANEL
   ========================================================= */
.admin {
  position: fixed;
  inset: 0;
  z-index: 99000;
  background: var(--bg);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.admin.is-open { display: flex; }

.admin__head {
  flex-shrink: 0;
  padding: 22px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.admin__brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.01em;
}
.admin__brand span {
  font-style: italic;
  color: var(--gold);
  margin-left: 6px;
  font-size: 16px;
}
.admin__sub {
  display: block;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.admin__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin__btn {
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  transition: all .25s;
}
.admin__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.admin__btn--logout:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); color: var(--ink); }

.admin__login {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.admin__login-card {
  width: 420px;
  max-width: 100%;
  padding: 48px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}
.admin__input {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16px;
  margin: 24px 0;
  outline: none;
  transition: border-color .25s;
}
.admin__input:focus { border-bottom-color: var(--gold); }

.admin__body { flex: 1; overflow-y: auto; padding: 32px 40px 60px; display: none; }
.admin.is-authed .admin__login { display: none; }
.admin.is-authed .admin__body { display: block; }

.admin__tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.admin__tab {
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .25s, border-color .25s;
}
.admin__tab:hover { color: var(--ink); }
.admin__tab.is-active { color: var(--gold); border-bottom-color: var(--gold); }

.admin__pane { display: none; }
.admin__pane.is-active { display: block; }
.admin__pane-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.admin__pane-head h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
}

.admin__list { display: grid; gap: 12px; }
.admin__row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .25s;
}
.admin__row:hover { border-color: var(--gold); }
.admin__row-thumb {
  width: 80px;
  height: 60px;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-3);
}
.admin__row-info b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
}
.admin__row-info span {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
}
.admin__row-actions { display: flex; gap: 8px; }
.admin__action {
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: all .25s;
}
.admin__action:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.admin__action--del:hover { background: var(--emerald-deep); border-color: var(--emerald-deep); color: var(--ink); }

/* lead row */
.lead-row {
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.lead-row b { color: var(--ink); font-family: var(--serif); }
.lead-row .lead-meta { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.lead-row pre { font-family: var(--sans); font-size: 13px; color: var(--ink-2); white-space: pre-wrap; line-height: 1.6; margin-top: 8px; }
.lead-row .lead-wa {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg);
  border-radius: 999px;
}

/* editor */
.editor { padding: 48px; }
.editor h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 28px;
}
.editor label {
  display: block;
  margin-bottom: 22px;
}
.editor label > span {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.editor input, .editor select, .editor textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-family: var(--sans);
  border-radius: 2px;
  transition: border-color .25s;
}
.editor textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.editor input:focus, .editor select:focus, .editor textarea:focus { border-color: var(--gold); outline: none; }
.editor__actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.editor select option { background: var(--bg); color: var(--ink); }

@media (max-width: 700px) {
  .admin__head { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
  .admin__body { padding: 20px; }
  .admin__row { grid-template-columns: 60px 1fr; }
  .admin__row-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .editor { padding: 24px; }
}

/* =========================================================
   TEAM SECTION
   ========================================================= */
.section--team { background: #110d0e; position: relative; }

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team { grid-template-columns: 1fr; gap: 40px; } }

.member {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), border-color .4s, box-shadow .5s;
  overflow: hidden;
  position: relative;
}
.member:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(201,152,95,.3);
}

.member__media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1f1518 0%, #0d0a0b 100%);
}
.member__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;

/* Gowthaman (2nd lead card) — scale down to match Balaji's full-body framing */
.member--lead:nth-of-type(2) .member__media img {
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  background: #0d0a0b;
}
  /* Editorial photo enhancement — warm, slight contrast lift, subtle vignette */
  filter:
    contrast(1.08)
    saturate(.85)
    brightness(1.02)
    sepia(.08);
  transition: transform 1.4s cubic-bezier(.2,.8,.2,1), opacity .8s ease, filter .6s;
}
.member:hover .member__media img {
  transform: scale(1.04);
  filter:
    contrast(1.12)
    saturate(.95)
    brightness(1.05)
    sepia(.04);
}

/* second photo slides in on hover (only for Balaji card) */
.member__media-alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s cubic-bezier(.2,.8,.2,1);
}
.member:hover .member__media-alt { opacity: 1; }

/* warm vignette overlay on photo */
.member__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 50%, rgba(13, 10, 11, .35)),
    linear-gradient(180deg, transparent 60%, rgba(13, 10, 11, .55));
  pointer-events: none;
  z-index: 1;
}

/* gold light leak (top-right) */
.member__media::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(201, 152, 95, .15), transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .8s;
}
.member:hover .member__media::before { opacity: 1; }

.member__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--bg);
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .03em;
}

.member__media--placeholder {
  background: linear-gradient(135deg, #1f1518 0%, #0d0a0b 100%);
}
.member__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
}
.member__placeholder span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}
.member__placeholder svg {
  color: var(--gold);
  opacity: .6;
}

.member__body {
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.member__role {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.member__name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -.015em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
.member__name em {
  font-style: italic;
  color: var(--gold);
}
.member__bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  flex: 1;
}
.member__links {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.member__link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-2);
  transition: all .3s;
}
.member__link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  transform: translateY(-2px);
}

.team__cta {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.team__cta p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-2);
}

.team-block {
  margin-top: 52px;
}
.team-block:first-of-type {
  margin-top: 0;
}
.team-block--staff {
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.team-block__head {
  margin-bottom: 24px;
}
.team-block__head span {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  color: var(--ink);
}

.team--main {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 0;
}
.team--staff {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 0;
}
.team-staff-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: start;
}
.team--staff-half {
  grid-template-columns: 1fr;
  gap: 18px;
}
.team--staff-half .member {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: stretch;
}
.team--staff-half .member__media {
  aspect-ratio: auto;
  min-height: 150px;
}
.team--staff-half .member__body {
  justify-content: center;
}

.member--lead .member__media {
  aspect-ratio: 4 / 5;
}
.member--lead .member__body {
  padding: 28px 30px 32px;
}
.member--lead .member__name {
  font-size: clamp(34px, 4vw, 56px);
}
.member--staff .member__media {
  aspect-ratio: 3 / 4;
}
.member--staff .member__body {
  padding: 18px 18px 20px;
  gap: 8px;
}
.member--staff .member__role {
  font-size: 10px;
  letter-spacing: .18em;
}
.member--staff .member__name {
  font-size: 22px;
}

@media (max-width: 1100px) {
  .team--staff,
  .team--staff-half {
    grid-template-columns: 1fr;
  }
  .team-staff-columns {
    gap: 28px;
  }
}
@media (max-width: 900px) {
  .team--main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-staff-columns {
    grid-template-columns: 1fr;
  }
  .team--staff,
  .team--staff-half {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .team-block {
    margin-top: 42px;
  }
  .team--main,
  .team--staff,
  .team--staff-half {
    grid-template-columns: 1fr;
  }
  .team--staff-half .member {
    grid-template-columns: 1fr;
  }
  .team--staff-half .member__media {
    aspect-ratio: 3 / 4;
    min-height: 0;
  }
  .member--lead .member__name {
    font-size: 36px;
  }
}

/* watermark numeral support */
.section--team { position: relative; }
.section--team::before {
  content: 'II';
  position: absolute;
  top: 80px;
  right: var(--pad);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 1;
  color: var(--gold);
  opacity: .06;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -.03em;
}
.section--team .container { position: relative; z-index: 1; }
@media (max-width: 700px) { .section--team::before { display: none; } }

/* ============================================================
   TEAM — card grid (ported from final-am-architects, re-skinned
   to the studio palette). Supersedes .team-block / .member.
   ============================================================ */
.team-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 32px;
}
.team-divider:first-of-type { margin-top: 0; }
.team-divider__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold);
  white-space: nowrap;
}
.team-divider__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 12px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.founder-card,
.staff-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
}
.founder-card .card-img,
.staff-card .card-img {
  position: relative;
  overflow: hidden;
}
.founder-card .card-img { aspect-ratio: 4 / 5; }
.staff-card .card-img { aspect-ratio: 3 / 4; }

.founder-card img,
.staff-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(.9) contrast(1.02);
  transition: transform .7s cubic-bezier(.2, .7, .3, 1), filter .5s ease;
}
.founder-card:hover img,
.staff-card:hover img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.05);
}

.card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(13, 10, 11, .92) 0%,
    rgba(13, 10, 11, .45) 42%,
    rgba(13, 10, 11, .04) 72%,
    transparent 100%);
  pointer-events: none;
}
.card-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
}
.card-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.15;
  color: var(--ink);
}
.card-role {
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
}
.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(13, 10, 11, .6);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  font-size: 9.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-2);
}

.staff-card .card-caption { padding: 14px; }
.staff-card .card-name { font-size: 15px; line-height: 1.3; }
.staff-card .card-role { font-size: 9px; margin-top: 3px; color: rgba(201, 152, 95, .85); }

@media (max-width: 1100px) { .staff-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  {
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .founders-grid { grid-template-columns: 1fr; }
  .card-caption { padding: 18px; }
  .card-name { font-size: 21px; }
}

/* ============================================================
   STUDIO VIDEOS (ported from final-am-architects)
   ============================================================ */
.section--videos { background: var(--paper); }
.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
/* single clip — don't stretch it across the full width */
.videos-grid--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}
.vid {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
}
.vid__frame {
  position: relative;
  aspect-ratio: 9 / 16;   /* the source footage is portrait — a 16:9 frame cropped ~65% of it away */
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.vid__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vid__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(13, 10, 11, .55), rgba(13, 10, 11, .1));
  transition: opacity .4s ease;
}
.vid.is-playing .vid__overlay { opacity: 0; pointer-events: none; }
.vid__play {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(245, 237, 224, .1);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  color: var(--ink);
  transition: transform .35s cubic-bezier(.2, .7, .3, 1), background .35s ease;
}
.vid__frame:hover .vid__play { transform: scale(1.08); background: var(--gold); color: var(--bg); }
.vid__mute {
  position: absolute;
  right: 14px; bottom: 14px;
  z-index: 3;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(13, 10, 11, .6);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
  color: var(--ink-2);
  opacity: 0;
  transition: opacity .3s ease, color .3s ease;
}
.vid:hover .vid__mute, .vid.is-playing .vid__mute { opacity: 1; }
.vid__mute:hover { color: var(--gold); }
.vid__mute .icon-unmuted { display: none; }
.vid__mute.is-muted .icon-unmuted { display: block; }
.vid__mute.is-muted .icon-muted { display: none; }
.vid__caption {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--line-soft);
}
.vid__title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
}
.vid__sub {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold);
}
@media (max-width: 860px) {
  .videos-grid { grid-template-columns: 1fr; gap: 20px; }
}
