:root {
  --paper: #f3efe7;
  --paper-2: #e8e2d6;
  --ivory: #f7f4ee;
  --white: #fffcf8;
  --ink: #1c1b19;
  --ink-soft: #3c3934;
  --muted: #6e685f;
  --line: rgba(28, 27, 25, 0.12);
  --line-strong: rgba(28, 27, 25, 0.22);
  --blue: #128fc8;
  --blue-deep: #0b6e9e;
  --blue-mist: #e5f3fa;
  --footer: #161513;
  --footer-text: #d8d2c8;
  --danger: #8d3a32;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --en: "Manrope", "Pretendard", sans-serif;
  --header: 76px;
  --wrap: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--blue); color: white; }

.skip {
  position: absolute; left: 16px; top: -40px; background: var(--ink); color: white;
  padding: 8px 12px; z-index: 80;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.wrap { width: min(var(--wrap), calc(100% - 80px)); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.display {
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.18;
  font-size: clamp(36px, 4.6vw, 64px);
}
.lede { font-size: 18px; line-height: 1.75; color: var(--ink-soft); }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header);
  color: var(--ink); background: rgba(243, 239, 231, 0.92);
  backdrop-filter: blur(16px); border-bottom: 1px solid transparent;
}
body:not(.is-home) .site-header { border-bottom-color: var(--line); }
body:not(.is-home) .logo { color: var(--blue); }
body.is-home .site-header { color: white; background: linear-gradient(180deg, rgba(14,16,18,0.35), rgba(14,16,18,0)); border-bottom-color: transparent; backdrop-filter: none; }
body.is-home .site-header.is-solid {
  color: var(--ink); background: rgba(243, 239, 231, 0.94);
  backdrop-filter: blur(16px); border-bottom-color: var(--line);
}
body.is-home .site-header.is-solid .logo { color: var(--blue); }
body.nav-open .site-header { color: var(--ink); background: var(--paper); border-bottom-color: var(--line); backdrop-filter: none; }
body.nav-open .logo { color: var(--blue); }
.header-inner, .logo, .nav, .util { display: flex; align-items: center; }
.header-inner { height: 100%; width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; gap: 28px; }
.logo { gap: 10px; color: inherit; flex: 0 0 auto; }
.logo-mark { width: 26px; height: 34px; display: block; }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-word { font-family: var(--en); font-weight: 700; letter-spacing: 0.16em; font-size: 18px; line-height: 1; }
.nav { gap: 26px; margin-left: auto; }
.nav a { font-size: 14.5px; letter-spacing: -0.02em; opacity: 0.86; }
.nav a[aria-current="page"] { opacity: 1; }
.nav a:hover { opacity: 1; }
.util { gap: 18px; margin-left: 18px; }
.util-link { font-size: 14px; opacity: 0.86; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border: 1px solid transparent;
  font-size: 14px; letter-spacing: -0.01em; background: transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn-header { min-height: 38px; padding: 0 14px; border-color: currentColor; font-size: 13px; }
body.is-home .site-header.is-solid .btn-header,
body:not(.is-home) .btn-header { background: var(--blue); border-color: var(--blue); color: white; }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #000; }
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-line { border-color: var(--line-strong); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn-line-light { border-color: rgba(255,255,255,.7); color: white; }
.btn-line-light:hover { background: white; color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: progress; }
.nav-toggle { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; position: relative; }
.nav-toggle i { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 6px auto; transition: transform .25s ease; }
body.nav-open .nav-toggle i { position: absolute; left: 12px; top: 20px; margin: 0; }
body.nav-open .nav-toggle i:nth-of-type(1) { transform: rotate(45deg); }
body.nav-open .nav-toggle i:nth-of-type(2) { transform: rotate(-45deg); }

.nav-panel[hidden] { display: none; }
.nav-panel {
  position: fixed; inset: 0; z-index: 39; background: var(--paper);
  padding: calc(var(--header) + 12px) 28px 40px;
}
.nav-panel-inner { display: flex; flex-direction: column; min-height: 100%; }
.nav-panel a { font-size: clamp(28px, 6vw, 40px); letter-spacing: -0.04em; line-height: 1.25; padding: 6px 0; }
.nav-panel-util { margin-top: auto; display: flex; gap: 18px; padding-top: 28px; }
.nav-panel-util a { font-size: clamp(14px, 3vw, 20px); line-height: 1.4; padding: 0; }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: white; }
.hero-media, .hero-media img, .page-hero-media, .page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,16,.28) 0%, rgba(10,14,16,.05) 36%, rgba(10,14,16,.18) 58%, rgba(10,14,16,.72) 100%);
}
.hero-content { position: relative; z-index: 1; width: min(var(--wrap), calc(100% - 80px)); margin: 0 auto 72px; }
.hero-en { font-family: var(--serif); font-style: italic; font-size: clamp(32px, 4vw, 54px); line-height: 1; margin-bottom: 14px; }
.hero h1 { font-size: clamp(46px, 6.2vw, 92px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.08; }
.hero-lead { max-width: 460px; margin-top: 22px; color: rgba(255,255,255,.88); font-size: 17px; }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; right: 36px; bottom: 36px; z-index: 1;
  font-family: var(--en); font-size: 11px; letter-spacing: 0.22em; writing-mode: vertical-rl;
}
.hero-index { font-family: var(--en); letter-spacing: 0.16em; font-size: 12px; opacity: .8; margin-bottom: 16px; }

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 42px; }
.section-head h2 { margin-top: 8px; }
.section-head p { max-width: 420px; color: var(--muted); }

