/* ================================================================
   TINO5 — 데이터 기반 스윙분석 솔루션 골프샵
   Design system: graphite dark / monochrome premium (real TINO5 brand) / data-mono accents
   ================================================================ */

@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
}

:root {
  --bg: #0a0c0a;
  --bg-raise: #10140f;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f2f5f0;
  --text-2: #b9c2b6;
  --text-3: #7e887b;
  --accent: #ffffff;
  --accent-deep: #c9cfc4;
  --accent-ink: #0b0d0a;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
    sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }
.mono { font-family: var(--mono); letter-spacing: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* ---------------- ambient background ---------------- */

.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
}
.bg-glow--a {
  width: 60vw; height: 60vw;
  top: -30vw; right: -20vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 65%);
}
.bg-glow--b {
  width: 50vw; height: 50vw;
  bottom: -25vw; left: -15vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 65%);
}

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
}

.bg-noise {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- buttons / badges / chips ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease-out), background 0.25s, border-color 0.25s, box-shadow 0.35s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--solid {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}
.btn--solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px -8px rgba(255, 255, 255, 0.28);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.5); transform: translateY(-2px); }

.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 18px 34px; font-size: 17px; }

.btn--kakao {
  background: #fee500;
  color: #191919;
  border-color: #fee500;
}
.btn--kakao:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -8px rgba(254, 229, 0, 0.4);
}
.btn--kakao svg { width: 16px; height: 16px; }
.btn--kakao:hover svg { transform: none; }

.btn--naver {
  background: #03c75a;
  color: #ffffff;
  border-color: #03c75a;
}
.btn--naver:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -8px rgba(3, 199, 90, 0.45);
}
.btn--naver svg { width: 16px; height: 16px; }
.btn--naver:hover svg { transform: none; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  vertical-align: middle;
  transform: translateY(-2px);
}
.badge--line {
  background: transparent;
  color: var(--text-3);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-weight: 500;
}

.chip {
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip:hover { border-color: rgba(255, 255, 255, 0.35); color: var(--text); }
.chip--on,
.chip--on:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.07);
}

/* ---------------- nav ---------------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 12, 10, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line-soft);
}

.nav-inner {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-word {
  font-size: 21px;
  font-weight: 850;
  letter-spacing: 0.02em;
}
.brand-word em { color: var(--accent); }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 550;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: rgba(10, 12, 10, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a {
  padding: 14px 8px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a.btn { margin-top: 16px; justify-content: center; border-bottom: none; }
.mobile-menu.is-open { display: flex; }

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 10vh, 110px));
  padding-bottom: clamp(48px, 8vh, 90px);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-photo { position: absolute; inset: 0; }
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.94) 0%, rgba(10, 12, 10, 0.62) 52%, rgba(10, 12, 10, 0.30) 100%),
    linear-gradient(180deg, rgba(10, 12, 10, 0.55) 0%, transparent 30%, rgba(10, 12, 10, 0.97) 100%);
}
.hero > .container, .hero-scroll { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero-title {
  font-size: clamp(42px, 6.2vw, 82px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero-title span { display: block; }
.hero-title em {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 18.5px);
  color: var(--text-2);
  max-width: 54ch;
  margin-bottom: 36px;
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  max-width: 520px;
}
.hero-chips > div {
  flex: 1 1 0;
  min-width: 120px;
  padding-right: 20px;
}
.hero-chips > div + div {
  border-left: 1px solid var(--line-soft);
  padding-left: 20px;
}
.hero-chips dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  margin-bottom: 6px;
}
.hero-chips dd { font-size: 19px; font-weight: 750; }

/* hero visualization */

.viz-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015) 55%);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.viz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}
.viz-rec { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.viz-rec i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

.viz-svg { width: 100%; height: auto; }

.traj { stroke-width: 2.5; stroke-linecap: round; }
.traj--main {
  stroke: var(--accent);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.4s var(--ease-out) 0.5s forwards;
}
.traj--ghost {
  stroke: rgba(242, 245, 240, 0.14);
  stroke-width: 1.5;
  stroke-dasharray: 3 6;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.viz-ball {
  fill: var(--accent);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
  offset-path: path("M40 360 C 160 170, 320 120, 455 210 S 528 288, 532 292");
  offset-distance: 0%;
  animation: fly 2.4s var(--ease-out) 0.5s forwards;
}
@keyframes fly { to { offset-distance: 100%; } }

.viz-apex, .viz-land { opacity: 0; animation: fadeIn 0.8s ease 2.4s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.viz-land circle { fill: none; }

.viz-readout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
}
.ro {
  padding: 16px 12px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ro + .ro { border-left: 1px solid var(--line-soft); }
.ro-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-3);
}
.ro-v { font-family: var(--mono); font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; }
.ro-v small { font-size: 11px; color: var(--text-3); margin-left: 3px; font-weight: 500; }
.ro-v b { font-weight: 700; }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-3);
}
.hero-scroll span {
  width: 1px; height: 36px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint { 50% { transform: scaleY(0.5); transform-origin: top; opacity: 0.4; } }

/* ---------------- marquee ---------------- */

.marquee {
  border-block: 1px solid var(--line-soft);
  padding: 22px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-right: 48px;
}
.marquee-list li {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-3);
  white-space: nowrap;
}
.marquee-list li[aria-hidden="true"], .marquee-list li:nth-child(even) {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.4);
}
/* brand logos: normalized to white via filter; heights optically balanced
   per mark (wide wordmarks 20px, mid lockups 24px, tall stacked marks 30px) */
