/* ============================================
   DAEBON — TEA OEM · ODM DESIGN SYSTEM v2
   Aesthetic: TEA LAB × TEA ATELIER × MANUFACTURING
   Renewed: Deep Forest + Tea Amber on Warm Ivory
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Manrope:wght@300;400;500;600;700;800&family=Noto+Serif+KR:wght@400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600&family=Noto+Sans+JP:wght@400;500;700&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
    /* ========== Colors ========== */
    --bg:         #F5F0E6;   /* Warm Ivory */
    --paper:      #EEE7D7;   /* Raw Beige */
    --paper-2:    #E5DCC7;   /* Deeper beige */
    --paper-3:    #DDD1B5;   /* Sandstone */
    --ink:        #1A2620;   /* Deep Forest / Charcoal-green */
    --ink-2:      #263B32;
    --ink-soft:   rgba(26, 38, 32, 0.65);
    --ink-mute:   rgba(26, 38, 32, 0.42);
    --ink-faint:  rgba(26, 38, 32, 0.22);
    --forest:     #2D4A3E;   /* Deep Forest — brand primary */
    --forest-2:   #3D6B58;   /* medium forest */
    --amber:      #C08838;   /* Tea Amber — accent / CTA */
    --amber-2:    #DAA85E;   /* light amber (for dark bgs) */
    --amber-3:    #E8C782;   /* highlight amber */
    --rule:       rgba(26, 38, 32, 0.12);
    --rule-strong:rgba(26, 38, 32, 0.28);
    /* Backwards compat aliases (some inline styles still reference these) */
    --roast:      var(--forest);
    --roast-2:    var(--forest-2);
    --ember:      var(--amber);
    --ember-2:    var(--amber-2);

    /* ========== Type ========== */
    --f-display:  'Fraunces', 'Noto Serif KR', 'Pretendard', serif;
    --f-sans:     'Manrope', 'Pretendard', system-ui, sans-serif;
    --f-mono:     'JetBrains Mono', ui-monospace, monospace;
    --f-serif-kr: 'Noto Serif KR', 'Fraunces', serif;

    /* ========== Layout ========== */
    --grid-gap:   24px;
    --page-pad:   clamp(24px, 4vw, 64px);
    --nav-h:      84px;
    --section-y:  clamp(88px, 10vw, 140px);
    --container:  1600px;

    /* ========== Elevation ========== */
    --shadow-1:   0 1px 3px rgba(26,38,32,0.06), 0 8px 24px rgba(26,38,32,0.05);
    --shadow-2:   0 4px 12px rgba(26,38,32,0.08), 0 20px 40px rgba(26,38,32,0.08);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-sans);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.005em;
    overflow-x: hidden;
}

/* Subtle paper texture — softer than v1 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
    opacity: 0.22;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.14 0 0 0 0 0.12 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

::selection { background: var(--amber-3); color: var(--ink); }

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */
.display {
    font-family: var(--f-display);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.02;
}
.mono {
    font-family: var(--f-mono);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
}
.kor {
    font-family: 'Pretendard', var(--f-sans);
    letter-spacing: -0.005em;
}
.serif-kr {
    font-family: var(--f-serif-kr);
    letter-spacing: -0.01em;
}

/* Eyebrow — small label above section titles */
.eyebrow {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.eyebrow::before {
    content: '';
    width: 28px; height: 1px;
    background: currentColor;
    display: inline-block;
}

.spec-label {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-mute);
    padding: 6px 10px;
    border: 1px solid var(--rule-strong);
    border-radius: 2px;
    display: inline-block;
    font-weight: 500;
}

