/* Brand fonts (UMEUS manual): iM혜민 for all text, 온글잎 미니니 for hand-drawn accents,
   Cafe24 Decobox for English labels. Self-hosted subsets (KS X 1001 Hangul + Latin). */
@font-face { font-family: "iMHyemin"; src: url("../fonts/iMHyemin-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "iMHyemin"; src: url("../fonts/iMHyemin-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "OwnglyphMinini"; src: url("../fonts/Ownglyph-minini.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Cafe24Decobox"; src: url("../fonts/Cafe24Decobox.woff") format("woff"); font-weight: 400 700; font-display: swap; }

/* Layout: one centered 72rem column, generous section rhythm (py 4–6rem), white ground,
   one brand accent used only for buttons, links and emphasis. Single light look by choice. */
:root {
  --accent: #F07E3C;
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 9%, #ffffff);
  --accent-line: color-mix(in srgb, var(--accent) 28%, #ffffff);
  --bg: #ffffff;
  --surface: #faf8f6;
  --ink: #1a1a1a;
  --muted: #3f444c;
  --line: #ebe6e2;
  --hero-bg: #FFF8E5;

  --f-head: "UmeusHead", "iMHyemin", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --f-body: "iMHyemin", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --f-hand: "OwnglyphMinini", "iMHyemin", "Apple SD Gothic Neo", sans-serif;
  --f-en: "Cafe24Decobox", "iMHyemin", "Apple SD Gothic Neo", sans-serif;

  --max: 72rem;           /* max-w-6xl */
  --sec: clamp(4rem, 8vw, 6rem); /* py-16 ~ py-24 */
  --r: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.7;
  word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* type */
.eyebrow { margin: 0 0 14px; font-family: var(--f-en); font-size: 14px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.h-display, .h-sec, .h-sub { font-family: var(--f-head); font-weight: 700; letter-spacing: -0.025em; line-height: 1.18; margin: 0; text-wrap: balance; white-space: pre-line; }
.h-display { font-size: clamp(2.25rem, 6vw, 3.75rem); }  /* text-4xl ~ text-6xl */
.h-sec { font-size: clamp(2rem, 4.4vw, 3rem); }
.h-sub { font-size: 1.375rem; letter-spacing: -0.015em; }
.lead { color: var(--muted); font-size: 1.0625rem; margin: 18px 0 0; }
.note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; cursor: pointer; border: 1.5px solid transparent; }
.btn:active { transform: scale(.97); }
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.btn-ghost { border-color: var(--line); background: var(--bg); }
.btn-ghost:hover { border-color: var(--ink); }

/* header */
.hd { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s ease; padding-top: env(safe-area-inset-top, 0px); }
.hd.scrolled { border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 34px; width: auto; }
.logo-text { font-family: var(--f-head); font-weight: 700; font-size: 1.375rem; letter-spacing: -0.03em; }
.nav { display: none; gap: 4px; align-items: center; }
.nav a { padding: 8px 14px; border-radius: 999px; font-family: var(--f-en); font-size: 15.5px; font-weight: 400; letter-spacing: .01em; color: var(--muted); transition: color .2s ease, background-color .2s ease; }
.nav a:hover, .nav a.on { color: var(--ink); background: var(--surface); }
.nav .nav-cta { color: var(--accent); }
.nav .nav-cta:hover { background: var(--accent-soft); color: var(--accent); }
.burger { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { display: grid; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
.mnav a { font-family: var(--f-en); padding: 14px 4px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mnav a:last-child { border-bottom: 0; color: var(--accent); }
@media (min-width: 860px) { .nav { display: flex; } .burger, .mnav { display: none !important; } }

/* hero */
.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; background: var(--hero-bg); }
.hero-in { display: grid; gap: 40px; align-items: center; padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-copy { min-width: 0; }
.hero-copy .row { margin-top: 30px; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1fr 1fr; gap: 40px; } .stage { width: 106%; } }

.stage { position: relative; aspect-ratio: 1 / 1.06; max-width: none; }
@media (max-width: 899px) { .stage { width: 100%; } }
.pal { position: absolute; width: 66%; transition: transform .35s cubic-bezier(.2,.7,.3,1); will-change: transform; }
.pal-l { left: 0; bottom: 4%; }
.pal-r { right: 0; top: 0; width: 58%; }
.pal-x { left: 0; top: 4%; width: 34%; }
@media (min-width: 900px) {
  .hero-in { align-items: start; }
  .hero-copy { padding-top: clamp(1rem, 4vw, 3rem); }
  .pal-x { left: -60%; top: auto; bottom: 0; width: 44%; }
  .stage .stage-hint { right: auto; bottom: auto; left: 8%; top: 25%; transform: rotate(-6deg); }
}
@media (max-width: 899px) { .pal-l .bubble { top: auto; bottom: 6%; left: -2%; } .stage .stage-hint { bottom: 0; } }
.pal-x .squish img { transform: scale(1.1); }
.pal-x .squish { overflow: hidden; }
.squish { display: block; width: 100%; aspect-ratio: 1; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 50%; position: relative; }
.squish img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.squish .ph, .shop-img .ph, .media .ph, .card-img .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: color-mix(in srgb, var(--accent) 70%, var(--ink)); border: 1.5px dashed var(--accent-line); background: var(--accent-soft); border-radius: inherit; }
.squish.go { animation: squish .55s cubic-bezier(.3,.7,.3,1.4); }
@keyframes squish { 0% { transform: scale(1,1); } 25% { transform: scale(1.12,.84); } 55% { transform: scale(.94,1.08); } 80% { transform: scale(1.03,.98); } 100% { transform: scale(1,1); } }
.bubble { position: absolute; z-index: 2; left: 6%; top: 2%; font-family: var(--f-hand); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.5rem); line-height: 1.2; background: var(--bg); border: 1.5px solid var(--ink); border-radius: 18px; padding: 6px 14px; white-space: nowrap; transform: rotate(-4deg); transition: transform .3s ease; }
.bubble::after { content: ""; position: absolute; left: 18px; bottom: -8px; width: 12px; height: 12px; background: var(--bg); border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); }
.bubble-r { left: auto; right: 62%; top: 8%; transform: rotate(5deg); }
.bubble-r::after { left: auto; right: 18px; }
.bubble:empty { display: none; }
.pal:hover .bubble { transform: rotate(0) translateY(-4px); }
.stage-hint { position: absolute; right: 10%; bottom: 6%; margin: 0; pointer-events: none; z-index: 3; font-family: var(--f-hand); font-weight: 700; font-size: 1.05rem; color: var(--muted); }

/* sections */
.sec { padding-block: var(--sec); }
.sec-tint { background: var(--surface); }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

/* business */
.biz { display: grid; border-top: 1px solid var(--ink); }
.biz-item { display: grid; gap: 6px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background-color .25s ease; }
.biz-item h3 { font-family: var(--f-head); font-size: 1.5rem; letter-spacing: -0.025em; margin: 0; display: flex; align-items: baseline; gap: 12px; }
.biz-item h3 small { font-family: var(--f-en); font-size: 12.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.biz-item p { margin: 0; color: var(--muted); max-width: 34em; }
@media (min-width: 760px) { .biz-item { grid-template-columns: 18rem 1fr; align-items: baseline; padding: 30px 0; } .biz-item:hover { background: linear-gradient(90deg, var(--accent-soft), transparent 70%); } }

/* shared media + links */
.media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 500; font-size: 14.5px; transition: border-color .2s ease, color .2s ease; }
a.link-btn:hover { border-color: var(--accent); color: var(--accent); }
a.link-btn::after { content: "↗"; font-size: 12px; }
.link-btn.off { border-style: dashed; color: var(--muted); cursor: default; }
.h-mid { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }

/* tabs (records + collab filter) */
.tabs { display: flex; gap: 6px; flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px; min-height: 40px; padding: 0 16px; font-size: 14.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s ease; white-space: nowrap; }
.tab:hover { color: var(--ink); border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* about: stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin: 0; }
.stat { background: var(--bg); padding: 24px 16px; min-width: 0; text-align: center; }
.stat dt { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat dd { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 559px) { .stats { grid-template-columns: 1fr 1fr; } .stat { padding: 18px 12px; } .stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* about: platform records */
.rec { margin-top: clamp(3.5rem, 7vw, 5rem); display: grid; gap: 18px; }
.rec-panel { display: grid; gap: 28px; background: var(--surface); border-radius: 24px; padding: clamp(20px, 4vw, 36px); min-width: 0; }
.rec-panel.fade { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .rec-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: start; } }
.rec-copy { min-width: 0; display: grid; gap: 14px; align-content: start; justify-items: start; }
.rec-tab { margin: 0; font-size: 13px; font-weight: 700; color: var(--accent); }
.rec-title { margin: 0; font-family: var(--f-head); font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.2; }
.rec-sub { margin: -6px 0 0; color: var(--muted); }
.rec-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 4px 0; width: 100%; }
.rec-stats dt { font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.rec-stats dd { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.rec-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; }
.rec-rows li { display: flex; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.rec-rows li:last-child { border-bottom: 1px solid var(--line); }
.rec-rows:not(.dated) li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: .7em; }
.rec-y { flex: none; width: 3.2em; font-weight: 700; font-variant-numeric: tabular-nums; }
.rec-media { min-width: 0; }
.rec-imgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rec-imgs.n2 { grid-template-columns: .8fr 1.2fr; align-items: center; }
.rec-img { padding: 0; border: 0; background: var(--bg); border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.rec-imgs.n2 .rec-img { aspect-ratio: auto; }
.rec-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rec-img:hover img { transform: scale(1.04); }

/* brand: IP cards */
.ips { display: grid; gap: 20px; }
.ip { background: var(--bg); border-radius: 28px; padding: clamp(18px, 3vw, 28px); display: grid; gap: clamp(20px, 4vw, 44px); align-items: center; min-width: 0; }
@media (min-width: 860px) { .ips:not(.multi) .ip { grid-template-columns: 1.1fr 1fr; } .ips.multi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ip .media { aspect-ratio: 16 / 10; border-radius: 20px; background: var(--accent-soft); cursor: pointer; }
.ip .media.go img { animation: squish .55s cubic-bezier(.3,.7,.3,1.4); }
.ip:hover .media img { transform: scale(1.03); }
.ip-copy { min-width: 0; display: grid; gap: 12px; justify-items: start; }
.ip-tag { margin: 0; font-family: var(--f-hand); font-weight: 700; font-size: 1.3rem; color: var(--accent); }
.ip-name { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.6rem); letter-spacing: -0.035em; line-height: 1.15; }
.ip-desc { margin: 0; color: var(--muted); max-width: 32em; }
.ip-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* business: collaborations */
.collab { margin-top: clamp(4rem, 8vw, 6rem); display: grid; gap: 22px; }
.collab-head { }
.collab-head .lead { margin-top: 12px; }
.hl { display: grid; gap: 14px; margin: 8px 0 10px; }
@media (min-width: 760px) { .hl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hl-item { background: var(--accent-soft); border-radius: 20px; padding: 22px; min-width: 0; }
.hl-label { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--accent); }
.hl-value { margin: 6px 0 8px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -0.03em; line-height: 1.2; }
.hl-body { margin: 0; font-size: 14px; color: var(--muted); }
.cat-desc { margin: -6px 0 4px; color: var(--muted); font-size: 14.5px; min-height: 1.5em; }
.cards { display: grid; gap: 28px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card { min-width: 0; display: grid; gap: 6px; align-content: start; animation: fadeIn .35s ease; }
.card-img { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--surface); cursor: zoom-in; margin-bottom: 8px; }
.card-img[disabled] { cursor: default; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.card-meta { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-brand { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.015em; }
.card-tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.card-what { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.card-res { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--accent); }
.more { justify-self: center; }

/* partners: logo marquee */
.partners-wrap { margin-top: clamp(4rem, 8vw, 5.5rem); }
.partners-title { margin: 0 auto 14px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.partners { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners:hover .partners-track { animation-play-state: paused; }
.partners-track { display: flex; width: max-content; gap: 64px; align-items: center; animation: slide 50s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
.pl { display: inline-flex; align-items: center; height: 48px; flex: none; font-weight: 700; font-size: 1.125rem; color: var(--muted); white-space: nowrap; }
.pl img { height: 100%; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s ease, opacity .25s ease; }
.pl img:hover { filter: none; opacity: 1; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(20, 16, 14, .82); display: grid; place-items: center; align-content: center; gap: 12px; padding: calc(56px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lb img { max-width: min(100%, 980px); max-height: 78vh; border-radius: 14px; background: #fff; }
.lb-cap { margin: 0; color: #fff; font-size: 14px; text-align: center; max-width: 40em; }
.lb-x { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #1a1a1a; font-size: 16px; cursor: pointer; }

/* shop */
.shop { position: relative; transition: transform .3s ease; }
.shop:has(#shopBtn:not([hidden])):hover { transform: translateY(-3px); }
#shopBtn::after { content: ""; position: absolute; inset: 0; border-radius: 28px; }
.shop { display: grid; gap: 32px; align-items: center; background: var(--accent-soft); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.shop-copy { min-width: 0; }
.shop-copy .btn { margin-top: 26px; }
.shop-img { position: relative; aspect-ratio: 5 / 4; border-radius: 20px; overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) { .shop { grid-template-columns: 1fr 1.1fr; gap: 48px; } }

/* contact */
.contact { display: grid; gap: 40px; }
.contact-copy { min-width: 0; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.15fr; gap: 64px; } }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.mail-label { font-size: 13px; color: var(--muted); }
.mail-addr { font-weight: 700; user-select: all; word-break: break-all; }
.copy { border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.form { display: grid; gap: 16px; background: var(--bg); border-radius: 24px; padding: clamp(20px, 4vw, 32px); min-width: 0; }
.f2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .f2 { grid-template-columns: 1fr 1fr; } }
.fld { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.fld > span, .fld legend { font-size: 13px; font-weight: 500; color: var(--muted); padding: 0; margin-bottom: 6px; }
.fld input, .fld textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); transition: border-color .2s ease; }
.fld textarea { resize: vertical; min-height: 130px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--accent); }
.fld .bad { border-color: #c2410c; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; cursor: pointer; transition: all .2s ease; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.form-msg { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-msg.ok { color: var(--ink); font-weight: 500; }
.form-msg.err { color: #c2410c; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* footer: company block (light, layout only) */
.ft { border-top: 1px solid var(--line); padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); }
.ft-in { display: grid; gap: 16px; }
.ft-title { margin: 0; color: var(--ink); font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.1; }
.ft-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ft-links a { color: var(--ink); font-size: 14.5px; font-weight: 700; transition: color .2s ease; }
.ft-links a:hover { color: var(--accent); }
.ft-info { margin: 4px 0 0; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.ft-info div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.ft-info dt::after { content: " :"; }
.ft-info dd { margin: 0; }
.ft-copy { margin: 16px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.ft-copy:empty { display: none; }

/* reveal (content stays visible without JS) */
.pre { opacity: 0; transform: translateY(18px); }
.rev { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }

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


/* English titles and hand-lettered hero option */
.t-en { font-family: var(--f-en); letter-spacing: 0; }
.h-display.t-hand { font-family: var(--f-hand); font-weight: 700; letter-spacing: 0; line-height: 1.22; }
.bubble, .stage-hint, .ip-tag { letter-spacing: 0; }
