/* =========================================================
   TEEN MACHINES — styles
   White, thin, sharp. One red: the sun.
   ========================================================= */

@font-face { font-family: 'Unbounded'; font-weight: 200; font-display: swap; src: url('../fonts/unbounded-latin-200-normal.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-weight: 300; font-display: swap; src: url('../fonts/unbounded-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-weight: 400; font-display: swap; src: url('../fonts/unbounded-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 200; font-display: swap; src: url('../fonts/inter-tight-latin-200-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 300; font-display: swap; src: url('../fonts/inter-tight-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 400; font-display: swap; src: url('../fonts/inter-tight-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 500; font-display: swap; src: url('../fonts/inter-tight-latin-500-normal.woff2') format('woff2'); }

:root {
  --ink: #111111;
  --ink-2: #3b3b39;
  --grey: #8e8e8a;
  --grey-2: #b8b8b4;
  --line: #e5e5e1;
  --soft: #f4f4f2;
  --red: #e8321e;
  --bg: #ffffff;
  --pad: clamp(16px, 4vw, 56px);
  --display: 'Unbounded', 'Inter Tight', system-ui, sans-serif;
  --text: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --jp: 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--text); font-weight: 300; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.x90-open, html.x90-open body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[lang="ja"] { font-family: var(--jp); font-weight: 300; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 1px solid var(--red); outline-offset: 4px; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 14px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; transition: top .2s; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* small caps label used everywhere */
.label, .nav__menu a, .hero__foot, .reel__bar, .filters button, .x90__meta, .x90-sim__bar,
.card__cat, .card__no, .album__label, .foot, .socials a, .lightbox button, .lightbox__count, .pillars__no, .sec-head__no {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
}

/* ===================== NAV ===================== */
.nav { position: fixed; top: 0; right: 0; z-index: 100; padding: 22px var(--pad); pointer-events: none; }
.nav__menu { display: flex; gap: clamp(14px, 2.4vw, 34px); pointer-events: auto; }
.nav__menu a { position: relative; color: #9a9a96; padding: 6px 0; transition: color .3s var(--ease); white-space: nowrap; }
.nav__menu a .ch { display: inline-block; }
.nav__menu a::before { content: ''; position: absolute; left: -11px; top: 50%; width: 5px; height: 5px; margin-top: -3px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .45s var(--ease); }
.nav__menu a::after { content: attr(data-jp); position: absolute; left: 0; top: 100%; font-family: var(--jp); font-size: 9px; letter-spacing: .2em; color: var(--grey-2); opacity: 0; transform: translateY(-4px); transition: .3s var(--ease); white-space: nowrap; }
.nav__menu a:hover, .nav__menu a.is-active { color: var(--ink); }
.nav__menu a:hover::after { opacity: 1; transform: none; }
.nav__menu a.is-active::before { transform: scale(1); }

/* ===================== CURSOR ===================== */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 1px solid var(--ink); pointer-events: none; opacity: 0; display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-color: var(--grey-2); }
.cursor.is-label { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--ink); border-color: var(--ink); }
.cursor__label { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .2s; font-weight: 400; }
.cursor.is-label .cursor__label { opacity: 1; }
.show-touch { display: none; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } .hide-touch { display: none; } .show-touch { display: inline; } }

/* ===================== HERO ===================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; display: grid; place-items: center; overflow: hidden; }
.hero__brand { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--pad); will-change: transform; }
/* the logo, with the red sun sitting on the robot's antenna (position set from site.config.js) */
.hero__mark { position: relative; width: min(76vw, 820px, 150vh); --sun: clamp(11px, 2.1%, 22px); }
.hero__logo { margin: 0; width: 100%; line-height: 0; }
.hero__logo img { width: 100%; height: auto; }
.hero__sun { position: absolute; z-index: 2; left: var(--sun-x, 50%); top: var(--sun-y, 0%); width: var(--sun); aspect-ratio: 1; margin: calc(var(--sun) / -2) 0 0 calc(var(--sun) / -2); border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #ffb347 0, #ff7a2e 22%, #ef4a24 55%, #d11f1a 100%); box-shadow: 0 0 0 0 rgba(232, 50, 30, .25); transition: box-shadow .5s var(--ease); }
.hero__sun::before { content: ''; position: absolute; inset: -16px; border-radius: 50%; }
.hero__sun:hover { box-shadow: 0 0 0 10px rgba(232, 50, 30, .1); }
.hero__sub { margin: clamp(22px, 3vw, 38px) 0 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--grey); }
.hero__line { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .5em; }
.hero__line:first-child { font-size: 11px; letter-spacing: .5em; color: var(--ink-2); }
.hero__line:last-child { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 2px; }
.w > span { display: inline-block; }
.hero__foot { position: absolute; left: var(--pad); right: var(--pad); bottom: max(22px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; color: var(--grey); }
.hero__scroll { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-2); }
.hero__scroll i { position: relative; width: 1px; height: 46px; background: var(--line); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--ink); animation: drip 1.875s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__hint { grid-column: -2 / -1; margin: 0; justify-self: end; text-align: right; }
.pop { position: absolute; z-index: 5; font-family: var(--jp); font-weight: 900; pointer-events: none; white-space: nowrap; line-height: 1; }
html.hero-pending .hero__brand, html.hero-pending .hero__foot { opacity: 0; }

/* ===================== MARQUEE ===================== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: clamp(14px, 2vw, 22px) 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee span { font-family: var(--display); font-weight: 200; font-size: clamp(22px, 3.4vw, 46px); text-transform: uppercase; letter-spacing: .04em; padding: 0 .55em; white-space: nowrap; }
.marquee span[lang="ja"] { font-family: var(--jp); font-weight: 300; letter-spacing: .2em; }
.marquee b { color: var(--red); font-weight: 400; font-size: clamp(12px, 1.4vw, 18px); }

/* ===================== SECTIONS ===================== */
.about, .work, .x90, .contact { max-width: 1680px; margin: 0 auto; padding: clamp(96px, 13vw, 200px) var(--pad) 0; }
.sec-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 0 clamp(14px, 2vw, 28px); margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head__no { color: var(--grey); padding-bottom: .9em; }
.sec-head__title { margin: 0; font-family: var(--display); font-weight: 200; font-size: clamp(44px, 9vw, 136px); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; overflow: hidden; padding-bottom: .04em; }
.sec-head__title > span { display: inline-block; }
.sec-head__jp { color: var(--grey); font-size: 12px; letter-spacing: .4em; padding-bottom: .9em; }
.sec-head__rule { grid-column: 1 / -1; height: 1px; background: var(--line); margin-top: clamp(16px, 2vw, 26px); transform-origin: left; }

/* ---- reel ---- */
.reel { position: relative; }
.reel__frame { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(8px, 1.2vw, 18px); overflow: hidden; background: var(--soft); will-change: transform; transform-origin: 50% 0; }
.reel__media { position: absolute; inset: 0; }
.reel__frame { cursor: pointer; }
/* ---- clean video player (YouTube without its chrome) ---- */
.vp { position: absolute; inset: 0; overflow: hidden; background: #0b0b0b; }
.vp__crop { position: absolute; left: 0; right: 0; top: -25%; bottom: -25%; }   /* taller than 16:9: YouTube's bars fall outside the frame */
.vp__crop iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.vp.is-direct .vp__crop iframe { pointer-events: auto; }
.vp__note { position: absolute; z-index: 2; left: 50%; bottom: clamp(12px, 3%, 24px); transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); margin: 0; padding: 9px 14px; border-radius: 999px; background: rgba(10, 10, 10, .72); color: #fff; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; text-align: center; line-height: 1.5; }
.vp__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease); }
.vp.has-started .vp__poster { opacity: 0; pointer-events: none; }
.vp.is-error .vp__poster { opacity: 1; }
.vp__veil { position: absolute; inset: 0; background: rgba(10, 10, 10, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.vp.is-paused.has-started .vp__veil { opacity: 1; }
.vp__spin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); border-top-color: #fff; animation: spin .9s linear infinite; opacity: 0; transition: opacity .3s; }
.vp.is-loading .vp__spin { opacity: 1; }
.vp-toggle { position: absolute; z-index: 3; left: clamp(12px, 1.6vw, 22px); bottom: clamp(12px, 1.6vw, 22px); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, transform .4s var(--ease); }
.vp-toggle:hover { background: rgba(255,255,255,.3); transform: scale(1.06); }
.vp-toggle i { width: 12px; height: 14px; background: linear-gradient(#fff, #fff) 0 0 / 4px 100% no-repeat, linear-gradient(#fff, #fff) 100% 0 / 4px 100% no-repeat; }
.vp-toggle.is-paused i { width: 13px; height: 15px; margin-left: 3px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.vp-toggle[hidden] { display: none; }
.reel__placeholder { position: absolute; inset: 0; }
.reel__placeholder svg { width: 100%; height: 100%; }
.rp-sun { transform-origin: 800px 450px; animation: sunbeat 1.875s var(--ease) infinite; }
.rp-orbit { transform-origin: 800px 450px; animation: spin 7.5s linear infinite; }
@keyframes sunbeat { 0%, 50%, 100% { transform: scale(1); } 6%, 56% { transform: scale(1.05); } }
@keyframes spin { to { transform: rotate(360deg); } }
.reel__soon { position: absolute; left: 0; right: 0; bottom: 7%; margin: 0; text-align: center; font-family: var(--display); font-weight: 200; font-size: clamp(11px, 1.1vw, 14px); letter-spacing: .5em; text-transform: uppercase; color: var(--ink-2); }
.reel.has-video .reel__placeholder { opacity: 0; transition: opacity 1.2s .6s; pointer-events: none; }
.reel__bar { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; color: var(--grey); }

/* ---- about ---- */
.about__lead { font-weight: 200; font-size: clamp(26px, 4.1vw, 62px); line-height: 1.12; letter-spacing: -.015em; max-width: 21ch; margin: 0 0 clamp(56px, 7vw, 110px); }
.about__lead .wd { display: inline; }
.pillars { list-style: none; margin: clamp(56px, 7vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.pillars li { border-top: 1px solid var(--line); padding-top: 18px; }
.pillars__no { color: var(--red); }
.pillars h3 { margin: 18px 0 10px; font-family: var(--display); font-weight: 300; font-size: clamp(15px, 1.3vw, 19px); letter-spacing: .02em; text-transform: uppercase; }
.pillars p { margin: 0; color: var(--grey); font-size: 15px; max-width: 30ch; }

/* ---- work ---- */
.work .sec-head { margin-bottom: 0; }
.disclaimer { margin: 14px 0 clamp(36px, 4.6vw, 64px); max-width: 82ch; font-size: 11px; line-height: 1.6; letter-spacing: .01em; color: var(--grey); }
.disclaimer[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2.4vw, 36px); margin-bottom: clamp(28px, 3.4vw, 48px); }
.filters button { position: relative; color: var(--grey); padding: 6px 0; transition: color .3s; }
.filters button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.filters button:hover { color: var(--ink); }
.filters button.is-active { color: var(--ink); }
.filters button.is-active::after { transform: scaleX(1); transform-origin: left; }
.filters sup { font-size: 8px; margin-left: 4px; letter-spacing: 0; color: var(--grey-2); vertical-align: top; position: relative; top: -2px; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 64px) clamp(14px, 2vw, 28px); align-items: start; }
.card--full { grid-column: 1 / -1; }
.card.is-hidden { display: none; }
.card button { display: block; width: 100%; text-align: left; }
.card figure { margin: 0; }
.card__media { position: relative; overflow: hidden; border-radius: 6px; background: var(--bg, var(--soft)); aspect-ratio: 16 / 9; }
.card--full .card__media { aspect-ratio: 2.333 / 1; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1.1s var(--ease); }
.card__img--cover { object-fit: cover; }
.card--full[data-wide] .card__img { object-fit: cover; }
.card:hover .card__img { transform: scale(1.025); }
.card__media::after { content: ''; position: absolute; right: 14px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .5s var(--ease); }
.card:hover .card__media::after, .card button:focus-visible .card__media::after { transform: scale(1); }
.card--video .card__media { background: #0b0b0b; }
.card--video .card__media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35)); pointer-events: none; }
.card__play { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(56px, 6vw, 84px); height: clamp(56px, 6vw, 84px); margin: calc(clamp(56px, 6vw, 84px) / -2) 0 0 calc(clamp(56px, 6vw, 84px) / -2);
  border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .5s var(--ease), background .4s; }
.card__play i { width: 16px; height: 19px; margin-left: 4px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.card:hover .card__play { transform: scale(1.1); background: var(--red); border-color: var(--red); }
.card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; color: var(--grey); }
.card__name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.card__no { color: var(--grey-2); }
.card__title { color: var(--ink); font-size: 15px; font-weight: 400; letter-spacing: .04em; transition: transform .5s var(--ease); }
.card__sub { color: var(--grey); font-size: 13px; }
.card:hover .card__title { transform: translateX(4px); }
.card__cat { white-space: nowrap; }

/* ---- Teen Machine Lifestyle: album carousel ---- */
.album { --album-w: 76%; --album-gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(96px, 11vw, 180px); }
.album[hidden] { display: none; }
.album__head { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "rule rule" "label jp" "title ctrl"; align-items: end; gap: 0 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.album__rule { grid-area: rule; height: 1px; background: var(--line); margin-bottom: 18px; transform-origin: left; }
.album__label { grid-area: label; color: var(--grey); margin-bottom: 14px; }
.album__label sup { font-size: 8px; margin-left: 4px; letter-spacing: 0; color: var(--grey-2); vertical-align: top; position: relative; top: -2px; }
.album__jp { grid-area: jp; justify-self: end; color: var(--grey); font-size: 12px; letter-spacing: .4em; margin-bottom: 14px; }
.album__title { grid-area: title; margin: 0; font-family: var(--display); font-weight: 200; font-size: clamp(26px, 3.6vw, 58px); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; overflow: hidden; padding-bottom: .06em; }
.album__title > span { display: inline-block; }
.album__ctrl { grid-area: ctrl; display: flex; align-items: center; gap: 10px; }
.album__count { color: var(--grey); margin-right: 12px; font-size: 11px; letter-spacing: .22em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.album__now { display: inline-block; color: var(--ink); font-weight: 400; }
.album__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: background .35s var(--ease), border-color .35s, color .35s, opacity .35s; }
@media (hover: hover) { .album__btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; } }
.album__btn:active { background: var(--ink); border-color: var(--ink); color: #fff; }
.album__btn[aria-disabled="true"] { opacity: .3; cursor: default; }
.album__btn[aria-disabled="true"]:hover, .album__btn[aria-disabled="true"]:active { background: none; border-color: var(--line); color: var(--ink); }
.album__btn i { position: relative; width: 16px; height: 1px; background: currentColor; }
.album__btn i::before { content: ''; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.album__prev i { transform: scaleX(-1); }
/* the strip runs out to the page edges; photos line up with the content */
.album__viewport { position: relative; margin: 0 calc(-1 * var(--pad)); overflow: hidden; overflow: clip; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; cursor: grab; }
.album__viewport.is-dragging { cursor: grabbing; }
.album__track { position: relative; list-style: none; margin: 0; padding: 0 var(--pad); display: flex; gap: var(--album-gap); will-change: transform; }
.album__slide { flex: 0 0 var(--album-w); min-width: 0; }
.album__slide button { display: block; width: 100%; text-align: left; cursor: inherit; }
.album__slide figure { margin: 0; }
.album__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 2.357 / 1; background: var(--bg, var(--soft)); }
.album__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); -webkit-user-drag: none; pointer-events: none; }
.album__media::after { content: ''; position: absolute; right: 14px; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .6s var(--ease); }
.album__slide.is-active .album__media::after { transform: scale(1); }
.album__cap { display: flex; align-items: baseline; gap: 12px; padding-top: 14px; color: var(--grey); }
.album__no { font-size: 11px; letter-spacing: .22em; color: var(--grey-2); transition: color .4s; }
.album__slide.is-active .album__no { color: var(--ink); }
.album__caption { font-size: 13px; color: var(--grey); }
.album__slide button:focus-visible { outline: none; }
.album__slide button:focus-visible .album__media { outline: 1px solid var(--red); outline-offset: 4px; }
.album__bar { position: relative; height: 1px; margin-top: clamp(22px, 2.6vw, 36px); background: var(--line); overflow: hidden; }
.album__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---- contact ---- */
.contact__big { margin: 0; font-family: var(--display); font-weight: 200; font-size: clamp(40px, 8.4vw, 144px); line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.contact__big .line { display: block; overflow: hidden; padding-bottom: .04em; }
.contact__big .line > span { display: inline-block; }
.contact__big .line:last-child { color: var(--grey-2); }
.contact__email { display: inline-block; margin-top: clamp(28px, 3.4vw, 52px); font-weight: 200; font-size: clamp(22px, 3.2vw, 48px); letter-spacing: -.01em;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat; transition: background-size .6s var(--ease); padding-bottom: 4px; }
.contact__email:hover { background-size: 0 1px; background-position: 100% 100%; }
.contact__grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(40px, 6vw, 120px); margin-top: clamp(64px, 8vw, 120px); }
.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; align-self: end; grid-column: 2; }
.socials a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), color .3s; color: var(--ink-2); }
.socials a:hover { padding-left: 10px; color: var(--ink); }
.socials a::after { content: '↗'; color: var(--grey); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(96px, 12vw, 180px); padding: 26px 0 max(26px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--grey); }
.foot button, .foot a { transition: color .3s; }
.foot button:hover, .foot a:hover { color: var(--ink); }