.marquee-logo {
  display: block;
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}
.marquee-logo--md { height: 24px; }
.marquee-logo--tall { height: 30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- sections shared ---------------- */

section { position: relative; }

.section-eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 18px;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 12px;
  opacity: 0.6;
}

.section-title {
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 830;
  line-height: 1.16;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ---------------- stats ---------------- */

.stats { padding: clamp(72px, 10vh, 130px) 0 clamp(40px, 6vh, 80px); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 8px 32px 8px 0;
}
.stat + .stat {
  border-left: 1px solid var(--line-soft);
  padding-left: 32px;
}
.stat-num {
  display: block;
  font-family: var(--mono);
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.stat-num i { font-style: normal; font-size: 0.45em; color: var(--text-2); margin-left: 4px; font-family: var(--font); font-weight: 700; }
.stat-label { display: block; font-size: 17px; font-weight: 750; margin-bottom: 8px; }
.stat p { font-size: 14px; color: var(--text-3); line-height: 1.65; }

/* ---------------- philosophy ---------------- */

.philosophy { padding: clamp(72px, 12vh, 150px) 0; }

.philosophy-title {
  font-size: clamp(32px, 4.6vw, 60px);
  font-weight: 830;
  line-height: 1.18;
  letter-spacing: -0.03em;
  max-width: 20ch;
  margin-bottom: clamp(32px, 5vh, 56px);
  text-wrap: balance;
}
.philosophy-title em { color: var(--accent); }

.philosophy-photo {
  margin-top: clamp(40px, 6vh, 64px);
}
.philosophy-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.philosophy-photo figcaption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

.philosophy-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  max-width: 980px;
}
.philosophy-cols p {
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  color: var(--text-2);
  text-wrap: pretty;
}

/* ---------------- services bento ---------------- */

.services { padding: clamp(60px, 9vh, 120px) 0; }

.services .section-title { margin-bottom: clamp(40px, 6vh, 64px); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012) 60%);
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.3s, background 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.35);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

.card--wide { grid-column: span 2; }

.card-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-bottom: 40px;
}
.card h3 {
  font-size: clamp(19px, 1.8vw, 23px);
  font-weight: 780;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 52ch;
  text-wrap: pretty;
}

/* ---- per-service instrument visuals (animate on .is-in) ---- */
.card-visual { margin-top: 26px; }
.card-visual svg { width: 100%; display: block; }
.card-visual--shot svg { height: 96px; }
.card-visual--compare svg { max-width: 300px; height: 96px; }
.card-visual--shafts svg { max-width: 300px; height: 78px; }
.card-visual--seal svg { width: 72px; height: 72px; }

.sv-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  fill: rgba(255, 255, 255, 0.35);
}
.sv-base { stroke: rgba(255, 255, 255, 0.16); }
.sv-ticklines line { stroke: rgba(255, 255, 255, 0.16); }
.sv-ghost { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-dasharray: 3 5; }
.sv-main { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.6; }
.sv-shaft { stroke: rgba(255, 255, 255, 0.4); }
.sv-rings circle { fill: none; stroke: rgba(255, 255, 255, 0.16); }
.sv-dots .sv-pop { fill: rgba(255, 255, 255, 0.85); }
.sv-dots--dim .sv-pop { fill: rgba(255, 255, 255, 0.3); }

/* draw-in strokes */
.sv-draw {
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  transition: stroke-dashoffset 1.5s var(--ease-out) 0.35s;
}
.is-in .sv-draw { stroke-dashoffset: 0; }

/* pop-in dots */
.sv-pop {
  fill: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s var(--ease-out);
}
.sv-pop--main { fill: var(--accent); }
.is-in .sv-pop { transform: scale(1); }

