/* Shared design tokens and components. Motion and breakpoints are separate. */
:root {
  color-scheme: dark;
  --bg: #000000;
  --paper: #ffffff;
  --muted: #a6abb3;
  --accent: #f1cdd7;
  --burgundy: #6d001a;
  --font-brand: "balboa-extra-condensed", "Balboa", "Anton", Impact, sans-serif;
  --font-display: var(--font-brand);
  --font-script: "Shadows Into Light", cursive;
  --line: #ffffff20;
  --glass: linear-gradient(135deg, #ffffff0d, #ffffff03);
  --pad: clamp(24px, 5vw, 80px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; background: var(--bg); color: var(--paper); font-family: 'Segoe UI', Arial, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #c8617d55; color: #fff; }
[hidden] { display: none !important; }
main { overflow: clip; }
section { max-width: 1600px; margin-inline: auto; padding: 105px var(--pad); scroll-margin-top: 20px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; }
h1, h2 { font-family: var(--font-display); font-weight: 900; font-synthesis: none; text-transform: uppercase; letter-spacing: -.015em; }
h2 { font-size: clamp(44px, 5.2vw, 78px); line-height: 1.13; margin-bottom: 0; }
em { font-family: var(--font-script); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: -.015em; color: var(--paper); }
p { line-height: 1.7; }
.glass { border: 1px solid var(--line); background: var(--glass); box-shadow: inset 0 1px 0 #ffffff20, inset 0 -1px 0 #ffffff06, 0 20px 70px #00000030; backdrop-filter: blur(22px) saturate(135%); -webkit-backdrop-filter: blur(22px) saturate(135%); }
.eyebrow, .label { color: var(--muted); font-size: 14px; line-height: 1.6; letter-spacing: .07em; }
.eyebrow { margin-bottom: 22px; }
.accent { color: var(--accent); }
.dot { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-inline-end: 10px; box-shadow: 0 0 18px #c8617d55; }
.ambient { position: fixed; pointer-events: none; z-index: -1; width: 650px; height: 650px; border-radius: 50%; opacity: .7; filter: blur(80px); }
.ambient-one { top: -260px; right: -240px; background: radial-gradient(circle, #6d001a5c, transparent 68%); }
.ambient-two { left: -420px; top: 550px; background: radial-gradient(circle, #6d001a3d, transparent 68%); }
.progress { position: fixed; left: 0; top: 0; z-index: 100; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.topbar { position: fixed; z-index: 50; top: 20px; left: max(24px, calc((100vw - 1440px) / 2)); right: max(24px, calc((100vw - 1440px) / 2)); height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border-radius: 24px; background-color: #101010c7; }
.brand { font-family: var(--font-brand); font-synthesis: none; font-size: 29px; font-weight: 650; letter-spacing: -.065em; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 34px; font-size: 14px; color: #d0d2d5; }
.nav a { position: relative; padding: 10px 0; }
.nav a::after { content: ''; height: 2px; position: absolute; left: 0; right: 0; bottom: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-contact, .language-switch { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; line-height: 1.2; white-space: nowrap; border: 1px solid #ffffff29; background: #ffffff08; border-radius: 30px; padding: 10px 22px; transition: background .3s, border-color .3s; }
.language-switch { padding-inline: 14px; color: var(--accent); border-color: #f1cdd745; }
.nav-contact:hover, .language-switch:hover { background: #ffffff17; border-color: #f1cdd76b; }
.hero { position: relative; padding-top: 164px; padding-bottom: 32px; min-height: min(900px, 100svh); display: grid; grid-template-columns: 1.12fr .88fr; gap: 30px 4%; align-items: center; }
.hero-content { position: relative; z-index: 2; padding-block: 25px; }
.hero .eyebrow { letter-spacing: .015em; color: #b8b9bc; margin-bottom: 30px; }
h1 { font-size: clamp(80px, 8.7vw, 139px); line-height: .98; margin-bottom: 30px; }
h1 em { display: inline-block; }
.hero-script { display: block; font-family: var(--font-script); font-size: clamp(42px, 4.6vw, 65px); font-weight: 400; text-transform: none; letter-spacing: -.025em; line-height: 1.2; margin: 0 0 16px 3px; transform: rotate(-4deg); transform-origin: left; }
.hero-display { display: block; font-size: clamp(110px, 12.3vw, 180px); line-height: .98; letter-spacing: -.025em; }
.hero-period { color: #ab2349; }
.hero-copy { max-width: 420px; font-size: 19px; color: var(--muted); margin-bottom: 35px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; color: #929ba7; font-size: 13px; }
.hero-notes span + span::before { content: '·'; margin-inline-end: 20px; color: var(--accent); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: 100px; font-size: 14px; font-weight: 500; transition: background .3s, transform .4s var(--ease), box-shadow .3s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #ffffff; background: #6d001a; border-color: #be5e7866; box-shadow: 0 5px 35px #6d001a20; }
.button-primary:hover { background: #8c1434; box-shadow: 0 8px 40px #6d001a35; }
.button-glass { border-color: #ffffff29; background: #ffffff08; color: var(--paper); }
.button-glass:hover { background: #ffffff15; }
.play-icon { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid currentColor; }
.hero .play-icon { border-top-width: 4px; border-bottom-width: 4px; border-left-width: 6px; }
.hero-foot { grid-column: 1 / -1; border-top: 1px solid #ffffff15; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: #858d99; font-size: 13px; }
.hero-foot a { color: #b6b8bc; }
.portrait-scene { position: relative; width: min(100%, 435px); margin: 0 auto; padding: 17px; perspective: 1000px; }
.portrait-orbit { position: absolute; inset: -20px -30px 30px; border: 1px solid #c8617d17; border-radius: 46% 54% 55% 45%; transform: rotate(14deg); z-index: -1; }
.portrait-scene::before { content: ''; position: absolute; inset: 8% -15%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #6d001a33, #6d001a10 55%, transparent 70%); filter: blur(32px); }
.portrait-shell { margin: 0; padding: 9px; overflow: hidden; position: relative; border-radius: 190px 190px 32px 32px; transform: rotateY(var(--rotate-y, 0deg)) rotateX(var(--rotate-x, 0deg)); transition: transform .7s var(--ease); }
.portrait-photo { aspect-ratio: 3 / 4; position: relative; overflow: hidden; border-radius: 182px 182px 25px 25px; }
.hero-portrait { display: block; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.03); }
.portrait-shell::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, #ffffff0c, transparent 40%, #6d001a05); pointer-events: none; }
.portrait-caption { display: flex; flex-direction: column; gap: 4px; position: absolute; left: 25px; right: 25px; bottom: 25px; z-index: 1; padding: 18px 22px; border-radius: 20px; background-color: #1010109e; color: #c1c5ca; font-size: 13px; }
.portrait-name { color: var(--paper); font-size: 26px; letter-spacing: -.04em; }
.portrait-badge { position: absolute; right: -15px; top: 18%; border-radius: 18px; padding: 16px 19px; font-size: 13px; line-height: 1.6; background-color: #19171996; transform: rotate(6deg); }
.portrait-badge > span:last-child { color: #b2b6bd; }
.tiny-star { float: left; margin: 4px 12px 12px 0; width: 25px; height: 25px; background: var(--accent); clip-path: polygon(50% 0, 60% 33%, 85% 15%, 67% 40%, 100% 50%, 67% 60%, 85% 85%, 60% 67%, 50% 100%, 40% 67%, 15% 85%, 33% 60%, 0 50%, 33% 40%, 15% 15%, 40% 33%); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 45px; }
.section-copy { color: var(--muted); max-width: 340px; line-height: 1.8; margin-bottom: 4px; }
.work-section { padding-top: 35px; }
.disciplines { border-top: 1px solid #ffffff10; }
.skills-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-size: .95rem; text-decoration: underline; text-underline-offset: .24em; }
.discipline-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.discipline { display: block; padding: 27px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease); }
.discipline:hover { padding-inline-start: 12px; }
.discipline h3 { font-size: 27px; margin: 0 0 8px; letter-spacing: -.035em; transition: color .3s; }
.discipline:hover h3 { color: var(--accent); }
.discipline p { color: var(--muted); font-size: 14px; margin: 0; }
.systems { position: relative; }
.systems::before { content: ''; position: absolute; z-index: -1; inset: 15% -20% 0; pointer-events: none; background: radial-gradient(ellipse at 15% 20%, #6d001a1c, transparent 50%), radial-gradient(ellipse at 90% 35%, #6d001a15, transparent 50%); }
.school-system { padding: 42px; border-radius: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 50px; }
.school-intro { padding-block: 12px; }
.school-intro h3 { font-size: clamp(36px, 4.3vw, 62px); line-height: 1.1; margin-bottom: 25px; }
.school-intro p:not(.eyebrow) { color: var(--muted); max-width: 430px; }
.batch-demo { border-radius: 24px; padding: 28px; background-color: #ffffff03; }
.batch-demo .eyebrow { color: var(--accent); margin-bottom: 22px; display: block; }
.batch-demo label { display: flex; justify-content: space-between; font-size: 14px; color: #b5bac1; }
.batch-demo output { color: var(--paper); font-weight: 600; }
.batch-demo input { width: 100%; accent-color: var(--accent); margin: 17px 0 8px; cursor: pointer; }
.batch-total { display: flex; gap: 24px; align-items: center; margin: 16px 0 24px; }
.batch-total strong { font-size: 92px; font-weight: 400; line-height: 1; letter-spacing: -.08em; color: #ffffff; font-variant-numeric: tabular-nums; }
.batch-total > span { font-size: 14px; color: #c8cbd0; line-height: 1.5; }
.batch-breakdown { display: grid; gap: 10px; font-size: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.batch-breakdown b { color: var(--accent); min-width: 25px; display: inline-block; font-weight: 500; }
.batch-demo > p { font-size: 13px; line-height: 1.6; color: #939ca8; margin: 20px 0 0; }
.school-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; grid-column: 1/-1; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.school-features b { display: block; font-size: 20px; color: var(--paper); font-weight: 500; margin-bottom: 5px; letter-spacing: -.03em; }
.flow-demo { margin-top: 24px; padding: 35px; border-radius: 30px; }
.flow-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.flow-head .eyebrow { margin-bottom: 10px; }
.flow-head h3 { font-size: 30px; margin: 0; }
.flow-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.flow-node { border: 1px solid #ffffff14; border-radius: 18px; background: #ffffff02; padding: 25px; transition: border .4s, background .4s, box-shadow .4s; }
.step { color: #939eaa; font-size: 13px; display: block; margin-bottom: 20px; }
.flow-node b { font-size: 19px; font-weight: 500; letter-spacing: -.03em; display: block; margin-bottom: 12px; }
.flow-node p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.7; }
.flow-node.active { border-color: #c8617d80; background: #c8617d0c; box-shadow: inset 0 1px 0 #d9b0bb22, 0 0 30px #6d001a10; }
.flow-node.active .step { color: var(--accent); }
.flow-status { min-height: 48px; font-size: 14px; color: var(--accent); padding: 22px 0 0; margin: 0; }
.grouping-note { margin: 12px 0 0; font-size: 13px; color: #929ca7; max-width: 750px; }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.system-card { padding: 35px; border-radius: 24px; }
.system-card .label { color: var(--accent); }
.system-card h3 { font-size: 33px; line-height: 1.1; margin: 22px 0 18px; }
.system-card p { color: var(--muted); margin: 0; line-height: 1.8; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 25px; }
.pills span { font-size: 12px; color: #b8bec6; border: 1px solid #ffffff18; padding: 7px 10px; border-radius: 7px; }
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 45px 8%; }
.about h2 { max-width: 600px; }
.about .statement { font-size: clamp(35px, 4.5vw, 64px); line-height: 1.12; letter-spacing: -.05em; margin-bottom: 0; }
.about-side { color: var(--muted); padding-top: 35px; }
.about-side p { margin-bottom: 20px; }
.about-side strong { color: var(--paper); }
.about-note { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 8px; font-size: 13px; color: #c0c5cc; }
.creative-skills { grid-column: 1 / -1; }
.creative-skills h3 { margin-bottom: 1.25rem; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.skill-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 6rem); margin: 0; }
.skill-list > div { padding-block: clamp(1rem, 2vw, 1.5rem); border-block-start: 1px solid var(--line); }
.skill-list dt { font-size: 1.16rem; font-weight: 600; color: var(--accent); }
.skill-list dd { margin: .4rem 0 0; max-width: 58ch; line-height: 1.7; color: #b9bcc3; }
.toolkit { grid-column: 1/-1; padding: 35px; border-radius: 30px; margin-top: 25px; }
.toolkit > div:first-child { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 25px; }
.toolkit .eyebrow { width: 100%; margin: 0; }
.toolkit h3 { font-size: 36px; margin: 0; }
.toolkit p:not(.eyebrow) { color: var(--muted); font-size: 14px; margin: 0; }
.software-list {
  --columns: 6;
  --software-gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px var(--software-gap);
  padding: 44px 0 20px;
}
.software { flex: 0 0 calc((100% + var(--software-gap)) / var(--columns) - var(--software-gap)); min-width: 0; text-align: center; margin: 0; }
.software-icon { display: grid; place-items: center; margin-inline: auto; width: 85px; height: 85px; border: 1px solid #ffffff24; border-radius: 24px; background: linear-gradient(145deg, #ffffff12, #ffffff03); box-shadow: inset 0 1px #ffffff13, 0 14px 26px #0003; }
.software-icon img { width: 53px; height: 53px; object-fit: contain; }
.software figcaption { font-size: .9rem; line-height: 1.5; color: var(--paper); margin-top: 20px; }
.contact { padding-top: 40px; padding-bottom: 28px; }
.contact-panel { position: relative; text-align: center; border-radius: 36px; padding: 75px 25px 65px; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, #6d001a19, transparent 65%), var(--glass); }
.contact-panel::before { content: ''; position: absolute; height: 1px; width: 45%; top: 0; left: 27.5%; background: linear-gradient(90deg, transparent, #c8617d80, transparent); }
.contact h2 { font-size: clamp(49px, 7.3vw, 110px); line-height: 1.02; }
.contact-panel > p:not(.eyebrow) { color: var(--muted); margin: 28px 0; }
.email { display: inline-block; color: #efdbe1; font-size: clamp(17px, 2.5vw, 34px); letter-spacing: -.035em; border-bottom: 1px solid #c8617d55; padding-bottom: 9px; transition: color .3s, border-color .3s; }
.email:hover { color: #ffffff; border-color: #c8617d; }
.footer { padding-top: 34px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13px; color: #87919e; }
.footer .brand { color: #d2d4d8; font-size: 24px; }
.footer a:last-child { color: #adb4be; }
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(25px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal-ready .reveal.seen { opacity: 1; transform: none; }
.skip-link { position: fixed; z-index: 110; top: 20px; inset-inline-start: var(--pad); padding: 14px 22px; color: var(--bg); background: var(--accent); border-radius: 12px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
@supports not (backdrop-filter: blur(10px)) { .glass { background-color: #1a1719; } .topbar { background-color: #171416; } }

/* Experience is a supplied fact, shown as part of the portrait caption. */
.portrait-scene .experience-badge { position: relative; display: flex; align-items: center; gap: 12px; right: auto; top: auto; width: max-content; margin: -18px auto 0; padding: 15px 19px; background-color: #3b0918b5; border-color: #f4cfda45; }
.experience-badge strong { font-family: var(--font-display); font-size: 48px; font-weight: 900; line-height: 1; color: #fff; }
.experience-badge > span:last-child { color: #f4e4e9; font-size: 12px; line-height: 1.5; }
.school-intro h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 900; font-synthesis: none; }
.school-intro h3 em { text-transform: none; }

.contact-links{display:flex;gap:.75rem;flex-wrap:wrap;justify-content:center;margin-top:1.25rem}
