/*
Theme Name: CyHelm
Theme URI: https://cyhelm.com/
Author: CyHelm
Description: Custom lightweight theme for CyHelm vCISO & cybersecurity advisory. Navy / cyan / brass nautical-cyber design with scroll animations.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary
Text Domain: cyhelm
*/

:root {
  --navy-950: #060e1c;
  --navy-900: #0a1628;
  --navy-800: #101f38;
  --navy-700: #16294a;
  --line: rgba(34, 211, 238, 0.14);
  --line-strong: rgba(34, 211, 238, 0.35);
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.12);
  --brass: #c9a45c;
  --brass-soft: rgba(201, 164, 92, 0.14);
  --text: #e6edf5;
  --muted: #8fa3bf;
  --light-bg: #f5f8fc;
  --light-text: #0f1f38;
  --light-muted: #4b5d78;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #67e8f9; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--cyan); color: var(--navy-900); padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--navy-950); }
.section--light { background: var(--light-bg); color: var(--light-text); }
.section--light .muted, .section--light p { color: var(--light-muted); }
.section--light h2, .section--light h3 { color: var(--light-text); }
.muted { color: var(--muted); }
.center { text-align: center; }
.accent { color: var(--cyan); }
.brass { color: var(--brass); }
.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, #7dd3fc 45%, var(--brass) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 .78rem/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--light .eyebrow { color: #0e7490; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { font-size: 1.1rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cyan);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .98rem/1 var(--font-head); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
  white-space: nowrap;
}
.btn--primary { background: linear-gradient(135deg, var(--cyan), #0ea5e9); color: var(--navy-950); box-shadow: 0 10px 30px -10px rgba(34, 211, 238, .6); }
.btn--primary:hover { color: var(--navy-950); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, .8); }
.btn--brass { background: linear-gradient(135deg, #e3c27f, var(--brass)); color: var(--navy-950); }
.btn--brass:hover { color: var(--navy-950); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--text); background: var(--cyan-soft); border-color: var(--cyan); }
.section--light .btn--ghost { color: var(--light-text); border-color: rgba(15, 31, 56, .25); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font: 600 1rem var(--font-head); display: inline-flex; align-items: center; gap: 8px; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, backdrop-filter .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent; padding: 18px 0;
}
.site-header.is-scrolled { background: rgba(6, 14, 28, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); padding: 10px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font: 700 1.35rem var(--font-head); letter-spacing: -0.02em; }
.brand:hover { color: var(--text); }
.brand svg { width: 38px; height: 38px; transition: transform 1.2s var(--ease); }
.brand:hover svg { transform: rotate(180deg); }
.brand b { color: var(--cyan); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--muted); font: 500 .95rem var(--font-head); white-space: nowrap; padding: 10px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-current { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 0 20px; color: var(--navy-950); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden;
  background: radial-gradient(1200px 700px at 75% 30%, rgba(34, 211, 238, .12), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(201, 164, 92, .08), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.hero--page { min-height: 0; padding: 180px 0 100px; }
#net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .75; }
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 600px; margin-bottom: 18px; }
.typer { font: 600 clamp(1.05rem, 1.6vw, 1.25rem) var(--font-head); color: var(--text); margin-bottom: 36px; min-height: 1.6em; }
.typer .typed { color: var(--cyan); }
.typer .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--cyan); vertical-align: -3px; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-trust { margin-top: 28px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; }
.hero-trust .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.fade-in { opacity: 0; transform: translateY(16px); animation: fadeUp .9s var(--ease) forwards; }
.d1 { animation-delay: .35s; } .d2 { animation-delay: .5s; } .d3 { animation-delay: .65s; } .d4 { animation-delay: .8s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Radar */
.radar { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin-left: auto; }
.radar-disc { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-strong);
  background: radial-gradient(circle, rgba(34, 211, 238, .08) 0%, rgba(10, 22, 40, .2) 70%),
    repeating-radial-gradient(circle, transparent 0 18%, rgba(34, 211, 238, .16) 18% calc(18% + 1px)); overflow: hidden; }
.radar-disc::before, .radar-disc::after { content: ""; position: absolute; background: rgba(34, 211, 238, .16); }
.radar-disc::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar-disc::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34, 211, 238, .42), rgba(34, 211, 238, 0) 70deg, transparent 360deg); animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 14px var(--brass); animation: blipfade 5s linear infinite; opacity: 0; }
.blip.c { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
@keyframes blipfade { 0% { opacity: 0; } 4% { opacity: 1; } 45% { opacity: .15; } 100% { opacity: 0; } }
.radar-helm { position: absolute; inset: 22%; color: rgba(201, 164, 92, .55); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.radar-chip {
  position: absolute; background: rgba(16, 31, 56, .85); border: 1px solid var(--line-strong); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 10px 14px; font: 600 .82rem var(--font-head); display: flex; align-items: center; gap: 8px; white-space: nowrap;
  animation: float 6s ease-in-out infinite; box-shadow: var(--shadow);
}
.radar-chip i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; }
.radar-chip.one { top: 8%; left: -8%; }
.radar-chip.two { bottom: 14%; right: -6%; animation-delay: -2s; }
.radar-chip.three { bottom: -2%; left: 6%; animation-delay: -4s; }
.radar-chip.three i { background: var(--brass); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -1px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(6, 14, 28, .7); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--font-head); color: var(--brass); letter-spacing: -0.03em; margin-bottom: 10px; }
.stat-label { color: var(--muted); font-size: .93rem; line-height: 1.45; max-width: 220px; margin: 0 auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: linear-gradient(160deg, rgba(22, 41, 74, .55), rgba(16, 31, 56, .35));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .4s, box-shadow .4s, transform .5s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(34, 211, 238, .12), 0 24px 60px -24px rgba(34, 211, 238, .35); }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, .12), transparent 45%);
}
.card:hover::before { opacity: 1; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); margin-bottom: 0; }
.section--light .card { background: #fff; border-color: rgba(15, 31, 56, .08); box-shadow: 0 10px 30px -18px rgba(15, 31, 56, .25); backdrop-filter: none; }
.section--light .card:hover { border-color: rgba(14, 116, 144, .35); box-shadow: 0 24px 50px -24px rgba(14, 116, 144, .35); }
.icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--cyan-soft); color: var(--cyan); border: 1px solid var(--line-strong); transition: transform .5s var(--ease), background .3s;
}
.icon svg { width: 26px; height: 26px; }
.card:hover .icon { transform: translateZ(30px) rotate(-6deg) scale(1.06); background: rgba(34, 211, 238, .2); }
.icon--brass { background: var(--brass-soft); color: var(--brass); border-color: rgba(201, 164, 92, .35); }
.section--light .icon { background: #e0f7fb; color: #0e7490; border-color: #b6ecf5; }
.card-num { position: absolute; top: 24px; right: 28px; font: 700 .85rem var(--font-head); color: var(--muted); opacity: .6; }

.checks { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 30px; color: var(--text); font-size: .97rem; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--cyan-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat;
  border: 1px solid var(--line-strong);
}
.section--light .checks li { color: var(--light-text); }
.checks.two-col { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { font: 600 .78rem var(--font-head); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--cyan); background: var(--cyan-soft); }
.chip--brass { color: var(--brass); border-color: rgba(201, 164, 92, .4); background: var(--brass-soft); }
.badge { position: absolute; top: -13px; left: 34px; font: 700 .72rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: linear-gradient(135deg, #e3c27f, var(--brass)); color: var(--navy-950); }

/* Services bento on home */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.bento .card { grid-column: span 3; }
.bento .card.feature { grid-column: span 6; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding: 44px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .1), rgba(201, 164, 92, .06) 60%, rgba(16, 31, 56, .4)); border-color: var(--line-strong); }
.bento .card.feature h3 { font-size: 1.8rem; }
.bento .card:not(.feature) { grid-column: span 3; }
@media (min-width: 1100px) { .bento .card:not(.feature) { grid-column: span 3; } }

/* ---------- Quote ---------- */
.quote-block { position: relative; max-width: 940px; margin: 0 auto; text-align: center; }
.quote-block blockquote { margin: 0; font: 500 clamp(1.4rem, 2.8vw, 2.1rem)/1.4 var(--font-head); letter-spacing: -0.015em; }
.quote-block .mark { font: 700 7rem/0.6 Georgia, serif; color: var(--brass); opacity: .8; display: block; margin-bottom: 18px; }
.quote-block cite { display: block; margin-top: 26px; font-style: normal; color: var(--brass); font: 600 1rem var(--font-head); }
.quote-block cite span { color: var(--muted); font-weight: 400; }
.quote-follow { max-width: 720px; margin: 36px auto 0; color: var(--muted); font-size: 1.08rem; }

/* ---------- Timeline / Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.process-line { position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: var(--line); overflow: hidden; }
.process-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--cyan), var(--brass)); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  position: relative; z-index: 2; width: 70px; height: 70px; margin: 0 auto 28px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.5rem var(--font-head); color: var(--navy-950);
  background: linear-gradient(135deg, var(--cyan), #0ea5e9); box-shadow: 0 0 0 8px var(--navy-900), 0 0 0 9px var(--line-strong);
}
.section--alt .step-num { box-shadow: 0 0 0 8px var(--navy-950), 0 0 0 9px var(--line-strong); }
.step.is-visible .step-num { animation: pulse 1.4s var(--ease) 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 8px var(--navy-900), 0 0 0 9px var(--cyan); } 60% { box-shadow: 0 0 0 8px var(--navy-900), 0 0 0 26px rgba(34, 211, 238, 0); } }
.step .tag { display: inline-block; font: 600 .76rem var(--font-head); color: var(--brass); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--muted); }

.vtimeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 48px; }
.vtimeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.vtimeline .vt-progress { position: absolute; left: 15px; top: 6px; width: 2px; height: calc(var(--p, 0) * (100% - 12px)); background: linear-gradient(180deg, var(--cyan), var(--brass)); }
.vt-item { position: relative; padding-bottom: 48px; }
.vt-item:last-child { padding-bottom: 0; }
.vt-item::before { content: ""; position: absolute; left: -41px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-900); border: 2px solid var(--cyan); box-shadow: 0 0 0 6px var(--navy-900); }
.vt-item .tag { font: 600 .78rem var(--font-head); color: var(--brass); letter-spacing: .12em; text-transform: uppercase; }
.vt-item h3 { margin: 6px 0 10px; }
.vt-item p { color: var(--muted); margin: 0; }

/* ---------- Testimonials / outcomes ---------- */
.outcome .metric { font: 700 2.6rem/1 var(--font-head); color: var(--brass); letter-spacing: -0.03em; margin-bottom: 6px; }
.outcome .metric-label { font-size: .92rem; color: var(--text); font-weight: 500; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.outcome blockquote { margin: 0 0 20px; color: var(--muted); font-style: italic; }
.outcome .who { font: 600 .9rem var(--font-head); color: var(--cyan); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: var(--navy-950);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 600 1.05rem var(--font-head); color: var(--muted); display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track span::after { content: "◆"; font-size: .6rem; color: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 88px 48px; text-align: center;
  background: radial-gradient(600px 300px at 50% 0%, rgba(34, 211, 238, .22), transparent 70%), linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-strong); }
.cta-band .rings { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); pointer-events: none; }
.cta-band .rings i { position: absolute; inset: 0; border: 1px solid rgba(34, 211, 238, .18); border-radius: 50%; animation: ring 6s var(--ease) infinite; opacity: 0; }
.cta-band .rings i:nth-child(2) { animation-delay: 2s; }
.cta-band .rings i:nth-child(3) { animation-delay: 4s; }
@keyframes ring { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.cta-band > *:not(.rings) { position: relative; }
.cta-band p { max-width: 620px; margin: 0 auto 34px; color: var(--muted); font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Service detail rows ---------- */
.svc { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; padding: 72px 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc:nth-child(even) .svc-intro { order: 2; }
.svc-intro .num { font: 700 4.5rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin-bottom: 18px; }
.svc-intro h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.svc-intro p { color: var(--muted); }
.svc .card { padding: 36px; }
.svc .card h4 { font: 600 .8rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 4px; }

/* ---------- Tabs ---------- */
.tabs { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab-btn { text-align: left; background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 16px 20px; border-radius: 12px; font: 600 1rem var(--font-head); cursor: pointer; transition: all .3s; display: flex; justify-content: space-between; }
.tab-btn small { font-weight: 500; color: inherit; opacity: .7; font-size: .78rem; }
.tab-btn:hover { color: var(--text); border-color: var(--line-strong); }
.tab-btn[aria-selected="true"] { color: var(--navy-950); background: linear-gradient(135deg, var(--cyan), #0ea5e9); border-color: transparent; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .6s var(--ease); }
.tab-panel .card { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.tab-panel .big { font: 700 clamp(2.4rem, 5vw, 4rem)/1 var(--font-head); color: var(--brass); margin-bottom: 8px; }
.tab-panel .role { color: var(--cyan); font: 600 .9rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.tab-panel p { font-size: 1.12rem; color: var(--text); }

/* Cert badges */
.cert-group { margin-bottom: 30px; }
.cert-group h4 { font: 600 .8rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.certs { display: flex; flex-wrap: wrap; gap: 10px; }
.cert { padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(16, 31, 56, .6); font: 600 .92rem var(--font-head); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.cert:hover { transform: translateY(-3px); border-color: var(--cyan); background: var(--cyan-soft); }

/* Founder */
.founder { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.founder-visual { position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-strong);
  background: radial-gradient(circle at 50% 35%, rgba(34, 211, 238, .25), transparent 55%), linear-gradient(160deg, var(--navy-700), var(--navy-950)); display: grid; place-items: center; }
.founder-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder-visual .initials { font: 700 6rem var(--font-head); color: rgba(230, 237, 245, .9); letter-spacing: -0.04em; }
.founder-visual .tagline { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 14px 18px; border-radius: 14px; background: rgba(6, 14, 28, .75); backdrop-filter: blur(8px); border: 1px solid var(--line); font: 600 .9rem var(--font-head); }
.founder-visual .tagline span { display: block; color: var(--brass); font-weight: 500; font-size: .82rem; }

/* Case studies */
.case { display: grid; grid-template-columns: 1.3fr .7fr; gap: 0; padding: 0; overflow: hidden; margin-bottom: 32px; }
.case-body { padding: 44px; }
.case-body .sector { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.case-body h3 { font-size: 1.6rem; margin-bottom: 24px; }
.case-body dl { margin: 0; display: grid; gap: 18px; }
.case-body dt { font: 600 .78rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.case-body dd { margin: 0; color: var(--muted); }
.case-metrics { background: linear-gradient(180deg, rgba(34, 211, 238, .08), rgba(201, 164, 92, .06)); border-left: 1px solid var(--line); display: grid; }
.case-metrics div { padding: 30px 32px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.case-metrics div:last-child { border-bottom: 0; }
.case-metrics b { font: 700 2.5rem/1 var(--font-head); color: var(--brass); letter-spacing: -0.03em; }
.case-metrics span { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* Resources */
.res .type { display: inline-block; font: 700 .72rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 8px; background: var(--brass-soft); color: var(--brass); margin-bottom: 20px; }
.res { display: flex; flex-direction: column; }
.res p { flex: 1; margin-bottom: 24px; }

/* Posts */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy-700), var(--navy-950)); position: relative; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb svg { position: absolute; inset: 0; margin: auto; width: 40%; color: rgba(34, 211, 238, .4); }
.post-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--brass); font-weight: 600; margin-bottom: 10px; font-family: var(--font-head); }
.post-body h3 { font-size: 1.2rem; }
.post-body h3 a { color: var(--text); }
.post-body h3 a:hover { color: var(--cyan); }
.post-body p { flex: 1; font-size: .96rem; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(16, 31, 56, .45); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-strong); background: rgba(22, 41, 74, .55); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font: 600 1.08rem var(--font-head); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--cyan); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 26px 22px; color: var(--muted); }

/* Engagement models */
.model { text-align: left; display: flex; flex-direction: column; }
.model .kicker { font: 600 .78rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.model p { flex: 1; margin-bottom: 24px; }
.model .btn { align-self: flex-start; min-height: 44px; padding: 0 18px; font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 16px; margin: 32px 0; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .icon { margin: 0; width: 48px; height: 48px; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }
.contact-list a, .contact-list b { color: var(--text); font-weight: 600; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 600 .85rem var(--font-head); margin-bottom: 8px; color: var(--text); }
.form input, .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: rgba(6, 14, 28, .6); color: var(--text); font: 400 1rem var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .15); }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form .consent input { width: 20px; min-height: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--cyan); }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border-radius: 12px; margin-bottom: 22px; font-weight: 500; }
.notice--ok { background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #6ee7b7; }
.notice--err { background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .4); color: #fca5a5; }

/* ---------- Prose (generic pages / posts) ---------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #c3cfdf; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); height: auto; }
.prose blockquote { border-left: 3px solid var(--brass); margin: 1.5em 0; padding: .4em 0 .4em 1.2em; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.site-footer h4 { font: 600 .8rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); font-size: .95rem; }
.site-footer a:hover { color: var(--cyan); }
.site-footer .btn--primary, .site-footer .btn--primary:hover { color: var(--navy-950); font-size: .92rem; }
.site-footer .pitch { color: var(--muted); font-size: .95rem; margin: 18px 0 22px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text); transition: all .3s; }
.socials a:hover { background: var(--cyan-soft); border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.4s var(--ease) infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* Back to top progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 101; background: linear-gradient(90deg, var(--cyan), var(--brass)); transform-origin: left; transform: scaleX(0); }

/* Cookie banner */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 420px; padding: 22px; border-radius: 16px; background: rgba(16, 31, 56, .96); border: 1px solid var(--line-strong); box-shadow: var(--shadow); backdrop-filter: blur(10px); font-size: .9rem; color: var(--muted); display: none; }
.cookie.is-visible { display: block; animation: fadeUp .6s var(--ease); }
.cookie p { margin-bottom: 14px; }
.cookie .btn-row { gap: 10px; }
.cookie .btn { min-height: 40px; padding: 0 16px; font-size: .85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.nf { text-align: center; }
.nf .code { font: 700 clamp(6rem, 18vw, 12rem)/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px var(--line-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .radar { max-width: 380px; margin: 20px auto 0; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); flex-direction: column; align-items: stretch; gap: 4px; padding: 96px 24px 24px;
    background: var(--navy-950); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .45s var(--ease); z-index: -1; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 14px 0 0; }
  .nav-open .nav { transform: none; }
  .nav-open .site-header { background: var(--navy-950); }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .bento .card, .bento .card:not(.feature) { grid-column: span 6; }
  .bento .card.feature { grid-template-columns: 1fr; gap: 10px; }
  .process { grid-template-columns: 1fr; gap: 48px; }
  .process-line { display: none; }
  .svc, .founder, .contact-grid, .tabs, .case { grid-template-columns: 1fr; gap: 32px; }
  .svc:nth-child(even) .svc-intro { order: 0; }
  .case-metrics { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
  .case-metrics div { border-bottom: 0; border-right: 1px solid var(--line); padding: 24px 18px; }
  .case-metrics div:last-child { border-right: 0; }
  .case-metrics b { font-size: 1.9rem; }
  .tab-list { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .tab-btn { flex: none; }
  .founder-visual { max-width: 420px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 12px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .card, .case-body { padding: 26px; }
  .bento .card.feature { padding: 28px; }
  .checks.two-col { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .cta-band { padding: 64px 22px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .radar-chip.one { left: 0; } .radar-chip.two { right: 0; }
  .hero { padding-top: 120px; }
  .hero--page { padding: 140px 0 70px; }
  .btn-row .btn { flex: 1 1 100%; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-metrics div { border-right: 0; border-bottom: 1px solid var(--line); }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .line > span, .fade-in { transform: none; opacity: 1; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 24px; }
  #net-canvas { display: none; }
}

/* ---------- Modal (resource download gate) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 8, 18, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.modal-panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--navy-800); border-color: var(--line-strong); animation: fadeUp .45s var(--ease); }
.modal-panel h3 { font-size: 1.5rem; padding-right: 32px; }
.modal-x { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.modal-x:hover { border-color: var(--cyan); color: var(--cyan); }
body.modal-open { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } }
