/* ═══════════════════════════════════════════════
   MOMENTAGE — Global Styles
   more than just moments.
═══════════════════════════════════════════════ */

/* ─── Avenir Next — self-hosted ─── */
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Ultra%20Light.woff2') format('woff2');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Ultra%20Light%20Italic.woff2') format('woff2');
  font-weight: 100; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Thin.woff2') format('woff2');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Thin%20Italic.woff2') format('woff2');
  font-weight: 200; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Light%20Italic.woff2') format('woff2');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Medium%20Italic.woff2') format('woff2');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Demi.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Demi%20Italic.woff2') format('woff2');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Bold%20Italic.woff2') format('woff2');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Heavy.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Avenir Next';
  src: url('assets/Avenir-Next-Font/Avenir%20Next/WOFF2/Avenir%20Next%20Heavy%20Italic.woff2') format('woff2');
  font-weight: 800; font-style: italic; font-display: swap;
}

/* ─── Tokens — Dark (default) ─── */
:root {
  --bg:        #08121F;
  --bg-mid:    #0D1B2E;
  --bg-card:   #112030;
  --bg-raised: #162640;
  --white:     #EEE8DF;
  --white-dim: #B8C2CE;
  --muted:     #627080;
  --border:    rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.13);
  --gold:      #B0BAC8;
  --gold-dim:  rgba(176,186,200,0.18);
  --blue:      #4A8DB5;
  --font:      'Avenir Next', sans-serif;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);
  /* Glass nav */
  --glass-bg:      rgba(11,18,31,0.55);
  --glass-border:  rgba(176,186,200,0.15);
  --glass-shadow:  0 8px 32px rgba(0,0,0,0.45);
  --glass-item:    rgba(176,186,200,0.45);
  --glass-item-h:  rgba(176,186,200,0.9);
  --glass-lamp:    rgba(176,186,200,0.1);
  /* Cinematic toggle */
  --ct-pill:       #18191e;
  --ct-pill-inset: inset 2px 2px 5px rgba(0,0,0,0.7), inset -1px -1px 3px rgba(255,255,255,0.05);
  --ct-thumb:      #2a2b32;
  --ct-thumb-shadow: 2px 2px 6px rgba(0,0,0,0.7), -1px -1px 3px rgba(255,255,255,0.04);
  --ct-thumb-pos:  calc(100% - 33px);
  --ct-sun-color:  rgba(176,186,200,0.35);
  --ct-moon-color: #f5c518;
}

/* ─── Tokens — Light mode ─── */
html.light-mode {
  --bg:        #F5F1EB;
  --bg-mid:    #EDE8DF;
  --bg-card:   #FFFFFF;
  --bg-raised: #F0EBE2;
  --white:     #1A1410;
  --white-dim: #4A4038;
  --muted:     #8A8078;
  --border:    rgba(0,0,0,0.08);
  --border-md: rgba(0,0,0,0.14);
  --gold:      #162640;
  --gold-dim:  rgba(22,38,64,0.12);
  /* Glass nav — light */
  --glass-bg:      rgba(255,255,255,0.65);
  --glass-border:  rgba(22,38,64,0.12);
  --glass-shadow:  0 8px 32px rgba(22,38,64,0.12);
  --glass-item:    rgba(22,38,64,0.45);
  --glass-item-h:  rgba(22,38,64,0.9);
  --glass-lamp:    rgba(22,38,64,0.07);
  /* Cinematic toggle */
  --ct-pill:       #dde1ea;
  --ct-pill-inset: inset 3px 3px 7px rgba(0,0,0,0.12), inset -3px -3px 7px rgba(255,255,255,0.95);
  --ct-thumb:      #ffffff;
  --ct-thumb-shadow: 2px 2px 7px rgba(0,0,0,0.18), -1px -1px 4px rgba(255,255,255,0.9);
  --ct-thumb-pos:  3px;
  --ct-sun-color:  #f59e0b;
  --ct-moon-color: rgba(22,38,64,0.3);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; }
ul { list-style: none; }

/* ─── Typography ─── */
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p  { color: var(--white-dim); line-height: 1.78; }

/* ─── Layout ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
section { position: relative; }

/* ─── Shared atoms ─── */
.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.divider {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 28px;
}
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── Buttons ─── */
.btn {
  display: inline-block;
  padding: 15px 36px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.22s var(--ease);
  cursor: pointer;
}
.btn-light {
  background: var(--white);
  color: var(--bg);
  border: 1px solid var(--white);
}
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--bg); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white-dim);
  border: 1px solid var(--border-md);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: #C8D0DA; border-color: #C8D0DA; transform: translateY(-1px); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.2s, border-color 0.2s;
}
.btn-outline-white:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white svg { transition: transform 0.2s; }
.btn-outline-white:hover svg { transform: translateX(5px); }

