/* =================================================================
   ITX Holdings — Private Investment Group
   Design language: Editorial Luxury · Cream / Navy / Gold
   Typography: Fraunces (display) + Geist (body) + Geist Mono (labels)
   ================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Palette — single warm gray family, navy, gold */
  --navy: #0B1426;
  --navy-2: #152035;
  --navy-3: #1E2A47;
  --gold: #C8902A;
  --gold-soft: #d9a548;
  --gold-deep: #a87320;
  --cream: #F6F2EA;
  --cream-2: #efe9dc;
  --cream-3: #e7e0cf;
  --ink: #0F1828;
  --ink-2: #4a4540;
  --muted: #7A6F5C;
  --line: rgba(15, 24, 40, 0.10);
  --line-2: rgba(15, 24, 40, 0.06);
  --line-gold: rgba(200, 144, 42, 0.22);

  /* Shadows — tinted, soft */
  --shadow-sm: 0 1px 2px rgba(11, 20, 38, 0.04), 0 1px 1px rgba(11, 20, 38, 0.06);
  --shadow-md: 0 4px 16px -4px rgba(11, 20, 38, 0.08), 0 2px 6px rgba(11, 20, 38, 0.04);
  --shadow-lg: 0 24px 60px -24px rgba(11, 20, 38, 0.18), 0 8px 24px -8px rgba(11, 20, 38, 0.08);
  --shadow-glass: 0 6px 24px -8px rgba(11, 20, 38, 0.16), 0 2px 8px rgba(11, 20, 38, 0.06);

  /* Layout */
  --container: 1180px;
  --container-narrow: 920px;
  --pad-x: clamp(20px, 5vw, 56px);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  /* Motion curves */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

/* Film-grain texture (fixed, doesn't reflow) */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.045;
  mix-blend-mode: multiply;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
a:hover { color: var(--gold-soft); }

::selection { background: var(--gold); color: var(--cream); }

/* =================================================================
   Floating glass pill nav
   ================================================================= */
.nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: var(--container);
  background: rgba(246, 242, 234, 0.78);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 14px 10px 22px;
  box-shadow: var(--shadow-glass);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s var(--ease-out);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__brand {
  height: 52px;
  display: flex;
  align-items: center;
  transition: opacity 0.3s var(--ease-out);
}
.nav__brand img { height: 100%; width: auto; }
.nav__brand:hover { opacity: 0.75; }

.nav__links {
  display: flex;
  gap: 4px;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  padding: 8px 14px;
  border-radius: 100px;
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.nav__links a:hover {
  color: var(--navy);
  background: rgba(15, 24, 40, 0.04);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cream);
  background: var(--navy);
  padding: 9px 9px 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--navy);
  transition: all 0.4s var(--ease-spring);
}
.nav__cta::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 100px;
  background: rgba(246, 242, 234, 0.12);
  font-size: 13px;
  line-height: 1;
  transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease-out);
}
.nav__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}
.nav__cta:hover::after {
  background: rgba(11, 20, 38, 0.12);
  transform: translateX(3px);
}
.nav__cta:active { transform: translateY(0) scale(0.98); }

@media (max-width: 760px) {
  .nav { top: 12px; padding: 8px 8px 8px 18px; }
  .nav__links { display: none; }
  .nav__brand { height: 42px; }
  .nav__cta { font-size: 12px; padding: 7px 7px 7px 14px; }
  .nav__cta::after { width: 22px; height: 22px; }
}
@media (max-width: 420px) {
  .nav__cta { font-size: 0; padding: 8px; gap: 0; }
  .nav__cta::after { background: transparent; }
}

/* =================================================================
   Typography system
   ================================================================= */
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  border: 1px solid var(--line-gold);
  border-radius: 100px;
  background: rgba(200, 144, 42, 0.04);
}

.h1, .h2, .h3 {
  font-family: var(--font-display);
  color: var(--navy);
  text-wrap: balance;
}

