/* ═══════════════════════════════════════════════════════════════
   CHINMAY INFOSEC — DESIGN SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --bg:           #080608;
  --surface:      #0F0D13;
  --surface-2:    #16131C;
  --surface-3:    #1E1A26;
  --gold:         #C8902A;
  --gold-light:   #E2AF4A;
  --gold-dim:     rgba(200, 144, 42, 0.10);
  --gold-border:  rgba(200, 144, 42, 0.22);
  --plum:         #6B3557;
  --plum-light:   #8B4A72;
  --ivory:        #F0EAE2;
  --ivory-dim:    rgba(240, 234, 226, 0.55);
  --muted:        #4A4455;
  --border:       #1A1724;
  --border-light: #252030;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Base ───────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--ivory);
  font-family: 'Figtree', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.15;
}
h1 { font-size: clamp(3rem, 5.5vw, 5.2rem); }
h2 { font-size: clamp(2.6rem, 4.5vw, 4.4rem); }
h3 { font-size: 1.85rem; }
em { font-style: italic; color: var(--gold); }
p { line-height: 1.75; }
a { color: inherit; text-decoration: none; }

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; }
.section { padding: 80px 2rem; }
.page { display: none; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes rotateReverse {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  padding: 13px 28px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 200ms, transform 200ms;
  text-decoration: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--border-light);
  padding: 13px 28px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 200ms, color 200ms, background 200ms, transform 200ms;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--gold-border);
  color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  padding: 10px 20px;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 200ms;
  text-decoration: none;
}
.btn-ghost:hover { background: var(--gold-dim); }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
#main-nav {
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 6, 8, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: border-color 200ms;
}
#main-nav.scrolled { border-color: var(--border-light); }

.nav-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

/* Logo */
.nav-logo { display: flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.nav-logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.01em;
}
.nav-logo-name span { color: var(--gold); }

/* Right group: links + buttons together */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  color: var(--ivory-dim);
  cursor: pointer;
  transition: color 200ms;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}
.nav-cag-link {
  font-family: 'Figtree', sans-serif;
  font-size: 11px;
  color: var(--muted);
  transition: color 200ms;
  text-decoration: none;
}
.nav-cag-link:hover { color: var(--ivory-dim); }

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.h-line {
  width: 22px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 300ms, opacity 300ms;
  display: block;
}
#hamburger.active .h-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#hamburger.active .h-line:nth-child(2) { opacity: 0; }
#hamburger.active .h-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile Full-Screen Overlay ─────────────────────────────── */
#mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms;
}
#mobile-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.mobile-nav-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  color: var(--ivory-dim);
  cursor: pointer;
  transition: color 200ms;
  background: none;
  border: none;
  padding: 0;
}
.mobile-nav-link:hover { color: var(--gold); }

.mobile-overlay-footer {
  position: absolute;
  bottom: 2.5rem;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.14em;
}

