@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("fonts/manrope-thin-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/manrope-regular-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/manrope-semibold-latin.woff2") format("woff2");
}

:root {
  --ink: #10100f;
  --paper: #f1efe9;
  --muted: #77766f;
  --line: rgba(16, 16, 15, .22);
  --accent: #00ffff;
  --orange: #ff6b00;
  --pink: #ffb4df;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 50; padding: .7rem 1rem; background: var(--accent); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { width: min(100%, var(--max)); margin: auto; min-height: 88px; padding: 1.2rem 2.5rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.identity { display: inline-flex; align-items: center; gap: .8rem; color: inherit; background: none; border: 0; padding: 0; font: inherit; text-align: left; text-decoration: none; cursor: pointer; justify-self: start; }
.identity-mark { width: 44px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font: 500 .8rem ui-monospace, "SFMono-Regular", Consolas, monospace; position: relative; isolation: isolate; perspective: 120px; }
.identity-mark::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; opacity: 0; pointer-events: none; }
.identity-glyph { display: inline-block; transform-origin: 50% 50%; will-change: transform, opacity; }
.identity-mark.logo-motion--trace::before { background: conic-gradient(from 0deg, transparent 0 58%, currentColor 72% 88%, transparent 100%); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px)); animation: logo-ring-trace 1.35s cubic-bezier(.4,0,.2,1); }
.identity-mark.logo-motion--trace .identity-glyph { animation: logo-glyph-breathe 1.35s ease-in-out; }
.identity-mark.logo-motion--pivot { animation: logo-ring-pivot 1.25s cubic-bezier(.3,.8,.35,1); }
.identity-mark.logo-motion--pivot .identity-glyph { animation: logo-glyph-pivot 1.25s cubic-bezier(.3,.8,.35,1); }
.identity-mark.logo-motion--tilt { animation: logo-ring-tilt 1.3s ease-in-out; }
.identity-mark.logo-motion--tilt .identity-glyph { animation: logo-glyph-tilt 1.3s ease-in-out; }
@keyframes logo-ring-trace { 0% { opacity: 0; transform: rotate(-100deg) scale(.88); } 28% { opacity: .9; } 72% { opacity: .9; } 100% { opacity: 0; transform: rotate(260deg) scale(1.04); } }
@keyframes logo-glyph-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 42% { transform: scale(.82); opacity: .62; } 68% { transform: scale(1.08); opacity: 1; } }
@keyframes logo-ring-pivot { 0%, 100% { transform: scale(1); } 38% { transform: scaleX(.86) scaleY(1.08); } 68% { transform: scaleX(1.05) scaleY(.94); } }
@keyframes logo-glyph-pivot { 0% { transform: rotateY(0); } 55% { transform: rotateY(200deg); } 100% { transform: rotateY(360deg); } }
@keyframes logo-ring-tilt { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-7deg) scale(.96); } 62% { transform: rotate(6deg) scale(1.03); } }
@keyframes logo-glyph-tilt { 0%, 100% { transform: rotate(0); } 28% { transform: rotate(16deg); } 56% { transform: rotate(-13deg); } 76% { transform: rotate(5deg); } }
.identity strong, .identity small { display: block; line-height: 1.2; }
.identity strong { font-size: .9rem; }
.identity small { color: var(--muted); font-size: .72rem; margin-top: .18rem; }
.desktop-nav { display: flex; gap: 2rem; font-size: .82rem; }
.desktop-nav a, .language { text-decoration: none; position: relative; }
.desktop-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 1px; background: currentColor; transition: right .25s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.language { justify-self: end; border: 0; background: transparent; font: 500 .78rem ui-monospace, "SFMono-Regular", Consolas, monospace; cursor: pointer; padding: .7rem; }
.language span:not(.active) { opacity: .38; }

