/* ──────────────────────────────────────────────────────────────────────
   SUDO EGO · landing brand system (EN /index.html + KO /ko/index.html)
   Source: the approved burgundy app v4 (ivory envelope paper, burgundy ink,
   wax seal at thresholds, hairline rules, SUDO EGO wordmark).

   Paper  = ivory envelope tile (paper-tile.webp, 708×1268 CSS px repeat, base #F0ECE6)
   Ink    = burgundy #5C1A1E (headlines, wordmark, active), deep #3E0F14
            espresso #3D2B24 body (11.3:1 on paper), muted #6A5A52 meta (5.6:1)
   Rules  = burgundy 30% (letter rules, ornaments) · espresso 13% (row dividers)
   Type   = Bodoni Moda (OFL Didone): wordmark, Latin display, tracked labels
            Noto Serif KR: the voice (body, letters, all Korean headlines)
            Pretendard: UI (nav, links, footer)
   Seal   = only at thresholds: hero flap tip + footer colophon. Never on burgundy.
   ────────────────────────────────────────────────────────────────────── */

:root {
    color-scheme: light;

    --paper: #F0ECE6;
    --paper-hi: #FBF8F2;
    --ink: #2E1C16;
    --ink2: #3D2B24;
    --mute: #6A5A52;
    --bur: #5C1A1E;
    --bur-d: #3E0F14;
    --iv: #F4EEE6;
    --iv-soft: rgba(244, 238, 230, 0.82);
    --rule: rgba(92, 26, 30, 0.30);
    --rule2: rgba(46, 28, 22, 0.13);

    --tile: url('paper-tile.webp');
    --shadow-print:
        0 0 0 1px rgba(46, 28, 22, 0.06),
        0 1px 1.5px rgba(40, 20, 14, 0.16),
        0 10px 22px -10px rgba(40, 20, 14, 0.30),
        0 30px 50px -26px rgba(40, 20, 14, 0.28);

    --font-display: 'Bodoni Moda', 'Noto Serif KR', 'Didot', 'Bodoni 72', Georgia, serif;
    --font-serif: 'Noto Serif KR', 'Noto Serif', Georgia, 'AppleMyungjo', 'Batang', serif;
    --font-ui: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', sans-serif;

    --gutter: clamp(20px, 5vw, 56px);
    --t-display: clamp(2.3rem, 4.4vw, 3.9rem);
    --t-body: clamp(1rem, 1.25vw, 1.125rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; }

body {
    font-family: var(--font-serif);
    color: var(--ink2);
    background: var(--paper) var(--tile) 0 0 / 708px 1268px repeat;
    overflow-x: hidden;
    line-height: 1.7;
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Didone display + tracked labels: keep macOS stem darkening on (grayscale AA thins the hairlines away at 1x),
   and hold large display text at a text optical size so the hairlines survive on every platform. */
.wm, .hero-heading, .domino-payoff, .manifesto-line, .final-heading,
.qa dt, .defs dt, .section-header h2, .privacy-summary h2 {
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
}

.hero-heading, .domino-payoff, .manifesto-line, .final-heading { font-variation-settings: 'opsz' 28; }

/* Small Didone at 1x: the automatic optical size follows the font size, so 13–30px text gets display-cut hairlines
   that break up on 1x screens. Small sizes use a low optical size (sturdier hairlines, same weight and shapes). */
.wm { font-variation-settings: 'opsz' var(--wm-opsz, 9); }
.defs dt, .section-header h2, .privacy-summary h2 { font-variation-settings: 'opsz' 8; }
.qa dt { font-variation-settings: 'opsz' 16; }

::selection { background: rgba(92, 26, 30, 0.16); }

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--bur);
    outline-offset: 3px;
    border-radius: 2px;
}

img { max-width: 100%; }

