:root {
  /* Core */
  --bg: #0a0a0a;
  --bg2: #060606;
  --text: rgba(245, 245, 244, 0.92);
  --muted: rgba(245, 245, 244, 0.62);
  --muted2: rgba(245, 245, 244, 0.40);
  --line: rgba(255, 255, 255, 0.08);

  /* Quiet luxury palette */
  --gold: #c9a86a;                 /* muted champagne */
  --gold-soft: rgba(201, 168, 106, 0.16);
  --ice: rgba(125, 211, 252, 0.16); /* subtle cold highlight (very low) */

  /* Glass */
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.06);

  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  background:
    radial-gradient(1100px 780px at 50% -10%, var(--gold-soft), transparent 60%),
    radial-gradient(900px 700px at 12% 18%, rgba(255,255,255,0.02), transparent 55%),
    radial-gradient(760px 560px at 88% 16%, var(--ice), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, system-ui, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Background overlays */
.noise-overlay {
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.045"/></svg>');
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.warm-glow {
  position: fixed;
  top: -22%;
  left: 50%;
  transform: translateX(-50%);
  width: 115vw;
  height: 76vh;
  background: radial-gradient(circle at 50% 0%, rgba(201, 168, 106, 0.05) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 42%, rgba(0,0,0,0.60) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: padding 220ms ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.is-scrolled .site-header { padding: 12px 0; }

.header-glass {
  background: rgba(8,8,8,0.62);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding-left: 14px;
  padding-right: 14px;
}

/* Brand */
.brand-group { display: inline-block; text-decoration: none; }
.brand-name {
  font-size: 18px;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.05;
  color: rgba(245,245,244,0.95);
}
.brand-sub {
  margin-top: 6px;
  font-size: 9px;
  color: rgba(245,245,244,0.42);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  font-weight: 800;
}

/* Nav */
.nav-link {
  color: rgba(245,245,244,0.55);
  text-decoration: none;
  transition: color 180ms ease;
}
.nav-link:hover { color: rgba(245,245,244,0.95); }

.nav-pill {
  padding: 0.7rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245,245,244,0.60);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: all 200ms ease;
  border-radius: 999px;
  text-decoration: none;
}
.nav-pill:hover {
  border-color: rgba(201,168,106,0.55);
  color: rgba(245,245,244,0.95);
  background: rgba(255,255,255,0.02);
}

/* Mobile menu */
.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}
.menu-btn:hover {
  border-color: rgba(201,168,106,0.55);
  transform: translateY(-1px);
}
.menu-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(245,245,244,0.85);
}

.mobile-nav-card {
  margin-top: 10px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(8,8,8,0.74);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.mobile-nav-link {
  display: block;
  padding: 12px 10px;
  border-radius: 12px;
  color: rgba(245,245,244,0.78);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 800;
}
.mobile-nav-link:hover {
  background: rgba(255,255,255,0.03);
  color: rgba(245,245,244,0.98);
}

/* Hero */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  color: rgba(201,168,106,0.85);
  font-weight: 900;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(201,168,106,0.62);
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.55rem, 7.2vw, 5.6rem);
  font-weight: 320;
  letter-spacing: -0.055em;
  color: rgba(245,245,244,0.92);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.9vw, 1.25rem);
  color: var(--muted);
  line-height: 1.55;
  max-width: 52ch;
}

/* Links */
.secondary-link {
  color: rgba(245,245,244,0.55);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-decoration: none;
  padding: 14px 0;
  transition: color 180ms ease;
}
.secondary-link:hover { color: rgba(245,245,244,0.95); }

/* Pills */
.subtle-row { display: flex; flex-wrap: wrap; gap: 10px; }
.subtle-pill {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(245,245,244,0.52);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.018);
  padding: 10px 12px;
  border-radius: 999px;
}

/* Labels / Titles */
.section-label {
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.6em;
  color: rgba(201,168,106,0.92);
}

.quote-title {
  font-size: clamp(1.7rem, 4.2vw, 3.2rem);
  color: rgba(245,245,244,0.92);
  letter-spacing: -0.03em;
}

.formula-title {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  letter-spacing: -0.02em;
}

/* Mini title */
.mini-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-weight: 950;
  color: rgba(245,245,244,0.86);
  margin-bottom: 12px;
}

/* Glass cards */
.glass-card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 50px rgba(0,0,0,0.36);
}

/* Metric */
.metric { display: flex; align-items: baseline; gap: 10px; }
.metric-value {
  font-size: 34px;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  color: rgba(245,245,244,0.98);
  letter-spacing: -0.03em;
}
.metric-sub {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245,245,244,0.42);
  font-weight: 900;
}

/* CTA */
.cta-editorial {
  padding: 1.08rem 2.35rem;
  background: rgba(245,245,244,0.92);
  color: #0a0a0a;
  font-weight: 950;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.40);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.cta-editorial:hover {
  background: rgba(201,168,106,0.95);
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
}

/* Portrait - now smaller, premium, mobile-friendly */
.portrait-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.018);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px;
  box-shadow: var(--shadow);
}

.portrait-container {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255,255,255,0.08);

  /* mobile-first: limit height so hero doesn't explode */
  height: min(360px, 42vh);
}

@media (min-width: 1024px) {
  .portrait-container {
    height: 420px;
  }
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  filter: grayscale(1) contrast(1.06) brightness(0.92);
  transform: scale(1.02);
  transition: transform 900ms ease, filter 900ms ease;
}

.portrait-card:hover .portrait-img {
  transform: scale(1.06);
  filter: grayscale(0.88) contrast(1.08) brightness(0.97);
}

.portrait-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.18) 48%, transparent 76%);
}

.portrait-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(520px 380px at 70% 18%, rgba(255,255,255,0.09), transparent 55%);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.meta-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: rgba(245,245,244,0.44);
  font-weight: 950;
  margin-bottom: 8px;
}

.meta-text {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(245,245,244,0.62);
}

/* Physics dropcaps */
.dropcap {
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
  line-height: 1;
  color: rgba(245,245,244,0.18);
}
.dropcap.accent { color: rgba(201,168,106,0.78); }

/* Services */
.service-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.015);
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,106,0.50);
  background: rgba(255,255,255,0.028);
}

.service-card.featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-color: rgba(255,255,255,0.12);
}

.service-kicker {
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: rgba(245,245,244,0.42);
}
.service-kicker.strong { color: rgba(245,245,244,0.75); }

.service-title {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(245,245,244,0.86);
}
.service-title.strong { color: rgba(245,245,244,0.98); }

.service-text {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(245,245,244,0.48);
}
.service-text.strong { color: rgba(245,245,244,0.65); }

/* Footer */
.footer-claim {
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.6em;
  color: rgba(245,245,244,0.32);
  margin-bottom: 32px;
  font-style: italic;
}

.footer-mail {
  font-size: clamp(1.55rem, 6vw, 4.2rem);
  letter-spacing: -0.05em;
  color: rgba(245,245,244,0.66);
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
  display: inline-block;
}
.footer-mail:hover {
  color: rgba(245,245,244,0.95);
  transform: translateY(-1px);
}

.footer-meta {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(245,245,244,0.35);
  font-weight: 900;
}

/* TM */
.tm {
  font-size: 0.48em;
  vertical-align: super;
  margin-left: 2px;
  color: rgba(201,168,106,0.95);
  font-weight: 950;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,168,106,0.22), 0 0 0 1px rgba(201,168,106,0.62) inset;
  border-radius: 12px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .portrait-img,
  .cta-editorial,
  .service-card,
  .menu-btn { transition: none !important; }
}