/* ===================== LIGHTBOX ===================== */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(255, 255, 255, .97); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox__fig img { max-width: min(88vw, 1400px); max-height: 76vh; width: auto; height: auto; border-radius: 6px; background: var(--soft); }
.lightbox__fig img[hidden] { display: none; }
.lightbox__video { position: relative; width: min(88vw, 1400px, calc(76vh * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #0b0b0b; cursor: pointer; }
.lightbox__video[hidden] { display: none; }
.lightbox__video.is-vertical { width: min(88vw, calc(76vh * 9 / 16)); aspect-ratio: 9 / 16; }
.lightbox__video .vp-toggle { position: absolute; }
.lightbox .lightbox__snd { position: absolute; z-index: 3; right: clamp(12px, 1.6vw, 22px); bottom: clamp(12px, 1.6vw, 22px); top: auto; left: auto; padding: 0 16px; height: 46px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox .lightbox__snd:hover { color: #fff; background: rgba(255,255,255,.3); }
.lightbox__snd i { width: 14px; height: 10px; background:
  linear-gradient(currentColor, currentColor) 0 100% / 2px 40% no-repeat,
  linear-gradient(currentColor, currentColor) 6px 100% / 2px 100% no-repeat,
  linear-gradient(currentColor, currentColor) 12px 100% / 2px 60% no-repeat; }
.lightbox__snd[aria-pressed="true"] i { animation: eq .47s steps(3) infinite alternate; }
.lightbox__snd[hidden] { display: none !important; }
.lightbox__fig figcaption { align-self: stretch; display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }
.lightbox__title { color: var(--ink); }
.lightbox > button { position: absolute; color: var(--grey); transition: color .3s; padding: 10px; }
.lightbox .vp-toggle { padding: 0; }
.lightbox > button:hover { color: var(--ink); }
.lightbox__close { top: 18px; right: var(--pad); }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); font-size: 18px !important; letter-spacing: 0 !important; }
.lightbox__prev { left: calc(var(--pad) - 10px); }
.lightbox__next { right: calc(var(--pad) - 10px); }
.lightbox__count { position: absolute; left: var(--pad); top: 28px; color: var(--grey); }


/* ===================== X90 (simulator launcher + full-screen layer) ===================== */
.x90__intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px clamp(24px, 4vw, 80px); align-items: end; margin-bottom: clamp(28px, 3.6vw, 52px); }
.x90__lead { margin: 0; font-weight: 200; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.08; letter-spacing: -.015em; }
.x90__how { margin: 0; color: var(--grey); font-size: 17px; max-width: 42ch; justify-self: end; }
.x90__launch { position: relative; display: block; color: #fff; }
.x90__media { position: relative; display: block; overflow: hidden; border-radius: 6px; aspect-ratio: 1500 / 636; background: #d9cfc6; }
.x90__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.x90__media::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 55%, rgba(17, 17, 17, .28), rgba(17, 17, 17, 0) 70%); pointer-events: none; }
.x90__launch:hover .x90__img, .x90__launch:focus-visible .x90__img { transform: scale(1.035); }
.x90__cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; pointer-events: none; }
.x90__ring { width: clamp(64px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .85); display: grid; place-items: center; background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform .6s var(--ease), background .4s; }
.x90__ring i { width: 0; height: 0; margin-left: 4px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.x90__launch:hover .x90__ring { transform: scale(1.08); background: var(--red); border-color: var(--red); }
.x90__label { font-family: var(--display); font-weight: 300; font-size: 13px; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.x90__jp { margin-top: -10px; font-size: 10px; letter-spacing: .4em; color: rgba(255, 255, 255, .8); }
.x90__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding: 16px 0 0; color: var(--grey); }
.x90__meta p { margin: 0; }
.x90__tab { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.x90__tab:hover { border-color: var(--ink); }
.x90-sim { position: fixed; inset: 0; z-index: 260; display: flex; flex-direction: column; background: #f3f2ee; }
.x90-sim[hidden] { display: none; }
.x90-sim__bar { flex: none; height: 44px; display: flex; align-items: center; gap: 22px; padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); background: #fff; border-bottom: 1px solid var(--line); color: var(--grey); }
.x90-sim__brand { margin-right: auto; white-space: nowrap; }
.x90-sim__brand b { color: var(--ink); font-weight: 400; }
.x90-sim__tab, .x90-sim__close { white-space: nowrap; transition: color .3s; }
.x90-sim__close { color: var(--ink); }
.x90-sim__tab:hover { color: var(--ink); }
.x90-sim__close:hover { color: var(--red); }
.x90-sim__frame { flex: 1; width: 100%; min-height: 0; border: 0; display: block; background: #f3f2ee; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .socials { align-self: start; grid-column: auto; }
}
@media (max-width: 720px) {
  .nav { padding-top: 18px; }
  .nav__menu a { font-size: 10px; letter-spacing: .16em; }
  .hero__mark { width: 86vw; }
  .hero__foot { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .hero__scroll { display: none; }
  .hero__line:last-child { font-size: 10px; letter-spacing: .18em; max-width: 30ch; }
  .sec-head { grid-template-columns: auto 1fr; }
  .sec-head__jp { display: none; }
  .grid { grid-template-columns: 1fr; gap: 34px; }
  .card--full[data-wide] .card__img { object-fit: contain; }
  .nav { left: 0; display: flex; justify-content: flex-end; padding-bottom: 16px; background: linear-gradient(to bottom, rgba(255,255,255,.97) 62%, rgba(255,255,255,0)); }
  .nav__menu { gap: 12px; }
  .x90__intro { grid-template-columns: 1fr; }
  .x90__how { justify-self: start; }
  .x90__media { aspect-ratio: 4 / 3; }
  .x90__label { font-size: 11px; letter-spacing: .4em; }
  .x90-sim__tab { display: none; }
  .nav__menu a { letter-spacing: .12em; }
  .card--full .card__media { aspect-ratio: 16 / 9; }
  .card figcaption { flex-direction: column; gap: 6px; }
  .album { --album-w: 88%; }
  .album__head { grid-template-areas: "rule rule" "label ctrl" "title title"; align-items: center; }
  .album__jp { display: none; }
  .album__label { margin-bottom: 0; }
  .album__ctrl { gap: 8px; margin-bottom: 16px; }
  .album__count { margin-right: 4px; }
  .album__btn { width: 40px; height: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .cursor { display: none; }
}