/* 03 — brand strip (reuses the real logo files) */
.card-brands { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.card-brands img {
  height: 14px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.is-in .card-brands img { opacity: 0.55; transform: none; }
.card-brands-more {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  opacity: 0;
  transition: opacity 0.5s;
}
.is-in .card-brands-more { opacity: 1; }

/* 05 — official seal: dashed orbit spins, check draws */
.seal-orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.25);
  stroke-dasharray: 4 7;
  transform-box: fill-box;
  transform-origin: center;
  animation: seal-spin 26s linear infinite;
}
.seal-core { fill: none; stroke: rgba(255, 255, 255, 0.35); }
.seal-check {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transition: stroke-dashoffset 0.8s var(--ease-out) 0.5s;
}
.is-in .seal-check { stroke-dashoffset: 0; }
@keyframes seal-spin { to { transform: rotate(360deg); } }

/* NOW — full-width CTA strip with the 21-store ticks */
.card--full {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px 48px;
  flex-wrap: wrap;
}
.card--full h3 { margin-bottom: 10px; }
.card--full .card-full-copy { max-width: 560px; }
.card-full-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.store-ticks { display: flex; align-items: flex-end; gap: 5px; height: 20px; }
.store-ticks i {
  width: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  transform: scaleY(0.35);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-out), background 0.45s;
}
.is-in .store-ticks i { transform: scaleY(1); background: rgba(255, 255, 255, 0.75); }
.store-ticks-label { font-size: 10px; letter-spacing: 0.2em; color: var(--text-3); }

@media (max-width: 640px) {
  .card--full { flex-direction: column; align-items: flex-start; }
  .card-full-side { align-items: flex-start; }
}

.card--accent {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 70%);
  border-color: rgba(255, 255, 255, 0.35);
}
.card--accent .card-tag { color: var(--accent); }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}
.card-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------------- process ---------------- */

.process { padding: clamp(60px, 9vh, 120px) 0; }
.process .section-title { margin-bottom: clamp(40px, 6vh, 72px); }

/* vertical flow: spine + numbered markers; JS toggles .is-current /
   .is-done so scrolling walks the fitting 01 → 06 */
.flow { position: relative; max-width: 780px; }

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 28px;
  padding-bottom: clamp(42px, 6vh, 68px);
}
.flow-step:last-child { padding-bottom: 0; }

/* spine segment below each marker: dim track + lit overlay that draws */
.flow-step:not(:last-child)::before,
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 58px;
  bottom: 6px;
  width: 1px;
}
.flow-step:not(:last-child)::before { background: var(--line); }
.flow-step:not(:last-child)::after {
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s var(--ease-out);
}
.flow-step.is-done:not(:last-child)::after { transform: scaleY(1); }

.flow-marker {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  position: relative;
  z-index: 1;
  transition: border-color 0.4s, color 0.4s, background 0.4s,
    box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.flow-step.is-done .flow-marker {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--text);
}
.flow-step.is-current .flow-marker {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: scale(1.1);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.07), 0 0 36px rgba(255, 255, 255, 0.16);
}

.flow-head {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 5px 0 10px;
}
.flow-head h3 { font-size: 21px; font-weight: 780; letter-spacing: -0.02em; transition: color 0.3s; }
.flow-step.is-current .flow-head h3 { color: var(--accent); }

.flow-body { transition: opacity 0.45s; }
.flow-body p { font-size: 15px; color: var(--text-2); line-height: 1.75; max-width: 600px; text-wrap: pretty; }
/* steps not yet reached wait, dimmed */
.flow-step:not(.is-done):not(.is-current) .flow-body { opacity: 0.45; }

@media (max-width: 640px) {
  .flow-step { grid-template-columns: 42px 1fr; gap: 0 18px; }
  .flow-marker { width: 42px; height: 42px; font-size: 12.5px; }
  .flow-step:not(:last-child)::before,
  .flow-step:not(:last-child)::after { left: 21px; top: 48px; }
}

/* ---------------- data ---------------- */

.data { padding: clamp(60px, 9vh, 130px) 0; }

.data-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.data-lead {
  margin-top: 24px;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  color: var(--text-2);
  text-wrap: pretty;
}

.data-points { margin-top: 32px; display: grid; gap: 14px; }
.data-points li {
  font-size: 14.5px;
  color: var(--text-3);
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
}
.data-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.data-points b { color: var(--text); font-weight: 700; }

.data-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  padding: 24px 26px 20px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 20px;
}
.panel-live { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); }
.panel-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

