/* Amotti — iron & chalk. One scheme on purpose: a gym at night. */
:root {
  --iron: #0f0f0e;
  --iron-2: #181816;
  --iron-3: #23221f;
  --line: #34322e;
  --chalk: #f2eee6;
  --chalk-2: #c9c4b9;
  --chalk-3: #8f8a80;
  --signal: #ff4a1c;
  --signal-ink: #140803;

  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font-display);
  --head-weight: 400;
  --head-transform: uppercase;
  --head-tracking: 0.005em;

  --gutter: 16px;
  --max: 1120px;
  --radius: 4px;
  color-scheme: dark;
}
:root:lang(ko) {
  --font-body: "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-head: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --head-weight: 900;
  --head-transform: none;
  --head-tracking: -0.02em;
}
:root:lang(ja) {
  --font-body: "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --font-head: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --head-weight: 900;
  --head-transform: none;
  --head-tracking: -0.01em;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--iron);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
:lang(ko) body, :lang(ko) p, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { word-break: keep-all; overflow-wrap: anywhere; }
:lang(ja) body { line-break: strict; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--chalk); color: var(--iron); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--iron) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.mark {
  font-family: var(--font-display); font-size: 24px; letter-spacing: 0.04em;
  text-decoration: none; line-height: 1; flex: none;
}
.mark span { color: var(--signal); }
.sections { display: none; gap: 24px; margin-left: auto; }
.sections a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--chalk-2); }
.langs { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; }
.langs a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-decoration: none;
  color: var(--chalk-3); border-radius: var(--radius);
}
.langs a[aria-current="page"] { color: var(--iron); background: var(--chalk); }
.langs .full { display: none; }
@media (min-width: 900px) {
  .sections { display: flex; }
  .langs { margin-left: 8px; }
  .langs .full { display: inline; }
  .langs .short { display: none; }
}
@media (hover: hover) {
  .sections a:hover, .langs a:not([aria-current]):hover { color: var(--chalk); }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; z-index: 1; padding-top: clamp(56px, 12vh, 128px); padding-bottom: clamp(120px, 22vw, 260px); }
.kicker {
  margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chalk-3);
}
:lang(ko) .kicker, :lang(ja) .kicker { letter-spacing: 0.06em; font-size: 14px; }
h1 {
  margin: 0; max-width: 16ch;
  font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform);
  letter-spacing: var(--head-tracking);
  font-size: clamp(42px, 8.4vw, 112px); line-height: 0.98;
}
:lang(ko) h1, :lang(ja) h1 { font-size: clamp(34px, 6.4vw, 84px); line-height: 1.12; max-width: 14em; }
:lang(it) h1, :lang(fr) h1 { font-size: clamp(38px, 7.2vw, 100px); max-width: 18ch; line-height: 1.06; }
h1 .ph { display: inline-block; }
h1 .b { display: block; color: var(--signal); }
.lead { margin: 28px 0 0; max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--chalk-2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  font-size: 15px; font-weight: 700; text-decoration: none; border-radius: var(--radius);
  border: 1px solid var(--chalk); transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.btn-ghost { color: var(--chalk); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--chalk); border-color: var(--chalk); }
  .btn-ghost:hover { background: var(--chalk); color: var(--iron); }
}
.hero .wrap { display: grid; gap: 48px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 56px; }
}
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
@media (max-width: 899px) { .hero-photo { max-width: 520px; } }
.giant {
  position: absolute; left: 50%; bottom: -0.16em; transform: translateX(-50%);
  margin: 0; white-space: nowrap; pointer-events: none; user-select: none;
  font-family: var(--font-display); font-size: 31vw; line-height: 1; letter-spacing: 0.01em;
  color: transparent; -webkit-text-stroke: 1px var(--line);
}