/* ============================================
   NAV (Header — Sticky, 84px shrinks to 68px on scroll)
   ============================================ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 var(--page-pad);
    background: rgba(245, 240, 230, 0.92);
    backdrop-filter: blur(18px) saturate(1.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.05);
    border-bottom: 1px solid var(--rule);
    flex-wrap: nowrap;
    gap: 12px;
    transition: height .3s ease, background .3s ease;
}
.nav.scrolled {
    height: 68px;
    background: rgba(245, 240, 230, 0.96);
}
.nav-brand {
    font-family: var(--f-display);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1;
    flex-shrink: 0;
}
.nav-brand small {
    font-family: var(--f-mono);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.24em;
    color: var(--ink-mute);
    text-transform: uppercase;
}
.nav-menu {
    display: flex;
    gap: 26px;
    margin-left: 40px;
    flex: 1;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
    align-items: center;
    height: 100%;
    justify-content: center;
}
.nav-menu a {
    font-family: var(--f-sans);
    font-size: 14px;
    letter-spacing: 0.005em;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;
    color: var(--ink);
    position: relative;
    padding: 8px 0;
    transition: color .2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    height: 100%;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 20px;
    width: 0; height: 2px;
    background: var(--amber);
    transition: width .3s cubic-bezier(.2,.8,.2,1);
}
.nav-menu a:hover { color: var(--forest); }
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a.active { color: var(--forest); }

.nav-cta {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}
.nav-cta a {
    font-family: var(--f-sans);
    font-size: 12.5px;
    letter-spacing: 0.02em;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;
    padding: 10px 14px;
    border: 1px solid var(--forest);
    color: var(--forest);
    transition: all .25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 2px;
    line-height: 1.15;
    white-space: nowrap;
}
.nav-cta a::after {
    content: '→';
    font-family: var(--f-mono);
    transition: transform .25s;
}
.nav-cta a:hover::after { transform: translateX(3px); }
.nav-cta a.primary {
    background: var(--forest);
    color: var(--bg);
    border-color: var(--forest);
}
.nav-cta a.primary:hover {
    background: var(--ink);
    border-color: var(--ink);
}
.nav-cta a:hover {
    background: var(--forest);
    color: var(--bg);
}

/* ============================================
   72H BADGE
   ============================================ */
.badge-72h {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 116px;
    height: 116px;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--bg);
}
.badge-72h .disk {
    position: absolute;
    inset: 0;
    background: var(--forest);
    border-radius: 50%;
    box-shadow: 0 24px 48px rgba(26, 38, 32, 0.28),
                0 0 0 1px rgba(218, 168, 94, 0.32);
    transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s;
}
.badge-72h:hover .disk { background: var(--amber); transform: scale(1.06); }
.badge-72h .ring {
    position: absolute;
    inset: -3px;
    animation: spin 24s linear infinite;
}
.badge-72h .ring text {
    font-family: var(--f-mono);
    font-size: 8.5px;
    letter-spacing: 0.24em;
    fill: var(--amber-2);
    text-transform: uppercase;
    font-weight: 500;
}
.badge-72h:hover .ring text { fill: var(--forest); }
.badge-72h .core {
    position: relative;
    text-align: center;
    line-height: 1;
}
.badge-72h .core .n {
    font-family: var(--f-display);
    font-size: 34px;
    font-weight: 600;
    display: block;
    letter-spacing: -0.02em;
}
.badge-72h .core .l {
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-top: 6px;
    opacity: 0.9;
    font-weight: 500;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================
   HERO — Renewed hierarchy
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--nav-h) + 100px) var(--page-pad) 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background: var(--ink);
    color: var(--bg);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    filter: contrast(1.08) saturate(0.95);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(26,38,32,0.90) 0%, rgba(26,38,32,0.75) 40%, rgba(26,38,32,0.30) 70%, rgba(26,38,32,0.20) 100%),
        linear-gradient(180deg, rgba(26,38,32,0.35) 0%, rgba(26,38,32,0.10) 35%, rgba(26,38,32,0.90) 100%);
}
/* Content sits in left half of hero for readability against right-side imagery */
.hero-inner { position: relative; z-index: 2; }
/* Text-shadow safety net on huge hero titles */
.hero h1 { text-shadow: 0 2px 20px rgba(26,38,32,0.35); }
.hero-kor-title { text-shadow: 0 2px 16px rgba(26,38,32,0.32); }
.hero-sub { text-shadow: 0 1px 12px rgba(26,38,32,0.24); }
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: var(--container);
    width: 100%;
    margin: 0 auto;
}
/* Constrain hero text width so it doesn't fight the right-side imagery */
.hero-inner .hero-eyebrow,
.hero-inner h1,
.hero-inner .hero-kor-title,
.hero-inner .hero-sub {
    max-width: min(880px, 68%);
}
.hero-inner .hero-meta {
    max-width: 100%;
}
.hero-eyebrow {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--amber-2);
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}
.hero-eyebrow::before {
    content: '';
    width: 36px; height: 1px;
    background: var(--amber);
}