/* ═══════════════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────────── */
.hero-section {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 80px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-section-wrap {
  position: relative;
  overflow: hidden;
}
/* Ambient blobs */
.hero-section-wrap::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 90%;
  background: radial-gradient(ellipse, rgba(107, 53, 87, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-section-wrap::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(200, 144, 42, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-section { z-index: 1; }

.hero-prebadge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-h1 { margin-bottom: 1.5rem; }
.line { overflow: hidden; line-height: 1.2; }
.line .inner {
  display: block;
  animation: slideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.line:nth-child(1) .inner { animation-delay: 0.1s; }
.line:nth-child(2) .inner { animation-delay: 0.2s; }
.line:nth-child(3) .inner { animation-delay: 0.3s; }

.hero-sub {
  font-size: 1.2rem;
  color: var(--ivory-dim);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.75;
  animation: fadeIn 1s ease 0.5s both;
}
.hero-fade { animation: fadeIn 1s ease 0.6s both; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── Scan Ring Visual ───────────────────────────────────────── */
.hero-visual { display: flex; justify-content: center; align-items: center; }

.scan-visual {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
}

.ring {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
}
.ring-outer {
  width: 360px;
  height: 360px;
  border: 1px solid var(--border-light);
  animation: rotate 30s linear infinite;
}
.ring-mid {
  width: 272px;
  height: 272px;
  border: 1px solid var(--gold-border);
  animation: rotateReverse 20s linear infinite;
}
.ring-inner {
  width: 192px;
  height: 192px;
  border: 1px solid rgba(107, 53, 87, 0.3);
  animation: rotate 15s linear infinite;
}

.dot-marker {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  top: -3px;
  left: calc(50% - 3px);
}
.dot-gold     { background: var(--gold); }
.dot-plum     { background: var(--plum-light); }
.dot-gold-lt  { background: var(--gold-light); }

.scan-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 8.5px;
  color: var(--gold);
  text-align: center;
  line-height: 1.4;
  z-index: 2;
}

.callout {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 7px 11px;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: var(--ivory-dim);
  white-space: nowrap;
  z-index: 3;
}
.callout .cg { color: var(--gold); }
.callout-tr { top: 28px;  right: 0px; }
.callout-mr { top: 50%;   right: -8px; transform: translateY(-50%); }
.callout-bl { bottom: 68px; left: 0px; }

/* ── The Reality (Stats) ────────────────────────────────────── */
.reality-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 2rem;
}
.reality-inner { max-width: 1200px; margin: 0 auto; }
.reality-header { text-align: center; margin-bottom: 4rem; }
.reality-header h2 { max-width: 560px; margin: 0 auto; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  padding: 2.5rem 3rem;
  border-right: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 28px;
  background: var(--gold);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}
.stat-text {
  font-size: 15px;
  color: var(--ivory-dim);
  max-width: 240px;
  margin: 0 auto 1rem;
  line-height: 1.65;
}
.stat-source {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--muted);
}

/* ── What We Do (Brief) ─────────────────────────────────────── */
.services-brief { padding: 80px 2rem; }
.services-brief-inner { max-width: 1200px; margin: 0 auto; }

.services-brief-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.services-brief-left { max-width: 640px; }
.services-brief-left h2 { margin-bottom: 1.25rem; }
.services-brief-left p { color: var(--ivory-dim); font-size: 1.0625rem; }

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.service-card-fti { grid-column: 1 / -1; }

.service-card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  padding: 1.75rem;
  cursor: pointer;
  transition: background 250ms ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { background: var(--surface); }

.service-card-fti { border-left: 2px solid var(--plum); }
.service-card-fti::before { display: none; }

.tier-label {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.service-card h3 {
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
  color: var(--ivory);
}
.service-card p { font-size: 14px; color: var(--ivory-dim); line-height: 1.6; margin-bottom: 1.25rem; }

.tier-badge {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  padding: 4px 10px;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tier-badge-plum {
  border-color: rgba(107, 53, 87, 0.35);
  background: rgba(107, 53, 87, 0.1);
  color: var(--plum-light);
}
.tier-badge-free {
  border-color: rgba(107, 53, 87, 0.35);
  background: rgba(107, 53, 87, 0.1);
  color: var(--plum-light);
}

/* ── Why Chinmay InfoSec ────────────────────────────────────── */
.why-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 2rem;
}
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.why-left h2 { margin-bottom: 1.5rem; }
.why-left p { color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; }

.why-items { }
.why-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.why-item h3 { font-size: 1.65rem; margin-bottom: 0.75rem; color: var(--ivory); }
.why-item p { font-size: 14.5px; color: var(--ivory-dim); line-height: 1.7; }

/* ── Founder Brief ──────────────────────────────────────────── */
.founder-brief { padding: 80px 2rem; }
.founder-brief-inner { max-width: 1200px; margin: 0 auto; }
.founder-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
}
.portrait-placeholder {
  width: 190px;
  height: 240px;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
  filter: grayscale(8%) contrast(1.03);
  transition: transform 400ms ease, filter 400ms ease;
}
.portrait-placeholder:hover .founder-photo {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(1.05);
}
.portrait-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--border-light);
  line-height: 1;
  user-select: none;
}
.portrait-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  z-index: 2;
}
.portrait-badge svg { width: 17px; height: 17px; }

.founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.badge {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  border: 1px solid var(--border-light);
  padding: 3px 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.badge-gold {
  border-color: var(--gold-border);
  background: var(--gold-dim);
  color: var(--gold);
}
.founder-bio p { color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 1rem; }
.founder-bio p:last-of-type { margin-bottom: 1.5rem; }
.founder-link {
  color: var(--gold);
  text-decoration: underline;
  font-family: 'Figtree', sans-serif;
  font-size: 13px;
  transition: color 200ms;
}
.founder-link:hover { color: var(--gold-light); }

/* ── Parent Company Callout ─────────────────────────────────── */
.parent-callout-section { padding: 0 2rem 80px; }
.parent-callout-inner { max-width: 1200px; margin: 0 auto; }
.parent-callout {
  border: 1px solid var(--border-light);
  background: var(--surface);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.parent-callout-text .section-label { margin-bottom: 0.75rem; }
.parent-callout-text h3 {
  font-size: 1.9rem;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}
.parent-callout-text p { color: var(--ivory-dim); font-size: 14.5px; line-height: 1.7; }

/* ── CTA Strip ──────────────────────────────────────────────── */
.cta-strip {
  text-align: center;
  padding: 80px 2rem;
}
.cta-strip-inner { max-width: 460px; margin: 0 auto; }
.cta-strip h2 { margin-bottom: 1.25rem; }
.cta-strip p { color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════════════
   SERVICES PAGE
   ═══════════════════════════════════════════════════════════════ */

.services-hero-section {
  padding: 100px 2rem 80px;
  position: relative;
  overflow: hidden;
}
.services-hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 55%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(107, 53, 87, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.services-hero-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 35%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200, 144, 42, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.services-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.services-hero-inner h1 { margin-bottom: 1rem; }
.services-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--ivory-dim);
  margin-bottom: 1.5rem;
}
.services-hero-copy { max-width: 580px; color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; }

/* Tier sections */
.tier-section {
  border-top: 1px solid var(--border);
  padding: 80px 2rem;
}
.tier-section:nth-child(even) { background: var(--surface); }

.tier-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}
.tier-left { position: sticky; top: 90px; }
.tier-left-plum { background: rgba(107, 53, 87, 0.06); padding: 1.5rem; }

.tier-classification {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.tier-left h2 {
  font-size: 2.75rem;
  color: var(--ivory);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}
.tier-tagline {
  font-size: 13.5px;
  color: var(--ivory-dim);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.tier-right { }
.tier-explanation { color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 2rem; }

.who-for-block {
  border-left: 2px solid var(--gold);
  background: var(--surface-2);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.who-for-label {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.who-for-block p { font-size: 14.5px; color: var(--ivory-dim); line-height: 1.65; }

.deliverables-label {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 0.25rem;
}

.deliverables-list { list-style: none; }
.deliverables-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.7rem 0;
  font-size: 15px;
  color: var(--ivory-dim);
  border-bottom: 1px solid rgba(26, 23, 36, 0.5);
  line-height: 1.55;
}
.deliverables-list li .arrow { color: var(--gold); flex-shrink: 0; }

/* Sub-deliverables (Tier 1 named items) */
.sub-deliverables { margin-bottom: 0.5rem; }
.sub-deliverable {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.sub-deliverable:first-child { border-top: 1px solid var(--border); }
.sub-name {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--ivory);
  margin-bottom: 0.35rem;
}
.sub-desc { font-size: 14px; color: var(--ivory-dim); line-height: 1.65; }

/* Problem block (Tier 2) */
.problem-block {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ivory-dim);
  border-left: 2px solid var(--plum);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Threat callout (FTI) */
.threat-callout {
  border-left: 2px solid var(--plum);
  background: rgba(107, 53, 87, 0.07);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
}
.threat-callout-label {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--plum-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.threat-callout p { font-size: 14.5px; color: var(--ivory-dim); line-height: 1.7; }

/* Services CTA strip */
.services-cta {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 80px 2rem;
}
.services-cta h2 { margin-bottom: 1.25rem; }
.services-cta p { color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 2rem; max-width: 460px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════ */
.about-hero { padding: 100px 2rem 80px; }
.about-hero-inner { max-width: 1200px; margin: 0 auto; }
.about-hero-inner h1 { max-width: 780px; margin-bottom: 1.5rem; }
.about-hero-inner > p { max-width: 580px; color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; }

.about-founder {
  padding: 80px 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-founder-inner { max-width: 1200px; margin: 0 auto; }
.about-founder-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
}
.about-founder-content .founder-name { margin-top: 0; }
.bio-closing {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ivory-dim);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* How We Work */
.how-we-work {
  padding: 80px 2rem;
}
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-header { margin-bottom: 3.5rem; }
.how-header h2 { margin-top: 0.5rem; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.principle {
  padding: 2rem 2.5rem 2rem 0;
  border-right: 1px solid var(--border);
}
.principle:last-child { border-right: none; padding-right: 0; }
.principle:not(:first-child) { padding-left: 2.5rem; }
.principle-num {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.principle h3 { font-size: 1.65rem; margin-bottom: 0.75rem; color: var(--ivory); }
.principle p { font-size: 14.5px; color: var(--ivory-dim); line-height: 1.7; }

/* About parent company */
.about-parent {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 2rem;
}
.about-parent-inner { max-width: 1200px; margin: 0 auto; }
.about-parent-inner h2 { max-width: 700px; margin-bottom: 1.25rem; }
.about-parent-inner p { color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; max-width: 680px; margin-bottom: 1rem; }
.about-parent-note { font-size: 13px !important; margin-top: 1.5rem; }
.about-parent-inner .btn-primary { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */
.contact-hero { padding: 100px 2rem 60px; }
.contact-hero-inner { max-width: 1200px; margin: 0 auto; }
.contact-hero-inner h1 { margin-bottom: 1.25rem; }
.contact-hero-inner p { max-width: 580px; color: var(--ivory-dim); font-size: 1.0625rem; line-height: 1.75; }

.contact-body { padding: 0 2rem 80px; }
.contact-body-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-col-head {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}
.contact-col-sub {
  font-size: 14px;
  color: var(--ivory-dim);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

/* Channel links */
.channel-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1.35rem 1.5rem;
  text-decoration: none;
  transition: border-color 200ms, background 200ms;
  margin-bottom: 0.75rem;
}
.channel-link:hover { border-color: var(--gold-border); background: var(--surface-2); }
.channel-link:hover .ch-arrow { color: var(--gold); transform: translateX(3px); }

.ch-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.ch-info { flex: 1; }
.ch-label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ch-value {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: 14.5px;
  color: var(--ivory);
}
.ch-arrow {
  color: var(--muted);
  font-size: 18px;
  transition: color 200ms, transform 200ms;
  flex-shrink: 0;
}

.book-call-box {
  background: rgba(107, 53, 87, 0.08);
  border: 1px solid rgba(107, 53, 87, 0.22);
  padding: 1.5rem;
  margin-top: 2rem;
}
.book-call-label {
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--plum-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.book-call-box p { font-size: 14px; color: var(--ivory-dim); line-height: 1.65; margin-bottom: 0.75rem; }
.book-call-link {
  color: var(--plum-light);
  text-decoration: underline;
  font-size: 12.5px;
  font-family: 'Figtree', sans-serif;
  transition: color 200ms;
}
.book-call-link:hover { color: var(--ivory); }

/* Form */
.form-field { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--ivory);
  padding: 12px 16px;
  font-family: 'Figtree', sans-serif;
  font-size: 14.5px;
  border-radius: 0;
  outline: none;
  transition: border-color 200ms;
  appearance: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--gold); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-textarea { min-height: 120px; resize: vertical; display: block; }

#submit-btn {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 15px;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms;
  margin-bottom: 0.75rem;
}
#submit-btn:hover:not(:disabled) { background: var(--gold-light); }
#submit-btn:disabled { cursor: default; }

.form-note {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.form-error-msg {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: #f87171;
  letter-spacing: 0.06em;
  border: 1px solid rgba(248, 113, 113, 0.25);
  background: rgba(248, 113, 113, 0.06);
  padding: 10px 14px;
  margin-bottom: 0.75rem;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — INTERACTIVE
   ═══════════════════════════════════════════════════════════════ */
.footer-wrap {
  border-top: 1px solid var(--border);
  transition: border-color 300ms;
}
.footer-wrap:hover { border-color: var(--gold-border); }

.footer {
  padding: 3rem 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  width: 100%;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 0.4rem;
  transition: color 200ms;
}
.footer-brand span { color: var(--gold); }
.footer-brand:hover { color: var(--gold-light); }

.footer-tag, .footer-copy {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px;
  color: var(--ivory-dim);
  display: block;
}
.footer-tag { margin-bottom: 0.5rem; }
.footer-copy { margin-top: 0.75rem; }

/* Working hours */
.footer-hours {
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
}
.footer-hours-label {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 5px;
}
.footer-hours-time {
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  color: var(--ivory);
  display: block;
  margin-bottom: 6px;
}
.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
}
.footer-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.footer-status .status-dot.open  { background: #4ade80; animation: pulse 2s infinite; }
.footer-status .status-dot.closed { background: var(--muted); }
.footer-status .status-text.open  { color: #4ade80; }
.footer-status .status-text.closed { color: var(--muted); }

/* Right column */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: flex-end;
  align-items: center;
}
.footer-link {
  font-family: 'Figtree', sans-serif;
  font-size: 13.5px;
  color: var(--ivory-dim);
  text-decoration: none;
  cursor: pointer;
  transition: color 200ms;
  background: none;
  border: none;
  padding: 0;
  position: relative;
}
.footer-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 250ms ease;
}
.footer-link:hover { color: var(--gold); }
.footer-link:hover::after { width: 100%; }

/* Back to top */
.footer-back-top {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--ivory-dim);
  background: none;
  border: 1px solid var(--border-light);
  cursor: pointer;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 200ms, border-color 200ms, background 200ms;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-back-top:hover {
  color: var(--gold);
  border-color: var(--gold-border);
  background: var(--gold-dim);
}

/* Footer divider */
.footer-divider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
}
.footer-divider-line {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .nav-right-group { display: none; }
  #hamburger { display: flex; }
}

@media (max-width: 768px) {
  .section { padding: 48px 1.5rem; }

  /* Hero */
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 1.5rem;
  }
  .hero-visual { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { text-align: center; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem 1.5rem; }
  .stat-item:last-child { border-bottom: none; }

  /* Services grid */
  .services-grid { grid-template-columns: 1fr; }
  .service-card-fti { grid-column: auto; }

  /* Services brief header */
  .services-brief-header { flex-direction: column; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Founder */
  .founder-grid, .about-founder-grid { grid-template-columns: 1fr; }
  .portrait-placeholder { width: 140px; height: 175px; }

  /* Parent callout */
  .parent-callout { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }

  /* Services page */
  .tier-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .tier-left { position: static; }
  .tier-left-plum { padding: 1rem; }

  /* Principles */
  .principles-grid { grid-template-columns: 1fr; }
  .principle { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem 0; }
  .principle:last-child { border-bottom: none; }
  .principle:not(:first-child) { padding-left: 0; }

  /* Contact */
  .contact-body-inner { grid-template-columns: 1fr; gap: 3rem; }

  /* Footer */
  .footer { flex-direction: column; }
  .footer-right { align-items: flex-start; }
  .footer-nav { justify-content: flex-start; }
  .footer-back-top { margin-top: 0; }

  /* Reality */
  .reality-section { padding: 48px 1.5rem; }
  .services-brief, .why-section, .founder-brief,
  .parent-callout-section, .cta-strip { padding: 48px 1.5rem; }
  .about-hero { padding: 60px 1.5rem 48px; }
  .about-founder { padding: 48px 1.5rem; }
  .how-we-work, .about-parent { padding: 48px 1.5rem; }
  .contact-hero { padding: 60px 1.5rem 40px; }
  .contact-body { padding: 0 1.5rem 48px; }
  .services-hero-section { padding: 60px 1.5rem 48px; }
  .tier-section { padding: 48px 1.5rem; }
  .services-cta { padding: 48px 1.5rem; }
}

@media (max-width: 480px) {
  .hero-section { padding: 48px 1.25rem; }
  .nav-inner { padding: 0 1.25rem; }
  .footer { padding: 2.5rem 1.5rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   LOADING SCREEN
   ═══════════════════════════════════════════════════════════════ */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease;
}
#loading-screen.fade-out { opacity: 0; pointer-events: none; }

.loader-inner { text-align: center; }
.loader-brand-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--ivory);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.15s forwards;
}
.loader-brand-text span { color: var(--gold); }

.loader-bar-track {
  width: 180px;
  height: 1px;
  background: var(--border-light);
  margin: 0 auto 1.25rem;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.3s ease 0.3s forwards;
}
.loader-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, var(--plum), var(--gold));
  animation: loaderFill 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}
@keyframes loaderFill { to { width: 100%; } }

.loader-sub {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.4s ease 0.5s forwards;
}