main, footer { width: min(100%, var(--max)); margin: auto; }
.hero, .resume-hero { min-height: calc(100svh - 88px); padding: 2rem 2.5rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.hero-kicker { display: flex; justify-content: space-between; font: 400 .76rem ui-monospace, "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .06em; }
.hero h1 { margin: 3rem 0; font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(2.5rem, 6.5vw, 6.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; max-width: 23ch; text-wrap: balance; }
.hero h1 span { display: block; }
.hero .outline { color: inherit; font-weight: 200; }
.hero-bottom { display: grid; grid-template-columns: minmax(260px, 760px); align-items: end; }
.hero-bottom, .resume-lead { min-height: 12rem; align-content: end; }
.hero-bottom p { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); max-width: 48ch; }
.hero-intro { display: grid; gap: 1.25rem; }
.hero-bottom .career-direction { font-size: 1rem; font-weight: 600; }
.work-index, .case, .about, footer { padding: clamp(5rem, 10vw, 9rem) 2.5rem; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 1.5rem; font: 500 .72rem ui-monospace, "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: 4rem; }
.section-heading h2, .case-header h2, .about h2, footer h2 { margin: 0; font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(2.5rem, 6vw, 6rem); font-weight: 600; line-height: .98; letter-spacing: -.035em; }
.project-links { border-top: 1px solid var(--ink); }
.project-links > a { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s ease, background .2s ease; }
.project-links > a:hover { padding-left: 1rem; background: var(--accent); }
.project-no { font: 400 .7rem ui-monospace, "SFMono-Regular", Consolas, monospace; }
.project-links strong { display: block; font-size: clamp(1.2rem, 2.2vw, 2rem); }
.project-links small { color: var(--muted); }
.project-links > a > span[aria-hidden="true"] { font-size: 1.7rem; }

.case { position: relative; }
.case-header { margin-bottom: clamp(3rem, 7vw, 7rem); }
.case-header h2 { max-width: 13ch; }
.case-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.case-meta > span { font: 400 .72rem ui-monospace, "SFMono-Regular", Consolas, monospace; border: 1px solid currentColor; border-radius: 999px; padding: .4rem .75rem; }
.case-story { margin: 4rem 0; }
.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; }
.four-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 5rem; }
.case-intro { max-width: 58ch; margin: -3rem 0 4rem; font-size: clamp(1.2rem, 2.2vw, 1.8rem); line-height: 1.42; letter-spacing: -.02em; text-align: left; }
.case-story section { border-top: 1px solid currentColor; padding-top: 1rem; }
.case-story h3, .network-copy h3 { margin: 0 0 .75rem; font-size: .9rem; }
.case-story p, .network-copy p { margin: 0; }
figcaption { font: 400 .72rem/1.5 ui-monospace, "SFMono-Regular", Consolas, monospace; margin-top: .75rem; }

.case-odaseva { background: var(--ink); color: var(--paper); }
.case-odaseva .case-header::after { content: ''; display: block; width: 11rem; height: 11rem; position: absolute; top: 7rem; right: 5rem; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; box-shadow: inset 0 0 0 2rem var(--ink), inset 0 0 0 2.1rem rgba(255,255,255,.4); }
.odaseva-statement { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start; }
.odaseva-statement > p { margin: 0; font-size: clamp(1.5rem, 3vw, 3rem); line-height: 1.2; letter-spacing: -.03em; }
.odaseva-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.4); border-left: 1px solid rgba(255,255,255,.4); }
.odaseva-grid span { min-height: 150px; padding: 1rem; border-right: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); display: flex; flex-direction: column; justify-content: space-between; }
.odaseva-grid strong { font: 300 2.2rem ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--accent); }
.odaseva-grid small { font: 400 .8rem ui-monospace, "SFMono-Regular", Consolas, monospace; }
.confidential-note { display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.62); font: 400 .72rem ui-monospace, "SFMono-Regular", Consolas, monospace; }
.confidential-note > span:first-child { color: var(--accent); }
.odaseva-evolution { margin: clamp(5rem, 9vw, 8rem) 0 3rem; }
.odaseva-evolution-head { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: 4rem; }
.odaseva-evolution-head h3 { max-width: 13ch; margin: 0 0 1.25rem; font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 600; line-height: .98; letter-spacing: -.035em; }
.odaseva-evolution-head > div > p { max-width: 58ch; margin: 0; font-size: 1.05rem; }
.comparison-set + .comparison-set { margin-top: clamp(3rem, 6vw, 5rem); }
.comparison-set h4 { margin: 0 0 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.4); font: 500 .78rem ui-monospace, "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; }
.comparison-slider { --comparison-position: 50%; position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: #f5f6f8; border: 1px solid rgba(255,255,255,.3); isolation: isolate; }
.comparison-slider > img, .comparison-before img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.comparison-before { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0); pointer-events: none; }
.comparison-label { position: absolute; top: 1rem; z-index: 3; padding: .35rem .55rem; background: var(--ink); color: var(--accent); font: 500 .7rem ui-monospace, "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .08em; pointer-events: none; }
.comparison-label-before { left: 1rem; }
.comparison-label-after { right: 1rem; }
.comparison-handle { position: absolute; inset: 0 auto 0 var(--comparison-position); z-index: 2; width: 2px; background: var(--accent); transform: translateX(-50%); pointer-events: none; }
.comparison-handle > span { position: absolute; top: 50%; left: 50%; width: 3rem; height: 3rem; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--accent); color: var(--ink); font-size: 1.15rem; transform: translate(-50%, -50%); box-shadow: 0 0 0 2px rgba(255,255,255,.75); }
.comparison-slider input[type="range"] { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.comparison-slider:has(input:focus-visible) .comparison-handle > span { outline: 3px solid var(--accent); outline-offset: 5px; }
.comparison-note { max-width: 72ch; margin: .9rem 0 0; color: rgba(255,255,255,.72); font-size: .9rem; }

.case-euroui { background: #ece8df; }
.case-euroui .case-header::after { content: ''; width: 22vw; height: 1rem; background: var(--orange); position: absolute; right: 0; top: 8rem; }
.media-wide video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.carousel { margin: 0; }
.carousel-stage { background: #090909; overflow: hidden; }
.carousel-slide { margin: 0; }
.carousel-slide[hidden] { display: none; }
.carousel-slide img, .carousel-slide video { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: #090909; }
.carousel-slide figcaption { min-height: 3.2rem; margin: 0; padding: .9rem 1rem; background: #090909; color: rgba(255,255,255,.72); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid currentColor; }
.carousel-buttons { display: flex; gap: .5rem; }
.carousel-buttons button { width: 3.25rem; height: 3.25rem; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; font-size: 1.15rem; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.carousel-buttons button:hover { border-color: var(--accent); background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.carousel-count { font: 400 .75rem ui-monospace, "SFMono-Regular", Consolas, monospace; }
.carousel-count strong { font-size: 1rem; }
.workshop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 6rem; }
.workshop-grid figure { margin: 0; }
.workshop-grid figure:first-child { grid-row: span 2; }
.workshop-grid figure:first-child img { height: 100%; min-height: 520px; object-fit: cover; }
.workshop-grid img { width: 100%; height: 270px; object-fit: cover; filter: saturate(.82); }
.hardware { margin-top: 7rem; padding: 3rem; background: white; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.hardware h3 { font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.05em; margin: 0 0 1.5rem; }
.hardware p:last-child { max-width: 50ch; }
.hardware img { width: min(100%, 740px); height: auto; object-fit: contain; align-self: center; justify-self: center; display: block; }

.case-network { background: var(--orange); color: var(--ink); }
.network-layout { display: grid; grid-template-columns: minmax(300px, .8fr) 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.phone-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: center; }
.phone-stack img { position: static; width: auto; max-width: 100%; height: auto; max-height: 700px; justify-self: center; object-fit: contain; border-radius: 10px; box-shadow: 0 26px 60px rgba(0,0,0,.22); background: #fff; }
.phone-stack img:first-child { transform: rotate(-2deg); }
.phone-stack img:last-child { transform: rotate(2deg); }
.network-copy .lead { font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1.2; letter-spacing: -.03em; margin: 0 0 3rem; }
.steps section { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid rgba(0,0,0,.5); }
.steps section > span { font: 400 .7rem ui-monospace, "SFMono-Regular", Consolas, monospace; }
.impact-banner { margin-top: 8rem; display: grid; grid-template-columns: auto 1fr minmax(170px, 260px); gap: 3rem; align-items: center; border-top: 1px solid rgba(0,0,0,.5); padding-top: 2rem; }
.impact-banner .impact-label { display: flex; flex-direction: column; font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: .78; letter-spacing: -.07em; text-transform: uppercase; }
.impact-banner .impact-label span:last-child { margin-top: .45em; font-size: .55em; letter-spacing: .04em; }
.impact-banner p { max-width: 50ch; font-size: 1.1rem; }
.impact-banner img { max-height: 520px; width: 100%; object-fit: contain; object-position: center; background: #fff; }

.case-bbox { background: #0c1420; color: white; }
.case-bbox .case-header::after { content: ''; display: block; width: 12rem; height: 8rem; position: absolute; top: 6rem; right: 5rem; background: url("images/bouygues-telecom-symbol.png") center / contain no-repeat; }
.case-bbox .carousel-slide figcaption { border: 1px solid rgba(255,255,255,.18); border-top: 0; }
.case-bbox .carousel-controls { border-color: rgba(255,255,255,.45); }
.workflow { margin: 7rem 0 0; padding: 1.5rem; background: white; color: var(--ink); }
.workflow img { width: 100%; }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(3rem, 9vw, 9rem); }
.about-grid h2 { max-width: 10ch; }
.about-grid p { font-size: 1.12rem; margin-top: .3rem; }
.about-grid ul { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); }
.about-grid li { padding: .8rem 0; border-bottom: 1px solid var(--line); font: 400 .75rem ui-monospace, "SFMono-Regular", Consolas, monospace; }
.profile-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 2rem; min-height: 52px; padding: .8rem 1rem; border: 1px solid var(--ink); text-decoration: none; font: 500 .78rem ui-monospace, "SFMono-Regular", Consolas, monospace; transition: background .2s ease; }
.profile-cta:hover { background: var(--accent); }
.hardware-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1rem; padding-bottom: .2rem; border-bottom: 1px solid currentColor; font: 500 .78rem ui-monospace, "SFMono-Regular", Consolas, monospace; text-decoration: none; }
.hardware-link:hover { color: var(--accent); }

.resume-main { width: min(100%, var(--max)); margin: auto; }
.resume-hero { border-bottom: 1px solid var(--line); }
.resume-hero > .eyebrow { margin: 0; }
.resume-hero h1 { max-width: 23ch; margin: 3rem 0; font-family: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif; font-size: clamp(2.5rem, 6.5vw, 6.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.resume-hero h1 span { display: block; }
.resume-hero .outline { color: inherit; font-weight: 200; }
.resume-lead { display: grid; grid-template-columns: minmax(260px, 760px) auto; gap: 1.25rem 3rem; align-items: end; }
.resume-lead > .eyebrow { grid-column: 1 / -1; }
.resume-download { margin-top: 0; align-self: start; justify-self: start; font-size: .875rem; }
.resume-lead p { max-width: 48ch; margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.resume-lead .eyebrow { max-width: none; font: 500 .72rem ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .08em; }
.resume-phases, .resume-section, .education { padding: clamp(5rem, 9vw, 8rem) 2.5rem; }
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.phase { padding: 1.5rem 2rem 0 0; }
.phase + .phase { padding-left: 2rem; border-left: 1px solid var(--line); }
.phase time, .experience-date, .experience-kind, .experience-tags, .education time { font: 500 .72rem ui-monospace, "SFMono-Regular", Consolas, monospace; text-transform: uppercase; letter-spacing: .06em; }
.phase h2 { margin: 2rem 0 1rem; font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1.08; letter-spacing: -.035em; }
.phase p { margin: 0; max-width: 35ch; }
.resume-section { background: var(--ink); color: var(--paper); }
.resume-section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; margin-bottom: 5rem; }
.resume-section-head h2 { max-width: 12ch; margin: 0; font-size: clamp(2.8rem, 6vw, 6rem); line-height: .95; letter-spacing: -.055em; }
.experience-context { max-width: 72ch; margin: 2rem 0 0; color: rgba(255,255,255,.72); }
.experience-list { border-top: 1px solid rgba(255,255,255,.42); }
.experience-item { display: grid; grid-template-columns: minmax(120px, .45fr) 1.55fr; gap: 2rem; padding: 2.25rem 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.experience-date { color: var(--accent); }
.experience-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .75rem 1.5rem; }
.experience-heading h3 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2.4rem); line-height: 1.05; letter-spacing: -.035em; }
.experience-role { margin: .45rem 0 1rem; font-size: 1rem; color: rgba(255,255,255,.72); }
.experience-summary { max-width: 72ch; margin: 0; }
.experience-kind { border: 1px solid currentColor; border-radius: 999px; padding: .3rem .65rem; color: rgba(255,255,255,.68); }
.experience-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; color: rgba(255,255,255,.6); }
.experience-tags span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .3rem .55rem; }
.education { border-top: 1px solid var(--line); }
.education-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }
.education h2 { max-width: 10ch; margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .95; letter-spacing: -.05em; }
.education-list { border-top: 1px solid var(--ink); }
.education-item { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.education-item h3 { margin: 0 0 .25rem; font-size: 1rem; }
.education-item p { margin: 0; color: var(--muted); }

footer { background: var(--accent); color: #000; min-height: 70svh; display: flex; flex-direction: column; }
footer h2 { max-width: 11ch; }
.footer-links { margin: clamp(3.5rem, 7vw, 6rem) 0 5rem; display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.footer-links a { font-size: clamp(1.2rem, 3vw, 2.6rem); text-underline-offset: .25em; }
.footer-bottom { margin-top: auto; display: flex; justify-content: space-between; font: 400 .72rem ui-monospace, "SFMono-Regular", Consolas, monospace; border-top: 1px solid rgba(0,0,0,.35); padding-top: 1rem; }

.reveal { opacity: 1; transform: none; }
.reveal.reveal-ready { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-ready.visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto; padding: 1rem 1.25rem; }
  .desktop-nav { display: none; }
  .hero, .work-index, .case, .about, footer { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { min-height: 84svh; }
  .hero-kicker span:last-child { display: none; }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 4.5rem); margin: 2rem 0 3rem; }
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-bottom, .resume-lead { min-height: 0; }
  .section-heading, .three-cols, .four-sections, .odaseva-statement, .hardware, .about-grid, .resume-lead, .phase-grid, .resume-section-head, .education-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; }
  .project-links > a { grid-template-columns: 34px 1fr auto; }
  .three-cols { gap: 2rem; }
  .four-sections { gap: 2.5rem; }
  .case-intro { margin: -1.5rem 0 3rem; }
  .odaseva-statement { gap: 3rem; }
  .odaseva-evolution-head { grid-template-columns: 1fr; }
  .odaseva-evolution-head { gap: 1rem; }
  .comparison-label { top: .65rem; }
  .comparison-label-before { left: .65rem; }
  .comparison-label-after { right: .65rem; }
  .comparison-handle > span { width: 2.6rem; height: 2.6rem; }
  .case-euroui .case-header::after { display: none; }
  .case-odaseva .case-header::after { display: none; }
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-grid figure:first-child { grid-row: auto; }
  .workshop-grid figure:first-child img, .workshop-grid img { height: 300px; min-height: 0; }
  .hardware { padding: 1.5rem; }
  .network-layout { grid-template-columns: 1fr; }
  .phone-stack { width: min(100%, 620px); margin: 0 auto; }
  .impact-banner { grid-template-columns: 1fr; gap: 1.5rem; }
  .impact-banner img { width: 220px; }
  .case-bbox .case-header::after { display: none; }
  footer { min-height: 80svh; }
  .resume-hero, .resume-phases, .resume-section, .education { padding-left: 1.25rem; padding-right: 1.25rem; }
  .resume-hero { min-height: 84svh; }
  .resume-hero h1 { font-size: clamp(2.25rem, 9vw, 4.5rem); margin: 2rem 0 3rem; }
  .phase { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--line); }
  .phase + .phase { padding-left: 0; border-left: 0; }
  .experience-item { grid-template-columns: 1fr; gap: .8rem; }
}

@media (max-width: 480px) {
  .identity { gap: .65rem; }
  .hero h1 { letter-spacing: -.06em; }
  .project-links small { font-size: .68rem; }
  .odaseva-grid span { min-height: 120px; }
  .workshop-grid img, .workshop-grid figure:first-child img { height: 230px; }
  .phone-stack { gap: .55rem; }
  .phone-stack img { max-height: 480px; border-radius: 6px; }
  .footer-bottom { align-items: flex-end; gap: 1rem; }
}

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

/* CV: dark opening, scoped to the career page. */
.resume-page .site-header,
.resume-page .resume-hero {
  background: #080808;
  color: #fff;
  border-bottom-color: #292929;
  box-shadow: 0 0 0 100vmax #080808;
  clip-path: inset(0 -100vmax);
}
.resume-page .site-header .identity-mark { border-color: currentColor; }
.resume-page .site-header .identity small { color: #c4c4c4; }
.resume-page .site-header .language { color: #fff; }
.resume-page .site-header .language span:not(.active) { opacity: .7; }
.resume-page .desktop-nav a:hover,
.resume-page .desktop-nav a:focus-visible { color: var(--accent); }
.resume-page .resume-hero > .eyebrow { color: var(--accent); }
.resume-page .resume-lead > p:not(.eyebrow) { color: #dedede; }
.resume-page .resume-download { color: #fff; border-color: #fff; }
.resume-page .resume-download:hover,
.resume-page .resume-download:focus-visible {
  color: #080808;
  background: var(--accent);
  border-color: var(--accent);
}