/* ─── Scroll reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }


/* ══════════════════════════════════════════════
   INTRO / FILM LOADER
══════════════════════════════════════════════ */

#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #060C14;
  overflow: hidden;
  transform-origin: top center;
  backface-visibility: hidden;
  transition: transform 1.15s cubic-bezier(0.77, 0, 0.175, 1);
  cursor: pointer;
}
#intro.flip-out { transform: perspective(1600px) rotateX(90deg); }

/* Film grain */
.grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: grain 0.12s steps(1) infinite;
}
@keyframes grain {
  0%   { transform: translate(0,0); }
  11%  { transform: translate(-2%,-3%); }
  22%  { transform: translate(3%,1%); }
  33%  { transform: translate(-1%,4%); }
  44%  { transform: translate(2%,-2%); }
  55%  { transform: translate(-3%,3%); }
  66%  { transform: translate(1%,-1%); }
  77%  { transform: translate(-2%,2%); }
  88%  { transform: translate(3%,-3%); }
  100% { transform: translate(-1%,1%); }
}

/* Sprocket strips */
.sprocket {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  background: #04080F;
  border: none;
}
.sprocket.left  { left: 0;  border-right: 1px solid rgba(255,255,255,0.07); }
.sprocket.right { right: 0; border-left: 1px solid rgba(255,255,255,0.07);  }
.sprocket::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 14px,
    rgba(255,255,255,0.08) 14px,
    rgba(255,255,255,0.08) 15px,
    #060C14 15px,
    #060C14 36px,
    rgba(255,255,255,0.08) 36px,
    rgba(255,255,255,0.08) 37px,
    transparent 37px,
    transparent 51px
  );
  background-size: 32px 51px;
  background-position: center;
}
/* Sprocket hole cutouts */
.sprocket::after {
  content: '';
  position: absolute;
  inset: 8px;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 8px,
    #060C14 8px,
    #060C14 26px,
    transparent 26px,
    transparent 51px
  );
  background-size: 100% 51px;
  border-radius: 3px;
}

/* Light leaks */
.leak {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  pointer-events: none;
}
.leak-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(180,110,50,0.55), transparent 65%);
  top: -250px; left: -180px;
  animation: leakA 5s var(--ease) forwards;
  animation-delay: 0.2s;
}
.leak-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(80,140,190,0.4), transparent 65%);
  bottom: -180px; right: -80px;
  animation: leakB 5s var(--ease) forwards;
  animation-delay: 0.7s;
}
.leak-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(210,150,70,0.3), transparent 65%);
  top: 35%; right: 20%;
  animation: leakA 4s var(--ease) forwards;
  animation-delay: 1.1s;
}
@keyframes leakA {
  0%   { opacity: 0; transform: scale(0.5); }
  25%  { opacity: 0.9; }
  75%  { opacity: 0.5; }
  100% { opacity: 0.25; transform: scale(1.15); }
}
@keyframes leakB {
  0%   { opacity: 0; transform: scale(0.4); }
  35%  { opacity: 0.75; }
  100% { opacity: 0.15; transform: scale(1.2); }
}

/* Film vignette */
.intro-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(4,8,16,0.9) 100%);
  pointer-events: none;
}

/* Scratches / flicker lines */
.scratch {
  position: absolute;
  width: 1px;
  background: rgba(255,255,255,0.06);
  animation: scratchAnim 0.25s steps(1) infinite;
  pointer-events: none;
}
.scratch:nth-child(1) { left: 28%; height: 100%; animation-delay: 0s; }
.scratch:nth-child(2) { left: 67%; height: 60%; top: 15%; animation-delay: 0.08s; }
@keyframes scratchAnim {
  0%, 100% { opacity: 0; }
  45%, 55% { opacity: 1; }
}

/* Intro content */
.intro-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}
.intro-logo-wrap {
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards;
  animation-delay: 1.3s;
  text-align: center;
}
.intro-logo-wrap img {
  width: min(280px, 70vw);
  height: auto;
  margin: 0 auto;
  drop-shadow: 0 0 40px rgba(176,186,200,0.3);
  filter: drop-shadow(0 0 40px rgba(176,186,200,0.3));
}
/* Fallback text if no logo image */
.intro-logo-text {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  text-shadow: 0 0 60px rgba(176,186,200,0.3);
}
.intro-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: lowercase;
  color: rgba(238,232,223,0.4);
  margin-top: 10px;
}
.intro-hint {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
  animation-delay: 2.8s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════════
   NAV — Glassmorphism Pill
══════════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: padding 0.3s ease;
}
.site-nav.scrolled { padding: 12px 32px; }

