/* Assist Mate landing — tokens follow the app (D:\Digital-Concierge\src\index.css) */
:root {
  --ink: #171719;
  --text: #2F3238;
  --muted: #5E616A;
  --subtle: #A4A7AE;
  --line: #DBDCDF;
  --canvas: #F7F7F8;
  --surface: #FFFFFF;
  --surface-2: #F0F1F3;
  --primary: #0066FF;
  --primary-hover: #0052CC;
  --primary-soft: #EAF2FE;
  --success: #007A2E;
  --success-soft: rgba(0, 191, 64, .12);
  --now: #00BF40;
  --warn-ink: #5C3D00;
  --warn-soft: #FFF1C7;
  --sos: #D92B2B;
  --sos-soft: #FFF0F0;
  --kakao: #FEE500;

  --r-card: 24px;
  --r-block: 16px;
  --shadow-float: 0 2px 4px rgba(23,23,25,.04), 0 8px 20px rgba(23,23,25,.10);
  --shadow-stage: 0 4px 10px rgba(23,23,25,.04), 0 30px 80px rgba(0,60,160,.16);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: 20px; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section-lead { margin-top: 16px; max-width: 640px; font-size: 19px; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.br-d { display: none; }
@media (min-width: 900px) { .br-d { display: inline; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost { background: var(--surface-2); color: var(--ink); }
.btn--ghost:hover { background: #E6E7EA; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); transition: box-shadow .2s; }
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(23,23,25,.06); }
.nav__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); height: 68px; display: flex; align-items: center; gap: 32px; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-right: auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); transition: color .15s; }
.nav__links a:hover { color: var(--primary); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; font: 600 13px/1 var(--font); color: var(--muted); padding: 8px 10px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23,23,25,.08); }
@media (max-width: 960px) { .nav__links { display: none; } .nav__actions { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 112px) 0 40px; text-align: center; background: linear-gradient(180deg, #fff 0%, #F4F8FF 55%, #fff 100%); overflow: hidden; }
.hero h1 { font-size: clamp(32px, 6.2vw, 78px); letter-spacing: -.04em; line-height: 1.05; }
.hero__lead { margin: 24px auto 0; max-width: 680px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero__cta { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__copy { position: relative; z-index: 2; }

.hero__float { position: absolute; left: 50%; top: clamp(70px, 10vw, 130px); width: 0; height: 0; z-index: 1; }
.chip {
  position: absolute; white-space: nowrap; transform: translate(var(--x), var(--y)) rotate(var(--r));
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--text); font-size: 14px; font-weight: 600;
  padding: 10px 14px 10px 12px; border-radius: 14px; box-shadow: var(--shadow-float);
  animation: bob 6s ease-in-out infinite; animation-delay: var(--d);
}
.chip::before { content: ""; width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); flex: none; }
.chip--xls::before { background: #1D6F42; }
.chip--pdf::before { background: #E5252A; }
.chip--kakao::before { background: var(--kakao); }
.chip--doc::before { background: #3A7BFF; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 1100px) { .hero__float { display: none; } }
/* hero: falling task cards (js/site.js builds them; static chips above are the fallback) */
.hero__float--rain { left: 0; right: 0; top: 0; width: auto; height: 600px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
/* Lanes: the free space between the headline (about 450px from the centre) and the window edge. */
.hero__float--rain .chip--l { right: calc(50% + 450px + var(--r) * max(0px, 50% - 450px - 220px)); }
.hero__float--rain .chip--r { left: calc(50% + 450px + var(--r) * max(0px, 50% - 450px - 220px)); }
.hero__float--rain .chip { top: -60px; transform: none; animation: fall var(--dur) linear var(--delay) infinite; will-change: translate, rotate, opacity; }
.hero__float--rain.is-paused .chip { animation-play-state: paused; }
@keyframes fall {
  0%   { translate: 0 0; rotate: var(--r1); opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  100% { translate: var(--dx) 640px; rotate: var(--r2); opacity: 0; }
}
.chip--sos::before { background: var(--sos); }
.chip--call::before { background: var(--now); }
@media (max-width: 1200px) { .hero__float--rain { display: none; } }

/* stage: console + phone */
.stage { position: relative; z-index: 2; margin-top: clamp(48px, 7vw, 88px); perspective: 1600px; }
.stage__tilt { position: relative; transform-origin: 50% 0; transform: rotateX(var(--tilt, 0deg)) scale(var(--scale, 1)); transition: transform .1s linear; will-change: transform; }


.hero__types { list-style: none; margin-top: clamp(96px, 10vw, 120px); padding-top: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero__types li { background: var(--canvas); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--text); font-size: 15px; }


/* ---------- story (scattered → one) ---------- */
.story { position: relative; height: 210vh; background: var(--canvas); }
.story__sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 80px 0 48px; }
.story__head { text-align: center; position: relative; z-index: 3; transition: opacity .3s; opacity: calc(1 - var(--p, 0) * 1.6); }
.story__sub { margin: 16px auto 0; max-width: 680px; font-size: 18px; color: var(--muted); }
.pile { position: relative; flex: 1; min-height: 340px; }
.doc {
  --k: calc(1 - var(--p, 0));
  position: absolute; left: 50%; top: 50%;
  width: 210px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-float); overflow: hidden;
  font-size: 12px; color: var(--text); line-height: 1.4;
  transform:
    translate(-50%, -50%)
    translate(calc(var(--px) * 1vw * var(--k)), calc(var(--py) * .62vh * var(--k)))
    rotate(calc(var(--pr) * 1deg * var(--k)))
    scale(calc(.35 + .65 * var(--k)));
  opacity: calc(1.15 - var(--p, 0) * 1.25);
  will-change: transform, opacity;
}
.doc__bar { background: var(--surface-2); padding: 8px 12px; font-weight: 700; color: var(--ink); font-size: 12.5px; display: flex; align-items: center; gap: 8px; }
.doc__bar::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--primary); flex: none; }
.doc__bar--green { background: #E3F1E8; } .doc__bar--green::before { background: #1D6F42; }
.doc__bar--red { background: var(--sos-soft); color: var(--sos); } .doc__bar--red::before { background: var(--sos); }
.sheet { display: grid; grid-template-columns: 22px 1fr 44px 50px; font-size: 11px; }
.sheet span { padding: 4px 6px; box-shadow: inset -1px -1px 0 #E6E7EA; white-space: nowrap; overflow: hidden; }
.sheet .h { background: #F4F5F6; color: var(--subtle); text-align: center; font-size: 10px; padding: 2px; }
.sheet .bad { background: #FFE9E9; color: var(--sos); font-weight: 700; text-align: center; }
.doc--pass { background: var(--primary); color: #fff; }
.pass { padding: 14px 16px; }
.pass__route { display: flex; align-items: center; gap: 8px; }
.pass__route b { font-size: 24px; letter-spacing: -.02em; }
.pass__route i { flex: 1; height: 0; border-top: 2px dashed rgba(255,255,255,.6); position: relative; }
.pass__route i::after { content: ""; position: absolute; right: 40%; top: -6px; width: 10px; height: 10px; background: #fff; clip-path: polygon(0 35%, 100% 50%, 0 65%, 15% 50%); }
.pass__meta { display: flex; justify-content: space-between; margin-top: 6px; font-weight: 600; opacity: .9; }
.pass__code { margin-top: 10px; height: 22px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px); opacity: .85; border-radius: 2px; }
.rows { list-style: none; margin: 0; padding: 6px 12px 10px; }
.rows li { display: flex; gap: 10px; align-items: center; padding: 4px 0; }
.rows b { color: var(--ink); min-width: 36px; }
.rows em { margin-left: auto; font-style: normal; color: var(--muted); }
.rows em.warn { color: var(--warn-ink); background: #FFE08A; padding: 0 6px; border-radius: 6px; }
.strike { text-decoration: line-through; color: var(--subtle); }
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px 12px 12px; }
.rooms span { background: var(--canvas); border-radius: 8px; padding: 6px 8px; display: flex; justify-content: space-between; }
.rooms b { color: var(--ink); } .rooms i { font-style: normal; color: var(--muted); }
.rooms .empty { outline: 1.5px dashed var(--line); outline-offset: -1.5px; background: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 12px; }
.tags span { background: var(--success-soft); color: var(--success); font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.tags .no { background: var(--sos-soft); color: var(--sos); }
.doc--chat { background: #B2C7DA; padding: 12px 12px 14px; overflow: visible; }
.chat { display: grid; gap: 5px; }
.chat p { background: #fff; border-radius: 4px 12px 12px 12px; padding: 5px 9px; justify-self: start; font-size: 11.5px; }
.chat .me { background: var(--kakao); justify-self: end; border-radius: 12px 4px 12px 12px; }
.badge { position: absolute; top: -8px; right: -8px; background: var(--sos); color: #fff; font-weight: 700; font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.doc--pdf { padding: 12px 14px 14px; }
.pdf { display: flex; align-items: center; gap: 8px; }
.pdf__tag { background: #E5252A; color: #fff; font-weight: 800; font-size: 10px; padding: 3px 5px; border-radius: 4px; }
.pdf b { color: var(--ink); font-size: 12.5px; }
.lines { display: grid; gap: 6px; margin-top: 10px; }
.lines i { height: 6px; border-radius: 3px; background: var(--surface-2); }
.lines i:nth-child(2n) { width: 75%; }
.lines .hl { background: #FFE08A; }
.doc--taxi { padding: 14px 16px; }
.doc--taxi small { color: var(--muted); font-size: 11px; }
.doc--taxi b { display: block; font-size: 20px; color: var(--ink); letter-spacing: -.02em; margin: 2px 0; }
.doc--taxi span { font-weight: 600; color: var(--ink); }
.doc--letter { padding: 14px 16px 16px; background: #FDFCF8; }
.doc--letter b { color: var(--ink); font-size: 13px; }
.seal { position: absolute; right: 12px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--sos); color: var(--sos); font-weight: 800; font-size: 11px; display: grid; place-items: center; transform: rotate(-12deg); }
.sign { list-style: none; margin: 0; padding: 6px 12px 10px; }
.sign li { display: flex; align-items: center; justify-content: space-between; padding: 3px 0; box-shadow: 0 1px 0 var(--surface-2); }
.sign svg { width: 60px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.sign em { width: 60px; height: 12px; }
.doc--cert { padding: 14px 16px 16px; text-align: center; background: #FBFAF6; box-shadow: var(--shadow-float), inset 0 0 0 5px #fff, inset 0 0 0 6px #E9E2C9; }
.doc--cert small { color: #9A8650; font-weight: 700; letter-spacing: .02em; }
.doc--cert b { display: block; font-size: 16px; color: var(--ink); margin-top: 2px; }
.doc--cert .lines { justify-items: center; } .doc--cert .lines i { width: 70%; }
.ribbon { position: absolute; right: 14px; bottom: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); }
.doc--sos .rows span { color: var(--muted); font-variant-numeric: tabular-nums; }
.pile__core {
  position: absolute; left: 50%; top: 50%; width: 132px; height: 132px; border-radius: 36px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-stage);
  transform: translate(-50%, -50%) scale(calc(.4 + var(--p, 0) * .6)); opacity: calc(var(--p, 0) * 1.4 - .2);
}
.pile__core img { width: 70px; }
.story__end { text-align: center; font-size: clamp(26px, 3.6vw, 44px); font-weight: 700; color: var(--ink); letter-spacing: -.03em; opacity: calc(var(--p, 0) * 2 - 1); transform: translateY(calc((1 - var(--p, 0)) * 30px)); }
@media (max-width: 760px) {
  .doc { width: 170px; font-size: 11px; }
  .doc:nth-of-type(n+9) { display: none; }
}

/* ---------- map ---------- */
.map { padding: clamp(96px, 12vw, 160px) var(--gutter) clamp(64px, 8vw, 96px); }
.map__list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.map__list li { display: grid; grid-template-columns: minmax(0, 0.8fr) 28px minmax(0, 1.2fr); align-items: center; gap: 12px; background: var(--canvas); border-radius: var(--r-block); padding: 18px 22px; }
.map__list li::before { content: "→"; grid-column: 2; grid-row: 1; color: var(--primary); font-weight: 700; text-align: center; }
.map__list s { grid-column: 1; grid-row: 1; color: var(--muted); text-decoration-color: rgba(112,115,124,.45); font-size: 15px; }
.map__list b { grid-column: 3; grid-row: 1; color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.45; }
@media (max-width: 860px) { .map__list { grid-template-columns: 1fr; } }

/* ---------- journey ---------- */
.journey { padding: clamp(64px, 8vw, 120px) 0; background: linear-gradient(180deg, #fff, #F4F8FF); }
.journey__body { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(32px, 6vw, 96px); margin-top: 56px; }
.journey__steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 32px 0 32px 28px; position: relative; min-height: 46vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .4s; }
.step::before { content: ""; position: absolute; left: 0; top: 32px; bottom: 32px; width: 4px; border-radius: 4px; background: var(--surface-2); }
.step.is-on { opacity: 1; }
.step.is-on::before { background: var(--primary); }
.step h3 { font-size: clamp(24px, 2.6vw, 32px); }
.step p { margin-top: 12px; font-size: 18px; max-width: 560px; }
.step__staff { background: #fff; border-radius: 14px; padding: 12px 16px; font-size: 16px !important; color: var(--text); }
.step__staff b { color: var(--primary); margin-right: 6px; }
.journey__device { position: relative; }
.scr { position: absolute; inset: 44px 14px 70px; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.scr.is-on { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .journey__body { grid-template-columns: 1fr; }
  .journey__device { display: none; }
  .step { min-height: 0; opacity: 1; }
  .step::before { background: var(--primary); }
}

/* ---------- participant bento ---------- */
.part { padding: clamp(96px, 12vw, 160px) var(--gutter); }
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: var(--canvas); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile p { color: var(--muted); font-size: 16px; }
.tile--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
.tile--blue { background: var(--primary); }
.tile--blue h3, .tile--blue .tile__text p { color: #fff; }
.tile--blue .tile__text p { opacity: .88; }
.bubbles { display: grid; gap: 8px; }
.bubbles .b { padding: 10px 14px; border-radius: 16px; font-size: 15px; font-weight: 500; max-width: 85%; opacity: 1; }
.bubbles .b--in { background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.bubbles .b--tr { background: #E3EEFF; color: #0047B3; font-size: 14px; margin-top: -4px; }
.bubbles .b--out { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bubbles .b--tr2 { justify-self: end; background: #E3EEFF; color: #0047B3; font-size: 14px; margin-top: -4px; }
.bubbles .b--tr::before, .bubbles .b--tr2::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m5 8 6 6%27/%3E%3Cpath d=%27m4 14 6-6 2-3%27/%3E%3Cpath d=%27M2 5h12%27/%3E%3Cpath d=%27M7 2h1%27/%3E%3Cpath d=%27m22 22-5-10-5 10%27/%3E%3Cpath d=%27M14 18h6%27/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27black%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27m5 8 6 6%27/%3E%3Cpath d=%27m4 14 6-6 2-3%27/%3E%3Cpath d=%27M2 5h12%27/%3E%3Cpath d=%27M7 2h1%27/%3E%3Cpath d=%27m22 22-5-10-5 10%27/%3E%3Cpath d=%27M14 18h6%27/%3E%3C/svg%3E") center/contain no-repeat; }
.tile--sos { background: var(--sos-soft); }
.tile--sos h3 { color: var(--sos); }
.tile--sos p { color: #7A2323; }
.sosflow { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 6px; }
.sosflow span { background: #fff; color: var(--sos); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 999px; }
.sosflow span:first-child { background: var(--sos); color: #fff; }
.sosflow i { flex: 1; height: 2px; background: rgba(217,43,43,.3); }
.tile--ink { background: var(--ink); }
.tile--ink h3 { color: #fff; }
.tile--ink p { color: #B9BBC2; }
.qr { margin-top: auto; width: 88px; height: 88px; border-radius: 12px; background: #fff; padding: 8px; }
.qr svg { width: 100%; height: 100%; display: block; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .tile--wide { grid-column: auto; grid-template-columns: 1fr; } }

/* ---------- console ---------- */
.cons { padding: clamp(64px, 8vw, 120px) 0; background: var(--canvas); }
.cons__grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.cons__grid { gap: 12px; }
.cons__item { all: unset; box-sizing: border-box; cursor: pointer; display: block; padding: 22px 24px; border-radius: 20px; background: transparent; transition: background-color .2s, box-shadow .2s, transform .2s var(--ease); }
.cons__item:hover { background: #fff; }
.cons__item:active { transform: scale(.98); }
.cons__item:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.cons__item.is-on { background: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.cons__item h3 { display: flex; align-items: center; gap: 10px; }
.cons__item h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--primary); }
.cons__item p { margin-top: 8px; color: var(--muted); font-size: 16px; }
.cons__shot { margin-top: 48px; }
.cons__grid { margin-top: 20px !important; }
.board { background: #fff; border-radius: 24px; padding: 18px; font-size: 14px; overflow-x: auto; }
.board__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.board__head b { font-size: 20px; color: var(--ink); }
.seg { display: inline-flex; background: var(--canvas); border-radius: 999px; padding: 3px; }
.seg em { font-style: normal; font-size: 13px; padding: 6px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; }
.seg em.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(23,23,25,.08); }
.board__head .date { margin-left: auto; color: var(--muted); font-size: 14px; }
.board__row { display: grid; grid-template-columns: 70px 90px 1fr 60px 110px 1.2fr; gap: 12px; padding: 14px 12px; border-radius: 12px; align-items: center; min-width: 640px; }
.board__row--h { color: var(--muted); font-size: 13px; padding-top: 4px; padding-bottom: 4px; }
.board__row:not(.board__row--h) span:nth-child(2) { font-weight: 700; color: var(--ink); }
.board__row--warn { background: #FFFBEC; }
.st { font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); justify-self: start; }
.st--ok { background: var(--success-soft); color: var(--success); }
.st--warn { background: #FFE08A; color: var(--warn-ink); }
@media (max-width: 860px) { .cons__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cons__grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { background: var(--canvas); color: var(--text); padding: clamp(80px, 10vw, 140px) 0; }
.contact__inner { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { color: var(--ink); }
.contact__copy p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 460px; }
.contact__mail a, .contact__part a { color: var(--primary); font-weight: 700; }
.form { background: #fff; color: var(--text); border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); display: grid; gap: 16px; box-shadow: var(--shadow-stage); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label > span, .form legend { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input:not([type=radio]), .form textarea {
  width: 100%; border: 0; background: var(--canvas); border-radius: 14px; padding: 13px 14px;
  font: 400 16px/1.4 var(--font); color: var(--ink); transition: box-shadow .15s, background-color .15s;
}
.form input:focus, .form textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--primary); }
.form textarea { resize: vertical; }
.form input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--sos); }
.form__chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__chips legend { width: 100%; }
.form__chips label { cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; pointer-events: none; }
.form__chips label span { display: inline-block; margin: 0; padding: 9px 16px; border-radius: 999px; background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--text); transition: background-color .15s, color .15s; }
.form__chips input:checked + span { background: var(--primary); color: #fff; }
.form__chips input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.form__status { font-size: 15px; min-height: 1.4em; }
.form__status.ok { color: var(--success); font-weight: 600; }
.form__status.err { color: var(--sos); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 860px) { .contact__inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #B9BBC2; padding: 56px 0 40px; font-size: 14px; }
.foot__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__brand { display: flex; align-items: center; gap: 12px; }
.foot__brand img { height: 28px; width: auto; }
.foot__brand span { font-size: 14px; color: #B9BBC2; }
.foot__by { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #8A8D95; }
.foot__by img { height: 18px; width: auto; opacity: .85; }
.foot__info { margin-top: 32px; display: grid; gap: 4px; line-height: 1.7; }
.foot__info b { color: #fff; }
.foot__info a { color: #fff; }
.foot__copy { margin-top: 28px; color: #6E717A; font-size: 13px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* language: hide nothing, text is swapped by JS */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .stage__tilt { transform: none !important; }
  .story { height: auto; }
  .story__sticky { position: relative; height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .story__end, .story__head { opacity: 1 !important; transform: none !important; }
  .pile__core { display: none; }
}

@media (max-width: 640px) {
  .board__row { grid-template-columns: 56px 72px 1fr 92px; min-width: 0; gap: 8px; padding: 12px 8px; font-size: 14px; }
  .board__row span:nth-child(4), .board__row span:nth-child(6) { display: none; }
  .board__head .date { margin-left: 0; width: 100%; }
}

/* English headings run longer than Korean; keep them to two lines on phones. */
@media (max-width: 520px) { :root[data-lang="en"] h2 { font-size: 25px; letter-spacing: -.02em; } }