.manifesto { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
.manifesto .big-mark { width: 92px; color: var(--blue); margin-bottom: 22px; }
.manifesto .big-mark svg { width: 100%; height: auto; }
.kicker { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3vw, 40px); color: var(--blue); line-height: 1; margin-bottom: 12px; }

.catalog-group + .catalog-group { margin-top: 72px; }
.catalog .lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.catalog .pcard-body h3 { font-size: 20px; }
.catalog-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 320px; padding: 48px 16px;
}
.catalog-empty-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #b0aaa2; }
.catalog-empty-logo .logo-mark { width: 52px; height: 68px; }
.catalog-empty-logo .logo-word { font-size: 15px; letter-spacing: 0.22em; }
.catalog-empty p { margin-top: 18px; color: var(--muted); font-size: 15px; }
.lineup { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px; }
.also { --also-gap: 22px; }
.also-nav { display: flex; gap: 8px; }
.also-nav[hidden] { display: none; }
.also-btn {
  min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); background: transparent; font-size: 13px;
}
.also-btn:hover { border-color: var(--ink); }
.also-btn[disabled] { opacity: .35; cursor: default; }
.also-viewport { container-type: inline-size; overflow: hidden; }
.also-track { display: flex; gap: var(--also-gap); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.also-track .pcard { flex: 0 0 calc((100cqi - 3 * var(--also-gap)) / 4); width: calc((100cqi - 3 * var(--also-gap)) / 4); }
.also .pcard-visual { aspect-ratio: 1 / 1; }
.also .pcard-body h3 { font-size: 18px; }
@container (max-width: 720px) {
  .also-track .pcard { flex-basis: calc((100cqi - var(--also-gap)) / 2); width: calc((100cqi - var(--also-gap)) / 2); }
}
.pcard { display: flex; flex-direction: column; min-width: 0; }
.pcard[hidden] { display: none; }
.pcard-visual {
  position: relative; aspect-ratio: 4/5; background: #efeae1; overflow: hidden;
}
.pcard-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pcard-visual.contain img { object-fit: contain; padding: 28px; }
.pcard:hover .pcard-visual img { transform: scale(1.045); }
.pcard-visual.contain:hover img { transform: scale(1.02); }
.pcard-origin {
  position: absolute; left: 16px; top: 16px; font-family: var(--en);
  font-size: 11px; letter-spacing: 0.16em; background: rgba(255,252,248,.9); padding: 6px 8px;
}
.pcard-body { padding: 18px 2px 0; }
.pcard-body h3 { font-size: 26px; font-weight: 550; letter-spacing: -0.04em; }
.pcard-en { margin-top: 4px; color: var(--blue); font-family: var(--en); font-size: 13px; letter-spacing: 0.04em; }
.pcard-notes { margin-top: 10px; color: var(--muted); }
.pcard-more { display: inline-flex; margin-top: 14px; font-size: 14px; border-bottom: 1px solid var(--ink); line-height: 1.4; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle { background: var(--white); padding: 28px 26px 32px; border: 1px solid var(--line); min-height: 280px; display: flex; flex-direction: column; }
.principle .no { font-family: var(--en); color: var(--blue); letter-spacing: 0.14em; font-size: 13px; }
.principle h3 { margin: 18px 0 8px; font-size: 26px; font-weight: 550; letter-spacing: -0.04em; }
.principle .en { font-family: var(--en); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.principle p { margin-top: 16px; color: var(--ink-soft); }

.quote-band { position: relative; min-height: 68vh; display: grid; place-items: center; color: white; text-align: center; overflow: hidden; }
.quote-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-band .shade { position: absolute; inset: 0; background: rgba(14, 22, 28, .42); }
.quote-band blockquote { position: relative; z-index: 1; font-size: clamp(32px, 4.5vw, 60px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.25; max-width: 16ch; }
.quote-band span { position: relative; z-index: 1; display: block; margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 22px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #102833; color: white; }
.brand-gallery { padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.brand-gallery .section-head { margin-bottom: 28px; }
.film { position: relative; overflow: hidden; }
.film-btn {
  position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px;
  display: grid; place-items: center; border: 0; background: rgba(255, 252, 248, .92); color: var(--ink);
}
.film-btn svg { width: 18px; height: 18px; }
.film-btn.prev { left: 16px; }
.film-btn.next { right: 16px; }
.film-btn:hover { background: var(--white); }
.film-track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.film-track figure { margin: 0; flex: 0 0 auto; }
.film-track img { width: clamp(280px, 42vw, 640px); height: clamp(210px, 32vw, 460px); object-fit: cover; background: var(--paper-2); }
.stat { padding: 42px 28px 36px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--en); font-weight: 600; font-size: clamp(32px, 3vw, 48px); letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: rgba(255,255,255,.78); font-size: 14px; }
.stat small { display: block; margin-top: 8px; color: rgba(255,255,255,.48); font-size: 12px; }
.stat cite { display: block; margin-top: 10px; color: rgba(255,255,255,.4); font-size: 11px; font-style: normal; line-height: 1.45; }

.origin-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.origin-grid .ocard:first-child { grid-row: span 2; min-height: 560px; }
.ocard { position: relative; min-height: 270px; overflow: hidden; color: white; display: flex; align-items: flex-end; }
.ocard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ocard:hover img { transform: scale(1.04); }
.ocard .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.62)); }
.ocard div { position: relative; padding: 22px; }
.ocard strong { display: block; font-size: 28px; font-weight: 550; letter-spacing: -0.04em; }
.ocard em { font-style: normal; font-family: var(--en); font-size: 12px; letter-spacing: 0.14em; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ncard { display: flex; flex-direction: column; min-width: 0; }
.ncard-visual { aspect-ratio: 3/2; overflow: hidden; background: var(--paper-2); }
.ncard-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ncard:hover img { transform: scale(1.04); }
.ncard-body { padding-top: 14px; }
.ncard-meta { display: flex; gap: 12px; color: var(--muted); font-size: 13px; }
.ncard-meta span { color: var(--blue); }
.ncard h3 { margin-top: 6px; font-size: 22px; font-weight: 550; letter-spacing: -0.035em; line-height: 1.35; }
.ncard p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.cta-band { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.cta-mark { width: 72px; color: var(--blue); }
.cta-mark svg { width: 100%; height: auto; }

.page-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; color: white; }
.page-hero .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,16,.2), rgba(10,14,16,.62)); }
.page-hero .wrap { position: relative; z-index: 1; padding-bottom: 48px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -0.048em; line-height: 1.12; margin-top: 8px; }
.page-hero h1.brand-title { font-size: clamp(32px, 4.2vw, 56px); max-width: 18em; }
.brand-intro { align-items: center; }
.brand-mark { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--blue); text-align: center; }
.brand-mark svg { width: min(168px, 42vw); height: auto; }
.brand-mark strong { margin-top: 18px; font-family: var(--en); letter-spacing: 0.2em; font-size: 22px; font-weight: 700; }
.brand-mark span { margin-top: 8px; font-family: var(--en); letter-spacing: 0.16em; font-size: 11px; text-transform: uppercase; color: var(--muted); }
.partner-band { background: var(--blue-mist); }
.partner-inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
.partner-lockup { display: flex; align-items: center; justify-content: center; }
.partner-lockup img { width: 196px; height: auto; display: block; }
.partner-band h2 { font-size: clamp(26px, 3vw, 40px); margin-top: 8px; }
.partner-band p { margin-top: 14px; color: var(--ink-soft); max-width: 68ch; }
.crumb { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.crumb a:hover { color: var(--ink); }
.page-hero .crumb { color: rgba(255,255,255,.78); }
.page-hero .crumb a:hover { color: white; }

.subnav {
  position: sticky; top: var(--header); z-index: 25;
  background: rgba(243,239,231,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; }
.subnav a { flex: 0 0 auto; height: 52px; display: flex; align-items: center; padding: 0 12px; font-size: 14px; color: var(--muted); }
.subnav a:hover { color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-start { align-items: start; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.prose p + p { margin-top: 16px; }
.prose h3 { margin: 28px 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.fact-list { margin-top: 28px; border-top: 1px solid var(--line); }
.fact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.fact-list dt { color: var(--muted); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filters button, .filters a, .chip {
  border: 1px solid var(--line-strong); background: transparent; min-height: 36px; padding: 0 12px; font-size: 13px;
}
.filters .is-on, .chip { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.note-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cup-board { margin-top: 26px; }
.cup-board-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.cup-board-grid:has(article:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cup-board article { background: var(--white); border: 1px solid var(--line); padding: 16px 14px 18px; }
.cup-board h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.03em; }
.cup-board p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.note-row span, .chip-lite {
  border: 1px solid var(--line-strong); padding: 6px 10px; font-size: 13px; border-radius: 999px;
}

.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header) + 16px); align-self: start; z-index: 2; }
.stage { background: #efeae1; display: grid; place-items: center; }
.stage img { width: 100%; height: calc(100vh - var(--header) - 130px); max-height: 760px; object-fit: cover; }
.stage.contain img { object-fit: contain; height: auto; max-height: calc(100vh - var(--header) - 130px); padding: 36px; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 74px; height: 74px; padding: 0; border: 1px solid transparent; background: #efeae1; }
.thumbs button.is-on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec { margin-top: 22px; }
.spec div { display: grid; grid-template-columns: 148px 1fr; gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
.spec dt { color: var(--muted); }
.report {
  background: var(--white); border: 1px solid var(--line);
  padding: 32px 28px 28px; align-self: start;
}
.report h2 { font-size: clamp(28px, 3vw, 40px); margin-top: 8px; }
.report-org { margin-top: 8px; color: var(--muted); }
.report dl { margin-top: 22px; }
.report dl div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.report dt { color: var(--muted); }
.report .result { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--ink); }
.report .result b { display: block; font-family: var(--en); font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.04em; font-weight: 600; line-height: 1.15; }
.report .result span { display: block; margin-top: 8px; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; }

.inquiry-grid { width: min(760px, calc(100% - 80px)); margin: 0 auto; }
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 13px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ivory); border: 1px solid var(--line); min-height: 48px; padding: 10px 12px; font-size: 15px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18,143,200,.12); background: white;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { margin-top: 4px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.alert { padding: 12px 14px; background: var(--ivory); border-left: 3px solid var(--blue); margin-bottom: 14px; font-size: 14px; }
.alert.bad { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 12px; margin: -8px 0 10px; }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.success-panel { padding: 12px 0 8px; }
.success-panel h2 { font-size: 32px; letter-spacing: -0.04em; font-weight: 550; }

.auth-wrap { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 48px 20px 80px; }
.auth-card { width: min(460px, 100%); }
.auth-card h1 { font-size: 40px; letter-spacing: -0.045em; font-weight: 550; margin: 8px 0 8px; }
.auth-card .switch { margin-top: 16px; color: var(--muted); font-size: 14px; }
.auth-card .switch a { border-bottom: 1px solid var(--ink); color: var(--ink); }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar input, .toolbar select { background: white; border: 1px solid var(--line); min-height: 42px; padding: 0 12px; }
.pager { display: flex; gap: 6px; margin-top: 28px; }
.pager a, .pager span { min-width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); font-size: 14px; }
.pager .is-current { background: var(--ink); color: white; border-color: var(--ink); }
.empty-state { padding: 48px 0; color: var(--muted); }

.article { width: min(760px, 100%); }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; margin: 18px 0 28px; }
.article h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.045em; font-weight: 550; line-height: 1.25; }
.article .meta { display: flex; gap: 12px; color: var(--muted); margin-top: 12px; font-size: 14px; }
.article .meta span { color: var(--blue); }
.article .prose { margin-top: 28px; font-size: 17px; }
.neighbors { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }

.mosaic { columns: 3; column-gap: 14px; }
.mosaic figure { break-inside: avoid; margin: 0 0 14px; }
.mosaic img { width: 100%; }
.mosaic figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }

.legal dt { color: var(--muted); }
.company-table { width: 100%; border-collapse: collapse; background: var(--white); }
.company-table th, .company-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.company-table th { width: 180px; color: var(--muted); font-size: 14px; }

.origin-block + .origin-block { margin-top: 28px; }
.tag { display: inline-block; font-size: 12px; letter-spacing: 0.08em; border: 1px solid var(--line-strong); padding: 3px 8px; margin-bottom: 10px; }
.tag-sold { color: var(--danger); border-color: rgba(141, 58, 50, .4); }

.account-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.panel { background: var(--white); border: 1px solid var(--line); padding: 22px; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { color: var(--muted); font-weight: 500; }

.site-footer { background: var(--footer); color: var(--footer-text); padding: 72px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr 1.4fr; gap: 36px; }
.foot-brand p { margin-top: 16px; }
.foot-en { font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.7); }
.site-footer h2 { font-size: 13px; letter-spacing: 0.14em; font-weight: 500; color: white; margin-bottom: 12px; }
.site-footer a, .foot-legal p { display: block; color: var(--footer-text); font-size: 14px; line-height: 1.7; }
.foot-legal span { color: rgba(255,255,255,.55); margin-right: 8px; }
.site-footer a:hover { color: white; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.5); }
.site-footer .logo { color: white; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 60;
  pointer-events: none;
  animation: veil .7s cubic-bezier(.4,0,.2,1) forwards;
}
body.is-leaving { opacity: 0; transition: opacity .32s ease; }
.site-header { animation: header-in .7s cubic-bezier(.16,1,.3,1) both; }
.hero-media img, .page-hero-media img { animation: settle 1.45s cubic-bezier(.16,1,.3,1) both; }
.hero-content > *,
.page-hero .wrap > * {
  animation: rise .95s cubic-bezier(.16,1,.3,1) both;
}
.hero-content > *:nth-child(1), .page-hero .wrap > *:nth-child(1) { animation-delay: .12s; }
.hero-content > *:nth-child(2), .page-hero .wrap > *:nth-child(2) { animation-delay: .22s; }
.hero-content > *:nth-child(3), .page-hero .wrap > *:nth-child(3) { animation-delay: .32s; }
.hero-content > *:nth-child(4) { animation-delay: .42s; }
.hero-content > *:nth-child(5) { animation-delay: .52s; }
.hero-scroll { animation: rise 1s .7s both; }