.hero h1 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(48px, 8.6vw, 96px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    max-width: 1400px;
    color: var(--bg);
}
.hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--amber-2);
    font-family: var(--f-display);
}

/* NEW: Korean sub-title in serif for warmth (36-46px on desktop) */
.hero-kor-title {
    font-family: var(--f-serif-kr);
    font-weight: 500;
    font-size: clamp(24px, 3.4vw, 42px);
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--amber-2);
    max-width: 900px;
    margin-top: 8px;
}
.hero-kor-title em {
    font-style: normal;
    color: var(--bg);
}

.hero-sub {
    font-family: 'Pretendard', var(--f-sans);
    font-size: clamp(16px, 1.4vw, 19px);
    line-height: 1.75;
    max-width: 640px;
    color: rgba(245, 240, 230, 0.85);
    font-weight: 400;
    margin-top: 12px;
    letter-spacing: -0.005em;
}
.hero-sub em {
    font-family: var(--f-serif-kr);
    font-style: italic;
    color: var(--amber-2);
    font-weight: 500;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 60px;
    padding-top: 28px;
    border-top: 1px solid rgba(245, 240, 230, 0.2);
    gap: 32px;
    flex-wrap: wrap;
}
.hero-meta .cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero .cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--f-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 18px 26px;
    text-decoration: none;
    color: var(--bg);
    border: 1px solid var(--bg);
    border-radius: 2px;
    transition: all .25s;
    min-height: 56px;
}
.hero .cta::after {
    content: '→';
    font-family: var(--f-mono);
    font-weight: 400;
    transition: transform .25s;
}
.hero .cta:hover::after { transform: translateX(4px); }
.hero .cta.primary {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
}
.hero .cta:hover {
    background: var(--bg);
    color: var(--ink);
}
.hero .cta.primary:hover {
    background: var(--amber-2);
    color: var(--ink);
    border-color: var(--amber-2);
}

.hero-stats {
    display: flex;
    gap: 40px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.7);
}
.hero-stats span strong {
    display: block;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -0.02em;
    color: var(--bg);
    margin-bottom: 6px;
    text-transform: none;
    line-height: 1;
}

/* ============================================
   SECTION LAYOUT
   ============================================ */
section {
    padding: var(--section-y) var(--page-pad);
    position: relative;
}
section.alt { background: var(--paper); }
section.paper-2 { background: var(--paper-2); }
section.dark {
    background: var(--ink);
    color: var(--bg);
}
section.forest {
    background: var(--forest);
    color: var(--bg);
}
section.dark .eyebrow,
section.forest .eyebrow { color: var(--amber-2); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
}