.panel-rows { display: grid; gap: 16px; }
.prow {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 16px;
}
.prow-k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}
.prow-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.prow-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
/* looping re-measure: fill → hold → fade out → next shot, staggered per row */
.is-in .prow-bar i { animation: prow-fill 6s var(--ease-out) infinite; }
.prow:nth-child(2) .prow-bar i { animation-delay: 0.18s; }
.prow:nth-child(3) .prow-bar i { animation-delay: 0.36s; }
.prow:nth-child(4) .prow-bar i { animation-delay: 0.54s; }
.prow:nth-child(5) .prow-bar i { animation-delay: 0.72s; }
.prow:nth-child(6) .prow-bar i { animation-delay: 0.9s; }
@keyframes prow-fill {
  0%   { width: 0; opacity: 0.7; }
  22%  { width: var(--w); opacity: 1; }
  86%  { width: var(--w); opacity: 1; }
  97%  { width: var(--w); opacity: 0; }
  100% { width: 0; opacity: 0; }
}
.prow-v { font-size: 15px; font-weight: 700; text-align: right; }
.prow-v small { color: var(--text-3); font-size: 10.5px; font-weight: 500; }

.panel-note {
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--text-3);
}

/* ---------------- stores ---------------- */

.stores { padding: clamp(60px, 9vh, 130px) 0; }

.stores-lead { margin-top: 20px; font-size: 16.5px; color: var(--text-2); }

.store-regions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 40px; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.store {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.3s;
}

.store-photo {
  width: calc(100% + 56px);
  max-width: none;
  height: auto;
  margin: -28px -28px 20px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 1px solid var(--line-soft);
  filter: saturate(0.92);
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.store:hover .store-photo { transform: scale(1.03); filter: saturate(1); }
.store:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.35); }

.store-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.store h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

.store-addr { font-size: 14.5px; color: var(--text-2); margin-bottom: 18px; line-height: 1.65; }
.store-addr a {
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.store-addr a:hover { color: var(--text); text-decoration-color: rgba(3, 199, 90, 0.7); }

.store-meta { display: grid; gap: 6px; margin-bottom: 24px; }
.store-meta li { font-size: 14px; color: var(--text-3); }
.store-meta a { color: var(--text-2); transition: color 0.2s; }
.store-meta a:hover { color: var(--accent); }

.store-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}
.store-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.store-link:hover svg { transform: translateX(4px); }

.store--more { justify-content: center; gap: 14px; background: rgba(255, 255, 255, 0.02); }
.store--more p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; }
.store-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.store.is-hidden { display: none; }

.stores-note {
  margin-top: 36px;
  padding: 18px 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.7;
}

.store-cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.store-head h3 a { transition: color 0.2s; }
.store-head h3 a:hover { color: var(--text-2); }

/* ---------------- sub-page scaffolding ---------------- */

.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(48px, 9vh, 100px)) 0 clamp(36px, 6vh, 72px);
  overflow: hidden;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.14;
  text-wrap: balance;
}
.page-hero h1 em { color: var(--accent); }
.page-hero .lead {
  margin-top: 22px;
  max-width: 660px;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  text-wrap: pretty;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 26px;
}
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-hidden] { opacity: 0.5; }

.section { padding: clamp(52px, 8vh, 110px) 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  padding-bottom: 6px;
  white-space: nowrap;
  transition: color 0.2s;
}
.section-link svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease-out); }
.section-link:hover { color: var(--accent); }
.section-link:hover svg { transform: translateX(4px); }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(36px, 5vh, 56px);
}

/* ---------------- history timeline ---------------- */

.timeline {
  margin-top: clamp(36px, 5vh, 56px);
  border-left: 1px solid var(--line);
  margin-left: 5px;
  padding-left: 32px;
  display: grid;
  gap: 30px;
}
.timeline li { position: relative; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -37px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}
.timeline .year {
  display: block;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 6px;
}
.timeline p { font-size: 15px; color: var(--text-2); line-height: 1.7; max-width: 640px; }

/* ---------------- store detail ---------------- */

.store-detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}
.store-detail-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.info-list { display: grid; gap: 18px; margin-top: 26px; }
.info-list .k {
  display: block;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  margin-bottom: 4px;
}
.info-list .v { font-size: 16.5px; color: var(--text); line-height: 1.6; }
.info-list .v a:hover { color: var(--accent); }
.store-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-detail .stores-note { margin-top: 30px; }

/* ---------------- faq ---------------- */

.faq { padding: clamp(60px, 9vh, 130px) 0; }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-size: clamp(16px, 1.5vw, 18.5px);
  font-weight: 700;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--accent); }

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out), border-color 0.25s, background 0.25s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease-out); }
details[open] .faq-icon { transform: rotate(45deg); border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); color: var(--accent); }

