@layer base { html, body { margin: 0; padding: 0; } body { overscroll-behavior: none; } main > :first-child { margin-top: 0 !important; } main > :last-child { margin-bottom: 0 !important; } } ::-webkit-scrollbar { display: none; }
/* ---- Depth layer (Claude, 1 Dec 2026): light, layering and shadow on top of Stitch Option 2 ---- */
body{background:
  radial-gradient(1200px 700px at 78% 8%, rgba(152,67,81,.22), transparent 60%),
  radial-gradient(1000px 800px at 10% 30%, rgba(40,70,130,.28), transparent 60%),
  radial-gradient(900px 900px at 50% 110%, rgba(27,42,74,.55), transparent 65%),
  #060b16 !important;}
main{background:transparent !important}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 20%,#000 30%,transparent 80%);mask-image:radial-gradient(ellipse 80% 60% at 50% 20%,#000 30%,transparent 80%)}
body::after{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;opacity:.07;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
main,footer{position:relative;z-index:1}

.hero-stage{position:relative;width:min(560px,100%);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;perspective:1200px}
.hero-halo{position:absolute;inset:8%;border-radius:50%;background:radial-gradient(circle at 50% 45%,rgba(255,107,129,.35),rgba(152,67,81,.18) 35%,rgba(59,130,246,.10) 60%,transparent 72%);filter:blur(30px)}
.hero-ring{position:absolute;inset:4%;border-radius:50%;border:1px solid rgba(255,255,255,.08);box-shadow:inset 0 0 80px rgba(114,133,168,.12),0 0 0 40px rgba(255,255,255,.015),0 0 0 90px rgba(255,255,255,.01)}
.hero-object{position:relative;width:86%;height:auto;z-index:2;filter:drop-shadow(0 40px 40px rgba(0,0,0,.75)) drop-shadow(0 0 30px rgba(255,107,129,.18));animation:floaty 7s ease-in-out infinite}
.hero-floor{position:absolute;bottom:4%;left:18%;right:18%;height:34px;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.65),transparent);filter:blur(6px);animation:floor 7s ease-in-out infinite}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-16px)}}
@keyframes floor{0%,100%{transform:scaleX(1);opacity:.9}50%{transform:scaleX(.86);opacity:.6}}


main > div > section:nth-of-type(n+2){border-radius:40px 40px 0 0;margin-top:-40px;position:relative;box-shadow:0 -30px 60px rgba(0,0,0,.45);background-color:rgba(10,17,32,.86);border-top:1px solid rgba(255,255,255,.07)}
h1{background:linear-gradient(180deg,#fff 0%,#e9e3d8 60%,#a9b4c9 100%);-webkit-background-clip:text;background-clip:text;color:transparent !important;filter:drop-shadow(0 18px 30px rgba(0,0,0,.55));font-size:clamp(48px,8vw,104px) !important;line-height:1 !important}
[class*="bg-surface-container"]{box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 12px 24px -8px rgba(0,0,0,.55),0 30px 60px -20px rgba(0,0,0,.6)}
section [class*="bg-surface-container"][class*="rounded"]:hover{transform:translateY(-6px)}
header{background:rgba(8,14,26,.8) !important;border-bottom:1px solid rgba(255,255,255,.05)}

[class*="bg-[#111c34]"],[class*="bg-[#0c1527]"],[class*="bg-[#162340]"]{
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 1px 2px rgba(0,0,0,.4),0 12px 24px -8px rgba(0,0,0,.55),0 30px 60px -20px rgba(0,0,0,.6) !important;
  background-image:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,0) 40%);
  transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s}