/* Logo */
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text {
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--white);
}

/* ── Glass pill — right-aligned ── */
.glass-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 6px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
  margin-left: auto;
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
/* Hidden lamp div kept in HTML but invisible — no sliding animation */
.glass-lamp { display: none; }

/* Nav items */
.gp-item {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--glass-item);
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.gp-item:hover {
  color: var(--glass-item-h);
  background: rgba(176,186,200,0.08);
}
.gp-item.active {
  color: var(--white);
  background: rgba(176,186,200,0.13);
}
html.light-mode .gp-item:hover  { background: rgba(22,38,64,0.07); }
html.light-mode .gp-item.active { background: rgba(22,38,64,0.1); color: var(--white); }

/* Divider */
.gp-divider {
  width: 1px; height: 20px;
  background: var(--border-md);
  margin: 0 6px;
  flex-shrink: 0;
}

/* ── Cinematic theme toggle ─────────────────── */
.cinematic-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 72px;
  height: 36px;
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  background: var(--ct-pill);
  box-shadow: var(--ct-pill-inset);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Sliding circular thumb */
.ct-thumb {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  top: 3px;
  left: var(--ct-thumb-pos);
  background: var(--ct-thumb);
  box-shadow: var(--ct-thumb-shadow);
  transition: left 0.4s cubic-bezier(0.4,0,0.2,1), background 0.4s ease, box-shadow 0.4s ease;
  z-index: 0;
}

/* Icons */
.ct-icon {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: block;
  transition: color 0.4s ease;
  margin: 0 5px;
}
.ct-sun  { color: var(--ct-sun-color); }
.ct-moon { color: var(--ct-moon-color); }

/* ── Light-leak flash overlay ── */
.theme-flash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
}
.theme-flash.to-light {
  background: radial-gradient(ellipse at 60% 40%, rgba(255,245,220,0.95) 0%, rgba(255,255,255,0.7) 50%, transparent 80%);
}
.theme-flash.to-dark {
  background: radial-gradient(ellipse at 60% 40%, rgba(8,18,31,0.9) 0%, rgba(5,10,20,0.6) 50%, transparent 80%);
}
@keyframes flashBurst {
  0%   { opacity: 0; }
  18%  { opacity: 1; }
  100% { opacity: 0; }
}
.theme-flash.firing {
  animation: flashBurst 0.55s cubic-bezier(0.4,0,0.2,1) forwards;
}

/* Legacy hidden */
.gp-theme-btn { display: none; }

/* CTA */
.nav-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }
html.light-mode .nav-cta:hover { color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }

/* Mobile full-screen nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.6rem; font-weight: 700; color: var(--white); letter-spacing: -0.02em; }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 32px;
  background: none; border: none;
  color: var(--white); font-size: 2rem; line-height: 1;
}
.mobile-theme-row {
  display: flex; align-items: center; gap: 12px;
  margin-top: 8px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.mobile-theme-row button {
  display: flex; align-items: center; gap: 8px;
  background: var(--border); border: none;
  color: var(--white); padding: 8px 16px;
  border-radius: 999px; font-size: 0.8rem; font-weight: 600;
  font-family: var(--font);
}

/* Light mode — body sections */
html.light-mode body { background: var(--bg); color: var(--white); }
html.light-mode .services-section,
html.light-mode .hiw-section,
html.light-mode .founder-section { background: var(--bg); }
html.light-mode .partners-section,
html.light-mode .why-section { background: var(--bg-mid); }
html.light-mode .pricing-section { background: var(--bg); }
html.light-mode .problem-section { background: var(--bg-mid); }
html.light-mode .service-card { background: var(--bg-card); border-color: var(--border); }
html.light-mode .price-card { background: var(--bg-card); border-color: var(--border); }
html.light-mode .price-card.featured { background: var(--bg-mid); }
html.light-mode .site-footer { background: #1a1410; }
html.light-mode .mobile-nav { background: var(--bg); }
html.light-mode h1, html.light-mode h2, html.light-mode h3, html.light-mode h4 { color: var(--white); }
html.light-mode p { color: var(--white-dim); }

/* ── Hero always stays dark — immune to light mode ── */
html.light-mode .hero { background: #08121F; }
html.light-mode .hero .hero-eyebrow { color: #B0BAC8; }
html.light-mode .hero h1,
html.light-mode .hero .hero-heading-md { color: #EEE8DF !important; }
html.light-mode .hero .hero-sub { color: #B8C2CE !important; }
html.light-mode .hero .btn { background: #EEE8DF; color: #08121F; }
html.light-mode .hero .btn:hover { background: #fff; }
html.light-mode .hero .btn-outline-white { color: #EEE8DF; border-color: rgba(238,232,223,0.4); }
html.light-mode .hero .btn-outline-white:hover { background: rgba(238,232,223,0.1); }
html.light-mode .hero .scroll-cue-line { background: rgba(238,232,223,0.3); }
html.light-mode .hero .scroll-cue-text { color: rgba(238,232,223,0.4); }

@media (max-width: 1000px) {
  .glass-pill { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 1000px) {
  .site-nav { padding: 18px 24px; }
}



/* ══════════════════════════════════════════════
   HOME — HERO
══════════════════════════════════════════════ */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 100px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.png') center/cover no-repeat;
  animation: heroZoom 24s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes heroZoom {
  from { transform: scale(1);    background-position: center center; }
  to   { transform: scale(1.07); background-position: center 48%;    }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,18,31,0.15) 0%, rgba(8,18,31,0.5) 50%, rgba(8,18,31,0.95) 100%),
    linear-gradient(100deg, rgba(8,18,31,0.55) 0%, transparent 60%);
}
.hero-heading-md {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards 0.1s;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards 0.25s;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(238,232,223,0.65);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.75;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards 0.4s;
}
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards 0.55s;
}
@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) forwards 1.2s;
}
.scroll-cue-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
.scroll-cue-text {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}


/* ══════════════════════════════════════════════
   HOME — PROBLEM / INTRO COPY
══════════════════════════════════════════════ */

/* ── Problem section — cinematic editorial ── */
.problem-section {
  position: relative;
  padding: 180px 0 160px;
  background: var(--bg);
  overflow: hidden;
}
.problem-floats {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.float-photo {
  position: absolute; opacity: 0;
  filter: grayscale(55%) brightness(0.22);
  border-radius: 2px; overflow: hidden;
  animation: floatUp 20s ease-in-out infinite;
}
.float-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-1 { width: 170px; height: 210px; left: 3%;   bottom: -20%; animation-delay: 0s;  animation-duration: 24s; }
.fp-2 { width: 130px; height: 160px; left: 11%;  bottom: -35%; animation-delay: 5s;  animation-duration: 28s; }
.fp-3 { width: 155px; height: 190px; right: 5%;  bottom: -28%; animation-delay: 2s;  animation-duration: 22s; }
.fp-4 { width: 115px; height: 145px; right: 13%; bottom: -18%; animation-delay: 9s;  animation-duration: 26s; }
.fp-5 { width: 190px; height: 230px; right: 1%;  bottom: -42%; animation-delay: 13s; animation-duration: 30s; }
@keyframes floatUp {
  0%   { transform: translateY(0) rotate(-2deg);     opacity: 0; }
  8%   { opacity: 0.4; }
  92%  { opacity: 0.25; }
  100% { transform: translateY(-115vh) rotate(3deg); opacity: 0; }
}

/* ── Two-column layout ── */
.problem-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 100px;
  align-items: stretch;
}

/* ── Left: Timeline column ── */
.pb-timeline-col {
  position: relative;
  display: flex;
  flex-direction: column;
}
.pb-tl-wrap {
  position: relative;
  display: flex;
  gap: 28px;
  flex: 1;
}

/* Vertical spine */
.pb-tl-spine {
  position: relative;
  width: 1px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
}
.pb-tl-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--gold), rgba(176,186,200,0.4));
  border-radius: 1px;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Steps */
.pb-tl-steps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}
.pb-tl-step {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  transition: opacity 0.4s ease;
  opacity: 0.3;
}
.pb-tl-step.active { opacity: 1; }
.pb-tl-step.passed { opacity: 0.55; }

/* Dot — positioned to sit on the spine */
.pb-tl-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-mid);
  border: 1.5px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin-left: -33px; /* pull back to overlap spine */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}
