/* SOUND FRAME — shared design system (tokens, header, footer)
   (split out of the approved HOME stylesheet)
   Neutral-first, Signal Blue only as focus colour. No markers, no pills, no numbering, no card UI.
   Rhythm: Hero(high) → Work stage(high) → Interlude(very low) → Artwork(high) → Proof(medium) → Studio(medium, ivory) → Digital stage(high) → Footer(low) */
:root {
  --ink: #080808; --charcoal: #151515; --graphite: #262626;
  --ivory: #F4EFE7; --muted: #A7A29A; --muted-dark: #5b554c; --blue-soft: #6E8BFF;
  --line: rgba(244, 239, 231, .16);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Helvetica Neue", Helvetica, Arial, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --sec: clamp(96px, 12vw, 192px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ivory); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, p, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 10px 14px; font-size: 13px; }
.skip:focus { top: 12px; }

.label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.meta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lnk { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 6px 0; display: inline-block; }
.lnk::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.lnk:hover::after, .lnk:focus-visible::after { right: 0; }

/* ---------------- header ---------------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); transition: background .3s, padding .3s; }
.hdr.is-solid { background: rgba(8, 8, 8, .94); padding-block: 14px; }
.hdr__brand img { width: clamp(132px, 12vw, 176px); height: auto; mix-blend-mode: lighten; } /* official SVG carries an ink plate; lighten blend keeps the mark untouched and lets the image show through */
.hdr__nav { display: flex; gap: clamp(18px, 3vw, 44px); }
.hdr__nav a { font-size: 12px; letter-spacing: .2em; padding: 8px 0; position: relative; }
.hdr__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a:focus-visible::after { right: 0; }

/* ---------------- footer ---------------- */
.ftr { padding: clamp(40px, 5vw, 72px) var(--gutter) 32px; border-top: 1px solid var(--line); display: grid; gap: 28px; }
.ftr__brand img { width: 132px; height: auto; opacity: .9; mix-blend-mode: lighten; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.ftr__nav a { font-size: 11px; letter-spacing: .2em; color: var(--muted); padding: 6px 0; transition: color .25s; }
.ftr__nav a:hover, .ftr__nav a:focus-visible { color: var(--ivory); }
.ftr__c { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
@media (min-width: 900px) { .ftr { grid-template-columns: 1fr auto auto; align-items: center; gap: 48px; } }

/* inner pages: header is solid from the start */
.hdr--solid { background: rgba(8, 8, 8, .94); padding-block: 14px; }
.hdr--solid + main, body.inner main { padding-top: 76px; }
/* generic reveal (single-use scenes only) */
html.js [data-fade] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-fade].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-fade] { opacity: 1; transform: none; } }
/* modal base (native <dialog>) */
dialog.ov { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--ivory); overflow: auto; overscroll-behavior: contain; }
dialog.ov::backdrop { background: var(--ink); }
dialog.ov[open] { animation: ov-in .32s var(--ease); }
@keyframes ov-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
body.is-locked { overflow: hidden; }
.ov__bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); background: rgba(8, 8, 8, .94); }
.ov__bar button { font-size: 12px; letter-spacing: .2em; padding: 8px 0; }
.ov__bar button:hover { opacity: .7; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; scroll-behavior: auto !important; }
}