.h1 {
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.h2 {
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h3 {
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

em.gold {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

/* =================================================================
   Sections
   ================================================================= */
.section {
  padding: clamp(64px, 9vw, 110px) var(--pad-x);
  position: relative;
}
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section__head {
  margin-bottom: clamp(48px, 7vw, 80px);
  max-width: 720px;
}
.section__head .kicker { margin-bottom: 24px; }

/* =================================================================
   HERO — editorial centered with serif drop
   ================================================================= */
.hero {
  padding-top: clamp(120px, 14vh, 160px);
  padding-bottom: clamp(60px, 9vw, 110px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,144,42,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 80% 40% at 20% 0%, rgba(11,20,38,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s 0.1s var(--ease-spring) forwards;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(44px, 7.2vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 auto 28px;
  max-width: 16ch;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 1.1s 0.25s var(--ease-spring) forwards;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.hero__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 58ch;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1.1s 0.4s var(--ease-spring) forwards;
}
.hero__divider {
  width: 64px; height: 1px;
  background: var(--gold);
  margin: 0 auto 56px;
  opacity: 0;
  animation: heroIn 1s 0.5s var(--ease-spring) forwards;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
  max-width: 760px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1.1s 0.6s var(--ease-spring) forwards;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.hero__stat-num .accent {
  color: var(--gold);
  font-style: italic;
}
.hero__stat-lbl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* =================================================================
   ABOUT / THESIS — editorial split
   ================================================================= */
.about {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  border-top: 1px solid var(--line-2);
}
.about__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(64px, 9vw, 96px);
}
.about__title {
  font-family: var(--font-display);
  font-weight: 400;

  font-size: clamp(32px, 4.8vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 24px 0 36px;
  text-wrap: balance;
}
.about__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.about__mark {
  display: flex;
  justify-content: center;
  margin: 0 auto 36px;
  position: relative;
}
.about__mark::before,
.about__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-gold));
}
.about__mark::before { right: calc(50% + 32px); transform: scaleX(-1); }
.about__mark::after  { left:  calc(50% + 32px); }
.about__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.55;
  color: var(--navy);
  max-width: 62ch;
  margin: 0 auto;
}
.about__lead em {
  font-style: italic;
  color: var(--gold);
  font-weight: 600;
}

.about__body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.about__col p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 60ch;
}
.about__col p:last-child { margin-bottom: 0; }
.about__col p strong {
  color: var(--navy);
  font-weight: 600;
}

.about__values {
  display: grid;
  gap: 32px;
}
.value {
  padding-left: 36px;
  position: relative;
  transition: transform 0.4s var(--ease-spring);
}
.value::before {
  content: "";
  position: absolute;
  left: 18px; top: 12px;
  width: 1px; height: calc(100% - 14px);
  background: var(--line);
  transition: background 0.4s var(--ease-out);
}
.value:hover { transform: translateX(2px); }
.value:hover::before { background: var(--gold); }
.value__num {
  position: absolute;
  left: 0; top: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;

  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0;
}
.value__title {
  font-family: var(--font-display);
  font-weight: 600;

  font-size: 19px;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.value__desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.65;
}

@media (max-width: 820px) {
  .about__body { grid-template-columns: 1fr; gap: 48px; }
  .about__mark::before,
  .about__mark::after { width: 48px; }
}

/* =================================================================
   PORTFOLIO — double-bezel cards on navy
   ================================================================= */
.portfolio {
  background: var(--navy);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.portfolio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(200,144,42,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(200,144,42,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.portfolio .section__inner { position: relative; z-index: 1; }
.portfolio .kicker {
  color: var(--gold);
  border-color: var(--line-gold);
  background: rgba(200, 144, 42, 0.06);
}
.portfolio .h2 { color: var(--cream); }
.portfolio .lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.65;
  color: rgba(246,242,234,0.88);
  max-width: 58ch;
  margin-top: 20px;
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(48px, 7vw, 80px);
}

/* Double-bezel: outer shell + inner core */
.holding {
  position: relative;
  background: rgba(246, 242, 234, 0.025);
  border: 1px solid rgba(246, 242, 234, 0.08);
  border-radius: 24px;
  padding: 6px;
  transition: all 0.5s var(--ease-spring);
}
.holding__inner {
  background: var(--navy-2);
  border-radius: 19px;
  padding: 36px 30px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: inset 0 1px 0 rgba(246, 242, 234, 0.04);
  transition: background 0.5s var(--ease-out);
}
.holding:hover {
  border-color: var(--line-gold);
  background: rgba(200, 144, 42, 0.04);
  transform: translateY(-3px);
  box-shadow: 0 32px 60px -24px rgba(0, 0, 0, 0.5);
}
.holding:hover .holding__inner { background: var(--navy-3); }

.holding__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 20px;
}
.holding__name {
  font-family: var(--font-display);
  font-weight: 600;

  font-size: 28px;
  color: var(--cream);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.holding__sector {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.holding__desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(246,242,234,0.88);
  margin-bottom: 32px;
  flex-grow: 1;
}
.holding__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold);
  padding-top: 22px;
  border-top: 1px solid rgba(200, 144, 42, 0.18);
  transition: color 0.3s var(--ease-out);
}
.holding__link::after {
  content: "↗";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 100px;
  background: rgba(200, 144, 42, 0.12);
  font-size: 11px;
  transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease-out);
}
.holding__link:hover { color: var(--gold-soft); }
.holding__link:hover::after {
  background: rgba(200, 144, 42, 0.22);
  transform: translate(2px, -2px);
}

@media (max-width: 900px) {
  .portfolio__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* =================================================================
   LEADERSHIP — double-bezel cards on cream
   ================================================================= */
.leadership {
  background: var(--cream-2);
  border-top: 1px solid var(--line-2);
}
.leadership .section__head {
  text-align: center;
  margin: 0 auto clamp(48px, 7vw, 80px);
}
.leadership__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.leader {
  background: rgba(15, 24, 40, 0.025);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 6px;
  transition: all 0.5s var(--ease-spring);
}
.leader__inner {
  background: var(--cream);
  border-radius: 19px;
  padding: 40px 32px 36px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.leader:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
  box-shadow: 0 32px 60px -24px rgba(11, 20, 38, 0.18);
}

/* Photo: nested concentric rings */
.leader__photo {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 24px;
}
.leader__photo::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,144,42,0.08), transparent 70%);
}
.leader__photo-inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--navy);
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(200,144,42,0.08), 0 12px 32px -10px rgba(11, 20, 38, 0.3);
}
.leader__photo-inner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.leader__name {
  font-family: var(--font-display);
  font-weight: 600;

  font-size: 22px;
  color: var(--navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.leader__role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.leader__bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 36ch;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .leadership__grid { grid-template-columns: 1fr; gap: 16px; max-width: 400px; }
}

/* =================================================================
   CONTACT — refined closing seal
   ================================================================= */
.contact {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(72px, 11vw, 120px) var(--pad-x);
  text-align: center;
  border-top: 1px solid rgba(200,144,42,0.18);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(200,144,42,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.contact__inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.contact .kicker {
  color: var(--gold);
  border-color: var(--line-gold);
  background: rgba(200, 144, 42, 0.06);
  margin-bottom: 22px;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 400;

  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.25;
  color: var(--cream);
  margin: 0 auto 18px;
  letter-spacing: -0.015em;
  max-width: 28ch;
  text-wrap: balance;
}
.contact__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.contact__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(246,242,234,0.88);
  max-width: 50ch;
  margin: 0 auto 32px;
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  background: var(--cream);
  padding: 13px 13px 13px 26px;
  border-radius: 100px;
  border: 1px solid var(--cream);
  transition: all 0.4s var(--ease-spring);
}
.contact__link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 100px;
  background: rgba(11, 20, 38, 0.10);
  font-size: 13px;
  transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease-out);
}
.contact__link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}
.contact__link:hover span {
  background: rgba(11, 20, 38, 0.16);
  transform: translateX(4px);
}
.contact__link:active { transform: translateY(0) scale(0.98); }

