/* Ana sayfa: isim bir anıt gibi; üstte işin kendisi (3D render), altta kemik zemin ve mürekkep.
   Tek vurgu sinyal kırmızısı: eylem düğmesi, bant ve iletişim. Alt sayfalar site.css'i kullanmaya devam eder. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 72px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--s-body)/1.55 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--m); top: -60px; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px var(--m); color: var(--stage-ink); font-size: var(--s-small); font-weight: 600; transition: color .35s, background-color .35s; }
.nav[data-on="light"] { color: var(--ink); background: var(--ground); }
.nav.named[data-on="dark"] { background: var(--stage); }
.nav[data-on="accent"] { color: #0d0d0f; background: var(--accent); }
.nav[data-on="inverse"] { color: var(--inv-ink); background: var(--inv-ground); }
.nav a { text-decoration: none; }
.nav-name { margin-right: auto; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s var(--ease); pointer-events: none; }
.nav.named .nav-name { opacity: 1; transform: none; pointer-events: auto; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: 6px; }
.lang, .theme, .menu-btn { height: 40px; min-width: 40px; padding: 0 10px; border: 0; background: none; cursor: pointer; font-weight: 600; }
.lang span { opacity: .45; transition: opacity .3s; }
.lang span + span { margin-left: 6px; }
html[lang="tr"] .lang span:first-child, html[lang="en"] .lang span:last-child { opacity: 1; }
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.theme svg path { fill: currentColor; stroke: none; }
.menu-btn { display: none; }

.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 20px var(--m); border: 0; background: var(--inv-ground); color: var(--inv-ink); }
.menu::backdrop { background: transparent; }
.menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 18vh; }
.menu nav a { font: 400 var(--s-poster)/1.06 var(--f-display); text-transform: uppercase; text-decoration: none; }
.menu-close { display: block; margin-left: auto; height: 44px; padding: 0 4px; border: 0; background: none; font-weight: 600; cursor: pointer; }

/* ---------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px; background: var(--accent); color: var(--accent-ink); font: 600 var(--s-body)/1 var(--f-text); text-decoration: none; white-space: nowrap; transition: background-color .25s, transform .2s var(--ease); }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn:active { transform: scale(.97); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 58svh auto; min-height: 100svh; background: var(--ground); overflow: clip; }
.hero-pic { position: relative; margin: 0; overflow: hidden; background: #0b0d12; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: translate3d(0, var(--hy, 0px), 0) scale(var(--hs, 1)); transform-origin: 50% 60%; }
.hero-pic figcaption { position: absolute; left: var(--m); bottom: 16px; z-index: 3; max-width: 30rem; color: #d9dbe2; font-size: var(--s-small); line-height: 1.4; }

.lens { --ls: 300px; position: absolute; left: 0; top: 0; z-index: 2; width: var(--ls); height: var(--ls); border-radius: 50%; overflow: hidden; transform: translate3d(var(--lx, 60%), var(--ly, 20%), 0); cursor: grab; touch-action: none; }
.lens:active { cursor: grabbing; }
.lens:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.lens::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), inset 0 2px 1px -1px rgba(255, 255, 255, .7), inset 0 -2px 1px -1px rgba(255, 255, 255, .25), inset 10px 14px 28px -18px rgba(255, 255, 255, .5); } /* taste-skill-ignore: mercek ve bildirim gerçekten yüzer */
.lens-glass { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; filter: var(--lens-f, none); }
.lens-in { position: absolute; left: 0; top: 0; width: var(--pw, 100vw); height: var(--ph, 58vh); padding: 24px var(--m); background: #05070c; color: #b4c3f0; transform: translate3d(calc(var(--lx, 0px) * -1), calc(var(--ly, 0px) * -1), 0); columns: 2; column-gap: 56px; }
.lens-in pre { margin: 0; font: 14.5px/1.6 var(--f-code); white-space: pre-wrap; overflow-wrap: anywhere; }
.lens-in i { font-style: normal; color: #6f7ba3; }
.lens-in b { font-weight: 600; color: #ffffff; }

.hero-band { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 4vh, 56px); padding: 24px var(--m) 0; }
.hero-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; }
.hero-lead { max-width: 34rem; margin: 0; font-size: var(--s-body); line-height: 1.5; }
.hero-name { margin: 0; padding-bottom: clamp(14px, 2vw, 26px); font: 400 var(--name-size, 11.4vw)/0.86 var(--f-display); text-transform: uppercase; letter-spacing: -0.005em; white-space: nowrap; display: flex; gap: 0.2em; transform: scale(var(--ns, 1)); transform-origin: 0 100%; }
.hn-line { display: block; overflow: clip; padding-top: 0.2em; }
.hn-in { display: inline-block; }

/* ---------------------------------------------------------------- work: the seam */
.seam { position: relative; background: var(--stage); color: var(--stage-ink); }
.anchor { position: absolute; top: 0; }
.seam-stage { padding: var(--gap) var(--m); }
.seam-title { margin: 0 0 56px; font: 400 var(--s-head)/1.02 var(--f-display); text-transform: uppercase; }
.proj + .proj { margin-top: 96px; }
.proj-pic { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.proj-pic img { width: 100%; height: 100%; object-fit: cover; }
.proj-title { margin: 22px 0 14px; font: 400 var(--s-poster)/1.02 var(--f-display); text-transform: uppercase; }
.proj-kind { margin: 0 0 6px; color: #b9b9bf; }
.proj-text { max-width: 36rem; margin: 0 0 14px; }
.proj-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.proj-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; transition: text-decoration-color .3s, color .3s; }
.proj-links a:hover { text-decoration-color: transparent; }

/* canlı sahne: iki sütun ters yönlerde akar, başlık dikiş yerinde yırtılıp proje ortalanınca birleşir */
.seam.live { height: calc(var(--n, 6) * var(--sh, 100svh)); }
.seam.live .seam-stage { position: sticky; top: 0; height: var(--sh, 100svh); padding: 0; overflow: hidden; }
.seam.live .seam-title { position: absolute; left: var(--m); top: 76px; z-index: 4; margin: 0; font-size: var(--s-lead); }
.seam-col { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; }
.seam-col.r { left: 50%; }
.seam-reel { position: absolute; inset: 0; will-change: transform; }
/* iki yarı aynı resmin iki parçası: aynı piksel yüksekliğe ve konuma oturur, proje ortalanınca dikiş görünmez */
.slot { position: absolute; left: 0; width: 100%; height: var(--sh, 100svh); top: calc(var(--k) * var(--sh, 100svh)); overflow: hidden; }
.slot img { position: absolute; top: 0; left: 0; width: 200%; max-width: none; height: 100%; object-fit: cover; opacity: .26; }
.seam-col.r .slot img { left: -100%; }
.seam.live .proj { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 120px var(--m) 72px; margin: 0; text-align: center; opacity: var(--o, 0); visibility: hidden; }
.seam.live .proj-title { max-width: 14ch; margin: 0 0 22px; transform: translateY(calc((1 - var(--o, 0)) * 28px)); }
.seam.live .proj.on { visibility: visible; }
.seam.live .proj-pic { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seam.live .proj-text { margin-inline: auto; }
.seam.live .proj-links { justify-content: center; }

/* ---------------------------------------------------------------- posters */
.posters { padding: var(--gap) var(--m) calc(var(--gap) * .8); }
.h2 { margin: 0 0 56px; font: 400 var(--s-head)/1.04 var(--f-display); text-transform: uppercase; letter-spacing: -0.005em; }
.poster-list { margin: 0; padding: 0; list-style: none; }
.poster { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; padding: 0.06em 0; color: var(--ink); text-decoration: none; }
.pt { padding-top: .08em; font: 400 var(--s-poster)/1.04 var(--f-display); text-transform: uppercase; transition: color .3s, transform .5s var(--ease); }
.pf { flex: none; max-width: 17rem; font-size: var(--s-body); text-align: right; font-variant-numeric: tabular-nums; }
.poster:hover .pt, .poster:focus-visible .pt { color: var(--accent); transform: translateX(14px); }
.pt, .pf { transition: color .3s, transform .5s var(--ease), opacity .45s var(--ease); }
.poster-list.peeking .poster:not(.cur) :is(.pt, .pf) { opacity: .26; }
/* fareyle: tanıtım görseli imleci izleyen bir kartta açılır; dokunmatikte satırın altında durur */
.pv { display: none; }
.peek { position: fixed; left: 0; top: 0; z-index: 40; width: clamp(320px, 31vw, 500px); aspect-ratio: 16 / 10; overflow: hidden; background: #0b0d12; pointer-events: none; clip-path: inset(50% 0 50% 0); transition: clip-path .75s var(--ease); will-change: transform, clip-path; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); } /* taste-skill-ignore: kart sayfanın üstünde gerçekten yüzer */
.peek.on { clip-path: inset(0 0 0 0); }
.peek-reel { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.peek-reel img { position: absolute; left: 0; top: calc(var(--k) * 100%); width: 100%; height: 100%; object-fit: cover; scale: 1.14; transition: scale 1.3s var(--ease); }
.peek.on .peek-reel img { scale: 1; }
.peek-n { position: absolute; left: 0; bottom: 0; z-index: 1; padding: 6px 10px 5px; background: var(--accent); color: var(--accent-ink); font: 400 15px/1 var(--f-display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
@media (hover: none), (pointer: coarse) {
  .poster { flex-wrap: wrap; }
  .pv { display: block; flex-basis: 100%; max-width: 560px; margin-top: 14px; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0d12; }
  .pv img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------------------------------------------------------------- about */
.about { padding: calc(var(--gap) * .5) var(--m) var(--gap); }
.about-text { margin: 0; columns: 2; column-gap: 32px; font-size: var(--s-lead); line-height: 1.18; color: var(--soft); }
.about-text b { font-weight: 600; color: var(--ink); }
/* gazetenin üstünden geçen keçeli kalem: uçlarda mürekkep birikir, ortada incelir, satır satır çekilir.
   slice: tek bir şerit gibi boyanır, böylece satır sonuna gelen kalem bir alt satırdan devam eder */
.about-text mark { --mk: var(--accent); padding: 0 .14em; margin: 0 -.08em; color: var(--ink); background-color: transparent;
  background-image:
    linear-gradient(var(--ang, 102deg), transparent .8%, color-mix(in srgb, var(--mk) 58%, transparent) 2%, color-mix(in srgb, var(--mk) 40%, transparent) 7%, color-mix(in srgb, var(--mk) 34%, transparent) 88%, color-mix(in srgb, var(--mk) 55%, transparent) 97%, transparent 99.2%),
    linear-gradient(transparent 58%, color-mix(in srgb, var(--mk) 12%, transparent) 58% 66%, transparent 66%);
  background-repeat: no-repeat; background-position: 0 var(--by, 70%); background-size: 100% .8em;
  -webkit-box-decoration-break: slice; box-decoration-break: slice; }
.about-cta { padding: 0 .1em; background: var(--accent); color: var(--accent-ink); text-decoration: none; -webkit-box-decoration-break: slice; box-decoration-break: slice; transition: background-color .25s; }
.about-cta:hover { background: var(--ink); color: var(--ground); }
/* JS varken kalem okuma oraya gelince çekilir; geri kaydırınca hızla silinir */
.js .about-text mark { background-size: 0% .8em; transition: background-size .25s ease-in; }
.js .about-text mark.drawn { background-size: 100% .8em; transition: background-size var(--d, .7s) cubic-bezier(.5, .05, .3, 1); }
.js .about-text .about-cta { background: linear-gradient(var(--ang, 102deg), transparent .5%, var(--accent) 1.5% 98.5%, transparent 99.5%) 0 0 / 0% 100% no-repeat; color: var(--ink); transition: background-size .25s ease-in, color .2s; }
.js .about-text .about-cta.drawn { background-size: 100% 100%; color: var(--accent-ink); transition: background-size var(--d, .7s) cubic-bezier(.5, .05, .3, 1), color .3s calc(var(--d, .7s) * .45); }
.js .about-text .about-cta.drawn:hover { background: var(--ink); color: var(--ground); }
.js .about-text .w { opacity: .3; transition: opacity .35s; }
.js .about-text .w.lit { opacity: 1; }

/* ---------------------------------------------------------------- process: one reading column */
.process { padding: calc(var(--gap) * .5) var(--m) var(--gap); }
.process .col { max-width: 600px; margin-left: 30%; }
.process .h2 { margin-bottom: 48px; }
.stage-step { --sg: 72px; position: relative; }
.stage-step + .stage-step { margin-top: var(--sg); }
/* sol boşlukta adımın numarası ve adı; okunan adım kırmızıya döner, ince ray kaydırmayla dolar */
.st-mark { position: absolute; top: 0; bottom: 0; right: calc(100% + clamp(36px, 4.4vw, 72px)); text-align: right; }
.st-in { position: sticky; top: 104px; display: block; }
.st-n { display: block; font: 400 clamp(64px, 9.4vw, 156px)/.86 var(--f-display); font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 30%, transparent); transition: color .5s, -webkit-text-stroke-color .5s; }
.st-k { display: block; margin-top: 10px; font: 400 clamp(17px, 1.9vw, 28px)/1.04 var(--f-display); text-transform: uppercase; white-space: nowrap; color: var(--soft); transition: color .5s; }
.stage-step.cur .st-n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.stage-step.cur .st-k { color: var(--ink); }
.stage-step::before, .stage-step::after { content: ""; position: absolute; top: 0; bottom: calc(-1 * var(--sg)); left: calc(-1 * clamp(16px, 2.2vw, 32px)); width: 2px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.stage-step::after { background: var(--accent); transform-origin: 50% 0; transform: scaleY(var(--sp, 0)); }
.stage-step:last-child::before, .stage-step:last-child::after { bottom: 0; }
.stage-step > p { margin: 0; line-height: 1.6; color: var(--soft); }
.stage-step > p b { font-weight: 600; color: var(--ink); }
.ev { margin: 20px 0 0; }
.ev pre { margin: 0; padding: 18px 20px; background: var(--code-ground); color: var(--ink); font: 13.5px/1.6 var(--f-code); white-space: pre-wrap; overflow-wrap: anywhere; }
.ev pre i { font-style: normal; color: var(--soft); }
.ev pre b { font-weight: 600; }
.ev figcaption { margin-top: 10px; color: var(--soft); font-size: var(--s-small); }
.ev-pic img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 0 0; }
.doc { padding: 22px 24px; background: var(--code-ground); }
.doc p { margin: 0; }
.doc-h { font-weight: 600; }
.doc-s { margin-top: 12px !important; font-weight: 600; color: var(--soft); }
.doc ul { margin: 8px 0 0; padding-left: 1.1em; }

/* ---------------------------------------------------------------- proof band (opens the experience section) */
.band { margin-bottom: 72px; display: flex; align-items: center; height: 34vh; min-height: 200px; overflow: hidden; background: var(--accent); color: #0d0d0f; }
.band-track { display: flex; width: max-content; animation: run 42s linear infinite; }
.band-run { display: flex; align-items: center; gap: .4em; padding-right: .4em; font: 400 var(--s-poster)/1 var(--f-display); text-transform: uppercase; white-space: nowrap; }
.band-run i { width: .26em; height: .26em; border-radius: 50%; background: currentColor; }
@keyframes run { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- experience */
.exp { padding: 0 0 var(--gap); }
.exp-in { padding: 0 var(--m); }
.exp .h2 { margin-bottom: 20px; }
.exp-lead { margin: 0 0 56px; max-width: 40rem; }
.exp-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; }
.job + .job { margin-top: 56px; }
.job-when { color: var(--soft); font-variant-numeric: tabular-nums; }
.job-h { margin: 0 0 4px; font: 600 var(--s-lead)/1.15 var(--f-text); letter-spacing: -0.01em; }
.job-role { margin: 0; }
.job ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--soft); }
.job li + li { margin-top: 8px; }
.side-h { margin: 0 0 4px; font: 600 var(--s-lead)/1.15 var(--f-text); letter-spacing: -0.01em; }
.side-h + .skills, .side-h + .certs { margin-top: 8px; }
.skills { margin: 0 0 48px; }
.skills dt { margin-top: 16px; font-weight: 600; }
.skills dd { margin: 2px 0 0; color: var(--soft); }
.certs { margin: 0; padding: 0; list-style: none; }
.certs li { margin-top: 16px; }
.certs small { display: block; margin-top: 2px; color: var(--soft); font-size: var(--s-small); }
.certs a { font-weight: 600; }

/* ---------------------------------------------------------------- contact: display rows */
.contact { position: relative; padding-top: calc(var(--gap) * .6); }
.contact .row { display: flex; align-items: flex-end; min-height: clamp(84px, 9vw, 150px); margin: 0; padding: 0 var(--m) clamp(14px, 1.6vw, 24px); font: 400 var(--s-head)/1.1 var(--f-display); text-transform: uppercase; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact > .row:nth-child(even) { background: var(--surface); }
.contact a.row, .contact .row a { transition: color .25s; }
.contact a.row:hover, .row-mail a:hover { color: var(--accent); }
.row-mail { justify-content: space-between; gap: 24px; }
.row-mail a { text-decoration: none; }
.copy { flex: none; height: 44px; padding: 0; border: 0; background: none; font: 600 var(--s-body)/1 var(--f-text); text-transform: none; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.copy:hover { color: var(--accent); }
.row-go .go { display: inline-grid; place-items: center; width: .72em; height: .72em; margin: 0 0 .19em 24px; align-self: flex-end; background: var(--accent); color: var(--accent-ink); transition: transform .4s var(--ease); }
.row-go:hover .go { transform: translateX(10px); }
.go svg { width: 50%; height: 50%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }
.contact-note { margin: 0; padding: 24px var(--m) var(--gap); max-width: 44rem; }

/* ---------------------------------------------------------------- footer: revealed under the page */
main { position: relative; background: var(--ground); }
.foot { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; min-height: 100svh; padding: 104px var(--m) 20px; background: var(--inv-ground); color: var(--inv-ink); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px var(--m); }
.foot-cols a { display: block; width: fit-content; padding: 4px 0; color: var(--inv-soft); text-decoration: none; transition: color .25s; }
.foot-cols a:hover { color: var(--inv-ink); }
.fh { margin: 0 0 8px; font-weight: 600; }
.foot-mark { align-self: end; grid-row: 3; min-width: 0; font: 400 var(--mark-size, 21vw)/0.84 var(--f-display); text-transform: uppercase; white-space: nowrap; overflow: clip; padding-top: .16em; transform: scale(var(--fs, 1)); transform-origin: 0 100%; }
.foot-legal { grid-row: 4; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; font-size: var(--s-small); color: var(--inv-soft); }
.foot-legal p { margin: 0; }
.foot-legal a { color: var(--inv-ink); text-decoration: none; font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; padding: 12px 18px; background: var(--ink); color: var(--ground); font-weight: 600; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--ease); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .4); } /* taste-skill-ignore: mercek ve bildirim gerçekten yüzer */
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- motion (only once home.js runs) */
.js.ready [data-r] { opacity: .32; transform: translateY(26px); transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 75ms); }
.js.ready [data-r].in { opacity: 1; transform: none; }
.js.ready .hero .hn-in { transform: translateY(108%); animation: rise 950ms var(--ease) forwards; animation-delay: calc(120ms + var(--i, 0) * 90ms); }
.js.ready .hero [data-load] { opacity: 0; transform: translateY(14px); animation: arrive 600ms var(--ease) forwards; animation-delay: var(--d, 400ms); }
.js.ready .hero-pic img { animation: settle 1400ms var(--ease) both; }
@keyframes rise { to { transform: none; } }
@keyframes arrive { to { opacity: 1; transform: none; } }
@keyframes settle { from { scale: 1.08; } to { scale: 1; } }
html.swap [data-i18n], html.swap [data-i18n-html] { opacity: 0; transition: opacity .18s; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 960px) {
  .process .col { margin-left: 18%; }
  .exp-grid { grid-template-columns: 1fr; gap: 64px; }
  .poster { flex-direction: column; align-items: flex-start; gap: 0; padding-bottom: 22px; }
  .poster-list li:last-child .poster { padding-bottom: 0; }
  .pf { margin-top: 6px; text-align: left; max-width: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 760px) {
  .nav { gap: 12px; }
  .nav-links { display: none; }
  .menu-btn { display: inline-block; }
  .hero { grid-template-rows: 50svh auto; height: auto; min-height: 100svh; }
  .lens { --ls: 180px; }
  .lens-in { columns: 1; padding: 16px; }
  .lens-in pre { font-size: 13.5px; }
  .hero-pic figcaption { right: var(--m); }
  .hero-band { padding-top: 20px; }
  .hero-row { flex-direction: column; gap: 18px; }
  .hero-band { justify-content: flex-start; padding-bottom: 40px; }
  .hero-name { order: -1; flex-direction: column; gap: 0; padding-bottom: 0; line-height: 0.98; }
  .seam.live .seam-title { top: 68px; }
  .seam.live .proj-title { max-width: none; }
  .about-text { columns: 1; line-height: 1.25; }
  .process .col { margin-left: 0; }
  .stage-step { --sg: 56px; }
  .st-mark { position: static; margin-bottom: 14px; text-align: left; }
  .st-in { position: static; display: flex; align-items: baseline; gap: 14px; }
  .st-n { font-size: 64px; }
  .st-k { margin-top: 0; font-size: 22px; }
  .stage-step::before, .stage-step::after { display: none; }
  .band { height: 22vh; min-height: 150px; }
  .contact .row-url, .row-mail a { font-size: var(--s-lead); }
  .row-mail { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; }
  .row-go { justify-content: space-between; background: var(--accent) !important; color: var(--accent-ink) !important; }
  .row-go .go { width: 56px; height: 56px; background: var(--ink); color: var(--ground); }
  .foot-cols { gap: 32px var(--m); }
}

@media (prefers-reduced-motion: reduce) {
  .band-track { animation: none; }
  .js.ready [data-r] { opacity: 1; transform: none; transition: none; }
  .js.ready .hero .hn-in, .js.ready .hero [data-load], .js.ready .hero-pic img { animation: none; opacity: 1; transform: none; }
  .js .about-text .w { opacity: 1; }
  .js .about-text mark, .js .about-text .about-cta { transition: none !important; }
  .poster:hover .pt { transform: none; }
  .peek, .peek-reel, .peek-reel img, .pt, .pf { transition: none; }
}