p, dd, li { text-wrap: pretty; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.content { position: relative; z-index: 1; }

/* Keeps a phrase together on narrow screens (markup-only, text unchanged) */
.nw { display: inline-block; }

/* ── Wordmark: SUDO EGO (tracked Didone, no star between the words) ── */
.wm {
    display: inline-flex;
    align-items: center;
    gap: 0.62em;
    font-family: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
    font-weight: 400;
    line-height: 1;
    color: var(--bur);
    white-space: nowrap;
}

.wm-w {
    letter-spacing: var(--wm-track, 0.22em);
    margin-right: calc(-1 * var(--wm-track, 0.22em));
}

/* Hairline · star · hairline — the section opener (replaces the old CLI kickers) */
.ornament {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 132px;
    margin: 0 auto 30px;
    color: var(--bur);
}

.ornament i { flex: 1; height: 1px; background: var(--rule); }
.ornament svg { width: 9px; height: 11px; fill: currentColor; flex: none; }

/* ── Navigation ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    padding: 0 calc(var(--gutter) - 10px) 0 var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

nav.scrolled {
    background: rgba(240, 236, 230, 0.88);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    border-bottom-color: var(--rule2);
    box-shadow: 0 8px 18px -16px rgba(40, 20, 14, 0.45);
}

.logo {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    font-size: 15px;
    --wm-track: 0.3em;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* At the top of the page the hero lockup is the logo; the nav mark appears once the page scrolls. */
.js nav:not(.scrolled) .logo { opacity: 0; visibility: hidden; }

.nav-toggle { display: none; }

.nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--bur); }

/* The language switch on the EN page: Hangul is never tracked or set in caps */
.nav-links a[lang="ko"] { letter-spacing: 0; font-size: 13.5px; }

/* ── Hero: the envelope, sealed ── */
.hero {
    --edge: clamp(40px, 3.9vw, 58px);                       /* where the fold meets the page edge */
    --tip: clamp(140px, min(15vw, 22vh), 236px);            /* flap tip = seal centre, capped for laptops */
    --seal: clamp(90px, min(8.4vw, 13.5vh), 124px);
    position: relative;
    text-align: center;
    padding: calc(var(--tip) + var(--seal) / 2 + clamp(22px, 3.2vh, 34px)) var(--gutter) clamp(32px, 3vw, 48px);
}

.flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--tip) + 2px);
    pointer-events: none;
    filter: drop-shadow(0 2px 2px rgba(62, 33, 22, 0.10)) drop-shadow(0 12px 16px rgba(62, 33, 22, 0.07));
}

.flap-face {
    position: absolute;
    inset: 0 0 2px;
    background:
        linear-gradient(180deg, rgba(255, 253, 249, 0.55), rgba(255, 253, 249, 0.30)),
        var(--paper) var(--tile) 0 0 / 708px 1268px repeat;
    clip-path: polygon(0 0, 100% 0, 100% var(--edge), 50% 100%, 0 var(--edge));
}

.flap-line {
    position: absolute;
    left: 0;
    width: 100%;
    top: var(--edge);
    height: calc(var(--tip) - var(--edge));
    overflow: visible;
}

.flap-line polyline { fill: none; vector-effect: non-scaling-stroke; }

.hero-seal {
    position: absolute;
    left: 50%;
    top: calc(var(--tip) - var(--seal) / 2);
    width: var(--seal);
    height: var(--seal);
    margin-left: calc(var(--seal) / -2);
    filter: drop-shadow(0 1.5px 1.2px rgba(40, 14, 12, 0.34)) drop-shadow(0 8px 12px rgba(40, 14, 12, 0.20));
    animation: seal-press 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s both;
}

@keyframes seal-press {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: none; }
}

.hero-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: clamp(24px, 2.45vw, 34px);
    --wm-track: 0.2em;
    --wm-opsz: 14;
    margin-bottom: clamp(22px, 3.4vh, 34px);
}

/* KO only: the Korean reading of the name under the wordmark */
.hero-sub-ko {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: var(--mute);
}

.hero-heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.5rem, min(4.9vw, 8.6vh), 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.012em;
    color: var(--bur);
    margin: 0 auto clamp(18px, 3vh, 28px);
    text-wrap: balance;
}

.hero-heading-root { display: block; margin-top: 0.08em; }

.hero-body {
    font-size: var(--t-body);
    line-height: 1.78;
    color: var(--ink2);
    max-width: 560px;
    margin: 0 auto;
}

.cta-group {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: clamp(26px, 4.2vh, 38px);
}

.store-badge {
    display: inline-flex;
    line-height: 0;
    border-radius: 9px;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 8px 18px -12px rgba(40, 20, 14, 0.55);
}

.store-badge:hover { transform: translateY(-1px); }

.store-badge img { height: 52px; width: auto; display: block; }

/* Mobile shows only its own store; desktop shows both (cta.js sets data-platform). */
html[data-platform="ios"] .cta-play { display: none; }
html[data-platform="android"] .cta-ios { display: none; }