.contact__meta {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(246,242,234,0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(246,242,234,0.7);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =================================================================
   Footer
   ================================================================= */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(246,242,234,0.08);
  padding: 32px var(--pad-x);
  color: rgba(246,242,234,0.7);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__inner a {
  color: rgba(246,242,234,0.85);
  transition: color 0.3s var(--ease-out);
}
.footer__inner a:hover { color: var(--gold); }

/* =================================================================
   Contact form page
   ================================================================= */
body.contact-page {
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.contact-page footer { margin-top: auto; }

.cform {
  padding: clamp(140px, 22vh, 200px) var(--pad-x) clamp(72px, 10vw, 100px);
  position: relative;
}
.cform::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(200,144,42,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cform__inner {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cform__title {
  font-family: var(--font-display);
  font-weight: 400;

  font-size: clamp(40px, 6.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 18px 0 18px;
  text-wrap: balance;
}
.cform__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.cform__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;

  font-size: clamp(16px, 1.9vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 56px;
  max-width: 52ch;
}

.cform__form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.cform__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cform__row label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cform__row label .opt {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  opacity: 0.7;
  font-size: 12px;
}
.cform__row input,
.cform__row select,
.cform__row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  padding: 14px 18px;
  border-radius: 10px;
  width: 100%;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.cform__row input::placeholder,
.cform__row textarea::placeholder {
  color: rgba(122,111,92,0.5);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}
.cform__row input:focus,
.cform__row select:focus,
.cform__row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200,144,42,0.10);
}
.cform__row textarea {
  resize: vertical;
  min-height: 140px;
}
.cform__row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%237A6F5C' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.cform__submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: var(--navy);
  border: 1px solid var(--navy);
  padding: 14px 14px 14px 26px;
  border-radius: 100px;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.4s var(--ease-spring);
}
.cform__submit .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 100px;
  background: rgba(246, 242, 234, 0.12);
  font-size: 14px;
  transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease-out);
}
.cform__submit:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-1px);
}
.cform__submit:hover .arrow {
  background: rgba(11, 20, 38, 0.16);
  transform: translateX(3px);
}
.cform__submit:active { transform: translateY(0) scale(0.98); }
.cform__submit:disabled { opacity: 0.5; cursor: wait; }