.faq-list details p {
  padding: 0 46px 26px 4px;
  font-size: 15.5px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 62ch;
}

/* ---------------- cta ---------------- */

.cta { padding: clamp(70px, 11vh, 150px) 0; }

.cta-inner {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  padding: clamp(52px, 8vw, 100px) clamp(28px, 6vw, 90px);
  text-align: center;
  background:
    radial-gradient(120% 160% at 50% 120%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(165deg, rgba(255,255,255,0.045), rgba(255,255,255,0.01));
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, black, transparent 70%);
  pointer-events: none;
}

.cta-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--accent);
  margin-bottom: 24px;
}
.cta h2 {
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  text-wrap: balance;
}
.cta-actions { display: flex; justify-content: center; }

/* ---------------- footer ---------------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(48px, 7vh, 80px) 0 36px;
  background: rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.7fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand-word { font-size: 26px; }
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
}

.footer-head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  margin-bottom: 20px;
}
.footer-links, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-links a, .footer-social a {
  font-size: 14.5px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-links a:hover, .footer-social a:hover { color: var(--accent); }

.footer-legal {
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.9;
}
.footer-legal a { color: var(--text-3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-3);
}
.footer-base .mono { letter-spacing: 0.2em; font-size: 11px; color: rgba(255, 255, 255, 0.55); }

/* ---------------- reveal animations ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }
.reveal.d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .traj--main { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .viz-ball { offset-distance: 100%; animation: none; }
  .viz-apex, .viz-land { opacity: 1; animation: none; }
  .marquee-track { animation: none; }
  .hero-scroll span, .eyebrow .dot, .viz-rec i, .panel-live i { animation: none; }
  .prow-bar i, .is-in .prow-bar i { width: var(--w); animation: none; }
}

/* ---------------- responsive ---------------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .hero-viz { max-width: 640px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-cards { grid-template-columns: 1fr 1fr; }
  .store-detail { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line-soft); padding-left: 32px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--wide { grid-column: span 2; }
  .step + .step { padding-left: 0; }
  .data-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .store--more { grid-column: span 2; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta .btn { display: none; }
  .nav-burger { display: flex; }
  .nav.is-open { background: rgba(10, 12, 10, 0.96); backdrop-filter: blur(18px); }

  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-scroll { display: none; }
  .hero-chips > div { min-width: 90px; padding-right: 12px; }
  .hero-chips > div + div { padding-left: 12px; }
  .hero-chips dd { font-size: 16px; }

  .viz-id { display: none; }
  .viz-head { font-size: 10px; letter-spacing: 0.1em; }
  .viz-head > * { min-width: 0; }

  .stats-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-cards { grid-template-columns: 1fr; }
  .stat:nth-child(even) { border-left: none; padding-left: 0; }
  .stat { padding-right: 0; }

  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }


  .store-grid { grid-template-columns: 1fr; }
  .store--more { grid-column: auto; }

  .viz-readout { grid-template-columns: 1fr 1fr; }
  .ro:nth-child(3), .ro:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .ro:nth-child(3) { border-left: none; }

  .prow { grid-template-columns: 92px 1fr auto; gap: 10px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   motion flair — instrument-tracking motion language (2026-07-15)
   A thin light that MEASURES: runs borders, draws the process rail,
   follows the cursor. Monochrome only. All gated for reduced motion.
   ================================================================ */

/* ---- border light-trace ------------------------------------- */
@property --sweep {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.store, .data-panel, .viz-frame { position: relative; }

.card::before,
.store::before,
.data-panel::before,
.viz-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--sweep),
    transparent 0deg 296deg,
    rgba(255, 255, 255, 0.85) 344deg,
    transparent 360deg);
  -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, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.card:hover::before,
.store:hover::before {
  opacity: 1;
  animation: border-sweep 1.4s linear infinite;
}
/* instrument panels scan perpetually, slow + faint */
.data-panel::before,
.viz-frame::before {
  opacity: 0.5;
  animation: border-sweep 5s linear infinite;
}
@keyframes border-sweep { to { --sweep: 360deg; } }

/* ---- cursor spotlight on store cards (mirrors .card) --------- */
.store::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
  z-index: 1;
}
.store:hover::after { opacity: 1; }

/* ---- button sheen (not on solid: white-on-white) ------------- */
.btn { position: relative; overflow: hidden; }
.btn::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.btn:hover::before { animation: btn-sheen 0.75s var(--ease-out); }
.btn--solid::before { display: none; }
@keyframes btn-sheen {
  from { left: -60%; opacity: 1; }
  to   { left: 130%; opacity: 1; }
}