/* ---------- sections ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; border-bottom: 1px solid var(--line); }
.sec-alt { background: var(--iron-2); }
h2 {
  margin: 0 0 clamp(32px, 5vw, 56px);
  font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform);
  letter-spacing: var(--head-tracking);
  font-size: clamp(36px, 5.6vw, 64px); line-height: 1;
}
:lang(ko) h2, :lang(ja) h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; }
h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.3; font-weight: 700; }

/* ---------- recovery line ---------- */
.line { margin: 0; padding: 64px 0 24px; }
.plot { position: relative; height: 220px; margin: 0 4px; }
@media (min-width: 768px) { .plot { height: 280px; } }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot .before { stroke: var(--chalk-3); }
.plot .after { stroke: var(--signal); }
.plot path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plot .base { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
.pt { position: absolute; width: 0; height: 0; }
.pt::before {
  content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--iron); border: 3px solid var(--signal);
}
.pt.dim::before { border-color: var(--chalk-3); }
.pt-label {
  position: absolute; white-space: nowrap; display: flex; flex-direction: column; line-height: 1.2;
  left: 0; transform: translateX(-50%);
}
.pt.start .pt-label { transform: translateX(-10px); }
.pt.end .pt-label { transform: translateX(calc(-100% + 10px)); text-align: right; }
.pt.above .pt-label { bottom: 16px; }
.pt.below .pt-label { top: 16px; }
.pt-year { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.03em; }
.pt-text { display: none; font-size: 13px; color: var(--chalk-2); }
@media (min-width: 720px) { .pt-text { display: block; } .pt-year { font-size: 22px; } }
.line figcaption {
  margin-top: 72px; font-family: var(--font-head); font-weight: var(--head-weight);
  text-transform: var(--head-transform); letter-spacing: var(--head-tracking);
  font-size: clamp(24px, 3.4vw, 40px); line-height: 1.15;
}
.line figcaption span { color: var(--signal); }
@media (prefers-reduced-motion: no-preference) {
  .js .plot path.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .plot.on path.before { transition: stroke-dashoffset 1.1s cubic-bezier(.6,0,.3,1); stroke-dashoffset: 0; }
  .js .plot.on path.after { transition: stroke-dashoffset 1.3s cubic-bezier(.4,0,.2,1) 1.05s; stroke-dashoffset: 0; }
  .js .plot .pt { opacity: 0; transition: opacity .4s ease; }
  .js .plot.on .pt { opacity: 1; }
  .js .plot.on .pt:nth-of-type(1) { transition-delay: .1s; }
  .js .plot.on .pt:nth-of-type(2) { transition-delay: .7s; }
  .js .plot.on .pt:nth-of-type(3) { transition-delay: 1.05s; }
  .js .plot.on .pt:nth-of-type(4) { transition-delay: 1.9s; }
  .js .plot.on .pt:nth-of-type(5) { transition-delay: 2.3s; }
}

/* ---------- story ---------- */
.chapters { display: grid; gap: 40px; counter-reset: ch; }
@media (min-width: 900px) { .chapters { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.chapter { border-top: 1px solid var(--line); padding-top: 24px; counter-increment: ch; }
.chapter::before {
  content: "0" counter(ch); display: block; margin-bottom: 16px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.1em; color: var(--signal);
}
.chapter p { margin: 0; color: var(--chalk-2); }
.pull { margin: clamp(56px, 8vw, 96px) 0 0; padding-left: clamp(16px, 3vw, 32px); border-left: 4px solid var(--signal); }
.pull p {
  margin: 0; max-width: 22ch; font-family: var(--font-head); font-weight: var(--head-weight);
  text-transform: var(--head-transform); letter-spacing: var(--head-tracking);
  font-size: clamp(28px, 4.4vw, 52px); line-height: 1.08;
}
:lang(ko) .pull p, :lang(ja) .pull p { max-width: 18em; line-height: 1.3; font-size: clamp(24px, 3.4vw, 40px); }
.pull small { display: block; margin-top: 16px; max-width: 60ch; font-size: 14px; color: var(--chalk-3); }

/* ---------- photos ---------- */
.ph { margin: 0; }
.ph img { width: 100%; height: auto; border-radius: var(--radius); background: var(--iron-3); }
.ph figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--chalk-2); }
.ph .cr { display: inline-block; font-size: 12px; color: var(--chalk-3); }
.ph .cr a { color: inherit; }
.pull-row { display: grid; gap: 40px; margin-top: clamp(56px, 8vw, 96px); align-items: end; }
.pull-row .pull { margin-top: 0; }
@media (min-width: 900px) { .pull-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.gal-h {
  margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal);
}
:lang(ko) .gal-h, :lang(ja) .gal-h { letter-spacing: 0.04em; font-size: 14px; }
.gal { columns: 1; column-gap: 20px; margin-bottom: 64px; }
.gal:last-child { margin-bottom: 0; }
.gal .ph { break-inside: avoid; margin-bottom: 28px; }
@media (min-width: 600px) { .gal { columns: 2; } }
@media (min-width: 900px) { .gal { columns: 3; column-gap: 24px; } }