.section-head {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    margin-bottom: 72px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--rule);
    align-items: end;
}
.section-head .label {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 500;
}
.section-head h2 {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(34px, 4.8vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.025em;
}
.section-head h2 em {
    font-style: italic;
    color: var(--amber);
    font-weight: 400;
}
.section-head .lead {
    font-family: 'Pretendard', var(--f-sans);
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 680px;
    margin-top: 24px;
    letter-spacing: -0.005em;
}
section.dark .section-head { border-bottom-color: rgba(245, 240, 230, 0.18); }
section.dark .section-head .label { color: var(--amber-2); }
section.dark .section-head .lead { color: rgba(245, 240, 230, 0.75); }
section.dark .section-head h2 em { color: var(--amber-2); }
section.forest .section-head { border-bottom-color: rgba(245, 240, 230, 0.22); }
section.forest .section-head .label,
section.forest .section-head .lead { color: rgba(245, 240, 230, 0.82); }

/* ============================================
   CTA BAND / MEGA FOOTER CTA
   ============================================ */
.cta-band {
    background: var(--ink);
    color: var(--bg);
    padding: clamp(80px, 10vw, 140px) var(--page-pad);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 30%, rgba(192, 136, 56, 0.14) 0%, transparent 50%);
    pointer-events: none;
}
.cta-band .container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 48px;
    position: relative;
}
.cta-band h3 {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(32px, 4.2vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    max-width: 900px;
}
.cta-band h3 em { color: var(--amber-2); font-style: italic; font-weight: 400; }
.cta-band .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    font-family: var(--f-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid var(--bg);
    color: var(--bg);
    transition: all .25s;
    border-radius: 2px;
    min-height: 60px;
}
.cta-band .btn::after {
    content: '→';
    font-family: var(--f-mono);
    transition: transform .25s;
}
.cta-band .btn:hover::after { transform: translateX(4px); }
.cta-band .btn.primary {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
}
.cta-band .btn:hover { background: var(--bg); color: var(--ink); }
.cta-band .btn.primary:hover { background: var(--amber-2); color: var(--ink); border-color: var(--amber-2); }

/* ============================================
   FOOTER — Mega footer with big Start CTA
   ============================================ */
footer {
    background: var(--ink);
    color: rgba(245, 240, 230, 0.75);
    padding: 100px var(--page-pad) 40px;
    font-size: 14px;
    position: relative;
}
footer .fgrid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(245, 240, 230, 0.14);
}
footer h4 {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.5);
    margin-bottom: 24px;
    font-weight: 500;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a {
    color: rgba(245, 240, 230, 0.82);
    text-decoration: none;
    transition: color .2s;
}
footer a:hover { color: var(--amber-2); }
footer .brand-block .display {
    font-family: var(--f-display);
    font-size: 40px;
    font-weight: 600;
    color: var(--bg);
    letter-spacing: 0.02em;
    margin-bottom: 16px;
    line-height: 1;
}
footer .brand-block p {
    line-height: 1.75;
    max-width: 420px;
    color: rgba(245, 240, 230, 0.62);
    font-size: 14px;
}
footer .fbottom {
    max-width: var(--container);
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.42);
    padding-top: 16px;
}

/* Utility */
.rule { height: 1px; background: var(--rule); border: 0; margin: 32px 0; }
.rule-strong { height: 1px; background: var(--rule-strong); border: 0; }
section.dark .rule { background: rgba(245, 240, 230, 0.14); }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 8px 12px;
    border: 1px solid var(--rule-strong);
    color: var(--ink-soft);
    border-radius: 2px;
    background: transparent;
    font-weight: 500;
}

.grid-bg {
    background-image:
        linear-gradient(var(--rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--rule) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* Fade in on scroll */
.fade { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.fade.in { opacity: 1; transform: none; }

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
/* Language switcher — text KR · EN · JA, fixed size never shifts */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0 28px 0 24px;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--f-mono);
    /* Reserve a fixed slot so nav never re-layouts when language changes */
    min-width: 92px;
    justify-content: center;
}
.lang-switcher button {
    background: transparent;
    border: 0;
    /* Same font-weight for active/inactive (color-only distinction) — 0 width shift */
    font-family: var(--f-mono);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    cursor: pointer;
    text-transform: uppercase;
    transition: color .2s;
    /* Fixed slot per button */
    width: 26px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}
.lang-switcher button:hover { color: var(--ink); }
.lang-switcher button.active {
    color: var(--amber);
}
.lang-switcher .sep {
    color: var(--ink-faint);
    font-size: 10px;
    padding: 0 2px;
    user-select: none;
    line-height: 1;
}

.mm-lang-switcher {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(245, 240, 230, 0.06);
    border-bottom: 1px solid rgba(245, 240, 230, 0.12);
}
.mm-lang-switcher button {
    flex: 1;
    background: transparent;
    border: 1px solid rgba(245, 240, 230, 0.28);
    padding: 14px 6px;
    color: rgba(245, 240, 230, 0.78);
    font-family: var(--f-mono);
    font-size: 13px;
    letter-spacing: 0.16em;
    font-weight: 600;
    cursor: pointer;
    min-height: 48px;
    transition: all .15s;
    border-radius: 2px;
}
.mm-lang-switcher button.active {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
}
.mm-lang-switcher button:not(.active):active {
    background: rgba(245, 240, 230, 0.08);
}

/* Japanese CJK relax */
body.lang-ja {
    letter-spacing: 0;
    font-family: 'Noto Sans JP', 'Pretendard', var(--f-sans);
}
body.lang-ja .hero h1,
body.lang-ja .section-head h2,
body.lang-ja .display,
body.lang-ja .hero-kor-title,
body.lang-ja .kor,
body.lang-ja .nav-brand,
body.lang-ja .mm-head .l,
body.lang-ja .step-head h3 { letter-spacing: -0.008em; }

/* ============================================
   MOBILE HAMBURGER (< 900px)
   ============================================ */
.m-hamburger {
    display: none;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--rule-strong);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    border-radius: 2px;
    transition: all .2s;
}
.m-hamburger svg { width: 22px; height: 22px; stroke: var(--ink); }
.m-hamburger:hover { background: var(--ink); border-color: var(--ink); }
.m-hamburger:hover svg { stroke: var(--bg); }