.pb-tl-step.active .pb-tl-dot {
  background: var(--gold);
  border-color: var(--gold);
  width: 12px; height: 12px;
  margin-left: -34.5px;
  box-shadow: 0 0 0 4px rgba(176,186,200,0.15), 0 0 18px rgba(176,186,200,0.5);
}
.pb-tl-step.passed .pb-tl-dot {
  background: rgba(176,186,200,0.35);
  border-color: rgba(176,186,200,0.5);
}

/* Step text */
.pb-tl-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pb-tl-sub {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-style: italic;
  line-height: 1;
  transition: color 0.4s ease;
}
.pb-tl-label {
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  font-weight: 600;
  color: var(--white-dim);
  letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 0.4s ease;
}
.pb-tl-step.active .pb-tl-sub { color: rgba(176,186,200,0.7); }
.pb-tl-step.active .pb-tl-label { color: var(--white); }

/* ── Right: Copy column ── */
.pb-copy-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Eyebrow + gold line */
.problem-eyebrow {
  display: inline-block;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
}
.problem-gold-line {
  width: 36px; height: 1px;
  background: var(--gold); opacity: 0.65;
  margin-top: -16px;
}

/* Typography — matches .hero-heading-md exactly */
.pb-headline {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--white);
}
.pb-body {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.75; color: var(--white-dim);
  font-weight: 300;
}
.pb-body--truth {
  color: var(--white);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 500;
  line-height: 1.65;
  padding-top: 4px;
  border-top: 1px solid var(--border);
}
.pb-body--mission {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.3vw, 0.98rem);
  font-weight: 300;
  line-height: 1.8;
}

/* Stat block */
.pb-stat {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.pb-stat-num {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  flex-shrink: 0;
}
.pb-stat-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 220px;
}

/* Scroll reveal */
.problem-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.problem-reveal.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .problem-inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 0 24px;
  }
  .pb-timeline-col { order: 2; }
  .pb-copy-col { order: 1; }
}
@media (max-width: 480px) {
  .pb-tl-step { padding: 14px 0; }
  .pb-tl-label { font-size: 0.9rem; }
}


/* ══════════════════════════════════════════════
   HOME — SERVICES
══════════════════════════════════════════════ */

.services-section {
  padding: 130px 0;
  background: var(--bg-mid);
}
.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.service-card {
  background: var(--bg-card);
  padding: 44px 32px 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { background: var(--bg-raised); border-color: var(--border-md); }
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 28px;
  flex-shrink: 0;
}
.service-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 12px; }
.service-card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.75; flex: 1; }
.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
}
.service-card:hover .service-arrow { opacity: 1; }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════
   HOME — FUNERAL HOMES / PARTNERS
══════════════════════════════════════════════ */

.partners-section {
  padding: 130px 0;
  background: var(--bg);
}
.partners-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 88px;
  align-items: center;
}
.partners-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(10%);
}
.partners-copy { }
.partner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.tag {
  padding: 8px 16px;
  border: 1px solid var(--border-md);
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white-dim);
}

@media (max-width: 860px) {
  .partners-inner { grid-template-columns: 1fr; }
  .partners-image img { height: 340px; }
}


/* ══════════════════════════════════════════════
   HOME — HOW IT WORKS
══════════════════════════════════════════════ */

.hiw-section {
  padding: 130px 0;
  background: var(--bg-mid);
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}
.hiw-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 52px 36px 44px;
  position: relative;
}
.step-num {
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold-dim);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 28px;
}
.hiw-step h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 14px; }
.hiw-step p  { font-size: 0.9rem; color: var(--muted); line-height: 1.78; }

@media (max-width: 700px) { .hiw-steps { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════
   HOME — WHY MOMENTAGE
══════════════════════════════════════════════ */

.why-section {
  padding: 130px 0;
  background: var(--bg);
}
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}
.why-header { position: sticky; top: 120px; }
.why-list { display: flex; flex-direction: column; gap: 0; }
.why-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.why-item h4 { font-size: 1rem; color: var(--white); margin-bottom: 8px; font-weight: 700; }
.why-item p  { font-size: 0.88rem; color: var(--muted); line-height: 1.78; }

@media (max-width: 860px) {
  .why-layout { grid-template-columns: 1fr; gap: 48px; }
  .why-header  { position: static; }
}


/* ══════════════════════════════════════════════
   HOME — PRICING
══════════════════════════════════════════════ */

.pricing-section {
  padding: 130px 0;
  background: var(--bg-mid);
}
.pricing-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.pricing-header p { margin-top: 16px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s;
  cursor: pointer;
}
.price-card:hover { border-color: var(--border-md); }
.price-card.featured {
  background: rgba(176,186,200,0.05);
  border-color: rgba(176,186,200,0.3);
}
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 14px;
  white-space: nowrap;
}
.price-tier {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.price-amount sup { font-size: 1rem; font-weight: 600; vertical-align: super; }
.price-amount sub { font-size: 0.85rem; font-weight: 400; color: var(--muted); vertical-align: baseline; }
.price-desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  line-height: 1.65;
}
.price-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 0; flex: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--white-dim);
  line-height: 1.55;
}
.price-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.price-btn {
  display: block;
  text-align: center;
  padding: 14px;
  margin-top: 40px;
  border: 1px solid var(--border-md);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.2s;
  cursor: pointer;
  border-radius: 2px;
}
.price-btn:hover { background: var(--white); color: var(--bg); border-color: var(--white); }
.price-card.featured .price-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.price-card.featured .price-btn:hover { background: #C8D0DA; border-color: #C8D0DA; }

.pricing-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}