/* ---------- record ---------- */
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; margin: 0; }
@media (min-width: 900px) { .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.num { border-top: 1px solid var(--line); padding-top: 20px; }
.num dt {
  font-family: var(--font-display); font-size: clamp(52px, 8vw, 96px); line-height: 1; letter-spacing: 0.01em;
}
:lang(ko) .num dt, :lang(ja) .num dt { font-family: var(--font-display), var(--font-head); }
.num:first-child dt { color: var(--signal); }
.num dd { margin: 12px 0 0; font-size: 15px; color: var(--chalk-2); }
.bio { margin: 48px 0 0; font-size: 15px; color: var(--chalk-3); }

/* ---------- timeline ---------- */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .tl li { grid-template-columns: 140px 1fr; gap: 32px; padding: 20px 0; } }
.tl time { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.03em; color: var(--chalk-3); line-height: 1.4; }
.tl p { margin: 0; color: var(--chalk-2); }
.tl .hit time, .tl .hit p { color: var(--chalk); }
.tl .low time { color: var(--signal); }
.tl .low p { color: var(--chalk); }

/* ---------- name + partner ---------- */
.pair { display: grid; gap: 64px; }
@media (min-width: 900px) { .pair { grid-template-columns: 1fr 1fr; gap: 64px; } }
.pair h2 { margin-bottom: 24px; }
.pair p { margin: 0; max-width: 52ch; color: var(--chalk-2); font-size: 18px; }
.pair .from {
  display: block; margin-bottom: 20px; font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.02em; color: var(--chalk-3);
}
.pair .from b, .pair .from span { white-space: nowrap; }
.pair .from b { color: var(--chalk); font-weight: 400; }
.pair .from i { font-style: normal; color: var(--signal); padding: 0 .3em; }

/* ---------- media ---------- */
.shows { list-style: none; margin: 0; padding: 0; }
.shows li {
  display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--line);
}
@media (min-width: 768px) { .shows li { grid-template-columns: 80px 120px 1fr auto; gap: 24px; } }
.shows .y { font-family: var(--font-display); font-size: 18px; color: var(--chalk-3); }
.shows .n { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--chalk-3); grid-column: 2; }
.shows .t { grid-column: 2; font-size: 18px; font-weight: 600; }
.shows .t small { display: block; font-size: 13px; font-weight: 400; color: var(--chalk-3); }
.shows .r { grid-column: 2; font-size: 14px; color: var(--chalk-2); }
@media (min-width: 768px) {
  .shows .n, .shows .t, .shows .r { grid-column: auto; }
  .shows .r { text-align: right; }
}
.shows .win .r { color: var(--signal); font-weight: 700; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 3fr 2fr; gap: 64px; } }
.contact-lead { margin: 0 0 32px; max-width: 46ch; font-size: clamp(18px, 2vw, 22px); color: var(--chalk-2); }
.agency { margin: 0; font-style: normal; }
.agency strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(32px, 4.4vw, 48px); line-height: 1; letter-spacing: 0.02em; }
.agency .ko { display: block; margin-top: 6px; font-size: 14px; color: var(--chalk-3); }
.agency dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 28px 0 0; }
.agency dt { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--chalk-3); padding-top: 3px; }
.agency dd { margin: 0; }
.agency a { text-underline-offset: 3px; }
.channels h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--chalk-3); }
.channels ul { list-style: none; margin: 0; padding: 0; }
.channels a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 0 4px; border-top: 1px solid var(--line); text-decoration: none;
}
.channels li:last-child a { border-bottom: 1px solid var(--line); }
.channels .svc { font-weight: 700; }
.channels .h { color: var(--chalk-2); font-size: 15px; }
.channels .h::after { content: " ↗"; color: var(--signal); }
.channels p { margin: 12px 0 0; font-size: 13px; color: var(--chalk-3); }
@media (hover: hover) { .channels a:hover .svc { color: var(--signal); } }

/* ---------- footer ---------- */
.foot { padding: 40px 0 96px; font-size: 14px; color: var(--chalk-3); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.foot .credits { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.6; }
.foot .credits a { text-decoration: underline; text-underline-offset: 2px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 0; padding: 0; }
.foot a { text-decoration: none; }
@media (hover: hover) { .foot a:hover { color: var(--chalk); } }

/* ---------- language suggestion ---------- */
.suggest {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 8px; max-width: 420px; margin: 0 auto;
  padding: 8px 8px 8px 16px; background: var(--chalk); color: var(--iron);
  border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.suggest[hidden] { display: none; }
.suggest a { flex: 1; font-weight: 700; text-decoration: none; min-height: 40px; display: flex; align-items: center; }
.suggest a::after { content: " →"; color: var(--signal); padding-left: .3em; }
.suggest button {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 4px; background: transparent;
  color: var(--iron); font-size: 20px; cursor: pointer;
}
@media (hover: hover) { .suggest button:hover { background: rgba(0,0,0,.08); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (forced-colors: active) { .giant { display: none; } }
