@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@400;500;600;700;800;900&family=Libre+Baskerville:wght@400;700&display=swap');

:root{
  --navy:#071c34;
  --navy2:#0b2a49;
  --paper:#f7f1e8;
  --paper2:#fffaf3;
  --ink:#101820;
  --muted:#6d6862;
  --line:rgba(16,24,32,.14);
  --orange:#f26f21;
  --gold:#e0ad60;
  --max:1180px;
  --header:76px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:94px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,sans-serif;overflow-x:hidden}
a{color:inherit;text-decoration:none}
p,h1,h2,h3{margin:0}
button,input{font:inherit}

.site-header{
  position:sticky;top:0;z-index:100;height:var(--header);
  padding:0 max(26px,calc((100vw - var(--max))/2));
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  background:rgba(7,28,52,.94);color:rgba(255,255,255,.86);
  border-bottom:1px solid rgba(255,255,255,.1);backdrop-filter:blur(18px);
}
.brand img{height:40px;display:block}
.main-nav{display:flex;gap:22px;font-size:12px;font-weight:850}
.main-nav a{opacity:.82;transition:opacity .18s ease,color .18s ease}
.main-nav a:hover{opacity:1;color:#fff}
.lang-toggle{display:inline-flex;gap:4px;padding:4px;border:1px solid rgba(255,255,255,.24);border-radius:999px}
.lang-toggle button{border:0;border-radius:999px;padding:7px 10px;background:transparent;color:rgba(255,255,255,.8);font-size:11px;font-weight:950;cursor:pointer}
.lang-toggle button.is-active{background:#fff;color:var(--ink)}

.diagnostic-hero{
  position:relative;min-height:calc(100vh - var(--header));
  padding:max(72px,8vh) max(44px,calc((100vw - var(--max))/2));
  display:grid;grid-template-columns:.88fr 1.12fr;gap:60px;align-items:center;
  color:#fffaf3;overflow:hidden;background:var(--navy);
}
.hero-bg{
  position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(7,28,52,.96) 0%,rgba(7,28,52,.82) 32%,rgba(7,28,52,.42) 58%,rgba(7,28,52,.25) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2400&q=85");
  background-size:cover;background-position:center right;
  filter:saturate(.82) contrast(1.04);
}
.hero-shade{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 74% 22%,rgba(242,111,33,.14),transparent 28%),
    linear-gradient(180deg,rgba(7,28,52,.08),rgba(7,28,52,.88));
}
.hero-content,.hero-panel{position:relative;z-index:2}
.eyebrow{display:inline-block;color:var(--orange);font-size:11px;font-weight:950;letter-spacing:.18em;text-transform:uppercase}
.hero-content h1{
  max-width:720px;margin-top:18px;
  font-family:"Libre Baskerville",Georgia,serif;font-size:clamp(40px,5.2vw,74px);
  line-height:1.1;font-weight:400;letter-spacing:-.058em;
}
.hero-content p{max-width:650px;margin-top:24px;color:rgba(255,255,255,.82);font-size:16px;line-height:1.76}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.micro-note{font-size:12px!important;color:rgba(255,255,255,.62)!important}

.btn{
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  padding:0 24px;border-radius:9px;border:1px solid transparent;
  font-size:13px;font-weight:900;cursor:pointer;transition:transform .18s ease,background .18s ease,border-color .18s ease,opacity .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn.primary{background:var(--orange);color:#fff}
.btn.secondary{border-color:rgba(255,255,255,.36);color:#fff;background:rgba(255,255,255,.03)}
.btn.muted{border-color:var(--line);color:var(--ink);background:transparent}

.hero-panel{
  justify-self:end;width:min(520px,100%);height:430px;border-radius:34px;
  border:1px solid rgba(255,255,255,.24);
  background:
    radial-gradient(circle at 78% 18%,rgba(242,111,33,.18),transparent 24%),
    linear-gradient(145deg,rgba(255,250,243,.18),rgba(255,255,255,.08));
  backdrop-filter:blur(16px);box-shadow:0 30px 100px rgba(0,0,0,.28);overflow:hidden;
}

.maturity-map{
  position:absolute;inset:0;padding:34px;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:44px 44px;
}
.maturity-lines{position:absolute;inset:0;width:100%;height:100%}
.maturity-path{fill:none;stroke:rgba(255,255,255,.28);stroke-width:1.4;stroke-linecap:round}
.main-path{stroke:url(#maturityFlow);stroke-width:2.4;opacity:.78;filter:drop-shadow(0 0 10px rgba(242,111,33,.24))}
.secondary-path{stroke:rgba(255,250,243,.24);stroke-width:1.1}
.delay-a{opacity:.72}
.maturity-pulse{
  fill:none;stroke:#fffaf3;stroke-width:3;stroke-linecap:round;stroke-dasharray:26 250;
  filter:drop-shadow(0 0 12px rgba(242,111,33,.5));
  animation:maturityPulse 8.5s ease-in-out infinite;
}
.maturity-spark{fill:var(--gold);filter:drop-shadow(0 0 12px rgba(224,173,96,.62));animation:maturitySpark 6.8s ease-in-out infinite}
.delay-b{animation-delay:-2.8s}
.maturity-stage{
  position:absolute;display:grid;gap:4px;width:132px;padding:14px;
  border:1px solid rgba(255,255,255,.20);border-radius:18px;
  background:rgba(255,250,243,.13);
  box-shadow:0 20px 52px rgba(0,0,0,.18),inset 0 0 0 1px rgba(255,255,255,.06);
}
.maturity-stage span{color:var(--orange);font-size:11px;font-weight:950;letter-spacing:.14em}
.maturity-stage strong{color:#fffaf3;font-size:15px;letter-spacing:-.02em}
.maturity-stage small{color:rgba(255,255,255,.62);font-size:11px;line-height:1.28}
.stage-operation{left:36px;bottom:54px}
.stage-control{left:154px;top:174px}
.stage-decisions{right:126px;top:98px}
.stage-intelligence{right:34px;top:44px}
.maturity-node{
  position:absolute;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;
  border:1px solid rgba(224,173,96,.30);background:rgba(7,28,52,.58);
  box-shadow:0 0 0 8px rgba(255,250,243,.035),0 20px 54px rgba(0,0,0,.22);
  animation:maturityFloat 7.5s ease-in-out infinite;
}
.maturity-node span{color:#fffaf3;font-size:10px;font-weight:900;letter-spacing:.02em}
.node-process{left:74px;top:132px}
.node-data{left:238px;top:192px;animation-delay:-1.4s}
.node-risk{right:112px;bottom:116px;animation-delay:-2.2s}
.node-people{left:118px;bottom:128px;animation-delay:-3.4s}
.node-governance{right:52px;bottom:178px;animation-delay:-4.6s}
.maturity-summary{
  position:absolute;left:34px;right:34px;bottom:28px;
  display:grid;grid-template-columns:auto auto 1fr;gap:16px;align-items:center;
  padding:16px 18px;border-radius:18px;border:1px solid rgba(255,255,255,.18);
  background:rgba(7,28,52,.70);box-shadow:0 24px 70px rgba(0,0,0,.24);
}
.maturity-summary small{color:rgba(255,255,255,.58);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.12em}
.maturity-summary strong{color:#fffaf3;font-size:30px;line-height:1;letter-spacing:-.06em}
.maturity-summary span{color:rgba(255,255,255,.74);font-size:12px;line-height:1.35}

@keyframes maturityPulse{
  0%{stroke-dashoffset:180;opacity:.05}
  36%{opacity:.9}
  100%{stroke-dashoffset:-210;opacity:.18}
}
@keyframes maturitySpark{
  0%,100%{opacity:.22;transform:scale(.82)}
  50%{opacity:.92;transform:scale(1.25)}
}
@keyframes maturityFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}

.method,.diagnostic-shell,.results,.outcomes{
  padding:72px max(44px,calc((100vw - var(--max))/2));
  border-bottom:1px solid var(--line);
}
.method{background:var(--paper2)}
.method-intro{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:start;margin-bottom:48px}
.method h2,.outcomes h2,.result-head h2{
  max-width:760px;margin-top:16px;font-family:"Libre Baskerville",Georgia,serif;
  color:#081d34;font-size:clamp(30px,4vw,54px);line-height:1.16;font-weight:400;letter-spacing:-.045em;
}
.method-intro p{color:var(--muted);font-size:16px;line-height:1.72}
.method-copy{display:grid;gap:22px}
.alis-word{
  font-family:Fredoka,Inter,system-ui,sans-serif;
  color:var(--orange);
  font-weight:700;
  letter-spacing:.01em;
}
.method-visual{
  margin:0;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  border:1px solid rgba(16,24,32,.12);
  border-radius:20px;
  background:#101820;
  box-shadow:0 24px 70px rgba(7,28,52,.12);
}
.method-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.ocdi-row{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
.ocdi-row article{min-height:210px;padding:28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.28)}
.ocdi-row b{display:block;color:var(--orange);font-size:46px;line-height:1}
.ocdi-row h3{margin-top:22px;margin-bottom:12px;font-size:16px}
.ocdi-row p{color:var(--muted);font-size:13px;line-height:1.56}

.diagnostic-shell{
  display:grid;grid-template-columns:310px 1fr;gap:34px;
  background:linear-gradient(180deg,var(--paper) 0%,#fffaf3 100%);
}
.diagnostic-sidebar{
  align-self:start;position:sticky;top:calc(var(--header) + 24px);
  padding:28px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.76);
}
.diagnostic-sidebar h2{margin-top:14px;font-size:24px;letter-spacing:-.04em}
.diagnostic-sidebar p{margin-top:14px;color:var(--muted);font-size:13px;line-height:1.6}
.progress-box{margin:26px 0}
.progress-label{display:flex;justify-content:space-between;margin-bottom:10px;font-size:12px;font-weight:900}
.progress-track{height:8px;border-radius:999px;background:rgba(16,24,32,.10);overflow:hidden}
#progressBar{width:0%;height:100%;background:var(--orange);transition:width .22s ease}
.step-list{display:grid;gap:8px}
.step-button{
  width:100%;padding:12px;display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center;
  border:1px solid transparent;border-radius:12px;background:transparent;text-align:left;cursor:pointer;
}
.step-button:hover,.step-button.is-active{background:rgba(242,111,33,.08);border-color:rgba(242,111,33,.22)}
.step-button span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:rgba(16,24,32,.08);font-size:12px;font-weight:900}
.step-button.is-active span{background:var(--orange);color:#fff}
.step-button strong{font-size:12px}.step-button small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.clear-btn{width:100%;margin-top:22px;padding:12px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted);font-size:12px;font-weight:850;cursor:pointer}

.diagnostic-form{padding:34px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.80)}
.initial-intake{
  margin-bottom:24px;
  padding:24px;
  border:1px solid rgba(242,111,33,.22);
  border-radius:16px;
  background:linear-gradient(135deg,#fff7ec 0%,#f4eadc 100%);
}
.initial-intake h2{
  margin-top:10px;
  color:#081d34;
  font-size:26px;
  line-height:1.15;
  letter-spacing:-.04em;
}
.initial-intake-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:20px;
}
.initial-intake-grid label{
  display:grid;
  gap:8px;
  color:#222c31;
  font-size:12px;
  font-weight:850;
}
.initial-intake-grid input,
.initial-intake-grid select{
  width:100%;
  min-height:46px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--ink);
}
.intake-gate{
  margin-top:16px;
  color:#8a4119;
  font-size:13px;
  font-weight:850;
}
.diagnostic-form.is-locked .section-intro,
.diagnostic-form.is-locked .questions,
.diagnostic-form.is-locked .form-actions{
  opacity:.48;
}
.diagnostic-form.is-locked .question-card,
.diagnostic-form.is-locked .step-button{
  pointer-events:none;
}
.step-button:disabled,
.btn:disabled{
  cursor:not-allowed;
  opacity:.48;
  transform:none;
}
.section-intro{padding:24px;margin-bottom:24px;border-radius:16px;background:#f4eadc}
.section-intro span{color:var(--orange);font-size:11px;font-weight:950;letter-spacing:.16em;text-transform:uppercase}
.section-intro h2{margin-top:10px;font-family:"Libre Baskerville",Georgia,serif;font-size:30px;line-height:1.2;font-weight:400;color:#081d34}
.section-intro p{margin-top:12px;color:#4d4b46;font-size:14px;line-height:1.64}
.question-card{padding:24px 0;border-bottom:1px solid var(--line)}
.question-card:last-child{border-bottom:0}
.question-card h3{margin-bottom:16px;font-size:19px;line-height:1.35;letter-spacing:-.02em}
.options{display:grid;gap:9px}
.option{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.52);cursor:pointer}
.option:hover{border-color:rgba(242,111,33,.42)}
.option input{width:18px;height:18px;accent-color:var(--orange)}
.option span{font-size:14px;color:#2d3334}
.form-actions{display:flex;justify-content:space-between;gap:14px;margin-top:30px}
#submitDiagnostic{display:none}

.results{background:var(--paper2)}
.result-head{max-width:760px;margin-bottom:40px}
.result-head p{margin-top:18px;color:var(--muted);line-height:1.7}
.score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.score-card{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}
.score-card strong{display:block;color:var(--orange);font-size:42px;letter-spacing:-.06em}
.score-card h3{margin:10px 0;font-size:16px}
.score-card p{color:var(--muted);font-size:13px;line-height:1.5}
.recommendations,.send-box{margin-top:34px;padding:30px;border:1px solid var(--line);border-radius:20px;background:rgba(255,255,255,.76)}
.recommendations h3,.send-box h3{margin-bottom:16px;font-size:24px;letter-spacing:-.04em}
.recommendations li{margin:10px 0;color:#323938;line-height:1.55}
.send-box p{color:var(--muted);line-height:1.65}
.contact-fields{margin-top:24px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.contact-fields label{display:grid;gap:8px;font-size:12px;font-weight:850}
.contact-fields input{width:100%;padding:13px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.send-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

.outcomes{display:grid;grid-template-columns:1.1fr repeat(3,1fr);gap:0;background:#fffaf3}
.outcomes>div{padding-right:34px}
.outcomes article{min-height:170px;padding:28px;border-left:1px solid var(--line)}
.outcomes article:last-child{border-right:1px solid var(--line)}
.outcomes article span{color:var(--orange);font-size:12px;font-weight:950;letter-spacing:.16em}
.outcomes article h3{margin:24px 0 12px;font-size:16px}
.outcomes article p{color:var(--muted);font-size:13px;line-height:1.55}

.site-footer{
  padding:54px max(44px,calc((100vw - var(--max))/2));
  display:grid;grid-template-columns:1fr .8fr 1fr;gap:48px;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 100%);
  color:rgba(255,255,255,.76);
}
.site-footer img{height:48px;margin-bottom:20px}
.site-footer p,.site-footer span{font-size:13px;line-height:1.55}
.site-footer nav{display:grid;gap:10px}
.site-footer a:hover{color:#fff}
.footer-contact{display:grid;gap:10px;align-content:start}

@media(max-width:1080px){
  .main-nav{display:none}
  .diagnostic-hero,.method-intro,.diagnostic-shell,.outcomes,.site-footer{grid-template-columns:1fr}
  .hero-panel{justify-self:start}
  .ocdi-row,.score-grid,.contact-fields,.initial-intake-grid{grid-template-columns:repeat(2,1fr)}
  .diagnostic-sidebar{position:static}
}
@media(max-width:680px){
  .diagnostic-hero,.method,.diagnostic-shell,.results,.outcomes,.site-footer{padding-left:22px;padding-right:22px}
  .hero-panel{height:520px;border-radius:26px}
  .maturity-map{padding:20px}
  .maturity-stage{width:118px;padding:12px;border-radius:15px}
  .stage-control{left:124px;top:168px}
  .stage-decisions{right:84px;top:106px}
  .maturity-node{width:62px;height:62px}
  .maturity-node span{font-size:9px}
  .node-data{left:204px}
  .node-risk{right:76px}
  .maturity-summary{left:20px;right:20px;grid-template-columns:1fr;gap:8px}
  .ocdi-row,.score-grid,.contact-fields,.initial-intake-grid{grid-template-columns:1fr}
  .diagnostic-form{padding:22px}
  .form-actions{flex-direction:column}
}

@media (prefers-reduced-motion: reduce){
  .maturity-pulse,
  .maturity-spark,
  .maturity-node{
    animation:none;
  }
}