.cform__status {
  font-family: var(--font-body);
  font-size: 14px;
  margin-top: 14px;
  min-height: 22px;
}
.cform__status--info { color: var(--muted); }
.cform__status--ok {
  color: #166534;
  font-family: var(--font-display);
  font-style: italic;
  padding: 16px 20px;
  background: rgba(22,101,52,0.06);
  border-left: 2px solid #166534;
  border-radius: 4px;
}
.cform__status--err {
  color: #991b1b;
  padding: 16px 20px;
  background: rgba(153,27,27,0.06);
  border-left: 2px solid #991b1b;
  border-radius: 4px;
}

/* =================================================================
   Scroll reveal
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-spring), transform 0.9s var(--ease-spring);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================
   Mobile refinements
   ================================================================= */
@media (max-width: 720px) {
  .section { padding: clamp(64px, 12vw, 100px) var(--pad-x); }
  .hero { padding-top: 110px; padding-bottom: 70px; }
  .hero__divider { margin-bottom: 40px; }
  .hero__stats { grid-template-columns: 1fr; gap: 28px; max-width: 320px; }
  .h2 { font-size: clamp(28px, 8vw, 38px); }
  .holding__inner { padding: 30px 24px 26px; }
  .holding__name { font-size: 24px; }
  .leader__inner { padding: 32px 26px 28px; }
  .contact__title { font-size: 22px; }
  .footer__inner { flex-direction: column; text-align: center; font-size: 10px; }
  .cform { padding: 110px var(--pad-x) 64px; }
  .cform__title { font-size: clamp(34px, 9vw, 48px); }
  .cform__form { gap: 22px; }
  .cform__row input,
  .cform__row select,
  .cform__row textarea { font-size: 16px; }
  .cform__submit { width: 100%; justify-content: center; }
}
