:root {
  --bg: #090909;
  --surface: #111111;
  --surface-2: #171717;
  --text: #f2f0e9;
  --muted: #aaa8a1;
  --line: rgba(242, 240, 233, 0.18);
  --acid: #d7ff38;
  --blue: #4867ff;
  --orange: #ff5d2e;
  --shell: min(1440px, calc(100% - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.section-shell { width: var(--shell); margin-inline: auto; }
.muted { color: var(--muted); }

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  left: -210px;
  top: -210px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(72, 103, 255, .12), transparent 68%);
  z-index: 0;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 76px;
  padding: 0 max(32px, calc((100vw - 1440px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, .84);
  backdrop-filter: blur(18px);
}
.wordmark { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: -.02em; }
.wordmark-dot { width: 9px; height: 9px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 20px rgba(215,255,56,.45); }
.nav { display: flex; align-items: center; gap: 30px; font-size: .93rem; }
.nav a:not(.nav-cta) { color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-cta { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; }
.nav-cta span { color: var(--acid); margin-left: 12px; }

.hero { padding: 82px 0 70px; min-height: calc(100vh - 76px); display: flex; flex-direction: column; justify-content: space-between; }
.eyebrow, .section-kicker { color: var(--muted); font-size: .75rem; line-height: 1.2; letter-spacing: .13em; text-transform: uppercase; }
.hero-title {
  max-width: 1320px;
  margin: 48px 0 64px;
  font-size: clamp(4.2rem, 8.8vw, 9.1rem);
  line-height: .84;
  font-weight: 750;
  letter-spacing: -.075em;
}
.hero-title .outline { color: transparent; -webkit-text-stroke: 1.5px rgba(242,240,233,.92); }
.hero-tail { display: inline-block; color: var(--acid); }
.hero-bottom { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; }
.hero-copy { max-width: 620px; margin: 0; color: #cbc9c2; font-size: clamp(1.08rem, 1.55vw, 1.42rem); line-height: 1.45; letter-spacing: -.02em; }
.round-link { width: 126px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 22px; font-size: .82rem; transition: background .25s, color .25s, transform .25s; }
.round-link strong { align-self: flex-end; font-size: 1.5rem; font-weight: 400; }
.round-link:hover { background: var(--acid); color: #0b0b0b; transform: rotate(-4deg); }

.clients { overflow: hidden; border-block: 1px solid var(--line); background: #0d0d0d; }
.clients-intro { min-height: 132px; padding-block: 28px; display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: 50px; align-items: center; }
.clients-intro p { margin: 0; color: var(--muted); line-height: 1.55; }
.clients-count { display: block; margin-top: 12px; color: #d7d5cf; font-size: .77rem; letter-spacing: .03em; }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-logo { position: relative; min-width: 0; min-height: 230px; margin: 0; padding: 18px; display: grid; grid-template-rows: auto 1fr auto; gap: 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #101010; transition: background .25s, color .25s; }
.client-index { color: var(--acid); font-size: .64rem; line-height: 1; letter-spacing: .12em; }
.client-logo-stage { min-height: 128px; padding: 20px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.client-logo-stage img { width: auto; max-width: 82%; height: auto; max-height: 92px; object-fit: contain; opacity: .88; filter: grayscale(1) brightness(1.25); transition: opacity .25s, filter .25s, transform .3s; }
.client-logo figcaption { color: #d8d6d0; font-size: .76rem; line-height: 1.2; letter-spacing: .035em; }
.client-logo::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.client-logo:hover { background: #151515; }
.client-logo:hover img { opacity: 1; filter: grayscale(1) brightness(1.55); transform: scale(1.035); }
.client-logo:hover::after { transform: scaleX(1); }
.client-logo:last-child { grid-column: 2 / span 2; }

.showreel { padding: 120px 0 80px; }
.showreel-head { margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; }
.showreel-head > span { color: var(--acid); font-size: .72rem; letter-spacing: .12em; }
.showreel-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #0e0a22; }
.showreel-player::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid rgba(255,255,255,.18); }
.showreel-player video { width: 100%; height: 100%; object-fit: cover; }
.showreel-play { position: absolute; left: 50%; top: 50%; width: 150px; aspect-ratio: 1; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; border: 0; border-radius: 50%; background: var(--acid); color: #090909; cursor: pointer; box-shadow: 0 14px 55px rgba(0,0,0,.28); transition: transform .25s, opacity .2s, visibility .2s; }
.showreel-play:hover { transform: translate(-50%, -50%) scale(1.06) rotate(-3deg); }
.showreel-play span { font-size: 1.7rem; margin-left: 5px; }
.showreel-play b { font-size: .68rem; letter-spacing: .12em; }
.showreel-play.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.showreel-index { position: absolute; left: 18px; bottom: 18px; padding: 9px 11px; background: rgba(9,9,9,.7); color: #fff; font-size: .66rem; letter-spacing: .1em; backdrop-filter: blur(8px); pointer-events: none; }
.showreel-caption { margin-top: 0; padding-top: 24px; display: flex; justify-content: flex-end; border-top: 1px solid var(--line); }
.showreel-caption p { position: relative; max-width: 520px; margin: 0; padding-left: 24px; color: var(--muted); line-height: 1.6; border-left: 1px solid var(--line); }
.showreel-caption p::before { content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: 42px; background: var(--acid); }

.metrics { padding: 126px 0; }
.metrics-grid { margin-top: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.metric { min-height: 285px; padding: 32px 28px 25px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.metric + .metric { padding-left: 30px; }
.metric:last-child { border-right: 0; }
.metric-value { font-size: clamp(4.4rem, 6.8vw, 7.2rem); line-height: .9; letter-spacing: -.075em; font-weight: 720; }
.metric-value span { color: var(--acid); font-size: .6em; }
.metric p { margin: 0; color: var(--muted); font-size: 1.03rem; }
.metric-accent { background: var(--acid); color: #0a0a0a; padding-right: 30px; }
.metric-accent .metric-value span { color: #0a0a0a; }
.metric-accent p { color: #31351e; }

.work { padding: 100px 0 140px; }
.section-heading { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: end; margin-bottom: 50px; }
.section-heading h2, .about-intro h2, .contact h2 { margin: 17px 0 0; font-size: clamp(3rem, 6vw, 6.8rem); line-height: .95; letter-spacing: -.065em; font-weight: 690; }
.work .section-heading h2 { margin-top: 0; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); line-height: 1.6; }

.project-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project { padding: 16px; background: var(--surface); border: 1px solid transparent; transition: border-color .25s, transform .25s; }
.project:hover { border-color: var(--line); transform: translateY(-4px); }
.project-wide { grid-column: 1 / -1; }
.project-media { position: relative; overflow: hidden; background: #161616; }
.project-media.landscape { aspect-ratio: 16 / 9; }
.project-wide .project-media { aspect-ratio: 21 / 9; }
.project-media video, .project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project:hover .project-media video, .project:hover .project-media img { transform: scale(1.025); }
.portrait-stage { aspect-ratio: 4 / 5; background: #0b1020; isolation: isolate; }
.portrait-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,5,8,.38), transparent 33%, transparent 67%, rgba(5,5,8,.38)); pointer-events: none; }
.portrait-stage .portrait-backdrop { position: absolute; inset: -8%; width: 116%; height: 116%; z-index: 0; object-fit: cover; filter: blur(28px) saturate(.8); opacity: .48; }
.portrait-stage .portrait-video { position: absolute; inset: 0; z-index: 2; object-fit: contain; transform: none; }
.project:hover .portrait-stage .portrait-video { transform: none; }
.format-label { position: absolute; right: 16px; top: 16px; z-index: 4; padding: 8px 10px; border: 1px solid rgba(255,255,255,.34); color: white; font-size: .67rem; letter-spacing: .09em; backdrop-filter: blur(8px); }
.three-d-stage { position: relative; background: radial-gradient(circle at 50% 50%, #4a3320 0%, #1d1c1b 42%, #111 77%); }
.three-d-stage img { position: relative; z-index: 2; object-fit: contain; }
.three-d-type { position: absolute; z-index: 1; left: 5%; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.055); font-size: clamp(11rem, 27vw, 28rem); line-height: .7; font-weight: 800; letter-spacing: -.12em; }
.media-label { position: absolute; z-index: 4; left: 16px; top: 16px; padding: 8px 10px; color: white; background: rgba(8,8,8,.65); backdrop-filter: blur(8px); font-size: .67rem; letter-spacing: .09em; }
.play-toggle { position: absolute; z-index: 4; right: 16px; bottom: 16px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: white; background: rgba(8,8,8,.65); backdrop-filter: blur(8px); cursor: pointer; transition: background .2s, color .2s; }
.play-toggle:hover { background: var(--acid); color: #0a0a0a; }
.project-caption { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 24px 4px 8px; align-items: end; }
.project-caption > div { display: flex; align-items: baseline; gap: 18px; }
.project-caption span { color: var(--acid); font-size: .72rem; }
.project-caption h3 { margin: 0; font-size: clamp(1.5rem, 2vw, 2.25rem); letter-spacing: -.045em; }
.project-caption p { max-width: 280px; margin: 0; text-align: right; color: var(--muted); font-size: .82rem; }
.archive-link { margin-top: 18px; padding: 24px 4px; display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); color: var(--muted); }
.archive-link p { margin: 0; }
.archive-link a { color: var(--text); }
.archive-link a span { color: var(--acid); margin-left: 10px; }

.about { padding: 120px 0; border-top: 1px solid var(--line); }
.about-intro h2 span, .contact h2 span { color: var(--muted); }
.about-grid { margin-top: 90px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.about-copy p { margin: 0 0 26px; max-width: 520px; font-size: 1.2rem; line-height: 1.55; letter-spacing: -.018em; }
.about-copy p + p { color: var(--muted); }
.skills { border-top: 1px solid var(--line); }
.skills > div { display: grid; grid-template-columns: 50px 1fr 1.2fr; gap: 24px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.skills span { color: var(--acid); font-size: .72rem; }
.skills h3 { margin: 0; font-size: 1.18rem; }
.skills p { margin: 0; color: var(--muted); font-size: .9rem; }

.experience { padding: 120px 0 150px; }
.compact-heading { display: block; }
.compact-heading h2 { font-size: clamp(3.7rem, 7vw, 7rem); }
.career-highlights { margin-bottom: 72px; display: grid; gap: 18px; }
.career-case { overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.career-head { display: grid; grid-template-columns: 280px 1fr; border-bottom: 1px solid var(--line); }
.career-logo { min-height: 160px; padding: 34px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); background: #0d0d0d; }
.career-logo img { width: auto; max-width: 84%; max-height: 74px; object-fit: contain; filter: grayscale(1) brightness(1.55); }
.career-logo-qilex img { max-height: 86px; }
.career-heading { padding: 32px 38px; display: flex; flex-direction: column; justify-content: center; }
.career-heading span { color: var(--acid); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.career-heading h3 { margin: 12px 0 0; font-size: clamp(2.5rem, 4.7vw, 5rem); line-height: .94; letter-spacing: -.06em; }
.career-content { padding: 42px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.career-lead { margin: 0; font-size: 1.28rem; line-height: 1.5; letter-spacing: -.02em; }
.career-points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.career-points li { position: relative; padding: 15px 0 15px 24px; border-bottom: 1px solid var(--line); color: var(--muted); }
.career-points li::before { content: ""; position: absolute; left: 0; top: 23px; width: 7px; height: 7px; background: var(--acid); }
.career-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.career-result { min-height: 230px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.career-result:last-child { border-right: 0; }
.career-result strong { font-size: clamp(3.2rem, 5.4vw, 5.5rem); line-height: .9; letter-spacing: -.075em; }
.career-result p { margin: 0; color: var(--muted); line-height: 1.45; }
.career-result-accent { background: var(--acid); color: #0a0a0a; }
.career-result-accent p { color: #3b421a; }
.qilex-body { display: grid; grid-template-columns: 1fr 1.2fr .8fr; }
.qilex-copy, .qilex-project, .qilex-result { min-height: 260px; padding: 34px; border-right: 1px solid var(--line); }
.qilex-copy p, .qilex-project p { margin: 34px 0 0; color: var(--muted); line-height: 1.55; }
.qilex-project small { color: var(--acid); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.qilex-project h4 { margin: 38px 0 0; font-size: clamp(2rem, 3.5vw, 3.7rem); line-height: .95; letter-spacing: -.05em; }
.qilex-project p { margin-top: 18px; }
.qilex-result { border-right: 0; display: flex; flex-direction: column; justify-content: space-between; background: var(--blue); color: #fff; }
.qilex-result strong { font-size: clamp(3.8rem, 7vw, 7rem); line-height: .9; letter-spacing: -.075em; }
.qilex-result p { margin: 0; font-size: 1.05rem; }
.timeline-label { margin: 72px 0 20px; }
.timeline { border-top: 1px solid var(--line); }
.timeline article { display: grid; grid-template-columns: 180px 1fr 1fr; gap: 30px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--muted); font-size: .82rem; }
.timeline h3 { margin: 0 0 4px; font-size: 1.25rem; }
.timeline p { margin: 0; color: var(--muted); }
.timeline article > span { color: var(--muted); font-size: .82rem; text-align: right; }
.education { margin: 80px 0 0 auto; max-width: 690px; }
.education .section-kicker { margin-bottom: 24px; }
.education p { margin: 0; padding: 17px 0; display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.education p span { color: var(--muted); }

.contact { position: relative; padding: 115px 0 0; overflow: hidden; }
.contact-mark { position: absolute; right: 5%; top: 50px; color: var(--acid); font-size: clamp(8rem, 18vw, 17rem); line-height: 1; animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact h2 { position: relative; z-index: 2; max-width: 1000px; font-size: clamp(4rem, 9vw, 9rem); }
.contact-note { position: relative; z-index: 2; margin: 28px 0 0; color: var(--muted); font-size: 1.05rem; }
.contact-links { position: relative; z-index: 2; margin-top: 62px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card { min-width: 0; padding: 25px 22px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; border: 0; border-right: 1px solid var(--line); color: var(--text); background: transparent; text-align: left; cursor: pointer; transition: background .22s, color .22s, box-shadow .22s; }
.contact-card:last-child { border-right: 0; }
.contact-card:hover { background: var(--acid); color: #090909; }
.contact-card.is-copied { background: var(--acid); color: #090909; box-shadow: inset 0 0 0 2px #090909; }
.contact-links small { grid-column: 1 / -1; color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-card:hover small, .contact-card.is-copied small { color: #4d541f; }
.contact-links strong { min-width: 0; overflow-wrap: anywhere; font-size: clamp(.92rem, 1.35vw, 1.2rem); font-weight: 580; }
.contact-action { align-self: end; color: var(--acid); font-size: .69rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-card:hover .contact-action, .contact-card.is-copied .contact-action { color: #090909; }
.copy-toast { position: fixed; z-index: 100; right: 24px; bottom: 24px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(215,255,56,.45); background: rgba(16,16,16,.94); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.35); backdrop-filter: blur(14px); opacity: 0; transform: translateY(18px); visibility: hidden; transition: opacity .22s, transform .22s, visibility .22s; }
.copy-toast span { color: var(--acid); }
.copy-toast.is-visible { opacity: 1; transform: none; visibility: visible; }
footer { position: static; width: 100%; margin-top: 84px; padding: 26px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
footer p { margin: 0; }
footer a { color: var(--text); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 1440px); }
  .hero { min-height: auto; }
  .hero-title { margin-top: 70px; }
  .clients-intro { grid-template-columns: 1fr; gap: 16px; }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-logo:last-child { grid-column: 2; }
  .showreel-caption p { max-width: 560px; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric, .metric + .metric { min-height: 220px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .metric:nth-child(even) { border-right: 0; }
  .metric:nth-last-child(-n + 2) { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p { max-width: 550px; }
  .about-grid { grid-template-columns: 1fr; gap: 55px; }
  .career-head { grid-template-columns: 200px 1fr; }
  .career-content { grid-template-columns: 1fr; gap: 32px; padding: 32px; }
  .qilex-body { grid-template-columns: 1fr 1fr; }
  .qilex-copy, .qilex-project { border-bottom: 1px solid var(--line); }
  .qilex-project { border-right: 0; }
  .qilex-result { grid-column: 1 / -1; min-height: 210px; }
  .timeline article { grid-template-columns: 140px 1fr; }
  .timeline article > span { grid-column: 2; text-align: left; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 28px); }
  .site-header { height: 64px; padding: 0 14px; }
  .wordmark { font-size: .78rem; }
  .nav { gap: 8px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 11px; font-size: .78rem; }
  .hero { padding: 62px 0 48px; }
  .hero-title {
    max-width: 100%;
    margin: 50px 0 65px;
    font-size: clamp(2.7rem, 13.7vw, 4rem);
    line-height: .9;
    letter-spacing: -.06em;
  }
  .hero-title .outline {
    color: var(--text);
    -webkit-text-stroke: 0;
  }
  .hero-tail {
    display: block;
    max-width: 100%;
    white-space: normal;
  }
  .hero-copy { max-width: 100%; overflow-wrap: anywhere; }
  .hero-bottom { grid-template-columns: 1fr; }
  .round-link { width: 110px; }
  .clients-intro { min-height: auto; padding-block: 24px; }
  .client-grid { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; }
  .client-logo { min-height: 174px; padding: 14px; }
  .client-logo-stage { min-height: 92px; padding: 12px; }
  .client-logo-stage img { max-width: 88%; max-height: 70px; }
  .client-logo:nth-child(even) { border-right: 0; }
  .client-logo:last-child { grid-column: 1 / -1; border-right: 0; }
  .showreel { padding: 80px 0 30px; }
  .showreel-player { aspect-ratio: 16 / 10; }
  .showreel-play { width: 104px; }
  .showreel-play span { font-size: 1.35rem; }
  .showreel-caption { margin-top: 24px; }
  .showreel-caption p { padding-left: 18px; }
  .metrics, .work, .about, .experience { padding-top: 85px; padding-bottom: 90px; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric, .metric + .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .section-heading h2, .about-intro h2 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; }
  .project-wide .project-media { aspect-ratio: 16 / 10; }
  .project { padding: 10px; }
  .project-caption { grid-template-columns: 1fr; gap: 8px; }
  .project-caption p { text-align: left; padding-left: 34px; }
  .portrait-stage { aspect-ratio: 4 / 5; }
  .three-d-stage { aspect-ratio: 4 / 3 !important; }
  .archive-link { flex-direction: column; }
  .about-grid { margin-top: 55px; }
  .skills > div { grid-template-columns: 36px 1fr; }
  .skills p { grid-column: 2; }
  .career-head { grid-template-columns: 1fr; }
  .career-logo { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .career-heading { padding: 24px 20px; }
  .career-content { padding: 24px 20px; }
  .career-results { grid-template-columns: 1fr; }
  .career-result { min-height: 180px; border-right: 0; border-bottom: 1px solid var(--line); }
  .career-result:last-child { border-bottom: 0; }
  .qilex-body { grid-template-columns: 1fr; }
  .qilex-copy, .qilex-project, .qilex-result { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .qilex-result { grid-column: auto; border-bottom: 0; }
  .timeline article { grid-template-columns: 1fr; gap: 8px; }
  .timeline article > span { grid-column: auto; }
  .education { margin-top: 60px; }
  .education p { align-items: baseline; }
  .contact { min-height: 630px; padding-top: 80px; }
  .contact h2 { font-size: clamp(3.6rem, 17vw, 6rem); }
  .contact-mark { top: 30px; opacity: .55; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-card:last-child { border-bottom: 0; }
  .copy-toast { left: 14px; right: 14px; bottom: 14px; justify-content: center; }
  footer { padding-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