section [class*="rounded-xl"][class*="bg-[#111c34]"]:hover,section [class*="rounded-2xl"][class*="bg-[#111c34]"]:hover{transform:translateY(-6px);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 24px 50px -12px rgba(0,0,0,.75),0 0 0 1px rgba(255,107,129,.25),0 0 40px -10px rgba(255,107,129,.35) !important}
header .bg-primary-container{color:#FAF7F1 !important;border:1px solid rgba(255,255,255,.1)}
.closing-band{background:linear-gradient(135deg,#1b2a4a 0%,#2a1420 60%,#5e1a2b 100%) !important;border-radius:40px 40px 0 0}
.closing-band,.closing-band *{color:#FAF7F1 !important}
.closing-band a{background:#984351 !important}
section .bg-primary{background:linear-gradient(160deg,#984351,#5e1a2b) !important;color:#FAF7F1 !important;box-shadow:0 0 60px -10px rgba(255,107,129,.5),0 30px 60px -20px rgba(0,0,0,.7) !important}
section .bg-primary *{color:#FAF7F1 !important}

.tl-track{height:3px;border-radius:3px;background:rgba(255,255,255,.08);margin:-24px 0 28px;overflow:hidden}
.tl-fill{height:100%;background:linear-gradient(90deg,#984351,#ff6b81);transform-origin:0 50%;box-shadow:0 0 12px rgba(255,107,129,.6)}
.mini-object{position:absolute;right:4%;bottom:10%;width:120px;height:auto;pointer-events:none;filter:drop-shadow(0 20px 20px rgba(0,0,0,.6));z-index:1}
#story .grid{perspective:900px}
@media (prefers-reduced-motion:reduce){.hero-object,.hero-floor{animation:none}}

/* ---- 'It returns' box (was inline style) ---- */
.ret-box{background:linear-gradient(135deg,#984351,#5e1a2b)}
.ret-label{color:#ffd9dc}
.ret-text{color:#FAF7F1}

/* ---- Expandable skill groups ---- */
.sk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px;align-items:start}
.sk-group{border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,0) 40%),#111c34;border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 12px 24px -8px rgba(0,0,0,.55),0 30px 60px -20px rgba(0,0,0,.6);transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .35s,border-color .35s}
.sk-group:hover{transform:translateY(-4px);border-color:rgba(255,107,129,.3)}
.sk-group[open]{border-color:rgba(255,107,129,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 40px -12px rgba(255,107,129,.35),0 30px 60px -20px rgba(0,0,0,.7)}
.sk-sum{list-style:none;cursor:pointer;padding:26px 28px;display:flex;flex-direction:column;gap:10px;border-radius:16px;outline:none}
.sk-sum::-webkit-details-marker{display:none}
.sk-sum:focus-visible{box-shadow:0 0 0 2px #ff6b81}
.sk-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sk-title{font-family:'Space Grotesk',sans-serif;font-size:20px;font-weight:600;color:#FAF7F1}
.sk-count{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:4px 10px;border-radius:999px;background:rgba(152,67,81,.25);color:#ffb2ba;white-space:nowrap}
.sk-line{color:#a8b3c7;font-size:15px;line-height:1.55}
.sk-hint{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:13px;font-weight:600;color:#ff8fa0}
.sk-close{display:none}.sk-group[open] .sk-open{display:none}.sk-group[open] .sk-close{display:inline}
.sk-chev{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .3s}
.sk-group[open] .sk-chev{transform:rotate(-135deg) translateY(-2px)}
.sk-list{list-style:none;margin:0;padding:0 28px 24px;display:flex;flex-direction:column;gap:12px;border-top:1px solid rgba(255,255,255,.06);padding-top:18px}
.sk-item{display:flex;flex-direction:column;gap:3px}
.sk-cmd{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;color:#ffb2ba}
.sk-name{font-size:14px;font-weight:600;color:#FAF7F1}
.sk-desc{font-size:14px;line-height:1.5;color:#c3cbd9}

.mw{opacity:.18;display:inline-block}
.motion-off .mw{opacity:1}

/* header: the round person icon is decorative and not a link -> removed */
header .rounded-full.w-8.h-8,header .w-8.h-8.rounded-full{display:none !important}
/* phones: keep the brand on one line, show only the page links that matter + CV */
@media (max-width:767px){
  header nav a[href="#story"],header nav a[href*="#story"],header nav a[href*="#contact"]:not([download]),header nav a[data-path="work"]{display:none !important}
  header .font-label-sm.uppercase{display:none}
  header a span{white-space:nowrap}
}

/* liquid AI orb */
.hero-orb{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:auto;touch-action:pan-y}
.orb-on .hero-object{visibility:hidden}
.orb-on .hero-halo{background:radial-gradient(circle at 50% 50%,rgba(255,107,129,.30),rgba(152,67,81,.16) 38%,rgba(59,130,246,.14) 58%,transparent 72%)}
.mini-orb{position:absolute;right:5%;bottom:12%;width:96px;height:96px;border-radius:50%;pointer-events:none;z-index:1;
  background:radial-gradient(circle at 35% 30%,#ffd0d8 0%,#ff6b81 14%,#984351 38%,#1b2a4a 70%,#0a1222 100%);
  box-shadow:0 0 40px rgba(255,107,129,.45),0 0 90px rgba(59,130,246,.25),inset -10px -14px 30px rgba(0,0,0,.55);
  animation:orbpulse 5s ease-in-out infinite}
@keyframes orbpulse{0%,100%{transform:scale(1);filter:hue-rotate(0deg)}50%{transform:scale(1.06);filter:hue-rotate(-12deg)}}
@media (prefers-reduced-motion:reduce){.mini-orb{animation:none}}

/* phones (fix 2): nothing in the header may wrap or overflow */
header nav a,header a{white-space:nowrap}
@media (max-width:767px){
  header nav a[href="#"],header nav a[href="index.html"]{display:none !important}
  header .h-20{gap:8px}
}
@media (max-width:420px){
  header a span.font-headline-sm,header a .font-headline-sm{font-size:12px}
  header nav a,header a[download]{padding-left:10px !important;padding-right:10px !important}
  header a[download] .material-symbols-outlined{display:none}
}

@media (max-width:767px){header nav a,header a[download],header a[href$=".pdf"]{padding-top:9px !important;padding-bottom:9px !important}}

/* header consistency with the portfolio page (reviewer finding) */
header nav a{font-size:12px !important;line-height:16px !important;font-weight:600}
header a .font-headline-sm.text-headline-sm{font-size:14px !important;line-height:20px !important}
header a .text-label-sm.uppercase{font-size:10px !important}

/* no cube flash on load: the image is only a fallback when the orb cannot run */
.hero-object{visibility:hidden}
.orb-fail .hero-object{visibility:visible}

/* orb light must fade out naturally, never get cut by a box edge */
main > div > section:first-of-type{overflow:visible !important}
.hero-stage{overflow:visible}
.hero-orb{inset:-20% !important;width:140% !important;height:140% !important}

/* phones: the desktop header sizes above must not apply here */
@media (max-width:420px){
  header a .font-headline-sm.text-headline-sm{font-size:12px !important}
  header nav a,header a[href$=".pdf"]{letter-spacing:0 !important;padding-left:9px !important;padding-right:9px !important}
  header a[href$=".pdf"]{margin-left:2px !important}
  header a[href$=".pdf"] .material-symbols-outlined{display:none}
}

/* the enlarged orb canvas must never widen the page */
main{overflow-x:clip}

/* It gets to know me + data questions */
.km-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr));gap:18px}
.km-card{padding:24px;border-radius:16px;background:linear-gradient(160deg,rgba(40,58,100,.5),rgba(12,19,38,.96));border:1px solid rgba(255,255,255,.09);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 18px 36px -12px rgba(0,0,0,.65)}
.km-card .material-symbols-outlined{color:#ff6b81;font-size:26px}
.km-card h3{font-family:'Space Grotesk',sans-serif;font-size:17px;font-weight:700;color:#FAF7F1;margin:12px 0 6px}
.km-card p{font-size:14px;line-height:1.55;color:#c3cbd9}
.km-h{font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:700;color:#FAF7F1;margin:56px 0 18px}
.km-qa{display:flex;flex-direction:column;gap:12px;max-width:820px}
.km-q{border-radius:14px;background:#111c34;border:1px solid rgba(255,255,255,.09)}
.km-q summary{cursor:pointer;padding:18px 22px;font-weight:600;color:#FAF7F1}
.km-q summary:focus-visible{outline:2px solid #ff6b81;border-radius:14px}
.km-q p{padding:0 22px 20px;font-size:14px;line-height:1.6;color:#c3cbd9}

/* How my AI use grew */
.tl-list{list-style:none;margin:0;padding:0;display:grid;gap:18px;grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}
.tl-step{padding:20px 24px;border-left:3px solid #ff6b81;border-radius:0 14px 14px 0;background:#111c34}
.tl-date{font-size:13px;font-weight:700;letter-spacing:.06em;color:#ff8fa0}
.tl-step h3{font-family:'Space Grotesk',sans-serif;font-size:18px;font-weight:700;color:#FAF7F1;margin:6px 0 4px}
.tl-step p{font-size:14px;line-height:1.55;color:#c3cbd9;margin:0}

/* phones (4 Dec 2026): tiny phones drop the small header name so Download CV fits; card labels may wrap */
@media (max-width:374px){header a.group > .flex-col{display:none !important}}
@media (max-width:480px){.sk-top{flex-wrap:wrap;row-gap:2px}.sk-count{white-space:normal}}

/* decorations follow the content, not a fixed spot (4 Dec 2026): when the section itself is narrow,
   the small orb/object drops into the flow under the text instead of sitting on top of it */
section.has-mini{container-type:inline-size}
@container (max-width:60rem){
  .mini-orb,.mini-object{position:relative !important;inset:auto !important;display:block;margin:40px auto 0 !important}
}
/* first section: phone address bar aware height (svh), 100vh stays as the fallback */
@supports (height:100svh){.min-h-\[calc\(100vh-140px\)\]{min-height:calc(100svh - 140px)}}
/* section spacing is fluid: ~56 px on a phone, growing smoothly to the desktop size (Utopia method) */
section.py-20,section.py-24{padding-block:clamp(3.5rem,2rem + 6vw,6rem)}
section.lg\:py-28{padding-block:clamp(3.5rem,2rem + 6vw,7rem)}
/* command cards: the count badge goes under the title on every narrow card (consistent), beside it on wide cards */
.sk-sum{container-type:inline-size}
@container (max-width:26rem){.sk-top{flex-direction:column;align-items:flex-start;gap:8px}}
/* "How it works" steps: fluid card padding; when stacked, the arrow sits beside the number and points down */
.p-8.justify-between.relative{padding:clamp(1.25rem,0.9rem + 2vw,2rem)}
@media (max-width:767px){
  .p-8.justify-between.relative > .mt-8.flex.justify-end{position:absolute;top:clamp(1.25rem,0.9rem + 2vw,2rem);right:clamp(1.25rem,0.9rem + 2vw,2rem);margin:0}
  .p-8.justify-between.relative > .mt-8.flex.justify-end .material-symbols-outlined{transform:rotate(90deg)}
}
/* 5 Dec: phones. Each section is overlapped 40 px by the next one, and had only 56 px under its content, so the last
   card sat 16 px from the next section and the tour frame squeezed it (10 px). +40 px keeps the same 56 px look. */
@media (max-width:1023.98px){main > div > section:not(:last-child){padding-bottom:96px}}

/* old iPhones (no container queries): the same rule by screen width */
@supports not (container-type:inline-size){@media (max-width:60rem){
  .mini-orb,.mini-object{position:relative !important;inset:auto !important;display:block;margin:40px auto 0 !important}}}
@supports not (container-type:inline-size){@media (max-width:640px){.sk-top{flex-direction:column;align-items:flex-start;gap:8px}}}