/* ── Letter sections ── */
.big-domino {
    position: relative;
    padding: clamp(64px, 6.6vw, 100px) var(--gutter);
    text-align: center;
}

/* The section after the hero starts close enough that its ornament shows above a laptop fold */
@media (min-width: 641px) {
    .hero + .big-domino { padding-top: clamp(32px, 2.6vw, 44px); }
}

.domino-text { max-width: 760px; margin: 0 auto; }

.domino-payoff {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: var(--t-display);
    line-height: 1.08;
    letter-spacing: -0.01em;
    color: var(--bur);
    text-wrap: balance;
}

.domino-sub {
    font-size: var(--t-body);
    line-height: 1.8;
    color: var(--ink2);
    margin-top: 26px;
}

/* Section — identity cards as matte photo prints laid on the paper */
.idfield { overflow: hidden; padding-bottom: clamp(24px, 3vw, 44px); }
@supports (overflow: clip) { .idfield { overflow-x: clip; overflow-y: visible; } }

.flatlay {
    position: relative;
    width: min(1120px, 100%);
    aspect-ratio: 1120 / 430;
    margin: clamp(28px, 3.4vw, 48px) auto 0;
}

.idfloat-field, .showcase-inner.prints { position: absolute; inset: 0; }
.showcase-inner.prints { pointer-events: none; }

.print {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    padding: clamp(5px, 0.6vw, 8px);
    background: var(--paper-hi);
    box-shadow: var(--shadow-print);
    transform: translate(-50%, -50%) rotate(var(--r));
    z-index: var(--z, 1);
}

.print img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: sepia(0.16) saturate(0.88) contrast(0.9) brightness(1.08);
}

/* desktop arc: far · mid · lead · mid · far */
.print.p-lead { --x: 50%;   --y: 50%; --w: 26%; --r: -1.5deg; --z: 5; }
.print.p-ps   { --x: 28.4%; --y: 47%; --w: 17%; --r: -4.5deg; --z: 3; }
.print.p-r1   { --x: 71.6%; --y: 45%; --w: 17%; --r: 4deg;    --z: 3; }
.print.p-l2   { --x: 11.6%; --y: 56%; --w: 14%; --r: -2.5deg; --z: 2; }
.print.p-r2   { --x: 88.4%; --y: 57%; --w: 14%; --r: 3deg;    --z: 2; }

/* System section — the letter on the left, the stacked prints on the right */
.shield-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}

.shield { padding-top: clamp(40px, 4vw, 64px); padding-bottom: clamp(40px, 4.4vw, 72px); }
.shield .domino-text { text-align: left; margin: 0; max-width: 520px; justify-self: end; width: 100%; }
.shield .domino-payoff { font-size: clamp(2.3rem, 3.6vw, 3.2rem); }
.shield .ornament { margin-left: 0; }

.letter {
    border-left: 1px solid var(--rule);
    padding-left: 22px;
}

.shield .domino-sub { margin-top: 32px; }

/* The two system lines, always visible (were carousel captions) */
.defs {
    margin-top: 40px;
    border-top: 1px solid var(--rule);
}

.defs > div {
    padding: 20px 0 22px;
    border-bottom: 1px solid var(--rule2);
}

.defs dt {
    font-family: 'Bodoni Moda', 'Didot', Georgia, serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bur);
}

.defs dd {
    margin-top: 8px;
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ink2);
}

/* The day's cards, loosely stacked: identity-card prints on the paper (no app screens until the new app ships) */
.stack {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 460 / 500;
    margin: 0 auto;
}

/* front = the day's card (text); the two behind are photo-only crops, so no cut-off lines peek out */
.print.s-back  { --x: 68%; --y: 47%; --w: 56%; --r: 7deg;    --z: 1; }
.print.s-mid   { --x: 32%; --y: 44%; --w: 56%; --r: -6.5deg; --z: 2; }
.print.s-front { --x: 50%; --y: 53%; --w: 66%; --r: -1deg;   --z: 3; }

/* ── FAQ: a quiet two-column letter ── */
.faq {
    padding: clamp(56px, 6vw, 88px) var(--gutter) clamp(64px, 6.6vw, 100px);
    max-width: 1080px;
    margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: clamp(32px, 3.6vw, 52px); }

