/* Gallery Suhwa landing. Tokens follow docs/design/SUHWA_SKIN_SPEC.md (white cube, ink, seal vermilion). */
:root {
  --canvas: #F6F6F5;      /* S 0.4% */
  --surface: #FCFCFB;
  --band: #EAEAE7;
  --ink: #1A1A1A;
  --ink-2: #55555A;
  --ink-3: #646469;
  --accent: #B5401E;      /* seal vermilion: points only */
  --line: #DCDCD9;
  --on-ink: #FCFCFB;
  --gutter: 20px;
  --max: 1080px;
  --text-max: 560px;
  --sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Noto Serif KR", "Iowan Old Style", "Times New Roman", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 16px/24px var(--sans); overflow-wrap: break-word;
}
html[lang="ko"] body { word-break: keep-all; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand .su { width: 16px; height: 28px; flex: none; }
.brand .word { width: 153px; height: 8px; flex: none; }
.lang { position: relative; flex: none; }
.lang summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; color: var(--ink); cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--band); }
.lang summary:focus-visible, .lang-menu a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 160px; margin: 0; padding: 4px; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 20px; font-weight: 400; white-space: nowrap; }
.lang-menu a:hover { background: var(--band); }
.lang-menu a[aria-current="page"] { font-weight: 600; }
.lang-menu .check { color: var(--accent); flex: none; }

/* hero */
.hero { padding: 56px 0 48px; text-align: center; }
.hero .eyebrow { margin: 0 0 16px; font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.hero h1 {
  margin: 0 auto; max-width: 14em; font: 700 28px/36px var(--serif); letter-spacing: -.01em; text-wrap: balance;
}
html[lang="ko"] .hero h1 { max-width: 16em; }
.hero .lead { margin: 16px auto 0; max-width: var(--text-max); color: var(--ink-2); font-size: 16px; line-height: 24px; text-wrap: pretty; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.badge { display: block; height: 48px; }
.badge img { height: 48px; width: auto; max-width: none; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--ink-3); font-size: 14px; line-height: 20px; }

/* features */
.features { background: var(--band); padding: 56px 0 24px; }
.features h2.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.feat { display: grid; grid-template-columns: 1fr; gap: 24px; justify-items: center; align-items: center; padding: 0 0 48px; }
.feat .shot { width: 100%; max-width: 280px; }
.feat .shot img { width: 100%; border-radius: 12px; box-shadow: 0 0 0 1px rgba(26,26,26,.08); }
.feat .copy { width: 100%; max-width: var(--text-max); }
.feat .num { margin: 0 0 8px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.feat h3 { margin: 0 0 8px; font: 700 22px/30px var(--serif); text-wrap: balance; }
.feat p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.feat p + p { margin-top: 8px; }

/* footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--ink-3); font-size: 14px; line-height: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0 0 20px; }
.foot nav a { color: var(--ink); font-weight: 600; padding: 12px 0; }
.foot address { font-style: normal; }
.foot address span { display: block; }
.foot address em { font-style: normal; white-space: nowrap; }
.foot .copy { margin: 16px 0 0; }

@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .hero { padding: 80px 0 64px; }
  .hero h1 { font-size: 40px; line-height: 52px; }
  .hero .lead { font-size: 18px; line-height: 28px; }
  .features { padding-top: 72px; }
  .feat { grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 64px; justify-items: stretch; padding-bottom: 72px; }
  .feat:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); }
  .feat:nth-of-type(even) .shot { order: 2; }
  .feat h3 { font-size: 28px; line-height: 36px; }
  .feat .shot { justify-self: center; }
  .feat .copy { justify-self: start; }
  .foot .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
  .foot nav { margin: 0; justify-content: flex-end; }
  .foot .copy { grid-column: 1 / -1; margin: 0; }
}
@media (min-width: 1100px) {
  .feat { gap: 96px; padding-left: 48px; padding-right: 48px; }
  .feat .shot, .feat { }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .brand .word { width: 120px; height: auto; }
  .stores { flex-direction: column; }
  .stores li { width: 100%; }
}
@media (min-width: 768px) { .foot nav { grid-column: 2; grid-row: 1; } .foot address { grid-column: 1; grid-row: 1; } .foot .copy { grid-row: 2; } }
