/* ===================================================
   ELIZAPHAN OGECHI — PORTFOLIO  |  css/site.css
   Unified design system — all pages
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;450;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --black:    oklch(12% 0.02 265);
  --navy-950: oklch(16% 0.06 267);
  --navy-900: oklch(21% 0.09 268);
  --navy-800: oklch(27% 0.13 268);
  --navy-700: oklch(33% 0.14 267);
  --navy-600: oklch(40% 0.15 266);

  --bg:       linear-gradient(180deg, var(--black) 0%, var(--navy-950) 30%, var(--navy-900) 70%, var(--navy-800) 100%);
  --surface:  oklch(24% 0.08 267 / 0.60);
  --surface-solid: oklch(22% 0.08 267);
  --card-bg:  oklch(24% 0.08 267 / 0.50);

  --fg:    oklch(97% 0.01 260);
  --muted: oklch(72% 0.03 262);
  --faint: oklch(55% 0.03 262);

  --border:        oklch(100% 0 0 / 0.10);
  --border-strong: oklch(100% 0 0 / 0.18);

  --accent:        oklch(65% 0.22 45);
  --accent-bright: oklch(72% 0.24 48);
  --accent-hover:  oklch(70% 0.23 46);
  --accent-soft:   oklch(65% 0.22 45 / 0.18);
  --accent-glow:   oklch(65% 0.22 45 / 0.40);

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --section-pad: clamp(64px, 10vw, 130px);
  --wrap-max: 1180px;
  --wrap-px:  clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
}

/* ---------- Reset & Performance ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; }

/* ---------- Animated field background ---------- */
.field {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 100%, var(--navy-800) 0%, var(--navy-900) 35%, var(--navy-950) 65%, var(--black) 85%);
}
.field::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(45% 55% at 85% 15%, var(--accent-soft) 0%, transparent 55%),
    radial-gradient(55% 45% at 10% 85%, oklch(40% 0.15 268 / 0.40) 0%, transparent 60%);
  animation: drift 18s var(--ease) infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.85; }
  100% { transform: translate3d(-3%, -2%, 0) scale(1.08); opacity: 1; }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--navy-800); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--wrap-px); }
section { position: relative; }
.section-pad { padding-block: var(--section-pad); }

/* ---------- Grid ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .g-2, .g-3 { grid-template-columns: 1fr; } }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--accent-bright);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: var(--accent); display: inline-block;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; color: var(--faint); }
strong { font-weight: 600; color: var(--fg); }

/* ---------- Tag ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: oklch(100% 0 0 / 0.03);
}

/* ---------- Chip (icon box) ---------- */
.chip {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent-bright);
  border: 1px solid oklch(68% 0.19 45 / 0.25);
}
.chip svg { width: 22px; height: 22px; stroke-width: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; transition: transform .22s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--black); box-shadow: 0 8px 28px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: oklch(24% 0.07 267 / 0.62); }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card .num { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.14em; color: var(--accent-bright); }

/* ---------- Divider ---------- */
.divider { border: none; height: 1px; background: var(--border); margin-block: 0; }

/* ====================================================
   NAVIGATION
   ==================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: oklch(16% 0.03 266 / 0.72);
  border-bottom: 1px solid var(--border);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: 17px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--navy-700); display: grid; place-items: center;
  border: 1px solid var(--border-strong); overflow: hidden; flex-shrink: 0;
}
.brand .mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.brand .mark svg { width: 20px; height: 20px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 15px; color: var(--muted); padding: 8px 14px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--fg); background: oklch(100% 0 0 / 0.06); }
.nav-links a.active { color: var(--fg); }
.nav-links a.cta { color: var(--black); background: var(--accent); font-weight: 600; }
.nav-links a.cta:hover { background: var(--accent-bright); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 8px; width: 40px; height: 40px; color: var(--fg); cursor: pointer; place-items: center; }
.nav-toggle:hover { background: var(--surface); }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    background: oklch(16% 0.03 266 / 0.97); backdrop-filter: blur(14px);
    padding: 16px clamp(20px,5vw,40px) 24px; border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 16px; }
  .nav-links a.cta { text-align: center; justify-content: center; }
}

/* ====================================================
   FOOTER
   ==================================================== */