.m-quote-btn {
    display: none;
    font-family: var(--f-sans);
    font-size: 13px;
    letter-spacing: 0.02em;
    font-weight: 600;
    text-decoration: none;
    padding: 12px 16px;
    background: var(--amber);
    color: var(--ink);
    border: 1px solid var(--amber);
    align-items: center;
    height: 48px;
    flex-shrink: 0;
    border-radius: 2px;
}

/* ============================================
   MOBILE FULL-SCREEN MENU
   ============================================ */
.m-fullmenu {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--ink);
    color: var(--bg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.m-fullmenu.open { transform: translateX(0); }
.m-fullmenu .mm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(245, 240, 230, 0.14);
    position: sticky;
    top: 0;
    background: var(--ink);
    z-index: 2;
}
.m-fullmenu .mm-brand {
    font-family: var(--f-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--bg);
    text-decoration: none;
}
.m-fullmenu .mm-close {
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(245, 240, 230, 0.32);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    border-radius: 2px;
}
.m-fullmenu .mm-close svg { width: 22px; height: 22px; stroke: currentColor; }
.m-fullmenu .mm-list {
    list-style: none;
    padding: 12px 0;
    flex: 1;
}
.m-fullmenu .mm-item { border-bottom: 1px solid rgba(245, 240, 230, 0.10); }
.m-fullmenu .mm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    text-decoration: none;
    color: var(--bg);
    cursor: pointer;
    user-select: none;
    min-height: 68px;
}
.m-fullmenu .mm-head .l {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: 26px;
    letter-spacing: -0.015em;
    line-height: 1.1;
}
.m-fullmenu .mm-head .k {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.4);
    margin-right: 8px;
    font-weight: 500;
}
.m-fullmenu .mm-head .caret {
    width: 12px; height: 12px;
    border-right: 1.5px solid var(--amber-2);
    border-bottom: 1.5px solid var(--amber-2);
    transform: rotate(45deg);
    transition: transform .3s;
    margin-top: -6px;
}
.m-fullmenu .mm-item.open .mm-head .caret {
    transform: rotate(-135deg);
    margin-top: 4px;
}
.m-fullmenu .mm-sub {
    display: none;
    padding: 0 20px 20px 20px;
}
.m-fullmenu .mm-item.open .mm-sub { display: block; }
.m-fullmenu .mm-sub a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    color: rgba(245, 240, 230, 0.78);
    text-decoration: none;
    font-family: 'Pretendard', var(--f-sans);
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px dotted rgba(245, 240, 230, 0.10);
}
.m-fullmenu .mm-sub a:last-child { border-bottom: 0; }
.m-fullmenu .mm-sub a .en {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.4);
    font-weight: 500;
}
.m-fullmenu .mm-sub a:active {
    color: var(--amber-2);
}

.m-fullmenu .mm-cta {
    padding: 20px;
    display: grid;
    gap: 10px;
    border-top: 1px solid rgba(245, 240, 230, 0.14);
    background: var(--forest);
    position: sticky;
    bottom: 0;
}
.m-fullmenu .mm-cta a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--bg);
    border: 1px solid rgba(245, 240, 230, 0.28);
    font-family: var(--f-sans);
    font-size: 13px;
    letter-spacing: 0.05em;
    font-weight: 600;
    min-height: 56px;
    border-radius: 2px;
}
.m-fullmenu .mm-cta a.primary {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--ink);
}
.m-fullmenu .mm-cta a .val {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: inherit;
}

body.m-menu-open { overflow: hidden; }

