
    :root{
      --gold:#F4C400;--gold-deep:#D49B00;--gold-bright:#FFD83F;
      --page-a:#E7C94C;--page-b:#DDB938;
      --purple:#5A2ABF;--purple-deep:#2B0C68;
      --ink:#241834;--surface:#FFF9EA;--muted:#74643A;
      --line:rgba(71,38,93,.13);--white:#fffdf8;
      --shadow:0 20px 55px rgba(81,50,7,.14);
      --brand-font:"Fredoka","Arial Rounded MT Bold","Avenir Next Rounded","Trebuchet MS",sans-serif;
      --body-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth;background:var(--page-b)}
    body{margin:0;color:var(--ink);font-family:var(--body-font);background:
      radial-gradient(circle at 15% 11%,rgba(255,247,198,.58) 0,transparent 22%),
      radial-gradient(circle at 86% 16%,rgba(255,238,136,.38) 0,transparent 25%),
      linear-gradient(180deg,var(--page-a) 0%,var(--page-b) 100%);}
    a{color:inherit;text-decoration:none}
    button,a{outline-offset:4px}
    .page{min-height:100vh;overflow:hidden}
    .nav{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:22px;height:74px;padding:0 clamp(18px,5vw,68px);background:rgba(235,205,84,.82);border-bottom:1px solid rgba(71,38,93,.09);backdrop-filter:blur(16px)}
    .brand-lockup{display:flex;align-items:center;gap:10px;min-width:0}
    .brand-lockup img:first-child{width:38px;height:38px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(72,35,117,.16))}
    .brand-lockup img:last-child{width:144px;height:auto;display:block}
    .nav-links{display:flex;align-items:center;gap:8px}
    .nav-links a{font-family:var(--brand-font);font-weight:550;font-size:14px;padding:10px 12px;border-radius:14px;color:#583a0a;transition:.18s ease}
    .nav-links a:hover,.nav-links a.active{background:rgba(255,250,229,.7);color:var(--purple-deep)}
    .nav-cta{background:linear-gradient(135deg,var(--purple-deep),var(--purple));color:#fff!important;box-shadow:0 9px 20px rgba(61,26,109,.18)}
    .hero{position:relative;min-height:calc(100vh - 74px);display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);align-items:center;gap:60px;max-width:1240px;margin:auto;padding:86px clamp(22px,4vw,52px) 72px}
    .hero:before,.hero:after{content:"";position:absolute;border-radius:50%;z-index:0;pointer-events:none}
    .hero:before{width:520px;height:520px;background:rgba(255,244,174,.28);left:-240px;top:20px}
    .hero:after{width:410px;height:410px;background:rgba(91,42,191,.07);right:-190px;bottom:10px}
    .hero-copy,.hero-visual{position:relative;z-index:1}
    .eyebrow{display:inline-flex;align-items:center;gap:9px;font-family:var(--brand-font);font-size:12px;font-weight:650;letter-spacing:.08em;color:#5d4510;background:rgba(255,250,232,.58);padding:9px 12px;border:1px solid rgba(84,54,0,.08);border-radius:999px}
    .dot{width:8px;height:8px;border-radius:50%;background:var(--purple)}
    h1,h2,h3,.brand-text,.metric strong,.flow-step strong,.game-card h3,.skill-row b{font-family:var(--brand-font)}
    h1{font-size:clamp(56px,8.2vw,102px);line-height:.91;letter-spacing:-.055em;margin:22px 0 24px;color:var(--purple-deep);font-weight:650;max-width:790px}
    h1 .accent{display:block;color:#fffaf0;text-shadow:0 3px 0 rgba(74,41,105,.10)}
    .byline{font-size:16px;font-weight:500;color:#674d12;margin:-10px 0 20px;max-width:540px;line-height:1.4}
    .hero-lead{font-size:clamp(18px,2vw,22px);line-height:1.55;color:#5e4919;max-width:720px;margin:0 0 32px}
    .hero-actions{display:flex;gap:12px;flex-wrap:wrap}
    .btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 19px;border-radius:17px;font-family:var(--brand-font);font-weight:550;border:1px solid transparent;transition:.18s ease}
    .btn:hover{transform:translateY(-2px)}
    .btn.primary{background:linear-gradient(135deg,var(--purple-deep),var(--purple));color:#fff;box-shadow:0 12px 24px rgba(64,28,114,.22)}
    .btn.secondary{background:#fffaf0;border-color:rgba(84,52,101,.12);color:var(--purple-deep);box-shadow:0 8px 18px rgba(95,69,10,.09)}
    .hero-note{display:flex;align-items:center;gap:10px;margin-top:25px;font-size:13px;color:#6f5926}
    .hero-note img{width:33px;height:33px;border-radius:10px;object-fit:cover;box-shadow:0 5px 12px rgba(65,32,94,.12)}
    .hero-visual{display:grid;place-items:center;min-height:540px}
    .visual-card{position:relative;width:min(500px,100%);aspect-ratio:1/.94;border-radius:38px;background:linear-gradient(155deg,#fff8df,#f3cf50 56%,#e3bb38);border:1px solid rgba(100,67,0,.12);box-shadow:0 34px 70px rgba(94,63,7,.18);padding:34px;overflow:hidden}
    .visual-card:before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(91,42,191,.10);right:-95px;top:-85px}
    .visual-card:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(255,255,255,.31);left:-75px;bottom:-70px}
    .visual-logo{display:flex;align-items:center;gap:14px;position:relative;z-index:2}
    .visual-logo img:first-child{width:64px;height:64px;object-fit:contain}
    .visual-logo img:last-child{width:min(290px,70%);height:auto}
    .learning-loop{position:absolute;inset:auto 30px 30px 30px;background:rgba(255,253,247,.91);border:1px solid rgba(74,39,104,.09);box-shadow:0 18px 38px rgba(75,49,5,.13);border-radius:27px;padding:22px;z-index:2}
    .learning-loop small{display:block;font-weight:700;font-size:11px;color:#826b32;margin-bottom:10px}
    .learning-loop strong{font-family:var(--brand-font);font-size:24px;color:var(--purple-deep);display:block;line-height:1.15}
    .loop-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.loop-chips span{font-size:11px;font-weight:750;padding:7px 9px;border-radius:999px;background:#f8e9a7;color:#614b14}
    .mascot{position:absolute;right:26px;top:145px;width:118px;height:132px;object-fit:contain;filter:drop-shadow(0 13px 13px rgba(65,33,80,.17));z-index:3;transform:rotate(2deg)}
    section{position:relative;padding:96px clamp(22px,5vw,72px)}
    .section-inner{max-width:1180px;margin:0 auto}
    .section-kicker{font-family:var(--brand-font);font-weight:600;font-size:13px;color:#705317;margin-bottom:12px}
    h2{font-size:clamp(39px,5.6vw,64px);line-height:1.03;letter-spacing:-.04em;color:var(--purple-deep);margin:0 0 18px;font-weight:620}
    .section-lead{font-size:19px;line-height:1.62;color:#6c5728;max-width:800px;margin:0 0 44px}
    .paper{background:rgba(255,251,239,.93);border:1px solid rgba(81,47,105,.10);box-shadow:var(--shadow)}
    .metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:-28px;position:relative;z-index:3}
    .metric{border-radius:24px;padding:25px 22px;min-height:150px;display:flex;flex-direction:column;justify-content:space-between}
    .metric strong{font-size:42px;color:var(--purple-deep);font-weight:650;line-height:1}
    .metric span{font-size:13px;line-height:1.35;color:#705a29;font-weight:650}
    .problem{background:#fffaf0}
    .split{display:grid;grid-template-columns:1fr 1fr;gap:22px}
    .problem-card{border-radius:31px;padding:34px;min-height:300px;position:relative;overflow:hidden}
    .problem-card h3{font-size:26px;margin:0 0 14px;color:var(--purple-deep);font-weight:620}
    .problem-card p{font-size:17px;line-height:1.65;color:#665437;margin:0}
    .problem-card.dark{background:linear-gradient(145deg,var(--purple-deep),#3e147f 72%,#5b2abf);color:#fff;box-shadow:0 22px 50px rgba(55,21,102,.22)}
    .problem-card.dark h3,.problem-card.dark p{color:#fff}
    .problem-card.dark p{color:#eee3ff}
    .quote{margin-top:26px;font-family:var(--brand-font);font-size:22px;line-height:1.3;color:#fff7d4}
    .flow{background:linear-gradient(180deg,#f9edb8 0%,#eed37a 100%)}
    .flow-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px;align-items:stretch}
    .flow-step{position:relative;border-radius:24px;padding:23px 18px;min-height:160px;background:rgba(255,250,236,.86);border:1px solid rgba(81,48,95,.10);box-shadow:0 10px 23px rgba(90,62,9,.08)}
    .flow-step .num{width:26px;height:26px;display:grid;place-items:center;border-radius:9px;background:var(--purple);color:#fff;font:650 12px var(--brand-font);margin-bottom:18px}
    .flow-step strong{display:block;font-size:19px;color:var(--purple-deep);margin-bottom:8px;font-weight:620}.flow-step p{font-size:13px;line-height:1.5;color:#715d33;margin:0}
    .games{background:#fffaf0}
    .games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
    .game-card{position:relative;border-radius:29px;padding:26px;min-height:255px;overflow:hidden;transition:.18s ease}
    .game-card:hover{transform:translateY(-5px);box-shadow:0 26px 60px rgba(67,38,91,.14)}
    .game-card img{width:64px;height:64px;object-fit:contain;margin-bottom:19px}
    .game-card h3{font-size:26px;line-height:1;margin:0 0 9px;color:var(--purple-deep);font-weight:620}
    .game-card .verb{display:inline-flex;font-family:var(--brand-font);font-weight:620;color:#785e0b;background:#fff0a8;padding:6px 8px;border-radius:10px;font-size:12px;margin-bottom:12px}
    .game-card p{font-size:14px;line-height:1.55;color:#67573c;margin:0}
    .game-card:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-48px;bottom:-48px;background:rgba(91,42,191,.07)}
    .architecture{background:linear-gradient(180deg,#ead06e,#e2bd3f)}
    .arch-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:20px;align-items:start}
    .arch-story{border-radius:31px;padding:34px;position:sticky;top:98px}
    .arch-story h3{font-size:30px;margin:0 0 14px;color:var(--purple-deep);font-weight:620}
    .arch-story p{font-size:16px;line-height:1.63;color:#655126;margin:0 0 22px}
    .pill-row{display:flex;gap:7px;flex-wrap:wrap}.pill-row span{background:#f5e4a0;padding:7px 9px;border-radius:999px;font-size:11px;font-weight:750;color:#654e0d}
    .arch-stack{display:grid;gap:12px}
    .arch-layer{display:grid;grid-template-columns:74px 1fr;gap:20px;align-items:center;border-radius:25px;padding:22px;background:rgba(255,252,243,.92);border:1px solid rgba(71,43,90,.10);box-shadow:0 11px 23px rgba(82,58,10,.09)}
    .layer-mark{width:58px;height:58px;border-radius:19px;display:grid;place-items:center;background:linear-gradient(135deg,var(--purple-deep),var(--purple));color:#fff;font:650 20px var(--brand-font)}
    .arch-layer h3{font-size:19px;margin:0 0 5px;color:var(--purple-deep);font-weight:620}.arch-layer p{font-size:13px;line-height:1.5;color:#6b5934;margin:0}
    .assessment{background:#fffaf0}
    .assessment-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}
    .assessment-card{border-radius:30px;padding:31px}.assessment-card h3{font-size:25px;margin:0 0 16px;color:var(--purple-deep);font-weight:620}.assessment-card p{font-size:15px;line-height:1.6;color:#665638;margin:0 0 18px}
    .verb-flow{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:6px}
    .verb-flow span{font-family:var(--brand-font);font-weight:650;font-size:13px;color:#654e0d;background:#f8e9a7;padding:8px 12px;border-radius:999px}
    .verb-flow em{font-style:normal;color:#a68a3f;font-size:13px}
    .qa-list{display:grid;gap:9px;margin-top:18px}.qa-item{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;background:#fff5cf;border-radius:14px;padding:11px 12px;font-size:13px;line-height:1.4;color:#64522f}.qa-item i{width:24px;height:24px;display:grid;place-items:center;border-radius:8px;background:var(--purple);color:#fff;font-style:normal;font-weight:900}
    .process{background:linear-gradient(180deg,#f3df96,#e7c64f)}
    .timeline{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.timeline-step{border-radius:22px;padding:20px 16px;background:rgba(255,252,242,.9);border:1px solid rgba(79,48,96,.10);min-height:160px}.timeline-step span{display:block;font:650 11px var(--brand-font);color:#8a6c1a;margin-bottom:12px}.timeline-step b{display:block;font:620 16px var(--brand-font);color:var(--purple-deep);margin-bottom:8px}.timeline-step p{font-size:12px;line-height:1.45;color:#6d5c38;margin:0}
    .skills{background:#fffaf0}
    .skills-panel{border-radius:32px;overflow:hidden}
    .skill-row{display:grid;grid-template-columns:minmax(210px,.85fr) 1.3fr 130px;gap:20px;padding:22px 26px;border-bottom:1px solid rgba(79,48,96,.08);align-items:center}.skill-row:last-child{border-bottom:0}.skill-row b{font-size:17px;color:var(--purple-deep);font-weight:620}.skill-row p{font-size:13px;line-height:1.5;color:#67573b;margin:0}.skill-row span{justify-self:end;font:650 11px var(--brand-font);color:#634c0c;background:#ffe99b;padding:7px 9px;border-radius:999px;white-space:nowrap}
    .closing-line{font-size:17px;line-height:1.6;color:#5e4919;max-width:760px;margin:30px 0 0}
    .cta{padding-top:106px;padding-bottom:110px}.cta-card{position:relative;overflow:hidden;border-radius:38px;padding:50px;background:linear-gradient(145deg,var(--purple-deep),#48168f 65%,var(--purple));color:#fff;box-shadow:0 30px 70px rgba(52,17,101,.25)}.cta-card:after{content:"+";position:absolute;font:650 330px/1 var(--brand-font);color:rgba(255,213,53,.13);right:-15px;top:-70px}.cta-card .section-kicker{color:#f2d658}.cta-card h2{color:#fff;max-width:780px}.cta-card p{max-width:780px;color:#eadffc;font-size:18px;line-height:1.6}.cta-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}.cta-card .btn.primary{background:linear-gradient(135deg,var(--gold-bright),var(--gold));color:#3d2f00;box-shadow:0 12px 26px rgba(224,171,0,.22)}.cta-card .btn.secondary{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.24);color:#fff;box-shadow:none}
    footer{padding:24px clamp(22px,5vw,72px) 38px;color:#6a5319}.footer-inner{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid rgba(78,50,93,.10);padding-top:24px;font-size:12px}.footer-brand{display:flex;align-items:center;gap:8px;font:600 13px var(--brand-font);color:var(--purple-deep)}.footer-brand img{width:24px;height:24px}
    .reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}.reveal.in{opacity:1;transform:none}
    @media(max-width:980px){.hero{grid-template-columns:1fr;gap:32px;padding-top:60px}.hero-visual{min-height:480px}.metrics{grid-template-columns:repeat(2,1fr);margin-top:0}.flow-grid{grid-template-columns:repeat(2,1fr)}.games-grid{grid-template-columns:repeat(2,1fr)}.arch-layout{grid-template-columns:1fr}.arch-story{position:relative;top:auto}.timeline{grid-template-columns:repeat(3,1fr)}.skill-row{grid-template-columns:1fr 1.4fr}.skill-row span{grid-column:2;justify-self:start}.nav-links a:not(.nav-cta){display:none}}
    @media(max-width:700px){.nav{height:66px;padding:0 14px}.brand-lockup img:first-child{width:32px;height:32px}.brand-lockup img:last-child{width:124px}.nav-cta{font-size:12px!important;padding:9px 11px!important}.hero{min-height:auto;padding:54px 19px 60px}.hero h1{font-size:54px}.hero-visual{min-height:390px}.visual-card{padding:24px;border-radius:30px}.mascot{width:94px;height:105px;top:130px}.learning-loop{inset:auto 18px 18px 18px}.learning-loop strong{font-size:20px}section{padding:72px 18px}.metrics,.split,.games-grid,.assessment-layout{grid-template-columns:1fr}.flow-grid{grid-template-columns:1fr}.timeline{grid-template-columns:repeat(2,1fr)}.skill-row{grid-template-columns:1fr;padding:20px}.skill-row span{grid-column:1}.cta-card{padding:34px 26px}.footer-inner{align-items:flex-start;flex-direction:column}.arch-layer{grid-template-columns:58px 1fr;gap:14px}}
    @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.btn,.game-card{transition:none}}

/* Hero refinement — clearer hierarchy, shorter narrative, cleaner learning-system visual */
.hero{grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);gap:72px;padding-top:78px;padding-bottom:72px}
.hero-copy{max-width:690px}
.hero h1{font-size:clamp(58px,5.9vw,86px);line-height:.98;letter-spacing:-.05em;margin:24px 0 30px;max-width:680px}
.hero h1 .accent{display:block;color:#fffaf0;margin-top:5px}
.hero-lead{font-size:clamp(19px,1.55vw,23px);line-height:1.55;max-width:660px;margin:0 0 30px;color:#624b18}
.hero-lead strong{color:var(--purple-deep)}
.hero-lead .slight-emphasis{font-family:inherit;color:inherit;font-weight:500}
.hero-actions{margin-top:4px}
.visual-card{width:min(520px,100%);aspect-ratio:1/.96;padding:36px 34px 30px}
.visual-logo img:first-child{width:68px;height:68px}
.visual-logo img:last-child{width:min(300px,72%)}
.mascot{right:32px;top:145px;width:102px;height:114px;transform:none;z-index:4}
.learning-loop{inset:auto 30px 30px 30px;padding:24px 24px 22px;border-radius:26px;min-height:205px}
.learning-loop small{font-size:11px;margin-bottom:14px;color:#71561b}
.loop-steps{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.loop-steps span{display:inline-flex;align-items:center;gap:6px;font:650 14px var(--brand-font);color:var(--purple-deep);background:#fff7d8;border:1px solid rgba(84,52,101,.08);padding:8px 10px;border-radius:12px;white-space:nowrap}
.loop-steps span b{display:grid;place-items:center;width:20px;height:20px;border-radius:7px;background:var(--purple);color:#fff;font:650 10px var(--brand-font)}
.loop-steps i{font-style:normal;color:#8f6b1a;font-weight:800}
.loop-result{margin-top:16px;padding-top:14px;border-top:1px solid rgba(84,52,101,.10)}
.loop-result strong{font:650 12px var(--brand-font);color:#765c17;display:block;margin-bottom:5px}
.loop-result p{margin:0;color:#5f4c25;font-size:12px;line-height:1.45;font-weight:600}
@media(max-width:1100px){.hero{grid-template-columns:1fr 1fr;gap:42px}.hero h1{font-size:clamp(54px,6vw,78px)}}
@media(max-width:980px){.hero{grid-template-columns:1fr}.hero-copy{max-width:760px}.hero h1{max-width:760px}.hero-visual{min-height:500px}.visual-card{width:min(540px,100%)}}
@media(max-width:700px){.hero h1{font-size:52px;line-height:1}.hero-lead{font-size:18px}.visual-card{padding:24px}.visual-logo img:first-child{width:56px;height:56px}.mascot{width:84px;height:94px;right:22px;top:120px}.learning-loop{inset:auto 18px 18px 18px;padding:20px}.loop-steps{gap:5px}.loop-steps span{font-size:12px;padding:7px 8px}.loop-steps i{display:none}}

    .hero-question{margin:-14px 0 30px;font-family:var(--body-font);font-weight:400}
/* Keep the story, product and proof in one compact composition. */
.hero{max-width:1520px;min-height:0;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:28px;align-items:start;padding:58px clamp(22px,3vw,48px) 48px}
.hero-copy{max-width:none}
.hero h1{font-size:clamp(40px,4vw,61px);line-height:1.08;max-width:none;letter-spacing:-.045em}
.headline-main{display:block}
.hero-visual{min-height:0;align-self:start;padding-top:58px;place-items:start center}
.visual-card{width:100%;max-width:640px}
.project-scope{padding-top:0;padding-bottom:64px}
.metrics{max-width:1424px;margin-top:0;gap:16px}
.metric{min-height:172px;justify-content:flex-start;gap:12px}
.metric span{display:block}
.metric b{display:block;font-size:17px;line-height:1.25;color:var(--purple-deep);margin-bottom:8px}
.metric small{display:block;font-size:13px;line-height:1.5;font-weight:400}
@media(min-width:981px){.hero h1 span{white-space:nowrap}}
@media(max-width:980px){.hero{grid-template-columns:1fr;gap:28px;padding-top:44px;padding-bottom:32px}.hero-copy{max-width:760px}.hero h1{font-size:clamp(36px,6.5vw,61px)}.hero-visual{padding-top:0}.visual-card{width:min(640px,100%)}.project-scope{padding-bottom:48px}}
@media(max-width:700px){.hero h1{font-size:clamp(34px,8vw,52px)}.metric{padding:22px 18px}.metric b{font-size:16px}}
/* Size the product panel from its contents at every viewport width. */
.visual-card{aspect-ratio:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.visual-card .mascot{position:relative;top:auto;right:auto;justify-self:end;margin:0;}
.visual-card .learning-loop{position:relative;inset:auto;min-height:0;width:100%}
/* Final hero refinements. */
.product-introduction{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 152px;align-items:center;gap:12px}
.product-introduction p{font-size:19px;line-height:1.5;color:#624b18;margin:0;max-width:290px}
.visual-card .product-introduction .mascot{width:152px;height:164px;justify-self:end}
.visual-card .learning-loop{padding:22px 16px;container-type:inline-size}
.loop-steps{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:4px;white-space:nowrap}
.loop-steps span{display:block;font-size:clamp(11px,3.5cqw,17px);font-weight:650;padding:0;background:transparent;border:0;border-radius:0}
.loop-steps i{display:block;flex-shrink:0;font-size:clamp(10px,3cqw,15px)}
@media(max-width:700px){.product-introduction{grid-template-columns:minmax(0,1fr) 116px;gap:8px}.product-introduction p{font-size:17px}.visual-card .product-introduction .mascot{width:116px;height:138px}.visual-card .learning-loop{padding:20px 12px}.loop-steps{gap:2px}.loop-steps span{padding:0;font-size:clamp(10px,3.5cqw,17px)}.loop-steps i{display:block}}
/* Tighten grouping and strengthen supporting text without changing the layout. */
.hero{padding-bottom:24px}
.hero h1{line-height:1.03;margin-bottom:22px}
.hero h1 .accent{font-size:.92em;margin-top:1px;color:#f5ecd6;text-shadow:0 2px 1px rgba(76,49,18,.24)}
.hero-lead{margin-bottom:12px;line-height:1.5}
.hero-question{margin:0 0 20px;font-weight:400}
.hero-actions{margin-top:0}
.hero-visual{padding-top:48px}
.product-introduction{gap:6px;padding-left:10px}
.product-introduction p{font-size:22px;line-height:1.4;font-weight:500;color:#503a15;max-width:310px}
.visual-card .product-introduction .mascot{transform:translateY(6px)}
.metric{padding:29px 26px}
.metric small{font-size:14px;line-height:1.5;color:#59451f}
@media(max-width:980px){.hero{gap:24px;padding-bottom:24px}.hero-visual{padding-top:0}}
@media(max-width:700px){.hero h1{margin-bottom:20px}.product-introduction{padding-left:4px;gap:6px}.product-introduction p{font-size:19px}.metric{padding:26px 22px}}
/* Final composition: content height, explicit rhythm and a 28px proof gap. */
.hero{height:auto;min-height:0;align-items:start;padding-bottom:28px}
.hero-copy{min-height:0}
.hero h1{margin-top:24px;margin-bottom:28px}
.hero h1 .accent{color:#FFF9E8}
.hero-lead{max-width:710px;margin-bottom:14px}
.hero-question{margin-top:0;margin-bottom:20px}
.hero-actions{margin-top:0}
.hero-visual{min-height:0;align-self:start}
.project-scope{padding-top:0}
.metrics{margin-top:0}
.product-introduction p{font-size:24px;color:#483311}
@media(max-width:980px){.hero{height:auto;min-height:0;padding-bottom:28px}}
@media(max-width:700px){.hero h1{margin-top:24px;margin-bottom:28px}.product-introduction p{font-size:20px}}
/* Give the observation and response distinct, readable paragraphs. */
.problem-card{min-height:280px;padding:28px}
.problem-card p + p{margin-top:14px}
.problem-card.dark p{line-height:1.7}

/* Six ways to play — narrative copy refinement */
.games .section-lead strong{color:var(--purple-deep);font-weight:650}

.arch-story p strong{color:var(--purple-deep);font-weight:650}

/* Final portfolio ending refinements */
.skills .skill-row{grid-template-columns:minmax(210px,.82fr) 1.75fr;gap:28px;}
.skills .skill-row p{max-width:760px;}
.process .timeline-step:last-child p{max-width:100%;}
@media(max-width:980px){.skills .skill-row{grid-template-columns:1fr 1.45fr;}}
@media(max-width:700px){.skills .skill-row{grid-template-columns:1fr;gap:10px;}}

/* Final layout refinement — one consistent 1180px page grid */
.nav{
  padding-left:max(18px,calc((100vw - 1180px)/2));
  padding-right:max(18px,calc((100vw - 1180px)/2));
}
.hero{
  width:min(1180px,calc(100% - 64px));
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  gap:48px;
  align-items:start;
  padding:56px 0 28px;
}
.hero-copy,.hero-visual{align-self:start}
.hero-visual{padding-top:0;place-items:start center}
.visual-card{max-width:560px}
.project-scope .metrics,
.section-inner,
.footer-inner{max-width:1180px;margin-left:auto;margin-right:auto}
.project-scope{padding-left:32px;padding-right:32px}

/* Tighter, cleaner capabilities section */
.skills .section-lead{max-width:720px;margin-bottom:32px}
.skills-panel{max-width:100%}
.skill-row{
  grid-template-columns:minmax(190px,.55fr) 1.45fr;
  gap:28px;
  padding:18px 26px;
}
.skill-row b{font-size:16px}
.skill-row p{font-size:13px;line-height:1.45}

/* More compact final invitation */
.cta{padding-top:82px;padding-bottom:82px}
.cta-card{padding:38px 42px}
.cta-card h2{margin-bottom:12px}
.cta-card p{margin-bottom:0;max-width:650px}
.cta-actions{margin-top:22px}

/* Simpler footer signature */
footer{padding-top:20px;padding-bottom:30px}
.footer-inner{padding-top:20px}

@media(max-width:980px){
  .hero{width:min(760px,calc(100% - 40px));grid-template-columns:1fr;gap:28px;padding:44px 0 28px}
  .hero-visual{padding-top:0}
  .project-scope{padding-left:20px;padding-right:20px}
  .skill-row{grid-template-columns:1fr;gap:8px}
}
@media(max-width:700px){
  .hero{width:calc(100% - 36px);padding-top:36px}
  .cta-card{padding:30px 24px}
}

/* IT-001 — Hero headline containment inside the shared 1180px grid */
.hero{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:64px;}
.hero h1{max-width:100%;font-size:clamp(42px,3.7vw,58px);}
@media(min-width:981px){.hero h1 span{white-space:normal;}}

