/* TALOS frontida: one stylesheet for all pages.
   Motion contract: base styles are the FINAL state. `.m` on <html> (JS on + motion allowed)
   parks each animation on its first frame; `.is-in` (set once by the observer) plays it;
   `.is-live` (in view) runs loops. No JS or reduced motion = everything static and final. */

:root {
  --ink: #0e0f11; --ink-2: #17181c; --ink-3: #1a1c20; --board: #131417; --line: #2a2d33;
  --on: #fff; --muted: #a3a7ae; --body: #d6d8dc; --dim: #55595f;
  --lime: #d4f51f; --red: #ff5a4f; --water: #3fb4e8; --paper: #f2f2ee; --paper-ink: #44474d;
  --fd: Tektur, "Arial Narrow", system-ui, sans-serif;
  --fb: Geologica, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --e: cubic-bezier(.2, .8, .2, 1);
  --e-draw: cubic-bezier(.6, .1, .2, 1);
  --g: 24px;
  --r: 6px;
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --g: 40px; } }
@media (min-width: 1024px) { :root { --g: clamp(48px, 8.34vw, 120px); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); scroll-padding-top: 16px; }
body {
  margin: 0; min-height: 100vh; background: var(--ink); color: var(--on);
  font: 400 16px/1.55 var(--fb); overflow-x: hidden; overflow-x: clip;
  -webkit-tap-highlight-color: rgba(212, 245, 31, .2); touch-action: manipulation;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none;
  background: url(grain.png) 0 0 / 96px 96px; opacity: .07;
}
img, svg { display: block; }
svg { overflow: visible; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 700; color: var(--on); }
a { color: var(--lime); text-underline-offset: 3px; }
@media (hover: hover) { a:hover { color: var(--on); } }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 2px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--lime); color: var(--ink); font-weight: 700; border-radius: 4px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(1200px + 2 * var(--g)); margin-inline: auto; padding-inline: var(--g); }
@media (max-width: 1023px) { .d-only { display: none !important; } }
@media (min-width: 1024px) { .m-only { display: none !important; } }

