:root {
    --behind-page: #f5f5f7;
    --behind-surface: #ffffff;
    --behind-text: #1d1d1f;
    --behind-muted: #6e6e73;
    --behind-border: rgba(29, 29, 31, 0.12);
    --behind-blue: #087cf0;
    --behind-green: #20b75a;
    --behind-dark: #111214;
    --behind-glass: rgba(255,255,255,.58);
    --behind-glass-border: rgba(255,255,255,.66);
    --behind-glass-shadow: rgba(24,24,28,.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% -8%, rgba(54,141,255,.08), transparent 30%), var(--behind-page);
    color: var(--behind-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: inherit; }

.behind-header {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 27px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.behind-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 20px; font-weight: 600; }
.behind-brand img { width: auto; height: 24px; object-fit: contain; }
.behind-nav { display: flex; align-items: center; gap: 20px; color: #77777d; font-size: 13px; }
.behind-nav > a { text-decoration: none; }
.behind-nav > a:hover { color: var(--behind-text); }
.language-menu { position: relative; }
.language-menu summary { cursor: pointer; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: "⌄"; margin-left: 5px; }
.language-list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 12px);
    right: 0;
    width: 170px;
    padding: 8px;
    display: grid;
    border: 1px solid var(--behind-border);
    border-radius: 14px;
    background: var(--behind-surface);
    box-shadow: 0 18px 50px rgba(20, 25, 36, 0.15);
}
.language-list a { padding: 9px 11px; border-radius: 8px; text-decoration: none; color: var(--behind-muted); }
.language-list a:hover, .language-list a[aria-current="page"] { background: rgba(8, 124, 240, 0.09); color: var(--behind-blue); }

