:root {
    --j2w-bg: #f2f2f2;
    --j2w-surface: #ffffff;
    --j2w-surface-soft: #f6f6f6;
    --j2w-ink: #111111;
    --j2w-muted: #666666;
    --j2w-border: #d7d7d7;
    --j2w-dark: #0c0c0c;
    --j2w-accent: #d8ff3f;
    --j2w-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
    --j2w-radius: 30px;
    --j2w-font-body: "Noto Sans KR", sans-serif;
    --j2w-font-display: "Archivo", "Noto Sans KR", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top, #fafafa 0%, #efefef 42%, #e9e9e9 100%);
    color: var(--j2w-ink);
    font-family: var(--j2w-font-body);
    line-height: 1.7;
}

body.admin-bar .site-header {
    top: 32px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.site-shell {
    min-height: 100vh;
}

.section-shell,
.site-header__inner,
.notice-strip__inner,
.site-footer__inner,
.site-footer__meta {
    width: min(1360px, calc(100% - 40px));
    margin: 0 auto;
}

.display-kicker,
.section-heading__eyebrow,
.page-hero__eyebrow,
.single-entry__eyebrow,
.story-card__eyebrow {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.notice-strip {
    background: var(--j2w-dark);
    color: #ffffff;
}

.notice-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    font-size: 0.88rem;
}

.notice-strip__links {
    display: flex;
    gap: 18px;
}

.notice-strip__links a {
    color: rgba(255, 255, 255, 0.82);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    background: rgba(242, 242, 242, 0.92);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 84px;
}

.site-branding {
    flex: 0 0 auto;
}

.site-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-brand__title {
    font-family: var(--j2w-font-display);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.site-brand__tagline {
    color: var(--j2w-muted);
    font-size: 0.92rem;
}

.site-nav {
    flex: 1 1 auto;
}

.site-nav ul,
.site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav a,
.site-footer__nav a {
    font-weight: 700;
}

.site-header__cta,
.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.site-header__cta,
.button-primary {
    background: var(--j2w-dark);
    color: #ffffff;
}

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.site-header__cta:hover,
.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-1px);
}

.site-main {
    padding-bottom: 100px;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(330px, 0.8fr);
    gap: 24px;
    padding-top: 24px;
}

.home-hero__copy,
.home-hero__feature,
.signal-card,
.topic-block,
.story-card,
.article-entry,
.article-sidebar__card,
.empty-state,
.editorial-note__panel,
.listing-hero,
.site-footer {
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: var(--j2w-shadow);
}

.home-hero__copy {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    padding: clamp(32px, 5vw, 72px);
    border-radius: 40px;
    background: linear-gradient(135deg, #050505 0%, #131313 44%, #202020 100%);
    color: #ffffff;
}

.home-hero__copy::before {
    content: "";
    position: absolute;
    right: -8%;
    top: -14%;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 255, 63, 0.92) 0%, rgba(216, 255, 63, 0.08) 54%, transparent 72%);
    filter: blur(10px);
    opacity: 0.85;
}

.home-hero__copy h1,
.listing-hero h1,
.article-hero h1,
.section-heading h2,
.editorial-note h2,
.story-card__title {
    margin: 0;
    font-family: var(--j2w-font-display);
    font-weight: 900;
    letter-spacing: -0.016em;
    line-height: 1.1;
    word-break: keep-all;
    text-wrap: balance;
}

.home-hero__copy h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 6.6vw, 5rem);
}

.home-hero__lead {
    position: relative;
    z-index: 1;
    max-width: 35rem;
    margin-top: 24px;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.hero-metrics li {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-metrics span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--j2w-accent);
    font-family: var(--j2w-font-display);
    font-size: 0.95rem;
    font-weight: 800;
}

.hero-metrics strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.04rem;
}

.hero-metrics p,
.home-hero__feature-excerpt,
.story-card__excerpt,
.section-heading p,
.listing-hero p,
.article-hero__excerpt,
.article-sidebar__verdict,
.article-entry table,
.article-entry figcaption,
.site-footer p,
.site-footer__meta p,
.topic-block p,
.signal-card p {
    color: var(--j2w-muted);
}