.section-header h2,
.privacy-summary h2 {
    font-family: 'Bodoni Moda', 'Didot', Georgia, serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.34em;
    margin-right: -0.34em;
    text-transform: uppercase;
    color: var(--bur);
    line-height: 1.4;
}

.qa { border-bottom: 1px solid var(--rule2); }

.qa-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(30px, 3.4vw, 46px) 0;
    border-top: 1px solid var(--rule2);
}

.qa-row:first-child { border-top-color: var(--rule); }

.qa dt {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.45rem, 2.1vw, 1.85rem);
    line-height: 1.28;
    color: var(--bur);
    text-wrap: balance;
    hanging-punctuation: first last;
}

.qa dd {
    font-size: var(--t-body);
    line-height: 1.8;
    color: var(--ink2);
    border-left: 1px solid var(--rule);
    padding-left: 22px;
    align-self: start;
    margin-top: 4px;
}

.qa dd p + p { margin-top: 10px; }

/* ── Manifesto ── */
.manifesto-cta {
    text-align: center;
    padding: clamp(32px, 4vw, 56px) var(--gutter) clamp(72px, 8vw, 112px);
}

.manifesto-line {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.12;
    color: var(--bur);
    text-wrap: balance;
}

.manifesto-sub {
    font-size: var(--t-body);
    line-height: 1.8;
    color: var(--ink2);
    margin-top: 22px;
}

/* Secondary action: a tracked underline link, so the store badges stay the only primary CTA */
.manifesto-more {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin-top: 26px;
    padding: 0 6px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bur);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
    text-decoration-color: var(--rule);
    transition: text-decoration-color 0.2s ease;
}

.manifesto-more:hover { text-decoration-color: var(--bur); }

/* ── Final CTA: the burgundy envelope, sealed (deep flap + wax seal at the tip, like the hero) ── */
.final-cta { padding: 0 var(--gutter) clamp(80px, 8.5vw, 120px); }

.envelope-panel {
    --tip: clamp(132px, 19vw, 248px);                       /* flap tip = seal centre */
    --seal: clamp(72px, 7.2vw, 100px);
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    text-align: center;
    color: var(--iv);
    border-radius: 4px;
    padding: calc(var(--tip) + var(--seal) / 2 + clamp(28px, 3vw, 40px)) var(--gutter) clamp(68px, 7vw, 100px);
    background:
        radial-gradient(120% 90% at 20% 0%, rgba(140, 52, 60, 0.28), transparent 60%),
        linear-gradient(180deg, rgba(92, 26, 30, 0.30), rgba(46, 10, 14, 0.58)),
        #4A1218 url('paper-burgundy.webp') center / cover;
    box-shadow: 0 1px 2px rgba(40, 14, 12, 0.25), 0 30px 60px -30px rgba(40, 14, 12, 0.55);
    overflow: hidden;
}

.envelope-panel :focus-visible { outline-color: var(--iv); }

.panel-flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--tip) + 2px);
    pointer-events: none;
    filter: drop-shadow(0 4px 4px rgba(20, 4, 6, 0.34)) drop-shadow(0 18px 26px rgba(20, 4, 6, 0.30));
}

.panel-flap-face {
    position: absolute;
    inset: 0 0 2px;
    background:
        linear-gradient(180deg, rgba(126, 42, 49, 0.88), rgba(98, 28, 34, 0.86)),
        #5C1A20 url('paper-burgundy.webp') center top / cover;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.panel-flap svg { position: absolute; inset: 0 0 2px; width: 100%; height: calc(100% - 2px); overflow: visible; }
.panel-flap polyline { fill: none; vector-effect: non-scaling-stroke; }

.panel-seal {
    position: absolute;
    left: 50%;
    top: calc(var(--tip) - var(--seal) / 2);
    width: var(--seal);
    height: var(--seal);
    margin-left: calc(var(--seal) / -2);
    filter: drop-shadow(0 2px 1.5px rgba(14, 3, 5, 0.55)) drop-shadow(0 10px 16px rgba(14, 3, 5, 0.45));
}

.final-heading {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: var(--t-display);
    line-height: 1.08;
    color: var(--iv);
    text-wrap: balance;
}

.final-cta .domino-sub { color: var(--iv-soft); margin-top: 22px; }
.final-cta .cta-group { margin-top: 40px; }
.final-cta .store-badge { box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.6); }