.js .reveal,
.js .section-head,
.js .manifesto > *,
.js .lineup > .pcard,
.js .principles > .principle,
.js .news-grid > .ncard,
.js .origin-grid > .ocard,
.js .stats .stat,
.js .cta-band,
.js .split,
.js .inquiry-grid > *,
.js .product-layout > *,
.js .auth-card,
.js .account-grid > *,
.js .mosaic figure,
.js .company-table,
.js .quote-band blockquote,
.js .quote-band span,
.js .article > * {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.in,
.js .section-head.in,
.js .manifesto > *.in,
.js .lineup > .pcard.in,
.js .principles > .principle.in,
.js .news-grid > .ncard.in,
.js .origin-grid > .ocard.in,
.js .stats .stat.in,
.js .cta-band.in,
.js .split.in,
.js .inquiry-grid > *.in,
.js .product-layout > *.in,
.js .auth-card.in,
.js .account-grid > *.in,
.js .mosaic figure.in,
.js .company-table.in,
.js .quote-band blockquote.in,
.js .quote-band span.in,
.js .article > *.in {
  animation: rise .9s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@keyframes veil { to { opacity: 0; visibility: hidden; } }
@keyframes header-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) {
  .nav, .util { display: none; }
  .nav-toggle { display: block; }
  .header-inner { width: min(var(--wrap), calc(100% - 36px)); }
}
@media (max-width: 980px) {
  .wrap { width: min(var(--wrap), calc(100% - 40px)); }
  .manifesto, .principles, .origin-grid, .news-grid, .cta-band, .split, .product-layout, .inquiry-grid, .account-grid, .foot-grid, .stats, .partner-inner {
    grid-template-columns: 1fr;
  }
  .origin-grid .ocard:first-child { grid-row: auto; min-height: 420px; }
  .split.reverse { direction: ltr; }
  .product-gallery { position: relative; top: auto; }
  .stage { position: relative; top: auto; min-height: 0; }
  .stage img { height: auto; max-height: 70vh; }
  .mosaic { columns: 2; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .section-head { grid-template-columns: 1fr; }
  .catalog .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-content { width: min(var(--wrap), calc(100% - 40px)); }
}
@media (max-width: 680px) {
  .form-row { grid-template-columns: 1fr; }
  .mosaic { columns: 1; }
  .hero-scroll { display: none; }
  .fact-list div, .spec div { grid-template-columns: 1fr; gap: 2px; }
  .company-table th { width: 108px; }
  .foot-bottom { flex-direction: column; }
  .pcard-body h3 { font-size: 22px; }
  .cup-board-grid { grid-template-columns: 1fr; }
  .neighbors { flex-direction: column; }
  .film-track img { width: 78vw; height: 52vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .js .reveal, .js .section-head, .js .manifesto > *, .js .lineup > .pcard,
  .js .principles > .principle, .js .news-grid > .ncard, .js .origin-grid > .ocard,
  .js .stats .stat, .js .cta-band, .js .split, .js .inquiry-grid > *, .js .product-layout > *,
  .js .auth-card, .js .account-grid > *, .js .mosaic figure,
  .js .company-table, .js .quote-band blockquote, .js .quote-band span, .js .article > *,
  .hero-content > *, .page-hero .wrap > * {
    opacity: 1 !important;
    transform: none !important;
  }
  body::after { display: none; }
  body.is-leaving { opacity: 1; }
  .also-track { transition: none; }
  .film { overflow-x: auto; }
}
