/* The ink theme: all brand and motion tokens are local to this sheet. */
:root[data-theme="ink"] {
  --ink: #0b1018;
  --paper: #f1f2f8;
  --red: #74e4df;
  --muted: #a3adbf;
  --line: #b8cad326;
  --lavender: #c1a7ed;
  background: var(--ink);
  color: var(--paper);
}
::selection { background: #bda4e9; color: #0b1018; }
.site-header { background: #0b1018; border-color: #bad9e324; }
.brand-divider { color: var(--lavender); }
.primary-nav a, .header-tools #sound-toggle { color: #a7b3c5; }
.primary-nav a:after { background: var(--lavender); }
.ink-landing { background: #0b1018; height: calc(100svh - 84px); min-height: 650px; max-height: 1020px; }
.ink-landing:before { display: none; }
.ink-bloom { position: absolute; z-index: -2; inset: -4% 5% 2%; display: flex; align-items: center; justify-content: center; opacity: .72; pointer-events: none; }
.ink-texture { width: 100%; height: auto; max-width: none; flex: none; mix-blend-mode: screen; mask-image: radial-gradient(ellipse closest-side at 50% 50%, #000 35%, #000d 60%, transparent 100%); animation: ink-drift 18s ease-in-out infinite alternate; transform-origin: 53% 52%; }
.landing-folio { color: #b1b8cf; font-size: 8px; top: 29px; }
.landing-folio > span:last-child { color: var(--lavender); }
.landing-wordmark { bottom: 108px; font-size: 24.7vw; -webkit-text-stroke-color: #c8c2e15c; z-index: -1; }
.landing-wordmark span { -webkit-text-stroke-color: #b5ece74f; }
.logo-home-mount { left: 50%; top: 4%; height: 76%; width: min(42vw, 540px); max-height: 760px; }
.logo-stage { filter: drop-shadow(12px 25px 26px #0008); }
.landing-note { top: 28%; left: 5%; max-width: 200px; }
.landing-note .eyebrow { color: var(--lavender); }
.landing-note p { color: #f1edf9; font-size: clamp(24px, 2.1vw, 33px); text-shadow: 0 2px 20px #0b1018; white-space: nowrap; }
.note-rule { background: var(--lavender); }
.landing-note small { display: flex; gap: 8px; align-items: center; color: #d0d8e5; }
.landing-note small svg { width: 11px; height: 11px; color: var(--red); }
.landing-navigation { right: 5%; top: 29%; width: 245px; }
.landing-navigation > a { border-color: #a9c7d63d; }
.landing-navigation > a > span { color: var(--lavender); }
.landing-navigation strong { font-size: 30px; }
.landing-navigation svg { color: var(--red); }
.landing-navigation > a:hover { color: var(--red); }
.landing-bottom { left: 5%; right: 5%; bottom: 44px; }
.landing-bottom > p, .signature-play small { color: #b9c6d6; }
.play-disc { border-color: #bed5e77a; }
.signature-play:hover .play-disc { color: var(--ink); }
.landing-gear { gap: 16px; }
.landing-gear svg { width: 23px; height: 23px; color: var(--lavender); transform: rotate(90deg); }
.landing-scar { background: #8bf3eb28; z-index: 0; top: 28%; width: 68%; left: 14%; }
.scar-two { background: #d4b6ff24; top: 65%; left: 21%; }
.ink-motion-control { position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; padding: 9px; background: none; color: #a9b8cc; font-size: 8px; letter-spacing: .04em; z-index: 6; }
.ink-motion-control:hover { color: var(--paper); }
.ink-paused .ink-texture { animation-play-state: paused; }
.after-hours { position: relative; isolation: isolate; overflow: hidden; min-height: 530px; display: flex; align-items: center; border-block: 1px solid var(--line); background: #080d15; }
.after-hours-art { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center 22%; z-index: -1; }
.after-hours-copy { width: 51%; padding: 70px 0 85px 7%; }
.after-hours-copy > .eyebrow { color: var(--lavender); font-size: 9px; }
.after-hours h2 { font-size: clamp(52px, 5.2vw, 88px); line-height: .98; margin: 24px 0; }
.after-hours h2 em { font-style: normal; color: var(--lavender); }
.after-hours-copy > p:not(.eyebrow) { color: #b6c1d3; font-size: 13px; line-height: 1.9; max-width: 325px; margin-bottom: 26px; }
.button-ink { color: var(--ink); background: var(--red); gap: 30px; font-size: 11px; }
.button-ink:hover { background: #b1f1eb; }
.after-hours-channel { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: #b4bfd0; font-size: 8px; letter-spacing: .07em; }
.after-hours-channel svg { width: 18px; height: 18px; }
.after-hours-channel:hover { color: var(--paper); }
.after-hours-folio { position: absolute; bottom: 22px; left: 7%; right: 5%; display: flex; justify-content: space-between; gap: 24px; color: #9eacc0; font-size: 7px; letter-spacing: .12em; }
.newsletter-signup { background: #0e1520; padding-block: 50px; }
.newsletter-signup > div > .eyebrow { color: var(--lavender); }
.newsletter-signup p { color: #aab8cc; }
.button-red { background: var(--red); color: var(--ink); }
.consent { color: #bdc6d7; }
.site-footer, body[data-page="home"] .site-footer, body[data-page="designs"] .site-footer, body[data-page="studio"] .site-footer { background: #0b1018; color: #9caac0; border-color: var(--line); }
.site-footer > span:nth-child(2), body[data-page="designs"] .site-footer > span:nth-child(2), body[data-page="studio"] .site-footer > span:nth-child(2) { color: #c4cdde; }
.page-transition { background: #0b1018; }
.transition-shutter { background: #111a29; }
.transition-caption { color: var(--lavender); }
.transition-wordmark { -webkit-text-stroke-color: #beb1e742; }
.mobile-nav { background: #0e1520; }
.mobile-nav a { color: var(--lavender); }
.watch-page, .gear-page, .community-page { background: var(--ink); }
.watch-heading p, .watch-page .page-folio > a, .video-status, .video-search, .video-card > p { color: #a7b7cf; }
.watch-heading .text-link, .video-tabs button.active { color: #edf2fb; }
.video-tabs button, .video-tabs button span { color: #b0bcd0; }
.video-latest-label { background: var(--red); color: var(--ink); }
.video-play { background: var(--red); color: var(--ink); }
.video-thumb { background: #172338; }
.video-card h3 { color: var(--paper); }
.video-card:hover h3 { color: var(--red); }
.gear-heading p, .gear-note, .gear-section-heading > span, .gear-number { color: #b6c2d4; }
.gear-image { background: #17202c; }
.gear-plus { color: var(--ink); background: var(--red); }
.gear-cta { color: var(--red); }
.gear-price { color: var(--lavender); }
.showroom, .studio-page { position: relative; background: #12192b; color: #f1f2f8; color-scheme: dark; }
.showroom:before, .studio-page:before { content: ''; position: absolute; inset: 0; z-index: 0; background: url('/ink/assets/ink.webp') center top / 1600px auto no-repeat; opacity: .09; pointer-events: none; mask-image: radial-gradient(ellipse at 50% 250px, #000 20%, transparent 70%); }
.showroom .page-folio, .studio-page .page-folio { position: relative; z-index: 1; border-color: var(--line); }
.showroom { --ink: #121a2b; --paper: #f1f2f8; --red: #74e4df; }
.showroom .model-art { background: #eaeaf3; }
.model-copy > .eyebrow, .model-description, .specs dt, .showroom-bottom > span { color: #b5c3d8; }
.model-art-label { color: #5b677c; }
.model-tabs button { color: #a8b7cf; }
.model-tabs button[aria-selected="true"] { color: #f1f2f8; }
.model-tabs button[aria-selected="true"]:after { background: #c1a7ed; }
.specs, .showroom-bottom, .social-list > a { border-color: #b8cad330; }
.showroom .button-dark { border: 1px solid #74e4df66; }
.studio-page { --red: #c1a7ed; }
.studio-copy > p:not(.studio-lead), .studio-contact { color: #b5c3d8; }
.studio-lead em, .studio-identity h1 > span, .social-list svg, .story-source { color: #c1a7ed; }
.severed-words > span { color: #b6c4db; }
.seven-meaning > .eyebrow, .studio-signature, .social-list small, .studio-contact > span { color: #a5b7cf; }
.privacy-copy { color: #bec8d9; }
.privacy-copy a, .community-form .muted a { color: var(--red); }
@keyframes ink-drift {
  0% { transform: scale(1.015) translate(-.5%, .5%) rotate(-.6deg); opacity: .8; }
  50% { transform: scale(1.055) translate(.6%, -.7%) rotate(.25deg); opacity: 1; }
  100% { transform: scale(1.025) translate(-.3%, .3%) rotate(.65deg); opacity: .88; }
}
@media (min-width: 1550px) {
  .landing-navigation { right: 6%; width: 270px; }
  .landing-navigation strong { font-size: 35px; }
  .after-hours { min-height: 640px; }
}
@media (max-width: 1100px) {
  .header-tools { gap: 18px; }
  .primary-nav { gap: 24px; }
  .landing-navigation { width: 205px; right: 4%; }
  .landing-navigation strong { font-size: 26px; }
  .landing-note { left: 4%; max-width: 165px; }
  .landing-note p { font-size: 25px; }
  .after-hours h2 { font-size: 61px; }
}
@media (max-width: 800px) {
  .header-tools { gap: 19px; }
  .ink-landing { min-height: 640px; height: calc(100svh - 72px); }
  .ink-bloom { inset: -3% -15% 3% -18%; }
  .logo-home-mount { left: 48%; width: 40vw; height: 73%; top: 6%; }
  .landing-note { top: 21%; }
  .landing-note p { font-size: 22px; }
  .landing-navigation { width: 165px; right: 4%; top: 37%; }
  .landing-navigation strong { font-size: 23px; }
  .landing-wordmark { bottom: 125px; }
  .landing-bottom { bottom: 44px; }
  .after-hours { min-height: 450px; }
  .after-hours-copy { width: 58%; padding-left: 6%; }
  .after-hours h2 { font-size: 53px; }
  .after-hours-copy > p:not(.eyebrow) { font-size: 12px; max-width: 255px; }
}
@media (max-width: 600px) {
  .header-tools { gap: 15px; }
  .header-tools .shop-link { display: none; }
  .ink-landing { height: auto; min-height: 850px; }
  .landing-folio { top: 22px; left: 6%; right: 6%; font-size: 6px; }
  .landing-note { top: 98px; left: 6%; max-width: 145px; }
  .landing-note p { font-size: 23px; line-height: 1.15; }
  .landing-note small { font-size: 8px; }
  .ink-bloom { inset: 106px -24% 236px -24%; opacity: .78; }
  .ink-texture { width: 180%; }
  .logo-home-mount { left: 61%; top: 150px; width: 250px; height: 395px; min-height: 0; max-height: none; }
  .landing-wordmark { top: 350px; bottom: auto; font-size: 26.2vw; }
  .landing-navigation { top: 570px; left: 6%; right: 6%; width: auto; }
  .landing-navigation strong { font-size: 28px; }
  .landing-navigation > a { padding-block: 14px; }
  .landing-navigation > a > span { font-size: 8px; }
  .landing-bottom { left: 6%; right: 6%; bottom: 42px; gap: 12px; }
  .landing-gear { font-size: 6px; gap: 8px; }
  .landing-gear svg { width: 18px; height: 18px; }
  .ink-motion-control { bottom: 4px; font-size: 7px; }
  .landing-scar { top: 270px; left: -20%; width: 130%; }
  .scar-two { top: 450px; left: 10%; }
  .after-hours { min-height: 650px; align-items: flex-end; }
  .after-hours-art { height: 380px; object-position: 76% center; }
  .after-hours-copy { padding: 310px 6% 74px; width: 100%; }
  .after-hours h2 { font-size: clamp(47px, 10.8vw, 64px); margin: 19px 0; }
  .after-hours-copy > .eyebrow { font-size: 8px; }
  .after-hours-copy > p:not(.eyebrow) { max-width: 300px; font-size: 12px; }
  .after-hours-folio { left: 6%; right: 6%; bottom: 22px; font-size: 5px; line-height: 1.8; }
  .after-hours-folio > span:last-child { max-width: 120px; text-align: right; }
}
@media (max-width: 360px) {
  .header-tools { gap: 11px; }
  .ink-landing { min-height: 825px; }
  .logo-home-mount { width: 225px; height: 355px; top: 165px; }
  .landing-navigation { top: 551px; }
  .landing-note p { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .ink-texture { animation: none; transform: none; }
  .ink-motion-control { display: none; }
}

/* Original anime cutouts cross the rails without taking pointer input. */
.anime-portrait { min-width: 0; width: 100%; max-width: 380px; justify-self: center; pointer-events: none; transform: translate(var(--anime-x, 0px), var(--anime-y, 0px)); transition: transform .7s ease-out; }
.anime-portrait img { width: 100%; height: auto; object-fit: contain; opacity: .88; mask-image: linear-gradient(#000 76%, transparent 100%); animation: anime-breathe 9s ease-in-out infinite alternate; animation-play-state: paused; transform-origin: 50% 70%; }
.anime-portrait[data-awake=true] img { animation-play-state: running; }
:root[data-ink-motion=paused] .anime-portrait img { animation-play-state: paused; }
@keyframes anime-breathe { from { transform: translateY(2px) rotate(-.25deg); } to { transform: translateY(-4px) rotate(.25deg); } }
/* Figures cross the folio rail like the selected concepts. Keep text above them. */
.page-enter { animation-fill-mode: backwards; }
:root[data-theme=ink] .ink-panel { z-index: 49; }
:root[data-theme=ink] .watch-page, :root[data-theme=ink] .gear-page { isolation: auto; }
:root[data-theme=ink] .watch-page:before, :root[data-theme=ink] .gear-page:before { z-index: 0; }
.watch-page > :not(.watch-heading), .gear-page > :not(.gear-heading) { position: relative; z-index: 46; }
.watch-page > .page-folio, .gear-page > .page-folio { z-index: 1; }
.watch-heading, .gear-heading, .anime-intro { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; min-height: 300px; padding-block: 45px; }
.watch-heading h1, .gear-heading h1, .anime-title { position: relative; z-index: 46; font-size: clamp(100px, 9.1vw, 138px); max-width: 620px; }
.watch-heading > div:last-child, .gear-heading > div:last-child, .anime-summary { position: relative; z-index: 46; justify-self: end; max-width: 300px; padding-bottom: 0; }
.watch-heading .anime-portrait, .gear-heading .anime-portrait, .anime-intro .anime-portrait { position: absolute; z-index: 45; top: -112px; left: 33%; width: min(46vw, 620px); max-width: none; }
.anime-title { font: 800 clamp(90px, 8vw, 122px)/.88 var(--display); letter-spacing: -.015em; }
.anime-title em { color: var(--red); font-style: normal; }
.anime-summary { font-size: 12px; line-height: 1.9; color: var(--muted); }
.showroom .anime-summary, .studio-page .anime-summary { color: #b5c3d8; }
.studio-page .anime-title > span { color: var(--red); }
.studio-grid { position: relative; z-index: 46; grid-template-columns: minmax(0, 330px) minmax(0, 1fr) minmax(0, 220px); grid-template-areas: 'identity story social'; column-gap: clamp(32px, 4vw, 64px); max-width: 1180px; justify-content: start; }
.studio-identity { grid-area: identity; }
.studio-copy { grid-area: story; }
.studio-socials { grid-area: social; min-width: 0; }
.studio-socials .social-list { margin-top: 0; }
.studio-socials .social-list > a { grid-template-columns: minmax(0, 1fr) 18px; gap: 6px 10px; padding-block: 18px; }
.studio-socials .social-list > a > span { grid-column: 1; grid-row: 1; font-size: 32px; }
.studio-socials .social-list small { grid-column: 1; grid-row: 2; font-size: 9px; line-height: 1.6; }
.studio-socials .social-list svg { grid-column: 2; grid-row: 1 / 3; }
.anime-intro { min-height: 340px; }
.anime-intro + .model-tabs { position: relative; z-index: 46; }
.model-panel, .showroom-bottom { position: relative; z-index: 46; }
.gear-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.watch-heading .mobile-subscribe { display: none; }
.studio-identity { display: flex; flex-direction: column; overflow: visible; min-height: 0; }
.studio-identity .anime-portrait { align-self: center; width: min(90%, 320px); margin-block: 20px 0; }
.studio-identity .seven-meaning { margin-top: 20px; }
.studio-identity .studio-signature { position: static; margin-top: 30px; font-size: 9px; line-height: 1.7; }
.studio-identity .seven-meaning > .eyebrow { font-size: 9px; line-height: 1.7; }
.studio-copy > p:not(.studio-lead) { font-size: 14px; line-height: 1.9; }
.community-heading:has(.anime-portrait) { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(100px, .6fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.community-heading:has(.anime-portrait) h1 { font-size: clamp(60px, 7vw, 96px); }
.community-heading .anime-small { max-width: 165px; }
.privacy-page .community-heading { grid-template-columns: minmax(0, 2.2fr) minmax(90px, .5fr); }
.privacy-page .community-heading > p { grid-column: 1 / -1; }
@media (max-width: 1100px) {
  .studio-grid { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); grid-template-areas: 'identity story' 'social story'; row-gap: 36px; }
}
@media (max-width: 800px) {
  .studio-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'identity' 'story' 'social'; max-width: 560px; row-gap: 36px; }
}
@media (max-width: 1000px) and (min-width: 601px) {
  .watch-heading, .gear-heading, .anime-intro { min-height: 350px; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 38px; }
  .watch-heading h1, .gear-heading h1, .anime-title { max-width: 55%; font-size: clamp(80px, 11vw, 110px); }
  .watch-heading > div:last-child, .gear-heading > div:last-child, .anime-summary { justify-self: start; max-width: 100%; }
  .watch-heading .anime-portrait, .gear-heading .anime-portrait, .anime-intro .anime-portrait { left: 39%; top: -95px; width: 49vw; }
  .community-heading:has(.anime-portrait) { grid-template-columns: minmax(0, 1.7fr) minmax(100px, .7fr); }
  .community-heading > p { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .gear-products { grid-template-columns: minmax(0, 1fr); }
  .watch-page .page-folio > a, .gear-page .page-folio > span:last-child, .showroom .page-folio > span, .studio-page .page-folio > span:last-child { visibility: hidden; }
  .watch-heading .mobile-subscribe { display: block; width: fit-content; margin-top: 18px; color: var(--red); font-size: 9px; }
  .watch-heading, .gear-heading, .anime-intro { display: block; min-height: 0; padding-block: 28px 30px; }
  .watch-heading h1, .gear-heading h1 { max-width: 65%; font-size: clamp(65px, 18vw, 100px); }
  .anime-title { max-width: 65%; font-size: clamp(48px, 13vw, 76px); }
  .watch-heading .anime-portrait, .gear-heading .anime-portrait, .anime-intro .anime-portrait { left: auto; right: -6%; top: -76px; width: 61vw; }
  .watch-heading > div:last-child, .gear-heading > div:last-child, .anime-summary { max-width: none; margin-top: 28px; }
  .watch-heading p, .gear-heading p, .anime-summary { font-size: 12px; }
  .studio-identity .anime-portrait { width: 240px; margin-block: 18px 0; }
  .studio-grid { padding-top: 30px; }
  .studio-identity .seven-meaning { padding-bottom: 0; }
  .community-heading:has(.anime-portrait) { grid-template-columns: minmax(0, 1fr) 90px; gap: 18px 8px; }
  .community-heading:has(.anime-portrait) h1 { font-size: clamp(48px, 11vw, 66px); }
  .community-heading > p { grid-column: 1 / -1; margin-top: 0; }
  .privacy-page .community-heading { grid-template-columns: minmax(0, 1fr); }
  .privacy-page .anime-small { width: 100px; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .anime-portrait { transform: none; transition: none; }
  .anime-portrait img { animation: none; }
}