.home-hero__feature {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 620px;
    padding: clamp(28px, 4vw, 40px);
    border-radius: 40px;
    background: linear-gradient(180deg, #fcfcfc 0%, #f3f3f3 100%);
}

.home-hero__feature::before {
    content: "";
    position: absolute;
    left: 18%;
    top: 14%;
    width: 70%;
    height: 190px;
    border-radius: 36px;
    background: linear-gradient(135deg, #ededed 0%, #ffffff 72%);
    transform: rotate(-7deg);
}

.home-hero__feature > * {
    position: relative;
    z-index: 1;
}

.home-hero__feature h2 {
    margin: 0;
    font-family: var(--j2w-font-display);
    font-size: clamp(1.65rem, 2.5vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -0.018em;
    word-break: keep-all;
    text-wrap: pretty;
}

.home-hero__feature h2 a:hover,
.story-card__title a:hover,
.section-heading__link a:hover,
.editorial-note__panel a:hover,
.home-hero__feature-foot a:hover {
    color: #1a1a1a;
}

.home-hero__feature-meta {
    margin: 0 0 18px;
    font-size: 0.95rem;
    font-weight: 700;
}

.home-hero__feature-foot,
.story-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
    font-size: 0.92rem;
    font-weight: 700;
}

.signal-strip,
.topic-grid,
.article-layout,
.story-grid {
    display: grid;
    gap: 20px;
}

.signal-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
}

.signal-card {
    padding: 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
}

.signal-card strong,
.topic-block strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.16rem;
}

.topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 24px;
}

.topic-block {
    min-height: 240px;
    padding: 28px;
    border-radius: 32px;
    background: var(--j2w-surface);
}

.topic-block--dark {
    background: var(--j2w-dark);
    color: #ffffff;
}

.topic-block--dark p {
    color: rgba(255, 255, 255, 0.74);
}

.topic-block--accent {
    background: linear-gradient(135deg, #f6ffd1 0%, #eef7d4 100%);
}

.topic-block__label {
    display: inline-flex;
    margin-bottom: 18px;
    font-family: var(--j2w-font-display);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-section {
    margin-top: 42px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.section-heading h2 {
    font-size: clamp(1.85rem, 3.3vw, 2.8rem);
}

.section-heading p {
    max-width: 31rem;
    margin: 0;
}

.section-heading__link {
    margin-top: 16px;
    font-weight: 800;
}

.story-grid--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    padding: 28px;
    border-radius: 32px;
    background: var(--j2w-surface);
}

.story-card--feature {
    min-height: 420px;
}

.story-card__title {
    font-size: clamp(1.2rem, 1.7vw, 1.62rem);
    line-height: 1.14;
}

.story-card__excerpt {
    margin: 18px 0 0;
}

.editorial-note {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    margin-top: 44px;
}

.editorial-note__copy {
    padding: 10px 0;
}

.editorial-note h2 {
    font-size: clamp(2.1rem, 4.6vw, 4rem);
}

.editorial-note__panel {
    padding: 32px;
    border-radius: 32px;
    background: var(--j2w-dark);
    color: #ffffff;
}

.editorial-note__panel p {
    color: rgba(255, 255, 255, 0.78);
}

.editorial-note__panel a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--j2w-accent);
    font-weight: 800;
}

.listing-hero,
.article-hero__inner,
.article-entry,
.empty-state {
    padding: clamp(28px, 4vw, 44px);
    border-radius: 34px;
    background: var(--j2w-surface);
}

.listing-hero {
    margin-top: 24px;
}

.listing-hero h1,
.article-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.pagination-wrap {
    margin-top: 24px;
}

.pagination-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.article-hero {
    margin-top: 24px;
}

.article-hero__excerpt {
    max-width: 48rem;
    margin: 24px 0 0;
    font-size: 1.06rem;
}

.single-entry__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 18px;
    color: var(--j2w-muted);
    font-size: 0.95rem;
}

.article-layout {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    margin-top: 26px;
}

.article-sidebar__card {
    position: sticky;
    top: 112px;
    padding: 28px;
    border-radius: 30px;
    background: var(--j2w-dark);
    color: #ffffff;
}