/* ============================================
   MOBILE STICKY BOTTOM CTA
   ============================================ */
.m-cta {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    background: var(--ink);
    border-top: 1px solid rgba(245, 240, 230, 0.14);
    padding: 8px;
    gap: 6px;
    justify-content: space-between;
    box-shadow: 0 -12px 24px rgba(0, 0, 0, 0.16);
}
.m-cta a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 10px 6px;
    text-decoration: none;
    color: var(--bg);
    background: transparent;
    border: 1px solid transparent;
    transition: background .15s;
    min-height: 58px;
    flex: 1 1 auto;
    border-radius: 2px;
}
.m-cta a.tel-btn {
    flex: 0 0 60px;
    background: var(--forest);
    padding: 8px 4px;
}
.m-cta a:active { background: rgba(245, 240, 230, 0.08); }
.m-cta a.primary { background: var(--amber); color: var(--ink); flex: 1.15 1 auto; }
.m-cta a.primary:active { background: var(--amber-2); }
.m-cta a .l {
    font-family: var(--f-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.6);
    font-weight: 500;
}
.m-cta a.primary .l { color: rgba(26, 38, 32, 0.68); }
.m-cta a .v {
    font-family: var(--f-display);
    font-size: 16px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    font-weight: 600;
}
.m-cta a.primary .v { color: var(--ink); }
.m-cta a .v.mono {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.02em;
    font-weight: 500;
}
.m-cta a.tel-btn svg {
    width: 22px; height: 22px;
    stroke: var(--amber-2);
    fill: none;
    stroke-width: 1.6;
}
.m-cta a.tel-btn .l {
    font-size: 8px;
    letter-spacing: 0.1em;
    color: rgba(245, 240, 230, 0.78);
}

/* Legal info & Contact list additions */
footer .flegal {
    max-width: var(--container);
    margin: 24px auto 0;
    padding: 18px 0;
    border-top: 1px solid rgba(245, 240, 230, 0.08);
}
footer .flegal-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: rgba(245, 240, 230, 0.45);
    text-transform: uppercase;
    font-weight: 500;
}
footer .flegal-inner .k {
    color: rgba(245, 240, 230, 0.65);
    margin-right: 6px;
}
footer .flegal-inner .sep {
    color: rgba(245, 240, 230, 0.24);
}
footer .flegal-inner a {
    color: rgba(245, 240, 230, 0.58);
    text-decoration: none;
    transition: color .2s;
    text-transform: none;
    letter-spacing: 0;
}
footer .flegal-inner a:hover {
    color: var(--amber-2);
}

footer .contact-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    border-bottom: 1px dotted rgba(245, 240, 230, 0.12);
    padding-bottom: 8px;
}
footer .contact-list li:last-child { border-bottom: 0; }
footer .contact-list li .k {
    font-family: var(--f-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245, 240, 230, 0.48);
    white-space: nowrap;
    font-weight: 500;
}
footer .contact-list li .v {
    font-family: var(--f-mono);
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--bg);
    text-align: right;
    font-weight: 500;
}
footer .contact-list li a {
    color: var(--bg);
    transition: color .2s;
}
footer .contact-list li a:hover { color: var(--amber-2); }

/* ============================================
   NARROW DESKTOP + TABLET
   ============================================ */
@media (max-width: 1280px) and (min-width: 901px) {
    :root { --page-pad: clamp(20px, 3vw, 40px); --nav-h: 72px; }
    .nav-menu {
        gap: 18px;
        margin-left: 28px;
    }
    .nav-menu a { font-size: 13px; letter-spacing: 0; }
    .lang-switcher { margin: 0 18px 0 14px; min-width: 80px; }
    .lang-switcher button { width: 22px; height: 30px; font-size: 10.5px; letter-spacing: 0.06em; }
    .lang-switcher .sep { padding: 0 1px; font-size: 9px; }
    .nav-cta { flex-shrink: 0; gap: 6px; }
    .nav-cta a {
        padding: 9px 12px;
        font-size: 11.5px;
        gap: 4px;
    }
    .nav-brand { font-size: 31px; }
    .nav-brand small { display: none; }
}
@media (max-width: 1120px) and (min-width: 901px) {
    .nav-menu { gap: 12px; margin-left: 20px; }
    .nav-menu a { font-size: 12px; letter-spacing: 0; }
    .nav-cta a { padding: 8px 10px; font-size: 11px; }
    .section-head { grid-template-columns: 200px 1fr; gap: 32px; }
}

