:root {
    --bg-top: #f3f8f0;
    --bg-bottom: #c9dcbe;
    --surface: rgba(255, 255, 255, 0.66);
    --surface-strong: rgba(247, 250, 246, 0.92);
    --card: #eef3ee;
    --line: rgba(120, 146, 127, 0.28);
    --line-strong: rgba(120, 146, 127, 0.42);
    --text: #2f4638;
    --text-soft: #4f6655;
    --eyebrow: #5d7f67;
    --accent: #9db69b;
    --shadow: 0 24px 65px rgba(109, 132, 117, 0.2);
}

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

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100dvh;
    background: radial-gradient(circle at 12% 16%, var(--bg-top) 0%, #e5efe2 38%, #d6e6d2 72%, var(--bg-bottom) 100%);
    color: var(--text);
    font-family: "Space Grotesk", "Noto Sans KR", system-ui, sans-serif;
    overflow-x: hidden;
}

button,
a {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.home-shell {
    padding: 18px;
}

.home-surface {
    width: min(1240px, 100%);
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid rgba(140, 165, 146, 0.35);
    border-radius: 24px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(6px);
    padding: 22px;
    display: grid;
    gap: 18px;
}

.home-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.home-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.language-picker {
    display: inline-flex;
    align-items: center;
}

.language-picker select {
    min-height: 54px;
    min-width: 184px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    appearance: none;
}

.brand-lockup {
    display: grid;
    gap: 8px;
}

.brand-lockup h1,
.section-header h2 {
    margin: 0;
}

.eyebrow,
.section-kicker {
    margin: 0;
    color: var(--eyebrow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.eyebrow-link {
    text-decoration: none;
    width: fit-content;
}

.eyebrow-link:hover,
.eyebrow-link:focus,
.eyebrow-link:focus-visible,
.eyebrow-link:active,
.eyebrow-link:visited {
    color: var(--eyebrow);
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.lede,
.section-header p,
.hero-copy,
.strategy-points p,
.criteria-card span,
.gallery-card span {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.cta-button:hover,
.zoom-trigger:hover,
.criteria-card:hover,
.gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(109, 132, 117, 0.14);
}

.hero-grid,
.strategy-grid,
.gallery-grid,
.cta-row {
    display: grid;
    gap: 14px;
}

.hero-grid {
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.35fr);
}

.hero-card,
.content-section,
.strategy-points,
.gallery-card,
.criteria-card {
    border: 1px solid var(--line);
}

.hero-card {
    border-radius: 18px;
    overflow: hidden;
}

.hero-card-copy {
    background: var(--accent);
    color: #f4f8f3;
    padding: 24px;
    display: grid;
    gap: 18px;
    align-content: space-between;
}

.wordmark {
    font-size: clamp(52px, 7vw, 98px);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.hero-copy {
    color: rgba(244, 248, 243, 0.94);
}

.hero-brand-panel,
.hero-image-panel,
.strategy-main,
.criteria-card,
.gallery-card {
    padding: 0;
    cursor: zoom-in;
    background: transparent;
    text-align: left;
}

.hero-brand-panel,
.hero-image-panel,
.strategy-main,
.criteria-card,
.gallery-card,
.zoom-modal-backdrop {
    border: 0;
}

.hero-brand-panel {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    min-height: 300px;
}

.hero-brand-panel img,
.hero-image-panel img,
.strategy-main img,
.criteria-card img,
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(24, 40, 30, 0.62);
    color: #f1f7f0;
    font-size: 11px;
    font-weight: 700;
}

.hero-image-panel {
    min-height: 500px;
    background: #d9dfd8;
}

.content-section {
    border-radius: 18px;
    background: rgba(245, 249, 244, 0.68);
    padding: 16px;
    display: grid;
    gap: 16px;
}

.section-header {
    display: grid;
    gap: 6px;
    padding: 2px;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.criteria-card,
.gallery-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 220px auto;
}

.criteria-card strong,
.gallery-card span {
    padding: 12px 12px 0;
}

.criteria-card span {
    padding: 0 12px 12px;
    font-size: 13px;
}

.strategy-grid {
    grid-template-columns: 1.25fr 1fr;
}

.strategy-main {
    border-radius: 14px;
    overflow: hidden;
    min-height: 460px;
}

.strategy-points {
    background: var(--surface-strong);
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 8px;
}

.strategy-points article {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.strategy-points strong {
    color: var(--eyebrow);
    font-size: 12px;
}

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

.gallery-card {
    grid-template-rows: 180px auto;
}

.gallery-card span {
    padding: 11px;
    font-size: 12px;
    line-height: 1.5;
}

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

.cta-button {
    font-weight: 700;
}

.cta-accent {
    background: rgba(157, 182, 155, 0.2);
}

.home-footer {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(120, 146, 127, 0.25);
    background: rgba(245, 248, 245, 0.85);
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.7;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
}

.footer-links {
    grid-column: 1 / -1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.footer-links a {
    color: inherit;
    text-decoration: underline;
}

.zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.zoom-modal[hidden] {
    display: none;
}

.zoom-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 20, 0.72);
    cursor: zoom-out;
}

.zoom-modal-panel {
    position: relative;
    z-index: 1;
    width: min(1200px, 96vw);
    max-height: 90vh;
    padding: 18px;
    border-radius: 16px;
    background: #d4e2d1;
    border: 1px solid rgba(245, 250, 245, 0.7);
    display: grid;
    gap: 10px;
}

.zoom-modal-panel img {
    max-height: calc(90vh - 90px);
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
}

.zoom-modal-panel p {
    margin: 0;
    text-align: center;
    color: #edf6ec;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .criteria-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .home-shell {
        padding: 12px;
    }

    .home-surface {
        padding: 14px;
    }

    .home-topbar,
    .hero-grid,
    .strategy-grid,
    .gallery-grid,
    .cta-row,
    .home-footer {
        grid-template-columns: 1fr;
    }

    .home-topbar {
        display: grid;
    }

    .home-actions {
        justify-content: stretch;
    }

    .language-picker,
    .language-picker select {
        width: 100%;
    }

    .hero-card-copy {
        min-height: auto;
        padding: 18px;
    }

    .hero-brand-panel,
    .hero-image-panel,
    .strategy-main {
        min-height: 280px;
    }

    .criteria-grid {
        grid-template-columns: 1fr;
    }

    .home-footer {
        gap: 6px;
    }

    .zoom-modal {
        padding: 14px;
    }

    .zoom-modal-panel {
        padding: 12px;
    }
}