.article-score {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 22px 0 10px;
}

.article-score strong {
    font-family: var(--j2w-font-display);
    font-size: 4rem;
    line-height: 1;
    letter-spacing: -0.08em;
}

.article-sidebar__verdict {
    color: rgba(255, 255, 255, 0.78);
}

.article-sidebar__list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.article-sidebar__list li + li {
    margin-top: 10px;
}

.article-sidebar__list a {
    color: var(--j2w-accent);
    font-weight: 700;
}

.article-entry__header--page {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

.article-entry__content {
    max-width: 760px;
}

.article-entry__content > *:first-child {
    margin-top: 0;
}

.article-entry__content > *:last-child {
    margin-bottom: 0;
}

.article-entry__content figure.article-figure {
    margin: 34px 0 42px;
}

.article-entry__content figure.article-figure img {
    display: block;
    width: 100%;
    border-radius: 28px;
    box-shadow: var(--j2w-shadow);
}

.article-entry__content figure.article-figure figcaption {
    margin-top: 12px;
    color: var(--j2w-muted);
    font-size: 0.93rem;
}

.article-entry__content h2,
.article-entry__content h3,
.article-entry__content h4 {
    font-family: var(--j2w-font-display);
    font-weight: 800;
    letter-spacing: -0.018em;
    line-height: 1.14;
}

.article-entry__content h2 {
    margin: 2.4em 0 0.7em;
    font-size: clamp(1.8rem, 3.5vw, 2.65rem);
}

.article-entry__content h3 {
    margin: 1.9em 0 0.7em;
    font-size: clamp(1.32rem, 2.5vw, 1.78rem);
}

.article-entry__content p,
.article-entry__content li {
    font-size: 1.02rem;
}

.article-entry__content ul,
.article-entry__content ol {
    padding-left: 1.4rem;
}

.article-entry__content blockquote {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--j2w-dark);
    background: var(--j2w-surface-soft);
    border-radius: 18px;
}

.article-entry__content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border: 1px solid var(--j2w-border);
    overflow: hidden;
    border-radius: 22px;
}

.article-entry__content th,
.article-entry__content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--j2w-border);
    text-align: left;
}

.article-entry__content th {
    background: #f4f4f4;
    font-weight: 800;
}

.article-entry__content code {
    padding: 0.1em 0.35em;
    border-radius: 8px;
    background: #efefef;
}

.article-entry__content hr {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid var(--j2w-border);
}

.empty-state {
    margin-top: 24px;
}

.site-footer {
    width: min(1360px, calc(100% - 40px));
    margin: 60px auto 0;
    padding: 28px 0 20px;
    border-radius: 34px;
    background: var(--j2w-dark);
    color: #ffffff;
}

.site-footer__inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
}

.site-footer__brand {
    max-width: 38rem;
}

.site-footer__brand strong {
    display: block;
    margin-bottom: 12px;
    font-family: var(--j2w-font-display);
    font-size: 1.4rem;
    letter-spacing: -0.05em;
    text-transform: uppercase;
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__meta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1100px) {
    .home-hero,
    .editorial-note,
    .article-layout,
    .story-grid--triple,
    .topic-grid,
    .signal-strip {
        grid-template-columns: 1fr;
    }

    .article-sidebar__card {
        position: static;
    }

    .home-hero__copy,
    .home-hero__feature {
        min-height: auto;
    }
}

@media (max-width: 860px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .notice-strip__inner,
    .site-header__inner,
    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
    }

    .site-nav ul {
        min-width: max-content;
        padding-bottom: 8px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section-shell,
    .site-header__inner,
    .notice-strip__inner,
    .site-footer__inner,
    .site-footer__meta {
        width: min(100% - 24px, 1360px);
    }

    .home-hero__copy,
    .home-hero__feature,
    .story-card,
    .article-entry,
    .listing-hero,
    .site-footer {
        border-radius: 24px;
    }

    .home-hero__copy h1 {
        font-size: clamp(2.45rem, 13vw, 3.55rem);
    }

    .listing-hero h1,
    .article-hero h1,
    .editorial-note h2 {
        font-size: clamp(1.85rem, 10.5vw, 2.75rem);
    }
}