/* ============================================
   MOBILE (<= 900px)
   ============================================ */
@media (max-width: 900px) {
    :root {
        --nav-h: 62px;
        --page-pad: 20px;
        --section-y: 72px;
    }
    body { padding-bottom: 78px; font-size: 16px; }
    footer { padding-bottom: 32px; padding-top: 72px; }

    /* Nav */
    .nav-menu, .nav-cta, .lang-switcher { display: none; }
    .m-hamburger { display: flex; }
    .m-quote-btn { display: inline-flex; gap: 4px; margin-left: auto; margin-right: 8px; }
    .nav-brand small { display: none; }
    .nav-brand { font-size: 30px; }
    .nav { padding: 0 16px; }

    /* Hero */
    .hero {
        padding: calc(var(--nav-h) + 60px) 20px 48px;
        min-height: auto;
    }
    .hero-inner { gap: 22px; }
    .hero-eyebrow { font-size: 11px; letter-spacing: 0.2em; }
    .hero-eyebrow::before { width: 22px; }
    .hero h1 {
        font-size: clamp(36px, 11vw, 56px) !important;
        line-height: 1.03 !important;
    }
    .hero-kor-title {
        font-size: clamp(20px, 6vw, 30px) !important;
        line-height: 1.35 !important;
    }
    .hero-sub {
        font-size: 15px !important;
        max-width: 100%;
    }
    .hero-meta {
        margin-top: 40px;
        padding-top: 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    .hero-meta .cta-row {
        flex-direction: column;
        gap: 10px;
    }
    .hero .cta {
        width: 100%;
        justify-content: center;
        padding: 18px 22px;
        min-height: 56px;
        font-size: 14px;
    }
    .hero-stats {
        gap: 12px 24px;
        flex-wrap: wrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .hero-stats span strong { font-size: 20px; }
    .hero-stats span {
        white-space: nowrap;
        font-size: 9px;
    }

    /* Sections */
    section { padding: var(--section-y) 20px; }
    .section-head {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 48px;
        padding-bottom: 20px;
    }
    .section-head h2 {
        font-size: clamp(30px, 8vw, 44px) !important;
    }
    .section-head .lead {
        font-size: 15px !important;
        line-height: 1.7;
    }

    /* CTA band */
    .cta-band { padding: 64px 20px; }
    .cta-band .container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cta-band h3 { font-size: clamp(28px, 7vw, 40px) !important; }
    .cta-band .btn-row { flex-direction: column; gap: 10px; }
    .cta-band .btn {
        width: 100%;
        justify-content: center;
        padding: 20px 22px;
        min-height: 56px;
    }

    /* Footer */
    footer .fgrid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }
    footer .fbottom {
        flex-direction: column;
        gap: 8px;
        font-size: 9px;
        text-align: left;
    }
    footer .flegal-inner {
        gap: 8px;
        flex-direction: column;
        align-items: flex-start;
    }
    footer .flegal-inner .sep { display: none; }
    footer .brand-block .display { font-size: 32px; }

    /* Badge */
    .badge-72h { width: 72px; height: 72px; right: 12px; bottom: 92px; }
    .badge-72h .core .n { font-size: 22px; }
    .badge-72h .core .l { font-size: 7px; }
    .badge-72h .ring text { font-size: 7px; }

    /* Show mobile CTA */
    .m-cta { display: flex; }
}

/* Extra-small phones */
@media (max-width: 380px) {
    :root { --page-pad: 16px; }
    section { padding: 56px 16px; }
    .hero { padding: calc(var(--nav-h) + 48px) 16px 40px; }
    .hero h1 { font-size: clamp(32px, 11vw, 44px) !important; }
    .hero-kor-title { font-size: clamp(18px, 5.6vw, 24px) !important; }
    .m-cta a .v { font-size: 14px; }
    .m-cta a .l { font-size: 8px; }
    .m-cta a.tel-btn { flex: 0 0 52px; }
    .badge-72h { display: none; }
}