/* ---- region chip: one-shot pulse on activation --------------- */
.chip--on { animation: chip-pop 0.5s var(--ease-out); }
@keyframes chip-pop {
  from { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
  to   { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}

/* ---- FAQ answers ease in on open ------------------------------ */
.faq-list details[open] p { animation: faq-in 0.45s var(--ease-out); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
}

/* ---- hero photo settles (Ken Burns, load-time only) ----------- */
.hero-photo img { animation: hero-settle 16s var(--ease-out) both; }
@keyframes hero-settle {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}

/* role tag on the number row */
.step-role {
  font-style: normal;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.step-role--key {
  color: var(--accent);
  border-color: rgba(255, 255, 255, 0.35);
}


/* ---- TINO5 logo component (⊕ icon + TINO5 + PREMIUM GOLF) ----
   Inline SVGs from scripts/logo_svg.py; colour via currentColor. */
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.logo-icon { height: 34px; width: auto; transition: transform 0.8s var(--ease-out); }
.logo-text { height: 30px; width: auto; }
/* the ⊕ is 4-fold symmetric: a half turn out, half turn back — clearly
   alive on hover, lands looking identical */
.brand:hover .logo-icon,
.logo:hover .logo-icon { transform: rotate(180deg); }

/* load choreography — nav instance only: icon spins in, wordmark wipes
   in left→right, tagline settles last. Scoped to :not(.is-ready): JS
   drops the animations once played, so they can never fight the hover
   transition (Safari holds filled keyframes over transitions). */
.brand--animate:not(.is-ready) .logo-icon { animation: logo-icon-in 1.15s var(--ease-out) 0.1s both; }
.brand--animate:not(.is-ready) .logo-text { animation: logo-text-in 0.9s var(--ease-out) 0.35s both; }
.brand--animate:not(.is-ready) .logo-tag { animation: logo-tag-in 0.5s ease 1s both; }
@keyframes logo-icon-in {
  from { transform: rotate(-200deg) scale(0.5); opacity: 0; }
}
@keyframes logo-text-in {
  from { clip-path: inset(-10% 100% -10% 0); }
  to   { clip-path: inset(-10% -5% -10% 0); }
}
@keyframes logo-tag-in {
  from { opacity: 0; transform: translateY(5px); }
}

/* ---- hero live stream (3-line data feed in the viz panel) ------ */
.viz-stream {
  display: grid;
  gap: 4px;
  padding: 12px 18px 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.viz-stream-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  opacity: 0.5;
  animation: vs-cycle 6s linear infinite;
}
.viz-stream-row:nth-child(2) { animation-delay: 2s; }
.viz-stream-row:nth-child(3) { animation-delay: 4s; }
.vs-k { color: var(--text-3); min-width: 100px; }
.vs-v { color: var(--text-2); }
@keyframes vs-cycle {
  0%, 60%, 100% { opacity: 0.5; }
  10%, 35% { opacity: 1; }
}
.vs-ellipsis::after { content: "…"; animation: vs-blink 1.4s ease infinite; }
@keyframes vs-blink { 50% { opacity: 0.15; } }

/* ---- store photo pending (신규 매장, 사진 확보 전) -------------- */
.store-photo--pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 3 / 2;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 60%),
    var(--bg-raise);
}
.store-photo--pending .logo { opacity: 0.55; }
.store-photo--pending .logo-icon { height: 30px; }
.store-photo--pending .logo-text { height: 26px; }
.store-photo--pending > span { font-size: 10px; letter-spacing: 0.2em; color: var(--text-3); }
.store-detail-photo .store-photo--pending {
  width: 100%;
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

/* ---- flow closing step (지금 가까운 매장에서) ------------------- */
.flow-step--go .flow-marker svg { width: 18px; height: 18px; }

/* ---- store locator (self-contained SVG Korea, no map SDK) ------ */
.locator { padding: 0 0 clamp(44px, 6vh, 72px); }
.locator-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.locator-map { position: relative; }
.kmap { width: 100%; max-height: 620px; display: block; margin-inline: auto; }
.kmap-land {
  fill: rgba(255, 255, 255, 0.035);
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 0.6;
}

.kmap-dot { cursor: pointer; outline-offset: 4px; }
.kmap-hit { fill: transparent; }
.kmap-pt {
  fill: var(--accent);
  opacity: 0.9;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s var(--ease-out);
}
.kmap-dot:hover .kmap-pt,
.kmap-dot:focus-visible .kmap-pt { transform: scale(1.7); }
.kmap-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.4);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: kmap-pulse 3.2s ease-out infinite;
  animation-delay: calc(var(--i) * 0.6s);
}
@keyframes kmap-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  55%, 100% { transform: scale(3.4); opacity: 0; }
}
.kmap-dot.is-near .kmap-pt { transform: scale(1.9); }
.kmap-dot.is-near .kmap-ring { stroke: rgba(255, 255, 255, 0.85); animation-duration: 1.8s; }