.foot { border-top: 1px solid var(--border); padding-block: 54px; margin-top: 40px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.foot .small { font-size: 13px; color: var(--faint); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 14px; transition: color .2s; }
.foot-links a:hover { color: var(--accent-bright); }

/* ====================================================
   SCROLL REVEAL
   ==================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-d="1"] { transition-delay: .08s; }
[data-d="2"] { transition-delay: .16s; }
[data-d="3"] { transition-delay: .24s; }

/* ====================================================
   HOME PAGE
   ==================================================== */
.hero { position: relative; overflow: clip; padding-block: clamp(72px, 12vw, 150px) clamp(56px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 82px); }
.hero h1 .grad { background: linear-gradient(96deg, var(--accent-bright), oklch(80% 0.12 60) 60%, var(--fg)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-top: 26px; font-size: clamp(17px, 2.1vw, 21px); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.portrait { position: relative; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-strong); background: radial-gradient(120% 90% at 30% 10%, var(--accent-soft), transparent 55%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, oklch(16% 0.05 267 / 0.55) 100%); pointer-events: none; }

.float-badge { position: absolute; top: 22px; left: -14px; background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 16px 40px oklch(10% 0.02 265 / 0.5); animation: floaty 5s var(--ease) infinite alternate; }
@keyframes floaty { to { transform: translateY(-10px); } }
.float-badge b { font-family: var(--font-display); font-size: 22px; }
.float-badge small { color: var(--muted); font-size: 12px; }

.marquee-line { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding-block: 18px; }
.marquee { display: flex; gap: 44px; width: max-content; animation: scrollx 26s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2.4vw, 26px); color: var(--faint); display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee span::after { content: "•"; color: var(--accent); }
@keyframes scrollx { to { transform: translateX(-50%); } }

.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.stat b { font-family: var(--font-display); font-size: clamp(34px, 5vw, 52px); display: block; letter-spacing: -0.03em; }
.stat b em { color: var(--accent-bright); font-style: normal; }
.stat p { color: var(--muted); font-size: 15px; margin-top: 6px; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }

.cta-band { text-align: center; border: 1px solid var(--border); border-radius: 26px; background: linear-gradient(160deg, oklch(24% 0.09 267 / 0.6), oklch(18% 0.05 267 / 0.6)); padding: clamp(40px, 6vw, 72px); }
.cta-band h2 { font-size: clamp(28px, 4.4vw, 46px); }

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; }
  .stat-row { grid-template-columns: 1fr; gap: 14px; }
  .float-badge { left: auto; right: 10px; }
}

/* ====================================================
   ABOUT PAGE
   ==================================================== */
.about-hero { padding-block: clamp(60px, 10vw, 120px) clamp(40px, 6vw, 80px); }
.about-hero h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; max-width: 800px; }
.about-hero h1 .accent { color: var(--accent); }
.about-split { display: grid; grid-template-columns: 0.45fr 0.55fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 80px); }
.about-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo::after { content: ''; position: absolute; inset: 0; border-radius: 24px; border: 1px solid oklch(68% 0.19 45 / 0.2); pointer-events: none; }
.about-text { padding-top: 20px; }
.about-text p { font-size: clamp(17px, 1.8vw, 20px); line-height: 1.7; color: var(--muted); margin-bottom: 28px; }
.about-text p strong { color: var(--fg); font-weight: 600; }
.about-text .highlight { color: var(--fg); font-weight: 600; }
@media (max-width: 860px) { .about-split { grid-template-columns: 1fr; } .about-photo { max-width: 400px; margin: 0 auto; } .about-hero h1 { font-size: clamp(32px, 8vw, 56px); } }

/* ====================================================
   SERVICES PAGE
   ==================================================== */
.services-hero { padding-block: clamp(60px, 10vw, 120px) clamp(40px, 6vw, 80px); }
.services-hero h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; max-width: 900px; }
.services-hero h1 .accent { color: var(--accent); }
.services-hero .lead { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.7; color: var(--muted); max-width: 700px; margin-top: 24px; }

.service-card-large { background: linear-gradient(135deg, oklch(22% 0.07 267 / 0.8), oklch(18% 0.04 267 / 0.6)); border: 1px solid var(--border); border-radius: 24px; padding: clamp(32px, 4vw, 48px); margin-bottom: 24px; transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.service-card-large:hover { border-color: var(--accent-soft); transform: translateY(-4px); box-shadow: 0 24px 56px oklch(10% 0.02 265 / 0.4); }
.service-card-large .service-header { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start; margin-bottom: 20px; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); border: 1px solid oklch(68% 0.19 45 / 0.2); display: grid; place-content: center; }
.service-icon svg { width: 28px; height: 28px; stroke: var(--accent); stroke-width: 1.8; }
.service-meta { display: flex; flex-direction: column; gap: 8px; }
.service-number { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.service-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); font-weight: 700; line-height: 1.2; color: var(--fg); }
.service-description { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.7; color: var(--muted); margin-bottom: 28px; max-width: 800px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.service-tag { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px; background: transparent; border: 1px solid var(--border-strong); font-size: 14px; font-weight: 500; color: var(--muted); transition: all .3s var(--ease); }
.service-tag:hover { border-color: var(--accent); color: var(--accent-bright); background: var(--accent-soft); }

.process-grid { display: grid; gap: 0; }
.process-item { display: grid; grid-template-columns: 72px 1fr; gap: 28px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--border); }
.process-item:last-child { border-bottom: none; }
.process-num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: transparent; -webkit-text-stroke: 1.5px var(--accent); line-height: 1; }
.process-item h4 { font-size: 18px; margin-bottom: 8px; }
.process-item p { color: var(--muted); font-size: 15px; line-height: 1.75; }