/* ══════════════════════════════════════════════
   HOME — FOUNDER
══════════════════════════════════════════════ */

.founder-section {
  padding: 130px 0;
  background: var(--bg);
}
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 88px;
  align-items: center;
}
.founder-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.founder-images img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(12%) contrast(1.04);
}
.founder-images img:last-child { margin-top: 40px; }
.founder-copy {}
.founder-quote {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.6;
  letter-spacing: -0.01em;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  margin: 28px 0 24px;
}
.founder-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 860px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-images { max-width: 380px; }
}


/* ══════════════════════════════════════════════
   HOME — CONTACT STRIP / CTA
══════════════════════════════════════════════ */

.cta-section {
  padding: 120px 0;
  background: var(--bg-mid);
  text-align: center;
}
.cta-section h2 {
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--white);
}
.cta-section > .container > p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto 44px;
}
.cta-email {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 5px;
  transition: color 0.2s;
}
.cta-email:hover { color: var(--white); }


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */

.site-footer {
  background: #050B14;
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
}
.footer-brand-text { font-size: 1rem; font-weight: 800; color: rgba(255,255,255,0.5); margin-bottom: 14px; letter-spacing: -0.02em; }
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 250px; }
.footer-col h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 0.86rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.78rem; color: var(--muted); }
.footer-social { display: flex; gap: 20px; }
.footer-social a { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em; transition: color 0.2s; }
.footer-social a:hover { color: var(--white); }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════
   INNER PAGE — HERO
══════════════════════════════════════════════ */

.page-hero {
  padding: 160px 0 80px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; font-size: clamp(2.2rem, 4.5vw, 4rem); }
.page-hero p { font-size: 1.05rem; color: var(--muted); max-width: 540px; line-height: 1.78; }

/* Inner page sections */
.inner-section { padding: 100px 0; }
.inner-section.alt { background: var(--bg-mid); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col.reverse { }
.two-col img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }

/* Packages grid (inner pages) */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 56px;
}
.pkg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 44px 32px;
}
.pkg-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 14px; }
.pkg-card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.78; }
.pkg-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  margin-top: 28px;
}

/* Features table */
.feature-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--white-dim);
}
.feature-row:first-child { border-top: 1px solid var(--border); }
.feature-check { color: var(--gold); font-size: 1rem; }


/* ══════════════════════════════════════════════
   CONTACT / FORM PAGE
══════════════════════════════════════════════ */

.contact-section { padding: 80px 0 120px; background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 88px;
}
.contact-info h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 16px; }
.contact-info > p { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 48px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--white-dim);
}
.contact-detail svg { color: var(--gold); flex-shrink: 0; width: 18px; height: 18px; }

/* Form */
.form-group { margin-bottom: 20px; }
label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
input, textarea, select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: 2px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.65; }
textarea { min-height: 130px; resize: vertical; }
select option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }


/* ══════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════ */

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 44px 32px;
}
.value-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 12px; }
.value-card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.78; }

@media (max-width: 768px) { .about-values { grid-template-columns: 1fr; } }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 56px;
  max-width: 700px;
}
.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(10%);
  margin-bottom: 20px;
}
.team-card h4 { font-size: 1.05rem; color: var(--white); margin-bottom: 4px; }
.team-card p  { font-size: 0.82rem; color: var(--muted); }


/* ══════════════════════════════════════════════
   MISC UTILITY
══════════════════════════════════════════════ */

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 28px; }
.mt-lg { margin-top: 48px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 28px; }

/* Wide decorative line */
.section-rule { width: 100%; height: 1px; background: var(--border); margin: 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: 0.4; }