/* visitor position marker (⊕ crosshair — echoes the logo icon) */
.kmap-user { color: var(--accent); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.kmap-user.is-on { opacity: 1; }
.kmap-user-pt { fill: currentColor; }
.kmap-user-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: kmap-pulse 2.2s ease-out infinite;
}

.kmap-tip {
  position: absolute;
  transform: translate(-50%, -100%);
  background: rgba(10, 12, 10, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

.locator-status { margin-top: 14px; font-size: 12px; color: var(--text-3); min-height: 18px; }
.near-list { margin-top: 14px; display: grid; gap: 10px; }
.near-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 18px;
  background: var(--surface);
}
.near-rank { font-size: 11px; color: var(--text-3); letter-spacing: 0.1em; }
.near-list a { flex: 1; font-weight: 700; font-size: 15px; }
.near-list a:hover { color: var(--accent); }
.near-km { font-size: 12px; color: var(--text-2); }

/* locator → card handoff highlight */
.store.is-flash { animation: store-flash 1.8s var(--ease-out); }
@keyframes store-flash {
  0%, 30% {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 900px) {
  .locator-grid { grid-template-columns: 1fr; }
  .kmap { max-height: 440px; }
}

/* ---- about: 5T pillars — one row of five, rules draw in sequence ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 30px;
  margin-top: clamp(36px, 5vh, 56px);
}
.pillar {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  transition: transform 0.45s var(--ease-out);
}
.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.7s var(--ease-out);
}
.pillar.is-in::before { width: 100%; }
.pillar:nth-child(1)::before { transition-delay: 0.1s; }
.pillar:nth-child(2)::before { transition-delay: 0.25s; }
.pillar:nth-child(3)::before { transition-delay: 0.4s; }
.pillar:nth-child(4)::before { transition-delay: 0.55s; }
.pillar:nth-child(5)::before { transition-delay: 0.7s; }
.pillar:hover { transform: translateY(-5px); }

.pillar-no {
  display: block;
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.09);
  margin-bottom: 20px;
  transition: color 0.4s;
}
.pillar:hover .pillar-no { color: rgba(255, 255, 255, 0.3); }
.pillar-en {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--text-3);
  margin-bottom: 7px;
}
.pillar h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.pillar p { font-size: 13.5px; color: var(--text-2); line-height: 1.75; text-wrap: pretty; }

@media (max-width: 1080px) {
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar {
    display: grid;
    grid-template-columns: 86px 1fr;
    column-gap: 22px;
    padding: 24px 0 22px;
  }
  .pillar-no { grid-row: 1 / 4; font-size: 34px; margin: 4px 0 0; }
  .pillar:hover { transform: none; }
}

/* ---- about: values as an editorial spread (rows beside the proof) ---- */
.values-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(36px, 5vh, 56px);
}
.value-row { padding: 24px 0; border-top: 1px solid var(--line-soft); }
.values-list .value-row:last-child { padding-bottom: 0; }
.value-no {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--text-3);
  margin-bottom: 8px;
}
.value-row h3 { font-size: 16.5px; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 10px; }
.value-row p { font-size: 14.5px; color: var(--text-2); line-height: 1.75; text-wrap: pretty; }
.values-photo { margin-top: 0; }
@media (max-width: 900px) {
  .values-spread { grid-template-columns: 1fr; }
}

/* ---- about: floating 3D brand mark (hero) --------------------- */
.about-mark {
  position: absolute;
  right: 5%;
  top: 54%;
  width: clamp(200px, 26vw, 340px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  perspective: 900px;
  pointer-events: none;
  z-index: 0;
}
.about-mark-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: am-idle 16s ease-in-out infinite;
}
.about-mark.is-live .about-mark-inner { animation: none; }
.am-layer { position: absolute; inset: 0; color: var(--accent); }
.am-layer svg { width: 100%; height: 100%; }
.am-l1 { transform: translateZ(-52px); opacity: 0.07; }
.am-l2 { opacity: 0.14; }
.am-l3 { transform: translateZ(52px); opacity: 0.28; }
@keyframes am-idle {
  0%, 100% { transform: rotateX(9deg) rotateY(-12deg); }
  50% { transform: rotateX(-7deg) rotateY(13deg); }
}
@media (max-width: 900px) { .about-mark { display: none; } }