.behind-hero {
    position: relative;
    isolation: isolate;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 74px 0 112px;
}
.behind-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -260px;
    left: 50%;
    width: min(1050px, 100vw);
    height: 760px;
    transform: translateX(-50%);
    background: radial-gradient(circle at 38% 42%, rgba(43,137,255,.15), transparent 32%), radial-gradient(circle at 66% 50%, rgba(32,183,90,.10), transparent 30%);
    filter: blur(12px);
}
.hero-copy { max-width: 850px; margin: 0 auto 56px; text-align: center; }
.behind-eyebrow, .chapter-number { color: var(--behind-blue); font-size: 12px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.behind-hero h1 { margin: 17px 0 0; font-size: clamp(46px, 7vw, 78px); line-height: .98; letter-spacing: -.06em; }
.hero-quote { max-width: 760px; margin: 26px auto 0; color: var(--behind-muted); font-size: clamp(21px, 3vw, 30px); line-height: 1.45; letter-spacing: -.025em; }
.hero-intro { max-width: 680px; margin: 24px auto 0; color: var(--behind-muted); font-size: 16px; line-height: 1.75; }
.hero-photo { overflow: hidden; margin: 0; border: 1px solid var(--behind-glass-border); border-radius: 28px; background: #17191d; box-shadow: 0 35px 100px rgba(18,25,37,.19), inset 0 1px 0 rgba(255,255,255,.72), inset 0 -1px 0 rgba(0,0,0,.08); }
.hero-photo picture, .hero-photo img { display: block; width: 100%; }
.hero-photo img { height: auto; }
.hero-caption { margin-top: 13px; color: var(--behind-muted); font-size: 12px; text-align: center; }

.story-main { padding: 0 24px 110px; }
.story-shell { width: min(1040px, 100%); margin: 0 auto; }
.story-section { padding: 96px 0; border-top: 1px solid var(--behind-border); }
.chapter-head { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 42px; align-items: start; }
.chapter-copy h2 { max-width: 760px; margin: 0; font-size: clamp(32px, 4.5vw, 50px); line-height: 1.08; letter-spacing: -.048em; }
.chapter-copy > p { max-width: 720px; margin: 24px 0 0; color: var(--behind-muted); font-size: 17px; line-height: 1.8; }
.prose { max-width: 760px; margin: 42px 0 0 202px; }
.prose p { margin: 0 0 20px; color: var(--behind-muted); font-size: 16px; line-height: 1.85; }
.prose strong { color: var(--behind-text); }
.prose h3 { margin: 0 0 18px; font-size: 22px; letter-spacing: -.03em; }
.prose ol { margin: 0; padding-left: 23px; color: var(--behind-muted); }
.prose li { padding: 7px 0 7px 6px; font-size: 15px; line-height: 1.7; }

.pull-quote {
    margin: 50px 0 0;
    padding: 42px 48px;
    border-left: 4px solid var(--behind-green);
    background: var(--behind-dark);
    color: #f5f5f7;
    font-size: clamp(25px, 3.8vw, 42px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -.04em;
}
.pull-quote small { display: block; margin-top: 20px; color: #9da1aa; font-size: 13px; font-weight: 500; letter-spacing: 0; }

.card-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-card { padding: 30px; border: 1px solid var(--behind-glass-border); border-radius: 20px; background: var(--behind-glass); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.06), inset 1px 1px 1px rgba(255,255,255,.78), 0 20px 54px var(--behind-glass-shadow); backdrop-filter: blur(18px) saturate(1.18); -webkit-backdrop-filter: blur(18px) saturate(1.18); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
.story-card span { color: var(--behind-blue); font-size: 10px; font-weight: 750; letter-spacing: .11em; }
.story-card h3 { margin: 18px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.story-card p { margin: 0; color: var(--behind-muted); font-size: 14px; line-height: 1.7; }

.flow-grid { margin-top: 54px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-step { position: relative; padding: 26px 24px 25px; border-top: 1px solid var(--behind-border); border-bottom: 1px solid var(--behind-border); border-right: 1px solid var(--behind-border); }
.flow-step:first-child { border-left: 1px solid var(--behind-border); border-radius: 18px 0 0 18px; }
.flow-step:last-child { border-radius: 0 18px 18px 0; }
.flow-step b { display: block; color: var(--behind-blue); font-size: 11px; }
.flow-step strong { display: block; margin-top: 13px; font-size: 16px; }
.flow-step p { margin: 9px 0 0; color: var(--behind-muted); font-size: 12px; line-height: 1.6; }

.story-table-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--behind-glass-border); border-radius: 18px; background: var(--behind-glass); box-shadow: inset 0 0 0 .5px rgba(0,0,0,.06), inset 1px 1px 1px rgba(255,255,255,.72), 0 20px 50px rgba(27,35,48,.07); backdrop-filter: blur(18px) saturate(1.16); -webkit-backdrop-filter: blur(18px) saturate(1.16); }
.story-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.story-table th, .story-table td { padding: 16px 18px; border-right: 1px solid var(--behind-border); border-bottom: 1px solid var(--behind-border); text-align: left; font-size: 14px; }
.story-table th:last-child, .story-table td:last-child { border-right: 0; }
.story-table tr:last-child td { border-bottom: 0; }
.story-table thead th { background: var(--behind-dark); color: #f5f5f7; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.story-table tbody td:first-child { color: var(--behind-text); font-weight: 650; }
.story-table tbody td { color: var(--behind-muted); }

.photo-pair { margin-top: 52px; display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; }
.photo-pair figure { overflow: hidden; margin: 0; border: 1px solid var(--behind-glass-border); border-radius: 22px; background: #17191d; box-shadow: 0 24px 64px rgba(18,25,37,.13), inset 0 1px 0 rgba(255,255,255,.66); transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
.photo-pair picture, .photo-pair img { display: block; width: 100%; height: 100%; }
.photo-pair img { object-fit: cover; }

.note-box { margin-top: 42px; padding: 25px 28px; border: 1px solid rgba(32,183,90,.30); border-radius: 16px; background: rgba(255,255,255,.46); box-shadow: inset 1px 1px 1px rgba(255,255,255,.72), 0 18px 44px rgba(32,183,90,.07); color: var(--behind-muted); font-size: 14px; line-height: 1.75; backdrop-filter: blur(18px) saturate(1.16); -webkit-backdrop-filter: blur(18px) saturate(1.16); }
.note-box strong { color: var(--behind-text); }

.behind-cta { padding: 90px 50px; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; background: rgba(17,18,20,.94); box-shadow: inset 1px 1px 1px rgba(255,255,255,.10), 0 32px 86px rgba(0,0,0,.24); color: #f5f5f7; text-align: center; backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15); }
.behind-cta h2 { max-width: 760px; margin: 0 auto; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.05em; }
.behind-cta p { max-width: 650px; margin: 20px auto 0; color: #9da1aa; font-size: 16px; line-height: 1.7; }
.cta-actions { margin-top: 31px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.cta-button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.20); border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 1px 1px 1px rgba(255,255,255,.12); color: #f5f5f7; text-decoration: none; font-size: 14px; font-weight: 650; backdrop-filter: blur(18px) saturate(1.22); -webkit-backdrop-filter: blur(18px) saturate(1.22); transition: transform .3s cubic-bezier(.16,1,.3,1), background .3s ease, box-shadow .3s ease; }
.cta-button.primary { border-color: rgba(255,255,255,.74); background: rgba(245,245,247,.90); box-shadow: inset 1px 1px 1px #fff, 0 12px 30px rgba(0,0,0,.24); color: #1d1d1f; }
.cta-button:hover { transform: translateY(-1px) scale(1.018); background: rgba(255,255,255,.12); box-shadow: inset 1px 1px 1px rgba(255,255,255,.18), 0 16px 34px rgba(0,0,0,.20); }
.cta-button.primary:hover { background: #fff; }

@media (hover: hover) {
    .story-card:hover, .photo-pair figure:hover { transform: translateY(-3px); box-shadow: inset 1px 1px 1px rgba(255,255,255,.82), 0 28px 72px rgba(27,35,48,.13); }
}

.behind-footer { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 44px; display: flex; justify-content: space-between; gap: 20px; color: #7c7c82; font-size: 12px; }
.behind-footer a { text-decoration: none; }

html[lang="ko"] .hero-quote, html[lang="ko"] .hero-intro, html[lang="ko"] .chapter-copy, html[lang="ko"] .story-card, html[lang="ko"] .flow-step, html[lang="ko"] .note-box { word-break: keep-all; }

@media (max-width: 760px) {
    .behind-header { width: calc(100% - 36px); padding: 21px 0; }
    .behind-nav { gap: 13px; }
    .behind-nav > a:first-child { display: none; }
    .behind-hero { width: calc(100% - 28px); padding: 48px 0 80px; }
    .hero-copy { margin-bottom: 38px; }
    .hero-photo { border-radius: 19px; }
    .story-main { padding: 0 20px 80px; }
    .story-section { padding: 72px 0; }
    .chapter-head { grid-template-columns: 1fr; gap: 18px; }
    .prose { margin: 30px 0 0; }
    .pull-quote { margin-top: 36px; padding: 32px 26px; }
    .card-grid, .photo-pair { grid-template-columns: 1fr; }
    .flow-grid { grid-template-columns: 1fr; }
    .flow-step { border-left: 1px solid var(--behind-border); border-top: 0; border-radius: 0; }
    .flow-step:first-child { border-top: 1px solid var(--behind-border); border-radius: 16px 16px 0 0; }
    .flow-step:last-child { border-radius: 0 0 16px 16px; }
    .story-table { min-width: 0; table-layout: fixed; }
    .story-table th, .story-table td { padding: 11px 9px; font-size: 10px; overflow-wrap: anywhere; }
    .story-table thead th { font-size: 9px; letter-spacing: .02em; }
    .photo-pair figure { aspect-ratio: 4 / 3; }
    .behind-cta { padding: 66px 24px; border-radius: 23px; }
    .cta-actions { flex-direction: column; }
    .behind-footer { width: calc(100% - 40px); flex-direction: column; }
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --behind-page: #000;
        --behind-surface: #1c1c1e;
        --behind-text: #f5f5f7;
        --behind-muted: #a1a1a6;
        --behind-border: rgba(255,255,255,.14);
        --behind-blue: #409cff;
        --behind-green: #30d158;
        --behind-dark: #0d0e10;
        --behind-glass: rgba(28,28,30,.68);
        --behind-glass-border: rgba(255,255,255,.16);
        --behind-glass-shadow: rgba(0,0,0,.35);
    }
    .language-list { box-shadow: 0 18px 50px rgba(0,0,0,.5); }
    .hero-photo { border-color: rgba(255,255,255,.15); box-shadow: 0 35px 100px rgba(0,0,0,.45); }
    .story-card, .story-table-wrap { background: rgba(28,28,30,.68); box-shadow: inset 1px 1px 1px rgba(255,255,255,.10), 0 22px 58px rgba(0,0,0,.34); }
    .note-box { border-color: rgba(48,209,88,.25); background: rgba(28,28,30,.60); box-shadow: inset 1px 1px 1px rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.30); }
}

@media (prefers-reduced-motion: no-preference) {
    .hero-copy, .hero-photo { animation: behind-rise .72s cubic-bezier(.16,1,.3,1) both; }
    .hero-photo { animation-delay: .1s; }
    @keyframes behind-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