/* ── Privacy ── */
.privacy-summary {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 var(--gutter) clamp(80px, 8.5vw, 112px);
    text-align: center;
}

.privacy-summary h2 { margin-bottom: 18px; }

.privacy-summary p {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--ink2);
}

.privacy-link {
    display: inline-block;
    line-height: 44px;
    min-height: 44px;
    margin-top: 8px;
    font-family: var(--font-ui);
    font-size: 14.5px;
    color: var(--bur);
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--rule);
}

.privacy-link:hover { text-decoration-color: var(--bur); }

/* ── Footer (colophon: small seal over the wordmark, as in the app's settings end) ── */
footer {
    border-top: 1px solid var(--rule2);
    padding: 44px var(--gutter) 52px;
}

.footer-content {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.footer-seal {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 1px 1px rgba(40, 14, 12, 0.30)) drop-shadow(0 4px 6px rgba(40, 14, 12, 0.16));
}

.footer-logo { font-size: 15px; --wm-track: 0.3em; margin-bottom: 4px; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.footer-links a,
.footer-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    font-family: var(--font-ui);
    font-size: 13.5px;
    color: var(--ink2);
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--bur); text-decoration: underline; text-underline-offset: 4px; }

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--mute);
}

.footer-contact a { padding: 0 4px; font-size: 13px; }

/* ── Scroll reveal (only when JS runs; content is visible without it) ── */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .reveal.visible { opacity: 1; transform: none; }

/* ═════════════ Korean page (/ko/) ═════════════
   Korean headlines speak in Noto Serif KR (no faux Didone, no tracking on Hangul). */
html[lang="ko"] .hero-heading,
html[lang="ko"] .domino-payoff,
html[lang="ko"] .final-heading,
html[lang="ko"] .qa dt {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: -0.005em;
}

html[lang="ko"] .hero-heading { font-size: clamp(2.1rem, min(3.9vw, 6.8vh), 3.5rem); line-height: 1.3; }
html[lang="ko"] .hero-heading-root { margin-top: 0.12em; }
html[lang="ko"] .domino-payoff { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.42; }
html[lang="ko"] .shield .domino-payoff { font-size: clamp(1.9rem, 2.75vw, 2.5rem); }
html[lang="ko"] .final-heading { font-size: clamp(1.9rem, 3.2vw, 2.85rem); line-height: 1.4; }
html[lang="ko"] .qa dt { font-size: clamp(1.22rem, 1.6vw, 1.42rem); line-height: 1.6; }
html[lang="ko"] .hero-body,
html[lang="ko"] .domino-sub,
html[lang="ko"] .qa dd { line-height: 1.9; }

html[lang="ko"] .nav-links a,
html[lang="ko"] .section-header h2.ko-label {
    letter-spacing: 0;
    text-transform: none;
}

html[lang="ko"] .nav-links a { font-size: 14px; }

html[lang="ko"] .section-header h2.ko-label {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    margin-right: 0;
}

/* The three morning declarations, set as ruled letter lines */
.ko-lines {
    list-style: none;
    max-width: 520px;
    margin: 36px auto 0;
}

.ko-lines li {
    padding: 14px 0;
    border-top: 1px solid var(--rule2);
    text-align: center;
    font-size: 17px;
    line-height: 1.6;
    color: var(--bur);
}

.ko-lines li:first-child { border-top-color: var(--rule); }
.ko-lines li:last-child { border-bottom: 1px solid var(--rule2); }

.ko-lines + .domino-sub { margin-top: 36px; }

/* ── Short laptop windows (1366×768 / 1280×720 screens): keep the store badges above the fold ── */
@media (min-width: 641px) and (max-height: 700px) {
    .hero {
        --tip: clamp(112px, 20vh, 150px);
        --seal: clamp(80px, 13vh, 96px);
    }
    .hero-sub { font-size: clamp(22px, 4.2vh, 30px); margin-bottom: 16px; }
    html[lang="ko"] .hero-body { line-height: 1.7; }
}

/* ── Two-column desktop ── */
@media (min-width: 961px) {
    /* KO: a text-only statement leads straight into the shield grid, so pull the pair together. */
    .big-domino:not(.idfield):has(+ .shield) { padding-bottom: clamp(48px, 4.4vw, 64px); }
    .big-domino:not(.idfield) + .shield { padding-top: 0; }
}