/* ---------- type ---------- */
.eyebrow { font: 800 12px/1.2 var(--fd); letter-spacing: .02em; color: var(--lime); text-transform: none; }
@media (min-width: 1024px) { .eyebrow { font-size: 13px; } }
.t-display { font: 800 36px/1.02 var(--fd); text-wrap: balance; }
.sub { font-size: 18px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.brand-line { font-size: 14px; line-height: 1.4; color: var(--muted); }
.brand-line span { display: block; }

/* words that rise */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
.w.pw { overflow: visible; }
.paint { position: relative; display: inline-block; padding: 0 .18em; color: var(--ink); }
.paint > svg { position: absolute; inset: -.16em -.26em -.1em; width: calc(100% + .52em); height: calc(100% + .26em); fill: var(--lime); }
.paint > span { position: relative; }

/* ---------- motion ---------- */
@keyframes k-rise { from { transform: translateY(110%); } }
@keyframes k-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes k-fade { from { opacity: 0; } }
@keyframes k-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes k-swipe { from { transform: scaleX(0); } }
@keyframes k-pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } }
@keyframes k-drop { from { opacity: 0; transform: translateY(-48px) rotate(calc(var(--rot, 0deg) + 9deg)); } to { transform: rotate(var(--rot, 0deg)); } }
@keyframes k-grow { from { transform: scaleY(0); } }
@keyframes k-seek { 0% { transform: translateY(80px); } 35% { transform: translateY(-40px); } 62% { transform: translateY(18px); } 80%, 100% { transform: none; } }
@keyframes k-peel { from { transform: translateY(0); } to { transform: translateY(400px); } }
@keyframes k-fill { from { transform: translateY(96px); } }
@keyframes k-therm { from { transform: scaleY(0); } }
@keyframes k-arc { from { stroke-dashoffset: 1; } to { stroke-dashoffset: .75; } }
@keyframes k-hand { from { transform: rotate(0); } to { transform: rotate(90deg); } }
@keyframes k-wave { to { transform: translateX(-160px); } }
@keyframes k-drip { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(70px); opacity: 0; } }
@keyframes k-streak { 0%, 40% { transform: translateX(-120px); } 100% { transform: translateX(420px); } }
@keyframes k-stream { to { stroke-dashoffset: -24; } }
@keyframes k-flipA { 0%, 40% { opacity: 1; } 50%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes k-flipB { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes k-tick { to { transform: translateX(-50%); } }
@keyframes k-nudge { 50% { transform: translateX(5px); } }
@keyframes k-wob { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(-1deg) scale(1.03); } }
@keyframes k-slide { 0%, 18% { transform: none; opacity: 1; } 48%, 100% { transform: translateX(var(--dx)); opacity: .62; } }
@keyframes k-popb { 0%, 50% { transform: scale(0); } 62% { transform: scale(1.12); } 70%, 100% { transform: none; } }

/* final states that differ from identity */
.a-peel { transform: translateY(400px); }
.a-hand { transform: rotate(90deg); transform-origin: 130px 140px; }
.a-arc { stroke-dasharray: 1; stroke-dashoffset: .75; }
.l-slide { transform: translateX(var(--dx)); opacity: .62; }
.a-pop, .a-therm, .l-popb { transform-box: fill-box; transform-origin: 50% 50%; }
.a-therm { transform-origin: 50% 100%; }
.a-swipe { transform-origin: 0 50%; }
.a-grow { transform-origin: 50% 0; }
.a-drop { transform: rotate(var(--rot, 0deg)); }

.m .a-rise { animation: k-rise .8s var(--e) calc(var(--t0, .1s) + var(--i, 0) * 70ms) both paused; }
.m .a-up { animation: k-up var(--dur, .7s) var(--e) var(--d, 0s) both paused; }
.m .a-fade { animation: k-fade var(--dur, .6s) ease var(--d, 0s) both paused; }
.m .a-draw { stroke-dasharray: 1; animation: k-draw var(--dur, 1s) var(--e-draw) var(--d, 0s) both paused; }
.m .a-swipe { animation: k-swipe .6s var(--e-draw) var(--d, 0s) both paused; }
.m .w > span .a-swipe { --d: calc(var(--t0, .1s) + var(--i, 0) * 70ms + .45s); }
.m .a-pop { animation: k-pop .45s var(--e) var(--d, 0s) both paused; }
.m .a-drop { animation: k-drop .75s cubic-bezier(.2, .9, .25, 1.15) var(--d, 0s) both paused; }
.m .a-grow { animation: k-grow 2.4s cubic-bezier(.4, 0, .2, 1) var(--d, .4s) both paused; }
.m .a-seek { animation: k-seek 2.2s cubic-bezier(.5, 0, .3, 1) var(--d, .6s) both paused; }
.m .a-peel { animation: k-peel 3.2s cubic-bezier(.45, 0, .25, 1) var(--d, 1s) both paused; }
.m .a-fill { animation: k-fill 1.8s cubic-bezier(.3, .7, .3, 1) var(--d, .4s) both paused; }
.m .a-therm { animation: k-therm 1.6s cubic-bezier(.3, .7, .3, 1) var(--d, 1s) both paused; }
.m .a-arc { animation: k-arc 2s cubic-bezier(.4, 0, .2, 1) var(--d, .6s) both paused; }
.m .a-hand { animation: k-hand 2s cubic-bezier(.4, 0, .2, 1) var(--d, .6s) both paused; }
.is-in .a-rise, .is-in .a-up, .is-in .a-fade, .is-in .a-draw, .is-in .a-swipe, .is-in .a-pop, .is-in .a-drop,
.is-in .a-grow, .is-in .a-seek, .is-in .a-peel, .is-in .a-fill, .is-in .a-therm, .is-in .a-arc, .is-in .a-hand,
.is-in.a-up, .is-in.a-fade { animation-play-state: running; }

.m .l-wave { animation: k-wave var(--dur, 3.6s) linear infinite var(--dir, normal) paused; }
.m .l-drip { animation: k-drip 1.8s ease-in var(--d, 0s) infinite paused; }
.m .l-streak { animation: k-streak 3.6s ease-in-out .8s infinite paused; }
.m .l-stream { animation: k-stream .6s linear infinite paused; }
.m .l-flipA { animation: k-flipA 4s steps(1) infinite paused; }
.m .l-flipB { animation: k-flipB 4s steps(1) infinite paused; }
.m .l-tick { animation: k-tick var(--dur, 26s) linear infinite paused; }
.m .l-nudge { animation: k-nudge 1.6s ease-in-out infinite paused; }
.m .l-wob { animation: k-wob 3.2s ease-in-out infinite paused; }
.m .l-slide { animation: k-slide 4.5s cubic-bezier(.6, 0, .2, 1) 1s infinite paused; }
.m .l-popb { animation: k-popb 4.5s ease-out 1s infinite paused; }
.l-flipB { opacity: 0; }
.is-live .l-wave, .is-live .l-drip, .is-live .l-streak, .is-live .l-stream, .is-live .l-flipA, .is-live .l-flipB,
.is-live .l-tick, .is-live .l-nudge, .is-live .l-wob, .is-live .l-slide, .is-live .l-popb, .is-live.l-tick { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- header / footer ---------- */
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.hdr a { text-decoration: none; }
.hdr-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--on); }
.logo svg { width: 92px; height: 12.5px; fill: currentColor; }
.hdr-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; font-weight: 600; }
.hdr-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on); }
.hdr-nav a[aria-current] { color: var(--lime); box-shadow: inset 0 -2px 0 var(--lime); }
@media (hover: hover) { .hdr-nav a:hover { color: var(--lime); } }
@media (min-width: 1024px) {
  .hdr { min-height: 76px; border-bottom: 1px solid var(--line); }
  .hdr-wrap { border-bottom: 1px solid var(--line); }
  .hdr-wrap .hdr { border-bottom: 0; }
  .logo svg { width: 130px; height: 17.7px; }
  .hdr-link { font-size: 15px; }
}

.ftr { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-block: 48px 32px; text-align: center; }
.ftr-q { font-size: 14px; color: var(--muted); }
.ftr-contact { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; text-decoration: none; }
.ftr .brand-line { margin-top: 10px; }
.ftr .logo svg { width: 110px; height: 15px; }
@media (min-width: 1024px) {
  .ftr { flex-direction: row; justify-content: space-between; text-align: left; padding-block: 72px 40px; }
  .ftr-col { display: flex; flex-direction: column; gap: 6px; }
  .ftr-q { font-size: 15px; }
  .ftr-contact { font-size: 17px; min-height: 32px; }
  .ftr .brand-line { margin: 0; text-align: right; }
}

/* ---------- buttons, cards ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; border-radius: 4px; font-size: 17px; font-weight: 700; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--on); }
.btn-out { color: var(--on); box-shadow: inset 0 0 0 1.5px var(--on); min-height: 48px; font-size: 16px; }
@media (hover: hover) {
  .btn-lime:hover { background: var(--on); color: var(--ink); }
  .btn-ink:hover { background: var(--ink-3); color: var(--lime); }
  .btn-out:hover { background: var(--on); color: var(--ink); }
}

.panel { border-radius: var(--r); background: var(--ink-3); }
.lift { transition: translate .3s var(--e); }
@media (hover: hover) and (min-width: 1024px) { .lift:hover { translate: 0 -4px; } }

/* cursor glow: border highlight + faint inner glow following --mx/--my (desktop pointer only) */
@media (hover: hover) and (pointer: fine) {
  .glow { position: relative; }
  .glow::before, .glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
  .glow::before {
    padding: 1px; z-index: 2;
    background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(212, 245, 31, .95), rgba(212, 245, 31, 0) 65%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
  .glow::after { background: radial-gradient(320px circle at var(--mx, -999px) var(--my, -999px), rgba(212, 245, 31, .07), rgba(212, 245, 31, 0) 60%); }
}

/* paper sticker with lime tape */
.sticker { position: relative; padding: 16px 16px 14px; background: var(--paper); color: var(--ink); border-radius: 3px; box-shadow: 5px 5px 0 rgba(0, 0, 0, .35); }
.sticker::before { content: ""; position: absolute; left: 50%; top: -9px; width: 58px; height: 18px; margin-left: -29px; background: rgba(212, 245, 31, .88); transform: rotate(-3deg); }

/* ✓ / ✗ marks */
.mk { flex-shrink: 0; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 8; }
.mk-ok { stroke: var(--lime); }
.mk-no { stroke: var(--red); }

/* ---------- home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "board" "start"; padding-top: 20px; }
.hero-txt { grid-area: txt; position: relative; display: flex; flex-direction: column; gap: 14px; }
.hero-start { grid-area: start; display: flex; flex-direction: column; gap: 12px; padding-top: 28px; }
.start-l { font-size: 14px; font-weight: 600; }
.cards { display: grid; gap: 12px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; border-radius: var(--r); text-decoration: none; }
.card-lime { background: var(--lime); color: var(--ink); }
.card-dark { background: var(--ink-3); color: var(--on); box-shadow: inset 0 0 0 1px var(--line); }
.card-dark .eyebrow, .card-dark .card-arr { color: var(--lime); }
.card-dark .card-p { color: var(--muted); }
.card .eyebrow { color: inherit; }
.card-dark .eyebrow { color: var(--lime); }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-t { font: 800 23px/1.05 var(--fd); }
.card-arr { font-size: 24px; font-weight: 700; line-height: 1; }
.card-p { font-size: 14px; line-height: 1.4; }
@media (hover: hover) { .card:hover { color: inherit; } .card-lime:hover { color: var(--ink); } }
.card-new .card-t { view-transition-name: vt-new; }
.card-care .card-t { view-transition-name: vt-care; }

/* tactics board: one coordinate system per breakpoint; stickers sized in cqw so geometry scales uniformly */
.board { grid-area: board; position: relative; margin-top: 24px; aspect-ratio: 342 / 306; border-radius: var(--r); background: var(--board); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; container-type: inline-size; --u: calc(100cqw / 342); }
.board > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pitch { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1.5; }
.arrows { fill: none; stroke: var(--lime); stroke-linecap: round; stroke-linejoin: round; stroke-width: 4; }
.board .sticker { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--sw) * var(--u)); padding: calc(14 * var(--u)) calc(14 * var(--u)) calc(12 * var(--u)); z-index: 2; }
.board .sticker::before { width: calc(52 * var(--u)); height: calc(16 * var(--u)); margin-left: calc(-26 * var(--u)); top: calc(-8 * var(--u)); }
.stk-t { display: flex; align-items: center; gap: calc(8 * var(--u)); font: 800 calc(var(--fs) * var(--u))/1 var(--fd); }
.stk-t svg { width: calc(24 * var(--u)); height: calc(24 * var(--u)); }
.stk-p { display: block; margin-top: calc(6 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.35; font-weight: 600; color: var(--paper-ink); }
.stk-1 { --x: 12; --y: 22; --sw: 166; --fs: 17; --rot: -4deg; }
.stk-2 { --x: 194; --y: 92; --sw: 136; --fs: 26; --rot: 3deg; }
.stk-3 { --x: 14; --y: 204; --sw: 200; --fs: 15; --rot: -2deg; }
.board .b-d { display: none; }
@media (min-width: 640px) and (max-width: 1023px) {
  .hero { justify-items: center; }
  .hero-txt, .hero-start { justify-self: stretch; }
  .board { width: 100%; max-width: 480px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ticker-clip { overflow: hidden; margin-top: 20px; padding-block: 24px; }
.ticker { width: calc(100% + 40px); margin-left: -20px; overflow: hidden; background: var(--lime); color: var(--ink); transform: rotate(-2deg); }
.ticker-in { display: flex; width: max-content; padding: 12px 0; font: 800 15px/1.2 var(--fd); white-space: nowrap; }
.ticker-in span { padding: 0 14px; }
.ticker-in i { font-style: normal; }

.tips { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; }
.tips-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.tips-head a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }
.tips-list { display: grid; gap: 8px; }
.tip { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 12px 16px; border-radius: var(--r); background: var(--ink-3); }
.tip-n { flex-shrink: 0; width: 30px; font: 800 22px/1 var(--fd); color: var(--lime); }
.tip-t { font-size: 15px; line-height: 1.35; font-weight: 600; }
@media (min-width: 640px) and (max-width: 1023px) { .tips-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr) clamp(400px, 39vw, 560px); column-gap: clamp(40px, 5vw, 72px);
    grid-template-areas: ". board" "txt board" "start board" ". board"; grid-template-rows: 1fr auto auto 1fr; padding-top: 64px; }
  .hero-txt { gap: 28px; container-type: inline-size; }
  .hero-txt .t-display { font-size: clamp(40px, 10.4cqi, 66px); line-height: 1; }
  .hero-txt .sub { font-size: 22px; }
  .hero-arrow { position: absolute; right: 6%; top: calc(100% - 64px); width: 80px; height: 128px; }
  .hero-arrow path { fill: none; stroke: var(--lime); stroke-linecap: round; stroke-linejoin: round; }
  .hero-start { gap: 14px; padding-top: 46px; }
  .start-l { font-size: 15px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card { gap: 10px; min-height: 168px; padding: 26px 24px 28px; }
  .card .card-row { margin-top: auto; }
  .card { container-type: inline-size; }
  .card-t { font-size: min(28px, 9.4cqi); }
  .card-arr { font-size: 28px; }
  .card-p { font-size: 15px; }
  .board { margin-top: 0; aspect-ratio: 560 / 640; --u: calc(100cqw / 560); }
  .board .b-m { display: none; }
  .board .b-d { display: block; }
  .board .sticker { padding: calc(16 * var(--u)) calc(16 * var(--u)) calc(14 * var(--u)); }
  .board .sticker::before { width: calc(58 * var(--u)); height: calc(18 * var(--u)); margin-left: calc(-29 * var(--u)); top: calc(-9 * var(--u)); }
  .stk-t svg { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
  .arrows { stroke-width: 5; }
  .stk-1 { --x: 44; --y: 82; --sw: 250; --fs: 26; }
  .stk-2 { --x: 304; --y: 262; --sw: 210; --fs: 40; }
  .stk-3 { --x: 74; --y: 452; --sw: 290; --fs: 24; }
  .ticker-clip { margin-top: 64px; padding-block: 32px; }
  .ticker { width: calc(100% + 80px); margin-left: -40px; transform: rotate(-1.5deg); }
  .ticker-in { padding: 16px 0; font-size: 20px; }
  .ticker-in span { padding: 0 20px; }
  .tips { gap: 28px; padding-top: 72px; }
  .tips-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tip { flex-direction: column; align-items: flex-start; gap: 40px; min-height: 220px; padding: 32px 28px; }
  .tip-n { width: auto; font-size: 64px; }
  .tip-t { font: 700 22px/1.2 var(--fd); }
}

/* ---------- 404 ---------- */
.nf { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; padding-block: 14vh 20vh; }

/* ---------- view transitions ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--e); }

/* ---------- shared: lines (Ενήλικες / Junior), paint tags ---------- */
html:not([data-line="junior"]) .only-j, [data-line="junior"] .only-a, html:not(.js) .js-only { display: none !important; }
.paint.tag { padding: .18em .5em; font: 800 15px/1 var(--fd); white-space: nowrap; }
.paint.tag > svg { inset: -.2em -.3em -.12em; width: calc(100% + .6em); height: calc(100% + .32em); }
.paint.tag.lg { font-size: 18px; }
.paint.tag.xl { font-size: 26px; }

/* ---------- steps page ---------- */
.intro { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.intro-a, .intro-b { display: contents; }
.ptitle { order: 1; view-transition-name: vt-new; }
.ptitle .t-display { font-size: 34px; }
.intro .sub { order: 2; font-size: 16px; line-height: 1.5; }
.seg { order: 3; }
.jbox { order: 4; }
.seg { display: inline-flex; align-self: flex-start; gap: 2px; padding: 3px; border-radius: 999px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--on); font: 700 14px/1 var(--fb); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.seg button[aria-pressed="true"] { background: var(--on); color: var(--ink); }
@media (hover: hover) { .seg button[aria-pressed="false"]:hover { color: var(--lime); } }
.jbox { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.jbox strong { display: block; margin-bottom: 2px; }
.jtag { flex-shrink: 0; padding: 5px 8px; border-radius: 4px; background: var(--lime); color: var(--ink); font: 800 12px/1 var(--fd); }

.track { padding-top: 28px; }
.snav, .sbar, .step-big, .step-eb, .fig { display: none; }
.steps { position: relative; }
.rail { position: absolute; left: 17px; top: 18px; bottom: 30px; width: 2px; background: var(--lime); opacity: .5; }
.steps ol { display: flex; flex-direction: column; gap: 56px; padding-left: 52px; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.step-txt { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step-badge { position: absolute; left: -52px; top: -2px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 800 15px/1 var(--fd); }
.step-h { font: 800 22px/1.05 var(--fd); }
.step-body { display: flex; flex-direction: column; gap: 14px; }
.step-body > p { font-size: 16px; line-height: 1.55; color: var(--body); }
.step-body > .p2 { font-size: 15px; line-height: 1.5; color: var(--muted); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r); background: var(--ink-3); box-shadow: inset 0 0 0 1.5px var(--lime); font-size: 14px; line-height: 1.5; }
.notice svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; }
.notice strong { display: block; margin-bottom: 2px; font-size: 15px; }
.note { margin: 6px 6px 2px; padding: 18px; transform: rotate(-1.5deg); box-shadow: 5px 5px 0 var(--lime); }
.note::before { width: 64px; margin-left: -32px; transform: rotate(3deg); }
.note .eyebrow { margin-bottom: 6px; color: var(--ink); }
.note p + p { font-size: 15px; line-height: 1.45; font-weight: 500; }
.illus { position: relative; display: flex; align-items: center; justify-content: center; height: 250px; padding: 16px 16px 56px; border-radius: var(--r); background: var(--ink-3); overflow: hidden; }
.illus-t { height: 270px; }
.illus > svg { width: 100%; height: 100%; }
.illus .sizes { font: 600 12px var(--fb); fill: var(--muted); }
.plabel { position: absolute; left: 16px; bottom: 16px; }

.closing { padding-top: 44px; }
.closing-in { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 32px 20px; border-radius: var(--r); background: var(--lime); color: var(--ink); }
.closing-in p { font: 800 28px/1 var(--fd); text-align: center; }
.closing-in .btn { width: 100%; }
.ftr-back .hdr-link { order: 2; }
@media (min-width: 640px) and (max-width: 1023px) {
  .illus { height: 320px; }
  .closing-in .btn { width: auto; }
}

@media (min-width: 1024px) {
  .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 64px; align-items: end; padding-block: 72px 40px; }
  .intro-a { display: flex; flex-direction: column; gap: 20px; }
  .intro-b { display: flex; flex-direction: column; gap: 16px; margin-bottom: 6px; }
  .ptitle .t-display { font-size: clamp(48px, 4.6vw, 66px); line-height: 1; }
  .intro .sub { font-size: 19px; }
  .seg button { font-size: 15px; }
  .jbox { padding: 16px 18px; font-size: 15px; }

  .track { padding-top: 0; }
  .rail, .step-badge { display: none; }
  .steps ol { gap: 120px; padding-left: 0; }
  .step { display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 38vw, 560px); gap: clamp(32px, 5vw, 72px); align-items: center; }
  .step-txt { gap: 20px; }
  .step-big { display: block; position: absolute; left: -12px; top: -150px; font: 800 260px/1 var(--fd); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .09); pointer-events: none; user-select: none; }
  .step-eb { display: block; position: relative; }
  .step-h { position: relative; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.02; }
  .step-body { position: relative; gap: 16px; max-width: 520px; }
  .step-body > p { font-size: 18px; }
  .step-body > .p2 { font-size: 16px; line-height: 1.55; }
  .notice { padding: 16px 18px; font-size: 15px; }
  .notice strong { font-size: 16px; }
  .note p + p { font-size: 16px; }
  .fig { position: relative; display: flex; align-items: center; gap: 18px; margin-top: 10px; }
  .fig .paint.tag { font-size: 34px; }
  .fig-cap { max-width: 240px; font-size: 15px; line-height: 1.4; color: var(--muted); }
  .illus, .illus-t { height: min(560px, calc(100vh - 200px)); min-height: 380px; padding: 40px; box-shadow: inset 0 0 0 1px var(--line); }
  .plabel { display: none; }

  /* the sticky stage (JS only; without JS the steps simply stack) */
  .js .track { --n: 4; height: calc(var(--n) * 100vh); }
  [data-line="junior"] .track { --n: 3; }
  .js .stage { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 40px; align-items: center; }
  .js .steps ol { display: block; }
  .js .step { display: none; height: min(600px, calc(100vh - 140px)); }
  .js .illus { height: min(560px, calc(100vh - 160px)); min-height: 0; }
  .js [data-active="1"] .step[data-step="1"], .js [data-active="2"] .step[data-step="2"],
  .js [data-active="3"] .step[data-step="3"], .js [data-active="4"] .step[data-step="4"] { display: grid; }
  .js .snav { display: flex; flex-direction: column; gap: 6px; }
  .snav a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--muted); font: 800 14px/1 var(--fd); text-decoration: none; transition: color .3s ease; }
  .snav a span { display: block; width: 36px; height: 2px; background: currentColor; transform: scaleX(.45); transform-origin: 0 50%; transition: transform .4s var(--e); }
  .snav a[aria-current] { color: var(--lime); }
  .snav a[aria-current] span { transform: none; }
  .snav a:hover { color: var(--on); }
  .snav a[aria-current]:hover { color: var(--lime); }
  .js .sbar { display: block; position: absolute; left: var(--g); right: var(--g); bottom: 36px; height: 2px; background: var(--line); }
  .sbar span { display: block; height: 100%; background: var(--lime); transform: scaleX(.25); transform-origin: 0 50%; transition: transform .5s var(--e); }

  .closing { padding-top: 64px; }
  .closing-in { flex-direction: row; justify-content: space-between; gap: 40px; padding: 56px 64px; }
  .closing-in p { font-size: clamp(40px, 3.9vw, 56px); text-align: left; }
  .closing-in .btn { width: auto; min-height: 60px; padding: 0 32px; font-size: 18px; white-space: nowrap; }
  .ftr-back { padding-top: 64px; }
  .ftr-back .hdr-link { order: 0; }
}

/* ---------- care page ---------- */
.pg-care main { display: flex; flex-direction: column; gap: 48px; }
.c-intro { display: flex; flex-direction: column; gap: 22px; padding-top: 4px; }
.c-title { font-size: 32px; line-height: 1; view-transition-name: vt-care; }
.linkcard { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; border-radius: var(--r); background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line); color: var(--on); font-size: 14px; line-height: 1.35; text-decoration: none; }
.linkcard-arr { color: var(--lime); font-weight: 700; }
@media (hover: hover) { .linkcard:hover { color: var(--on); } }
.sec-h { display: flex; flex-direction: column; gap: 14px; }
.sec-t { font: 800 24px/1.05 var(--fd); text-wrap: balance; }
.sec-sub { font-size: 17px; line-height: 1.5; color: var(--muted); }
.after, .after-txt { display: flex; flex-direction: column; gap: 16px; }
.dos { display: grid; gap: 8px; }
.do { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--ink-3); }
.do-n { flex-shrink: 0; font: 800 22px/1 var(--fd); color: var(--lime); }
.do p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.do strong { display: block; margin-bottom: 4px; font: 800 17px/1.1 var(--fd); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.check, .row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 14px; border-radius: var(--r); background: var(--ink-3); font: 800 14px/1.15 var(--fd); }
.check .mk-ok, .row .mk-ok { width: 28px; height: 24px; }
.check .mk-no, .row .mk-no { width: 22px; height: 22px; margin: 0 3px; }
.illus-care { height: 230px; padding: 18px; }
.store { display: flex; flex-direction: column; gap: 14px; }
.rows { display: grid; gap: 8px; }
.row { min-height: 56px; gap: 14px; }
.wear-in { display: flex; flex-direction: column; gap: 16px; }
.wear-h .sec-t { line-height: 1.1; }
.wear-h .paint { padding: 0 6px; }
.wear-h .paint > svg { inset: -6px -10px -4px; width: calc(100% + 20px); height: calc(100% + 10px); }
.photos { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 20px 14px 14px; border-radius: var(--r); background: var(--ink-3); }
.photos figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.photos img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; background: var(--ink-2); box-shadow: 0 0 0 2px rgba(255, 255, 255, .14), 0 18px 40px rgba(0, 0, 0, .45); }
.photos figcaption { font: 800 13px/1.2 var(--fd); }
.photos-arr { flex-shrink: 0; width: 56px; height: 33px; margin-bottom: 26px; fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.wear-rest { display: flex; flex-direction: column; gap: 16px; }
.wear-p { font-size: 16px; line-height: 1.55; color: var(--body); }
.dots { display: grid; gap: 8px; }
.dots li { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border-radius: var(--r); background: var(--ink-3); font-size: 15px; font-weight: 600; line-height: 1.35; }
.dots li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.protip { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: var(--r); background: var(--lime); color: var(--ink); font-size: 15px; line-height: 1.45; }
.protip-h { display: flex; align-items: center; gap: 12px; }
.protip-x { font: 800 36px/1 var(--fd); }
.protip .eyebrow { color: var(--ink); font-size: 13px; }
.slots { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; container-type: inline-size; }
.slot { height: 112px; padding: 10px 12px; border-radius: 4px; background: rgba(14, 15, 17, .1); }
.slot .eyebrow { font-size: 12px; }
.sg { position: absolute; left: calc(25cqw - 24px); top: 38px; width: 42px; height: 63px; --dx: calc(50cqw + 6px); }
.l-popb { transform-box: border-box; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 0; font-size: 16px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary svg { flex-shrink: 0; width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; transition: transform .25s ease; }
.qa details[open] summary svg { transform: rotate(180deg); }
@media (hover: hover) { .qa summary:hover { color: var(--lime); } }
.qa p { padding-bottom: 18px; font-size: 15px; line-height: 1.55; color: var(--muted); }
/* height transition where supported (Chrome 131+); elsewhere it simply opens */
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa details::details-content { block-size: 0; overflow: clip; transition: block-size .3s var(--e), content-visibility .3s allow-discrete; }
  .qa details[open]::details-content { block-size: auto; }
}
.duo { display: flex; flex-direction: column; gap: 48px; }
.founder { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 22px 26px; border-radius: var(--r); background: var(--ink-3); overflow: hidden; }
.founder-q { position: absolute; right: 10px; top: -26px; font: 800 150px/1 var(--fd); color: var(--lime); opacity: .14; }
.founder-t { position: relative; font: 800 28px/1.08 var(--fd); }
.founder .brand-line { position: relative; }
.squad { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px 20px; border-radius: var(--r); background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--lime); overflow: hidden; }
.squad .eyebrow { font-size: 13px; }
.squad-hash { display: none; }
.squad-t { font: 800 20px/1.1 var(--fd); }
.squad .btn { padding: 0 12px; }
.more { display: flex; flex-direction: column; gap: 14px; }
.more .btn { min-height: 56px; }
.more-link { align-self: center; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
.ftr-care { padding-top: 24px; border-top: 1px solid var(--line); margin-top: 48px; }
.ftr-care .hdr-link { font-size: 13px; }
@media (min-width: 640px) and (max-width: 1023px) {
  .rows, .dots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .illus-care { height: 300px; }
  .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

@media (min-width: 1024px) {
  .pg-care main { gap: 0; }
  .hdr-nav .hdr-ext { color: var(--lime); }
  .c-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 64px; align-items: end; padding-top: 72px; }
  .c-intro-t { display: flex; flex-direction: column; gap: 20px; }
  .c-title { font-size: clamp(48px, 4.6vw, 66px); line-height: .98; }
  .linkcard { min-height: 72px; margin-bottom: 10px; padding: 12px 22px; font-size: 16px; }
  .linkcard strong { display: block; }
  .linkcard-arr { font-size: 24px; }
  .sec-h { gap: 20px; }
  .sec-t { font-size: clamp(32px, 2.7vw, 38px); line-height: 1; }
  .after { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: stretch; padding-top: 88px; }
  .after-txt { gap: 20px; }
  .do { padding: 18px 20px; }
  .do-n { font-size: 28px; }
  .do p { font-size: 16px; }
  .do strong { font-size: 20px; }
  .checks { gap: 12px; margin-top: 8px; }
  .check { min-height: 96px; gap: 16px; padding: 20px; font-size: 18px; }
  .check .mk-ok { width: 40px; height: 35px; }
  .check .mk-no { width: 34px; height: 34px; }
  .illus-care { height: auto; min-height: 420px; padding: 36px; }
  .store { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(48px, 6.7vw, 96px); align-items: center; padding-top: 96px; }
  .store-txt { display: flex; flex-direction: column; gap: 14px; }
  .rows { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .row { min-height: 72px; padding: 18px 20px; font-size: 18px; }
  .wear { margin-top: 112px; padding-block: 88px; background: var(--board); border-block: 1px solid var(--line); }
  .wear-in { display: grid; grid-template-columns: minmax(0, 1fr) clamp(440px, 42vw, 620px); grid-template-areas: "h photos" "rest photos"; column-gap: clamp(48px, 5.5vw, 80px); row-gap: 22px; align-items: center; }
  .wear-h { grid-area: h; align-self: end; }
  .wear-h .sec-t { font-size: clamp(34px, 3vw, 44px); }
  .wear-h .paint { padding: 0 8px; }
  .wear-h .paint > svg { inset: -7px -12px -5px; width: calc(100% + 24px); height: calc(100% + 12px); }
  .photos { grid-area: photos; gap: clamp(12px, 2vw, 28px); padding: 40px 32px 28px; box-shadow: inset 0 0 0 1px var(--line); container-type: inline-size; }
  .photos img { width: min(220px, 37cqi); height: auto; aspect-ratio: 1; }
  .photos figcaption { font-size: 16px; }
  .photos-arr { width: clamp(64px, 8vw, 120px); height: auto; aspect-ratio: 100 / 60; margin-bottom: 40px; stroke-width: 6; }
  .wear-rest { grid-area: rest; align-self: start; gap: 22px; }
  .wear-p { font-size: 18px; }
  .dots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dots li { min-height: 60px; padding: 8px 16px; font-size: 16px; }
  .dots li::before { width: 9px; height: 9px; }
  .protip { margin-top: 6px; padding: 22px 26px; font-size: 17px; }
  .protip-x { font-size: 44px; }
  .faq { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(48px, 6.7vw, 96px); padding-top: 112px; }
  .faq .sec-h { gap: 14px; align-self: start; }
  .qa summary { min-height: 76px; gap: 16px; font: 700 21px/1.25 var(--fd); }
  .qa summary svg { width: 24px; height: 24px; }
  .qa p { max-width: 680px; padding-bottom: 26px; font-size: 18px; }
  .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 112px; }
  .founder { justify-content: center; gap: 22px; padding: 44px 40px; }
  .founder-q { left: 24px; right: auto; top: -30px; font-size: 220px; }
  .founder-t { font-size: clamp(32px, 2.8vw, 40px); }
  .founder .brand-line { font-size: 16px; line-height: 1.45; }
  .squad { justify-content: center; gap: 20px; padding: 40px; }
  .squad .eyebrow { font-size: 14px; }
  .squad-hash { display: block; position: absolute; right: -10px; bottom: -30px; font: 800 150px/1 var(--fd); color: var(--lime); opacity: .07; }
  .squad-t { font-size: clamp(24px, 2.1vw, 30px); }
  .squad .btn { align-self: flex-start; min-height: 52px; padding: 0 26px; }
  .more { align-items: center; gap: 22px; padding-top: 112px; text-align: center; }
  .more .sec-t { font-size: 44px; }
  .more .btn { min-height: 60px; padding: 0 40px; font-size: 18px; }
  .more-link { font-size: 15px; }
  .ftr-care { margin-top: 72px; padding: 72px 0 40px; }
  .ftr-care .hdr-link { font-size: 14px; }
}