@media (max-width: 860px) { .services-hero h1 { font-size: clamp(32px, 8vw, 56px); } .service-card-large .service-header { grid-template-columns: 1fr; gap: 16px; } .service-title { font-size: clamp(22px, 6vw, 30px); } }

/* ====================================================
   THOUGHTS PAGE (Blog/Articles)
   ==================================================== */
.thoughts-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.filter-btn { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--border-strong); color: var(--muted); background: transparent; cursor: pointer; transition: all .2s var(--ease); }
.filter-btn:hover, .filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--black); }

.featured-post { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); background: var(--card-bg); backdrop-filter: blur(14px); transition: border-color .25s, box-shadow .25s; text-decoration: none; margin-bottom: 48px; }
.featured-post:hover { border-color: var(--accent-bright); box-shadow: 0 24px 60px oklch(10% 0.06 267 / 0.5); }
.featured-thumb { background: linear-gradient(135deg, oklch(30% 0.12 267), oklch(20% 0.06 267)); display: flex; align-items: center; justify-content: center; font-size: 64px; min-height: 300px; }
.featured-body { padding: clamp(28px,4vw,48px); display: flex; flex-direction: column; justify-content: center; }
.featured-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-bright); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.featured-label::before { content: ''; display: block; width: 18px; height: 2px; background: var(--accent-bright); border-radius: 999px; }
.featured-body h2 { font-size: clamp(20px,2.8vw,32px); line-height: 1.25; margin-bottom: 14px; }
.featured-body p { color: var(--muted); font-size: 15px; line-height: 1.8; }
.featured-read { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--accent-bright); transition: gap .2s; }
.featured-post:hover .featured-read { gap: 12px; }
.featured-read svg { width: 16px; height: 16px; }

@media (max-width:700px) { .featured-post { grid-template-columns: 1fr; } .featured-thumb { min-height: 180px; } }

.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--card-bg); backdrop-filter: blur(14px); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); text-decoration: none; }
.post-card:hover { border-color: var(--accent-bright); transform: translateY(-4px); box-shadow: 0 20px 50px oklch(10% 0.06 267 / 0.5); }
.post-thumb { aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 36px; flex-shrink: 0; }
.post-thumb.t1 { background: linear-gradient(135deg, oklch(30% 0.16 270), oklch(20% 0.1 250)); }
.post-thumb.t2 { background: linear-gradient(135deg, oklch(30% 0.12 160), oklch(20% 0.06 160)); }
.post-thumb.t3 { background: linear-gradient(135deg, oklch(30% 0.14 60),  oklch(20% 0.08 50)); }
.post-thumb.t4 { background: linear-gradient(135deg, oklch(30% 0.12 150), oklch(20% 0.06 160)); }
.post-thumb.t5 { background: linear-gradient(135deg, oklch(30% 0.14 180), oklch(20% 0.08 190)); }
.post-thumb.t6 { background: linear-gradient(135deg, oklch(28% 0.13 260), oklch(18% 0.08 275)); }
.post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.post-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.post-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-bright); }
.post-date { font-size: 12px; color: var(--faint); }
.post-body h3 { font-size: clamp(16px,1.8vw,20px); line-height: 1.3; margin-bottom: 10px; }
.post-body p { font-size: 14px; color: var(--muted); line-height: 1.75; flex: 1; }
.post-read { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--accent-bright); transition: gap .2s; }
.post-card:hover .post-read { gap: 10px; }
.post-read svg { width: 14px; height: 14px; }

.newsletter-card { background: linear-gradient(135deg, oklch(22% 0.09 267 / 0.85), oklch(16% 0.05 267 / 0.7)); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: clamp(36px,5vw,60px); text-align: center; backdrop-filter: blur(16px); }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 24px auto 0; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 13px 18px; background: oklch(14% 0.03 266 / 0.8); border: 1px solid var(--border-strong); border-radius: 999px; color: var(--fg); font-family: var(--font-body); font-size: 15px; outline: none; transition: border-color .22s, box-shadow .22s; }
.newsletter-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.newsletter-form input::placeholder { color: var(--faint); }