/* ── Tablet ── */
@media (max-width: 960px) {
    .shield-grid { grid-template-columns: 1fr; gap: 40px; }
    /* Stacked: centred like every other single-column section (the side rule only belongs beside the prints) */
    .shield .domino-text { justify-self: center; max-width: 560px; text-align: center; }
    .shield .ornament { margin-left: auto; }
    .shield .letter { border-left: 0; padding-left: 0; }
}

/* ── Phone ── */
@media (max-width: 640px) {
    nav { height: 60px; }
    .logo { font-size: 13px; }
    .nav-links a { padding: 0 9px; font-size: 11px; letter-spacing: 0.14em; }
    .nav-links a[lang="ko"] { letter-spacing: 0; font-size: 12.5px; }
    html[lang="ko"] .nav-links a { font-size: 13px; padding: 0 8px; }

    .hero {
        --edge: 40px;
        --tip: clamp(132px, 34vw, 156px);
        --seal: 86px;
        padding-top: calc(var(--tip) + var(--seal) / 2 + 22px);
        padding-bottom: 28px;
    }

    .hero-sub { font-size: 24px; margin-bottom: 22px; gap: 10px; }
    .hero-sub-ko { font-size: 13.5px; }
    .hero-heading { font-size: clamp(30px, 9.9vw, 37px); margin-bottom: 20px; }
    html[lang="ko"] .hero-heading { font-size: 29px; }
    .hero-body { font-size: 16px; line-height: 1.75; }
    .cta-group { margin-top: 28px; gap: 12px; }
    .store-badge img { height: 48px; }

    .big-domino { padding-top: 72px; padding-bottom: 72px; }
    .domino-payoff, .shield .domino-payoff { font-size: clamp(28px, 9.6vw, 34px); }
    .final-heading { font-size: clamp(28px, 8.9vw, 34px); }
    html[lang="ko"] .domino-payoff,
    html[lang="ko"] .shield .domino-payoff,
    html[lang="ko"] .final-heading { font-size: min(26px, 6.75vw); }
    .manifesto-line { font-size: 31px; }
    .domino-sub { font-size: 16px; margin-top: 20px; }
    .ornament { margin-bottom: 24px; }

    .idfield { padding-top: 56px; padding-bottom: 12px; }
    .flatlay {
        width: calc(100% + 2 * var(--gutter));
        margin-left: calc(-1 * var(--gutter));
        aspect-ratio: 390 / 420;
        margin-top: 24px;
    }
    .print { padding: 5px; }
    .print.p-lead { --x: 50%; --y: 45%; --w: 46%; --r: -1.5deg; }
    .print.p-ps   { --x: 18.5%; --y: 25%; --w: 28%; --r: -6deg; }
    .print.p-r1   { --x: 81.5%; --y: 23%; --w: 28%; --r: 5.5deg; }
    .print.p-l2   { --x: 20%; --y: 79%; --w: 26%; --r: 4deg; --z: 6; }
    .print.p-r2   { --x: 80%; --y: 81%; --w: 26%; --r: -4.5deg; --z: 6; }

    .shield { padding-top: 48px; padding-bottom: 56px; }
    .shield .domino-text { max-width: none; }
    .letter { padding-left: 18px; }
    .defs { margin-top: 32px; }
    .defs dd { font-size: 16px; }
    .shield-grid { gap: 24px; }
    .stack { width: min(100%, 340px); }

    .faq { padding-top: 48px; padding-bottom: 56px; }
    .qa-row { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
    .qa dd { font-size: 16px; padding-left: 18px; margin-top: 0; }

    .manifesto-cta { padding-top: 16px; padding-bottom: 64px; }
    .manifesto-sub { font-size: 16px; }

    .final-cta { padding-left: 16px; padding-right: 16px; padding-bottom: 72px; }
    .envelope-panel { padding-left: 22px; padding-right: 22px; padding-bottom: 60px; }
    .final-cta .domino-sub { font-size: 16px; }

    .privacy-summary p { font-size: 15px; }
    .ko-lines li { font-size: 16px; padding: 13px 0; }
}

@media (max-width: 380px) {
    .envelope-panel { padding-left: 16px; padding-right: 16px; }
}

/* Small phones: the nav cannot hold three links beside the wordmark; the language link stays in the footer */
@media (max-width: 374px) {
    .nav-links li:has(> a[lang="ko"]) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .hero-seal { animation: none; }
    .store-badge, nav, .logo { transition: none; }
}
