:root {
  --bg: #08090c;
  --bg-2: #0e1015;
  --surface: #13161d;
  --surface-2: #1a1e27;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eeece8;
  --muted: #9b9ea8;
  --dim: #6c707b;
  --amber: #f2b544;
  --amber-2: #ff8a3d;
  --beam: #6d8dff;
  --radius: 18px;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16.5px/1.7 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Archivo", system-ui, sans-serif; line-height: 1.05; margin: 0; font-weight: 700; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.amber { color: var(--amber); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--amber);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8, 9, 12, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: "Archivo"; font-weight: 900; font-stretch: 115%; letter-spacing: .04em; text-decoration: none; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.brand i { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.nav ul a { text-decoration: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav ul a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav .cta { color: var(--bg) !important; background: var(--amber) !important; font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.rig { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rig::before { /* stage haze */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 70% 0%, rgba(242,181,68,.20), transparent 70%),
    radial-gradient(40% 40% at 15% 10%, rgba(109,141,255,.16), transparent 70%),
    radial-gradient(80% 50% at 50% 110%, rgba(255,138,61,.10), transparent 70%);
}
.beam {
  position: absolute; top: -10%; width: 34vw; height: min(130%, 1200px);
  transform-origin: 50% 0;
  background: linear-gradient(to bottom, rgba(255,214,140,.30), rgba(255,214,140,.06) 55%, transparent 80%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(14px);
  mix-blend-mode: screen;
  animation: sway 11s ease-in-out infinite alternate;
}
.beam.b1 { left: 52%; --r1: 14deg; --r2: 4deg; }
.beam.b2 { left: 68%; --r1: -6deg; --r2: -18deg; animation-duration: 13s; animation-delay: -4s; }
.beam.b3 { left: 4%; --r1: -20deg; --r2: -8deg; animation-duration: 15s; animation-delay: -2s;
  background: linear-gradient(to bottom, rgba(130,160,255,.28), rgba(130,160,255,.05) 55%, transparent 80%); }
@keyframes sway { from { transform: rotate(var(--r1)); } to { transform: rotate(var(--r2)); } }
.hero .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 56px; align-items: center; padding-top: 110px; padding-bottom: 90px; }
.hero h1 {
  font-size: clamp(50px, 7.6vw, 116px); font-weight: 900; font-stretch: 110%;
  letter-spacing: -.02em; line-height: .88; text-transform: uppercase; margin: 22px 0 28px;
}
.hero h1 span { display: block; }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.hero .lead { font-size: 19px; color: #c9c8c4; max-width: 31em; margin: 0 0 36px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font: 600 15px/1 "Inter", sans-serif; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.03);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.35); }
.btn.primary { background: var(--amber); color: #1a1205; border-color: var(--amber); box-shadow: 0 10px 40px -10px rgba(242,181,68,.7); }
.btn.primary:hover { box-shadow: 0 14px 50px -8px rgba(242,181,68,.85); }
.btn svg { width: 16px; height: 16px; }

.portrait { position: relative; justify-self: end; width: min(400px, 100%); }
.portrait::before { /* spotlight behind */
  content: ""; position: absolute; inset: -18% -18% -10%; z-index: -1;
  background: radial-gradient(closest-side, rgba(242,181,68,.38), rgba(255,138,61,.12) 60%, transparent);
  filter: blur(20px);
}
.portrait .frame {
  border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.8);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.portrait .tag {
  position: absolute; left: -28px; bottom: 34px;
  background: rgba(19,22,29,.85); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 16px;
  font-size: 13px; line-height: 1.4; color: var(--muted);
}
.portrait .tag b { display: block; color: var(--text); font-size: 15px; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--dim); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: "Archivo"; font-weight: 900; font-stretch: 110%; font-size: 44px; line-height: 1; color: var(--text); }
.stat b em { font-style: normal; color: var(--amber); }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
section { padding: 120px 0; position: relative; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.head h2 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 900; font-stretch: 105%; text-transform: uppercase; letter-spacing: -.01em; margin-top: 14px; }
.head p { max-width: 26em; color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about .text p { margin: 0 0 18px; color: #cfcdc8; font-size: 17.5px; }
.about .text p:first-child { font-size: 22px; line-height: 1.5; color: var(--text); font-weight: 500; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: center 15%; width: 100%; border: 1px solid var(--line); }
.pillset { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.pill-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pill-card h4 { font-family: "Inter"; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.pill-card ul { list-style: none; margin: 0; padding: 0; }
.pill-card li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 15px; color: #d6d4cf; }
.pill-card li:first-child { border-top: 0; }

/* Experience */
.exp { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 220px; top: 0; bottom: 0; width: 1px; background: linear-gradient(var(--amber), var(--line) 30%, var(--line)); }
.job { display: grid; grid-template-columns: 220px 1fr; position: relative; }
.job .when { padding: 30px 36px 0 0; text-align: right; font-family: "Archivo"; font-weight: 700; font-stretch: 110%; font-size: 15px; letter-spacing: .06em; color: var(--muted); }
.job.now .when { color: var(--amber); }
.job .body { padding: 26px 0 26px 44px; position: relative; }
.job .body::before {
  content: ""; position: absolute; left: -6px; top: 36px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--dim);
}
.job.now .body::before { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 0 5px rgba(242,181,68,.15), 0 0 18px var(--amber); }
.job .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; transition: border-color .25s, transform .25s; }
.job .card:hover { border-color: var(--line-2); transform: translateX(4px); }
.job h3 { font-size: 22px; font-weight: 700; letter-spacing: -.005em; }
.job .org { color: var(--amber); font-size: 14px; font-weight: 500; margin: 6px 0 12px; }
.job ul { margin: 0; padding-left: 18px; color: #c4c2bd; font-size: 15.5px; }
.job li { margin: 5px 0; }
.job li::marker { color: var(--dim); }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag-row span { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }

/* Education & skills */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; overflow: hidden; }
.tile .yr { font-family: "Archivo"; font-weight: 900; font-stretch: 110%; font-size: 34px; color: var(--amber); line-height: 1; margin-bottom: 18px; }
.tile h3 { font-size: 19px; }
.tile p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.tile.span2 { grid-column: span 2; }
.tile h4 { font-family: "Inter"; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 16px; }
.lang { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.lang:first-of-type { border-top: 0; }
.meter { display: flex; gap: 4px; }
.meter i { width: 22px; height: 5px; border-radius: 3px; background: var(--surface-2); }
.meter i.on { background: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: #d6d4cf; background: rgba(255,255,255,.02); }

/* Lighting */
.light { padding-top: 140px; }
.light::before { content: ""; position: absolute; inset: 0 0 auto; height: 600px; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 0%, rgba(242,181,68,.10), transparent 70%); }
.showcase { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 96px; }
.showcase img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.showcase .over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: end; padding: 48px;
  background: linear-gradient(to top, rgba(8,9,12,.95), rgba(8,9,12,.3) 55%, transparent); }
.showcase h3 { font-size: clamp(34px, 5vw, 64px); font-weight: 900; font-stretch: 110%; text-transform: uppercase; line-height: .95; max-width: 12em; }
.showcase p { color: #cfcdc8; max-width: 40em; margin: 18px 0 0; }

.project { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-bottom: 110px; }
.project.flip { grid-template-columns: 7fr 5fr; }
.project.flip .p-text { order: 2; }
.p-num { font-family: "Archivo"; font-weight: 900; font-stretch: 120%; font-size: 15px; color: var(--amber); letter-spacing: .1em; }
.project h3 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; font-stretch: 105%; text-transform: uppercase; margin: 10px 0 16px; }
.project p { color: #c4c2bd; margin: 0 0 22px; }
.specs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--dim); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding-top: 3px; }
.specs dd { margin: 0; }
.figures { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 110px; gap: 12px; }
.figures figure { margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.figures img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .4s; filter: saturate(1.05); }
.figures figure:hover img { transform: scale(1.06); filter: saturate(1.25); }
.f-a { grid-column: span 6; grid-row: span 3; }
.f-b { grid-column: span 3; grid-row: span 2; }
.f-c { grid-column: span 3; grid-row: span 2; }
.credit { grid-column: 1 / -1; font-size: 12px; color: var(--dim); align-self: start; }

.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 96px; }
.other { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.other b { font-family: "Archivo"; font-weight: 700; font-size: 18px; display: block; margin-bottom: 6px; }
.other span { color: var(--muted); font-size: 14.5px; }
.other small { display: block; color: var(--amber); font-size: 12px; letter-spacing: .16em; margin-bottom: 14px; font-weight: 600; }

.shows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.show {
  position: relative; display: flex; align-items: center; gap: 20px;
  padding: 22px; border-radius: var(--radius); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.show:hover { border-color: rgba(242,181,68,.5); transform: translateY(-3px); }
.show .play { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: #1a1205; box-shadow: 0 0 30px rgba(242,181,68,.45); }
.show h4 { font-size: 19px; text-transform: uppercase; font-stretch: 105%; }
.show p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.gear .tile p { color: #cfcdc8; font-size: 15px; }

/* Contact */
.contact { padding: 160px 0; text-align: center; overflow: hidden; isolation: isolate; }
.contact .bg { position: absolute; inset: 0; z-index: -1; background: url("img/satama.jpg") center 75% / cover; opacity: .55; }
.contact .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(8,9,12,.45) 35%, rgba(8,9,12,.7) 75%, var(--bg)); }
.contact h2 { font-size: clamp(44px, 8vw, 110px); font-weight: 900; font-stretch: 110%; text-transform: uppercase; line-height: .9; margin: 18px 0 22px; }
.contact p { color: #cfcdc8; max-width: 30em; margin: 0 auto 36px; font-size: 18px; }
.contact .btns { justify-content: center; }
.refs { margin-top: 30px; color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; padding-top: 24px; padding-bottom: 24px; gap: 16px; flex-wrap: wrap; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .beam { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .about, .project, .project.flip { grid-template-columns: 1fr; }
  .project.flip .p-text { order: 0; }
  .portrait { justify-self: start; width: min(320px, 78%); order: -1; }
  .portrait .tag { left: auto; right: -24px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .others { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav ul li:not(:last-child) { display: none; }
  section { padding: 84px 0; }
  .hero .wrap { padding-top: 96px; gap: 36px; }
  .hero .lead { font-size: 17px; }
  .portrait .tag { right: -10px; bottom: 18px; }
  .scroll-hint { display: none; }
  .stat { padding: 24px 14px; }
  .stat b { font-size: 34px; }
  .timeline::before { left: 5px; }
  .job { grid-template-columns: 1fr; }
  .job .when { text-align: left; padding: 22px 0 8px 28px; font-size: 13px; }
  .job .body { padding: 0 0 4px 28px; }
  .job .body::before { left: 0; top: -22px; }
  .job .card { padding: 20px; }
  .bento, .others, .shows, .gear, .pillset { grid-template-columns: 1fr; }
  .tile.span2 { grid-column: auto; }
  .showcase img { aspect-ratio: 4/5; }
  .showcase .over { padding: 24px; }
  .figures { grid-auto-rows: 70px; gap: 8px; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .contact { padding: 110px 0; }
}

@media print {
  body::after, .nav, .rig, .scroll-hint, .light, .btns, .stats, .about-media, .portrait, footer { display: none !important; }
  html, body { background: #fff; color: #111; font-size: 10.5pt; }
  .hero { min-height: 0; }
  .hero .wrap { padding: 0 0 10pt; grid-template-columns: 1fr; }
  .hero h1 { font-size: 40pt; margin: 6pt 0; }
  .hero h1 .outline { color: #111; -webkit-text-stroke: 0; }
  .hero .lead, .about .text p, .job ul, .tile p, .contact p, .refs { color: #222 !important; }
  section, .contact { padding: 12pt 0; text-align: left; }
  .contact .bg { display: none; }
  .head { margin-bottom: 10pt; }
  .head h2, .contact h2 { font-size: 18pt; }
  .exp { background: none; }
  .job .card, .tile, .pill-card { background: none; border-color: #ccc; }
  .job { break-inside: avoid; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Landing: two paths ---------- */
.hero.home .wrap { padding-bottom: 60px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 120px; }
.path {
  position: relative; display: flex; flex-direction: column; justify-content: end;
  min-height: 460px; padding: 36px; border-radius: 24px; overflow: hidden; isolation: isolate;
  text-decoration: none; border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s;
}
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .5s; filter: saturate(.9) brightness(.85); }
.path::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,9,12,.96) 10%, rgba(8,9,12,.45) 60%, rgba(8,9,12,.2)); }
.path:hover { transform: translateY(-6px); border-color: rgba(242,181,68,.5); }
.path:hover img { transform: scale(1.06); filter: saturate(1.15) brightness(.95); }
.path .num { font-family: "Archivo"; font-weight: 900; font-stretch: 120%; font-size: 14px; color: var(--amber); letter-spacing: .14em; }
.path h2 { font-size: clamp(32px, 3.8vw, 54px); overflow-wrap: break-word; hyphens: manual; font-weight: 900; font-stretch: 110%; text-transform: uppercase; line-height: .92; margin: 12px 0 14px; }
.path p { color: #cfcdc8; margin: 0 0 22px; max-width: 28em; }
.path .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.path .go svg { width: 18px; height: 18px; transition: transform .3s; }
.path:hover .go svg { transform: translateX(5px); }
.path .chips { margin-bottom: 22px; }
.path .chip { background: rgba(8,9,12,.5); backdrop-filter: blur(6px); font-size: 13px; padding: 5px 12px; }
.path.guide img { object-position: center 40%; }

/* ---------- Sub page hero ---------- */
.page-hero { position: relative; padding: 170px 0 80px; overflow: hidden; isolation: isolate; }
.page-hero .wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: end; }
.page-hero h1 { font-size: clamp(40px, 6.6vw, 100px); overflow-wrap: break-word; hyphens: manual; font-weight: 900; font-stretch: 110%; text-transform: uppercase; line-height: .88; letter-spacing: -.02em; margin: 20px 0 26px; }
.page-hero .lead { font-size: 19px; color: #c9c8c4; max-width: 32em; margin: 0 0 32px; }
.page-hero .side { color: var(--muted); font-size: 15px; border-left: 1px solid var(--line-2); padding-left: 24px; }
.page-hero .side b { display: block; color: var(--text); font-size: 16px; margin-bottom: 4px; }
.page-hero .side div + div { margin-top: 18px; }
.crumb { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.crumb:hover { color: var(--text); }
.switch { border-top: 1px solid var(--line); }
.switch a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 56px 0; text-decoration: none; }
.switch span.kicker { margin-bottom: 10px; }
.switch a > div { min-width: 0; }
.switch h3 { overflow-wrap: break-word; hyphens: manual; font-size: clamp(30px, 5vw, 64px); font-weight: 900; font-stretch: 110%; text-transform: uppercase; transition: color .3s; }
.switch a:hover h3 { color: var(--amber); }
.switch svg { width: 48px; height: 48px; flex: none; color: var(--amber); transition: transform .3s; }
.switch a:hover svg { transform: translateX(8px); }

/* ---------- Software development ---------- */
.code { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 25%, var(--bg-2) 75%, var(--bg)); }
.code-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.code-grid p { color: #c4c2bd; }
.terminal {
  background: #0b0d12; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(242,181,68,.06);
  font: 13.5px/1.75 ui-monospace, "Cascadia Code", Consolas, monospace;
}
.terminal .bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #10131a; }
.terminal .bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2e38; }
.terminal .bar i:first-child { background: #ff5f57; } .terminal .bar i:nth-child(2) { background: #febc2e; } .terminal .bar i:nth-child(3) { background: #28c840; }
.terminal pre { margin: 0; padding: 20px 22px; color: #c9ccd4; overflow-x: auto; white-space: pre; }
.terminal .c { color: #5f6675; } .terminal .k { color: var(--amber); } .terminal .s { color: #9ad18b; } .terminal .p { color: #7aa2ff; }
.feature-list { display: grid; gap: 12px; margin-top: 26px; }
.feature { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(242,181,68,.1); color: var(--amber); }
.feature .ic svg { width: 20px; height: 20px; }
.feature b { display: block; font-size: 15.5px; }
.feature span { color: var(--muted); font-size: 14.5px; }

@media (max-width: 960px) {
  .paths, .page-hero .wrap, .code-grid { grid-template-columns: 1fr; }
  .path { min-height: 380px; }
}
@media (max-width: 720px) {
  .paths { padding-bottom: 84px; }
  .path { padding: 24px; min-height: 360px; }
  .page-hero { padding: 120px 0 56px; }
  .page-hero .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-2); padding-top: 20px; }
  .switch a { padding: 40px 0; }
  .switch svg { width: 32px; height: 32px; }
}
@media print {
  .paths, .switch, .code .terminal, .page-hero .side { display: none !important; }
  .page-hero { padding: 0 0 10pt; }
  .page-hero h1 { font-size: 36pt; margin: 4pt 0; }
  .page-hero .lead { color: #222; }
  .code { background: none; }
}

/* ---------- CV download CTA ---------- */
.cv-cta-wrap { padding: 40px 0 120px; }
.cv-cta {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: 48px 52px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #16130c, var(--surface) 55%);
  border: 1px solid rgba(242,181,68,.28);
}
.cv-cta::before {
  content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; height: 220%;
  background: radial-gradient(closest-side, rgba(242,181,68,.22), transparent);
  filter: blur(10px);
}
.cv-cta h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 900; font-stretch: 108%; text-transform: uppercase; line-height: .98; margin: 14px 0 12px; }
.cv-cta p { margin: 0; color: var(--muted); }
@media (max-width: 860px) {
  .cv-cta { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .cv-cta-wrap { padding: 20px 0 84px; }
}
@media print { .cv-cta-wrap { display: none !important; } }

/* ---------- Three paths ---------- */
.paths.three { grid-template-columns: repeat(3, 1fr); }
.paths.three .path { min-height: 520px; padding: 30px; }
.paths.three .path h2 { font-size: clamp(24px, 2.3vw, 34px); }
.path.dev img { object-position: center; }
@media (max-width: 1060px) {
  .paths.three { grid-template-columns: 1fr; }
  .paths.three .path { min-height: 380px; }
  .paths.three .path h2 { font-size: clamp(32px, 6vw, 48px); }
}

/* code card on the developer path */
.path .path-term {
  position: absolute; inset: 0; z-index: -2; border: 0; border-radius: 0; box-shadow: none;
  font-size: 13px; transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  background: radial-gradient(70% 60% at 80% 0%, rgba(122,162,255,.14), transparent 70%), #0b0d12;
}
.path .path-term pre { padding: 18px 22px; overflow: hidden; }
.path:hover .path-term { transform: scale(1.04); }
.path.dev::before { background: linear-gradient(to top, rgba(8,9,12,.98) 48%, rgba(8,9,12,.55) 70%, rgba(8,9,12,.05)); }
.kicker { max-width: 100%; }
@media (max-width: 720px) {
  .kicker { letter-spacing: .18em; }
  .page-hero h1 { font-size: clamp(32px, 10vw, 46px); }
}
.cv-cta .btns { flex-direction: column; align-items: stretch; }
.cv-cta .btns .btn { justify-content: center; }
@media (max-width: 860px) { .cv-cta .btns { flex-direction: row; flex-wrap: wrap; } }