/* ---- 5T cards: pointer tilt (depth micro-interaction) ---------- */
.card--tilt {
  transform: perspective(750px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out, border-color 0.3s, background 0.3s;
}
.card--tilt:hover {
  transform: perspective(750px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ---- timeline: scroll-scrubbed journey ------------------------- */
.timeline { --tprog: 0; position: relative; }
/* the lit spine draws with scroll progress over the dim border-left */
.timeline::after {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  height: 100%;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-deep), var(--accent));
  transform: scaleY(var(--tprog));
  transform-origin: top;
}
.timeline li { transition: opacity 0.45s; }
.timeline li:not(.is-past):not(.is-now) { opacity: 0.45; }
.timeline li::before {
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-out);
}
.timeline li.is-past::before { background: var(--accent); }
.timeline li.is-now::before {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08), 0 0 20px rgba(255, 255, 255, 0.35);
}
.timeline li:not(.is-past):not(.is-now) .year { color: var(--text-3); }

/* ---- parallax figures ------------------------------------------ */
.philosophy-photo { overflow: hidden; }
[data-parallax] img { will-change: transform; transition: none; }

/* ---- reduced motion: everything above goes still --------------- */
@media (prefers-reduced-motion: reduce) {
  .card::before, .store::before, .data-panel::before, .viz-frame::before {
    animation: none;
    opacity: 0;
  }
  .btn:hover::before { animation: none; opacity: 0; }
  .chip--on { animation: none; }
  .faq-list details[open] p { animation: none; }
  .hero-photo img { animation: none; }
  .flow-step:not(:last-child)::after { transition: none; }
  .flow-marker { transition: none; transform: none !important; }
  .flow-body { transition: none; opacity: 1 !important; }
  .kmap-ring, .kmap-user-ring { animation: none; opacity: 0.4; }
  .store.is-flash { animation: none; }
  .about-mark-inner { animation: none; transform: rotateX(8deg) rotateY(-10deg); }
  .pillar::before, .pillar.is-in::before { width: 100%; transition: none; }
  .pillar:hover { transform: none; }
  .card--tilt, .card--tilt:hover { transform: none; }
  .timeline::after { transform: scaleY(1); }
  .timeline li { opacity: 1 !important; }
  .timeline li::before { background: var(--accent); }
  [data-parallax] img { will-change: auto; }
  .brand--animate .logo-icon, .brand--animate .logo-text, .brand--animate .logo-tag { animation: none !important; }
  .brand:hover .logo-icon, .logo:hover .logo-icon { transform: none; }
  .viz-stream-row { animation: none; opacity: 0.8; }
  .vs-ellipsis::after { animation: none; }
  .sv-draw, .seal-check { transition: none; stroke-dashoffset: 0; }
  .sv-pop { transition: none; transform: scale(1); }
  .card-brands img, .card-brands-more { transition: none; opacity: 0.55; transform: none; }
  .seal-orbit { animation: none; }
  .store-ticks i { transition: none; transform: scaleY(1); background: rgba(255, 255, 255, 0.75); }
}

/* ---- touch ergonomics: 44px-class targets on coarse pointers ---- */
@media (pointer: coarse) {
  .chip { padding: 12px 20px; }
  .kmap-hit { r: 16; }
}

/* ---- language switcher + Japanese font stack ------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.lang-switch a {
  padding: 6px 7px;
  border-radius: 8px;
  color: var(--text-3);
  transition: color 0.2s, background 0.2s;
}
.lang-switch a:hover { color: var(--text); background: var(--surface-2); }
.lang-switch a.is-on { color: var(--text); }
.mobile-menu .lang-switch { margin-top: 4px; font-size: 13px; }
/* footer language column: switcher styled to match the link columns */
.footer-grid .lang-switch {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font);
  font-size: 14.5px;
  letter-spacing: 0;
}
.footer-grid .lang-switch a { padding: 0; border-radius: 0; color: var(--text-2); }
.footer-grid .lang-switch a:hover { color: var(--accent); background: none; }
.footer-grid .lang-switch a.is-on { color: var(--accent); }
html[lang="ja"] body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, system-ui, sans-serif;
  letter-spacing: 0;
}

/* JA: CJK wraps anywhere — pull hero scale in a touch to avoid mid-word breaks */
html[lang="ja"] .hero-title { font-size: clamp(30px, 4.6vw, 56px); }
html[lang="ja"] .page-hero h1 { font-size: clamp(28px, 4.2vw, 50px); }