/* ====================================================
    VIDEO CARDS
    ==================================================== */
.video-card { text-decoration: none; display: flex; flex-direction: column; }
.video-card:hover { transform: translateY(-4px); border-color: var(--accent-bright); box-shadow: 0 20px 50px oklch(10% 0.06 267 / 0.5); }
.video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); flex-shrink: 0; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play-btn { position: absolute; inset: 0; display: grid; place-items: center; background: oklch(10% 0.02 265 / 0.35); transition: background .3s; }
.video-card:hover .play-btn { background: oklch(10% 0.02 265 / 0.2); }
.play-btn svg { width: 56px; height: 56px; fill: var(--fg); opacity: 0.9; filter: drop-shadow(0 4px 12px oklch(10% 0.02 265 / 0.5)); transition: transform .2s var(--ease), opacity .2s; }
.video-card:hover .play-btn svg { transform: scale(1.1); opacity: 1; }

/* ====================================================
    CONTACT PAGE
    ==================================================== */
.contact-hero { padding-block: clamp(60px, 10vw, 120px) clamp(40px, 6vw, 80px); }
.contact-hero h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; max-width: 800px; }
.contact-hero h1 .accent { color: var(--accent); }
.contact-hero .lead { font-size: clamp(16px, 1.8vw, 20px); line-height: 1.7; color: var(--muted); max-width: 700px; margin-top: 24px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; padding-block: clamp(40px, 6vw, 80px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.ci-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); border: 1px solid oklch(68% 0.19 45 / 0.2); display: grid; place-content: center; flex-shrink: 0; }
.ci-icon svg { width: 24px; height: 24px; stroke: var(--accent); stroke-width: 1.8; }
.ci-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.ci-content p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.ci-content a { color: var(--fg); transition: color .2s; }
.ci-content a:hover { color: var(--accent); }

.form-card { background: linear-gradient(135deg, oklch(22% 0.07 267 / 0.9), oklch(18% 0.04 267 / 0.7)); border: 1px solid var(--border); border-radius: 24px; padding: clamp(32px, 4vw, 48px); }
.form { display: grid; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.field-group { display: grid; gap: 10px; }
.field-group label { font-size: 15px; font-weight: 600; color: var(--fg); }
.field-group label .required { color: var(--accent); margin-left: 4px; }
.field-group input, .field-group select, .field-group textarea {
  background: oklch(14% 0.03 266 / 0.6); border: 1px solid var(--border-strong);
  border-radius: 14px; padding: 16px 20px; color: var(--fg);
  font-family: var(--font-body); font-size: 15px; width: 100%; outline: none;
  transition: border-color .22s, box-shadow .22s; resize: none;
}
.field-group input::placeholder, .field-group textarea::placeholder { color: var(--faint); }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-group select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%238a8fab' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 48px; }
.field-group select option { background: var(--navy-900); color: var(--fg); }
.field-group textarea { min-height: 140px; }

.form-status { display: none; padding: 16px 20px; border-radius: 14px; font-size: 15px; font-weight: 500; }
.form-status.success { display: block; background: oklch(40% 0.14 150 / 0.2); border: 1px solid oklch(60% 0.2 150 / 0.5); color: oklch(70% 0.18 150); }
.form-status.error { display: block; background: oklch(40% 0.14 20 / 0.2); border: 1px solid oklch(60% 0.2 20 / 0.5); color: oklch(70% 0.18 20); }

/* ====================================================
   PAGE HERO (generic internal pages)
   ==================================================== */
.page-hero { padding-block: clamp(72px, 11vw, 130px) clamp(56px, 8vw, 100px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(36px, 6vw, 72px); margin-top: 20px; }
.page-hero .lead { margin-top: 22px; }

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, .field::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.w-full { width: 100%; }
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-26 { margin-top: 26px; }
.mt-38 { margin-top: 38px; }
.mb-12 { margin-bottom: 12px; }
.mb-44 { margin-bottom: 44px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-14 { gap: 14px; }

/* ---------- Social links ---------- */
.social-links { display: flex; gap: 14px; align-items: center; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  color: var(--muted); background: var(--surface);
  border: 1px solid var(--border);
  transition: color .2s, background .2s, transform .2s var(--ease), border-color .2s;
}
.social-links a:hover { color: var(--accent-bright); background: var(--accent-soft); border-color: var(--accent); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }
.ci-icon.social svg { stroke: none; fill: var(--accent); }