@charset "utf-8";

/* Pretendard Font */
@font-face {
    font-family: 'Pretendard';
    font-weight: 900;
    font-display: swap;
    src: local('Pretendard Black'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-Black.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-Black.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 800;
    font-display: swap;
    src: local('Pretendard ExtraBold'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-ExtraBold.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-ExtraBold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-display: swap;
    src: local('Pretendard Bold'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-Bold.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-display: swap;
    src: local('Pretendard SemiBold'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-SemiBold.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-SemiBold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 500;
    font-display: swap;
    src: local('Pretendard Medium'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-Medium.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-Medium.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-display: swap;
    src: local('Pretendard Regular'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-Regular.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 300;
    font-display: swap;
    src: local('Pretendard Light'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-Light.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-Light.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 200;
    font-display: swap;
    src: local('Pretendard ExtraLight'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-ExtraLight.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-ExtraLight.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 100;
    font-display: swap;
    src: local('Pretendard Thin'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff2/Pretendard-Thin.woff2') format('woff2'), 
         url('../../fonts/Pretendard-1.3.9 (1)/web/static/woff/Pretendard-Thin.woff') format('woff');
}

/* CSS Variables - Veridian Code Brand Colors */
:root {
    --primary-color: #2c5f4a;
    --primary-light: #3d7a62;
    --primary-dark: #1e4435;
    --secondary-color: #d4a853;
    --secondary-light: #e8c47a;
    --accent-color: #6b4423;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-light: #888888;
    --bg-cream: #f9f7f4;
    --bg-light: #f4f4f4;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e4435 0%, #2c5f4a 50%, #3d7a62 100%);
    --gradient-gold: linear-gradient(135deg, #d4a853 0%, #e8c47a 50%, #d4a853 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.10);
    --shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 95, 74, 0.1);
    transition: all 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(26, 95, 74, 0.1);
    box-shadow: var(--shadow-soft);
}

/* Index hero: transparent header over the intro, then white on scroll */
body[data-header-transparent="true"] .header {
    background: transparent !important;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

body[data-header-transparent="true"] .header.scrolled {
    background: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 95, 74, 0.1);
    box-shadow: var(--shadow-soft);
}

body[data-header-transparent="true"] .header:not(.scrolled) .logo-image {
    filter: brightness(0) invert(1);
}

@media (min-width: 769px) {
    body[data-header-transparent="true"] .header:not(.scrolled) .nav-link {
        color: rgba(255, 255, 255, 0.92);
    }
    body[data-header-transparent="true"] .header:not(.scrolled) .nav-link:hover {
        color: rgba(255, 255, 255, 1);
    }
    body[data-header-transparent="true"] .header:not(.scrolled) .nav-link::after {
        background: rgba(255, 255, 255, 0.85);
    }
}

body[data-header-transparent="true"] .header:not(.scrolled) .mobile-menu-btn span {
    background: rgba(255, 255, 255, 0.92);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header .nav {
    margin-left: auto; /* push navigation area to the right */
}

/* Logo */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.logo-image {
    display: block;
    height: 18px;
}

.logo a:hover .logo-text {
    color: var(--primary-light);
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    gap: 45px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: block;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

/* Sub Menu */
.sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 15px 0;
    border-top: 3px solid var(--primary-color);
}

.nav-item:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    padding: 0;
}

.sub-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sub-menu a:hover {
    background: var(--bg-cream);
    color: var(--primary-color);
    padding-left: 30px;
}

/* Language Toggle */
.lang-toggle {
    margin-left: 18px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    /* Desktop header: subtle small chip */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 10px;
    border-radius: 10px; /* not too round */
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: rgba(0, 0, 0, 0.03); /* light overlay on white header */
    color: rgba(34, 34, 34, 0.62);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.lang-btn:hover {
    color: rgba(34, 34, 34, 0.92);
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.18);
}

/* On transparent header, keep the language control readable */
body[data-header-transparent="true"] .header:not(.scrolled) .lang-btn {
    /* light white overlay + thin white stroke (desktop request) */
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
body[data-header-transparent="true"] .header:not(.scrolled) .lang-btn:hover {
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.40);
}

/* Dropdown styles are no longer used (keep them hidden just in case) */
.lang-caret-btn,
.lang-menu {
    display: none !important;
}

/* ============================================
   SUB HERO (ABOUT PAGE)
   ============================================ */
.sub-hero-section {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top left, rgba(26,95,74,0.15), transparent 55%),
                radial-gradient(circle at bottom right, rgba(7,51,34,0.25), #061813);
    color: var(--white);
    overflow: hidden;
}

.sub-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../../images/실험실_2.jpg') center/cover no-repeat;
    opacity: 0.18;
}

.sub-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.sub-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sub-hero-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.55rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 700;
}

.sub-hero-section p {
    font-size: 1rem;
    max-width: 640px;
    color: rgba(255,255,255,0.85);
}

/* ============================================
   PAGE TABS (ABOUT PAGE - hero bottom)
   ============================================ */
.page-tabs {
    position: sticky;
    top: 70px; /* header height */
    z-index: 999; /* under header(1000) */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 95, 74, 0.1);
}

/* Business page: tabs as centered pill overlay (not full-width bar) */
.business-page .page-tabs {
    position: fixed;
    top: 92px; /* below fixed header */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100; /* above header (1000) and section content */
    width: auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
}

/* About page: tabs match business tabs (center pill overlay, fixed position) */
.about-page .page-tabs {
    position: fixed;
    top: 92px; /* below fixed header */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    width: auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
}

.about-page .page-tabs--below-hero {
    margin-top: 0; /* do not attach to hero */
}

.about-page {
    /* tabs are fixed overlay; keep content from being covered */
    padding-top: 148px;
}

.about-page .about-overview-media {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.about-page .about-overview-image {
    width: min(980px, 100%);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.10);
}

.about-page .page-tabs .container {
    height: auto;
    display: block;
    padding: 0;
    max-width: none;
}

.about-page .page-tabs-list {
    width: auto;
    display: inline-flex;
    gap: 8px;
    padding: 10px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
    position: relative;
}

.about-page .page-tabs-list::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    height: 44px;
    width: var(--about-tab-w, 10.2em);
    transform: translateX(var(--about-tab-x, 0px));
    border-radius: 999px;
    background: rgba(44, 80, 69, 0.96);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 12px 26px rgba(0,0,0,0.22);
    transition: transform 320ms cubic-bezier(.2,.85,.25,1), width 320ms cubic-bezier(.2,.85,.25,1);
    z-index: 0;
}

.about-page .page-tabs-list > li,
.about-page .page-tab-link {
    position: relative;
    z-index: 1;
}

.about-page .page-tab-link {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 650;
    letter-spacing: -0.2px;
    font-size: 15px;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
    width: 10.2em; /* wide enough for '찾아오시는 길' without wrap */
    transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.about-page .page-tab-link::after {
    display: none;
}

.about-page .page-tab-link:hover {
    color: rgba(255, 255, 255, 0.98);
}

.about-page .page-tab-link.is-active,
.about-page .page-tab-link[aria-current="true"] {
    color: rgba(255, 255, 255, 0.98);
    background: transparent; /* indicator handles background */
    text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

/* About page: center typography + section kicker matches home intro kicker */
.about-page .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

.about-page .section-badge {
    /* match .home-ingredients-kicker placement/style (plain kicker, no pill) */
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: 0;
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: #2c5045;
    font-weight: 600;
}

.about-page .section-header h2 {
    margin: 0;
    letter-spacing: -0.3px;
}

.about-page .about-text,
.about-page .about-text p,
.about-page .about-location,
.about-page .about-location p {
    text-align: center;
}

.about-page .about-text p,
.about-page .about-location p {
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
    /* About page: natural word wrapping (Korean) */
    word-break: keep-all;   /* wrap by word/space, not by character */
    overflow-wrap: break-word;
}

.about-page .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
}

.about-page #history > .container > p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 820px;
    /* Match COMPANY OVERVIEW paragraph behavior */
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* About page: make HISTORY/LOCATION paragraph typography match COMPANY OVERVIEW (.about-text p) */
.about-page #history > .container > p,
.about-page .about-location p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.9;
    font-weight: 400;
    margin-bottom: 18px;
}

/* About page: location label/value spans should inherit the same typography as the paragraph */
.about-page .about-location .loc-label,
.about-page .about-location .loc-value {
    font: inherit;
    color: inherit;
}

.lang-caret-btn {
    width: 26px;
    height: 34px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(34, 34, 34, 0.72);
    padding: 0;
    transition: transform 0.18s ease, color 0.18s ease;
}
.lang-caret-btn:hover {
    color: rgba(34, 34, 34, 0.92);
    transform: translateY(-1px);
}
.lang-caret {
    width: 14px;
    height: 14px;
    display: block;
}

/* Desktop dropdown */
.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 168px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 0; /* match square submenu style */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    padding: 10px 0;
    display: none;
    z-index: 1300;
}
.lang-toggle.is-open .lang-menu {
    display: block;
}
.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    color: rgba(34, 34, 34, 0.88);
    font-size: 14px;
}
.lang-option:hover {
    background: var(--bg-cream);
}
.lang-option[aria-pressed="true"] {
    color: rgba(44, 80, 69, 0.98);
    font-weight: 650;
}

@media (max-width: 768px) {
    .about-page {
        padding-top: 92px; /* header only (hide tabs on mobile) */
    }

    /* About page: hide tabs (ul.page-tabs-list) on mobile */
    .about-page .page-tabs {
        display: none;
    }

    /* About page: if any <br> remains, ignore it on mobile */
    .about-page p br {
        display: none;
    }

    /* About page: keep LOCATION/HISTORY paragraphs consistent with COMPANY OVERVIEW on mobile */
    .about-page .about-location p,
    .about-page #history > .container > p {
        max-width: 820px;
    }

    /* About page: remove excessive top spacing on mobile (container looks like it has a top margin) */
    .about-page .about-section {
        padding: 72px 0;
    }
    .about-page .about-section#overview {
        padding-top: 18px;
    }
}

/* About page: location label/value layout (mobile-friendly) */
.about-page .about-location .loc-label {
    font-weight: 700;
}
.about-page .about-location .loc-value {
}
@media (max-width: 768px) {
    .about-page .about-location .loc-label {
        display: block;
        margin-bottom: 6px;
    }
    .about-page .about-location .loc-value {
        display: block;
    }
}

.business-page .page-tabs .container {
    height: auto;
    display: block;
    padding: 0;
    max-width: none;
}

.business-page .page-tabs-list {
    width: auto;
    display: inline-flex;
    gap: 8px;
    padding: 10px;
    margin: 0 auto;
    border-radius: 999px;
    /* darker pill so it stands out, but not white */
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
    position: relative; /* for sliding indicator */
}

.business-page .page-tabs-list::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    height: 44px;
    width: var(--biz-tab-w, 9.2em);
    transform: translateX(var(--biz-tab-x, 0px));
    border-radius: 999px;
    background: rgba(44, 80, 69, 0.96); /* brand dark green */
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 12px 26px rgba(0,0,0,0.22);
    transition: transform 320ms cubic-bezier(.2,.85,.25,1), width 320ms cubic-bezier(.2,.85,.25,1);
    z-index: 0;
}

.business-page .page-tabs-list > li,
.business-page .page-tab-link {
    position: relative;
    z-index: 1; /* above the sliding indicator */
}

.business-page .page-tabs-list > li {
    /* Match the widest label ("특수작물원료") so all buttons have equal width */
    flex: 0 0 auto;
}

.business-page .page-tab-link {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 650;
    letter-spacing: -0.2px;
    font-size: 15px;
    white-space: nowrap; /* never wrap to 2 lines */
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
    /* equal width buttons based on the longest label */
    width: 9.2em;
    transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.business-page .page-tab-link::after {
    display: none; /* no underline for pill buttons */
}

.business-page .page-tab-link:hover {
    color: rgba(255, 255, 255, 0.98);
}

.business-page .page-tab-link.is-active,
.business-page .page-tab-link[aria-current="true"] {
    color: rgba(255, 255, 255, 0.98);
    background: transparent; /* indicator handles the pill background */
    text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

/* ============================================
   R&D PAGE (tabs + fullpage image sections)
   ============================================ */
.rnd-page .page-tabs {
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    width: auto;
    background: transparent;
    backdrop-filter: none;
    border: none;
}

.rnd-page {
    /* tabs are fixed overlay; no padding-top needed for vertical centering */
    padding-top: 0;
}

.rnd-page .page-tabs .container {
    height: auto;
    display: block;
    padding: 0;
    max-width: none;
}

.rnd-page .page-tabs-list {
    width: auto;
    display: inline-flex;
    gap: 8px;
    padding: 10px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32);
    position: relative;
}

.rnd-page .page-tabs-list::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    height: 44px;
    width: var(--rnd-tab-w, 9.6em);
    transform: translateX(var(--rnd-tab-x, 0px));
    border-radius: 999px;
    background: rgba(44, 80, 69, 0.96);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 12px 26px rgba(0,0,0,0.22);
    transition: transform 320ms cubic-bezier(.2,.85,.25,1), width 320ms cubic-bezier(.2,.85,.25,1);
    z-index: 0;
}

.rnd-page .page-tabs-list > li,
.rnd-page .page-tab-link {
    position: relative;
    z-index: 1;
}

.rnd-page .page-tab-link {
    height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 650;
    letter-spacing: -0.2px;
    font-size: 15px;
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0,0,0,0.55);
    width: 9.6em;
    transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.rnd-page .page-tab-link::after {
    display: none;
}

.rnd-page .page-tab-link:hover {
    color: rgba(255, 255, 255, 0.98);
}

.rnd-page .page-tab-link.is-active,
.rnd-page .page-tab-link[aria-current="true"] {
    color: rgba(255, 255, 255, 0.98);
    background: transparent;
    text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}

.rnd-snap {
    width: 100%;
}

.rnd-snap-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.rnd-snap-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    pointer-events: none;
    z-index: 0;
}

.rnd-snap-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0;
    width: 100%;
}

.rnd-snap-kicker {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.rnd-snap-title {
    margin: 10px 0 0;
    font-size: clamp(32px, 4.2vw, 54px);
    font-weight: 650;
    letter-spacing: -0.6px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}

.rnd-snap-content {
    margin-top: clamp(28px, 4vw, 48px);
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rnd-snap-desc {
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 16px rgba(0,0,0,0.75), 0 1px 4px rgba(0,0,0,0.5);
    font-weight: 400;
    letter-spacing: -0.2px;
}

@media (max-width: 768px) {
    .rnd-page {
        padding-top: 0;
    }

    /* R&D page: hide page tabs (ul.page-tabs-list) on mobile */
    .rnd-page .page-tabs {
        display: none;
    }

    /* Mobile: make overlay darker for readability */
    .rnd-snap-section::before {
        background: rgba(0, 0, 0, 0.62);
    }

    /* Mobile: ignore <br> in description and wrap by word */
    .rnd-snap-desc br {
        display: none;
    }
    .rnd-snap-desc {
        word-break: keep-all;
        overflow-wrap: break-word;
        text-shadow:
            0 3px 18px rgba(0,0,0,0.85),
            0 1px 6px rgba(0,0,0,0.65);
    }

    /* Mobile: stronger drop shadows for kicker/title too */
    .rnd-snap-kicker {
        text-shadow: 0 3px 16px rgba(0,0,0,0.75);
    }
    .rnd-snap-title {
        text-shadow: 0 3px 22px rgba(0,0,0,0.78);
    }

    .rnd-snap-section {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
}

@media (max-width: 768px) {
    .business-page .page-tabs {
        top: 78px;
    }
    .business-page .page-tabs-list {
        gap: 6px;
        padding: 6px;
        max-width: calc(100vw - 24px);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .business-page .page-tab-link {
        height: 36px;
        padding: 0 12px;
        white-space: nowrap;
    }
}

.page-tabs--below-hero {
    margin-top: -26px; /* visually attach to hero bottom edge */
}

.page-tabs .container {
    height: 56px;
    display: flex;
    align-items: center;
}

.page-tabs-list {
    width: 100%;
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-tab-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 6px;
    color: rgba(34, 34, 34, 0.82);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.1px;
    transition: color 0.25s ease;
}

.page-tab-link:hover {
    color: var(--primary-color);
}

.page-tab-link::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: -8px;
    height: 2px;
    background: transparent;
    transition: background 0.25s ease;
}

.page-tab-link.is-active,
.page-tab-link[aria-current="true"] {
    color: var(--primary-color);
}

.page-tab-link.is-active::after,
.page-tab-link[aria-current="true"]::after {
    background: var(--primary-color);
}

/* Scroll reveal for about sections (JS-enabled only) */
.js-enabled .about-page .about-section {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-enabled .about-page .about-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js-enabled .about-page .about-section {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 768px) {
    .biz-partners-desc {
        font-size: clamp(14px, 4vw, 16px);
        font-weight: 500;
    }
    .biz-partners-desc br {
        display: none; /* ignore <br> on mobile */
    }
    /* Partners (mobile): make the logo strip much shorter + smaller logos */
    .business-page .biz-section--partners .partners-marquee {
        padding: 0 16px;
        margin-top: clamp(110px, 14vh, 160px);
    }
    .business-page .biz-section--partners .partners-row {
        gap: 18px;
        padding-right: 18px;
    }
    .business-page .biz-section--partners .partner-logo {
        height: 18px !important;
        max-width: 90px !important;
    }
}

/* Kakao map embed (no API) - responsive */
.kakao-map-embed {
    margin: 18px auto 0;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    max-width: 980px;
}

.kakao-map-embed__link {
    display: block;
    line-height: 0;
}

.kakao-map-embed__img {
    width: 100%;
    height: auto;
    display: block;
}

.kakao-map-embed__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(249, 249, 249, 0.96);
}

.kakao-map-embed__brand {
    display: inline-flex;
    align-items: center;
}

.kakao-map-embed__actions a {
    font-size: 13px;
    text-decoration: none;
    color: #111111;
}

.kakao-map-embed__actions a:hover {
    text-decoration: underline;
}

/* ============================================
   BUSINESS (FULL SCREEN SECTIONS + SIDE TABS)
   ============================================ */
.business-snap {
    background: #000; /* prevent flash between full-screen sections */
}

/* ============================================
   BUSINESS - MOBILE EXPANDED MODE
   (mobile/tablet: panels stack vertically, each panel has its own background)
   ============================================ */
body.biz-mobile-expanded .biz-bg-layer {
    display: none !important; /* mobile expanded: use solid ink background between panels (no section bg image) */
}

/* reduce section-wide dim so panel images remain visible */
body.biz-mobile-expanded .business-snap-section::before {
    /* stronger dim on the section background (areas between panels) */
    background: rgba(0, 0, 0, 0.0) !important;
}

body.biz-mobile-expanded .biz-layout {
    position: static !important;
}

/* blur the section background image (1st layer) for softer separation */
body.biz-mobile-expanded .business-snap-section {
    background: #070808; /* deep ink tone */
}

/* Mobile expanded: Partners section should keep a full-section dimmed background image */
body.biz-mobile-expanded .business-snap-section#partners.biz-section--partners {
    background-color: #0b1411 !important;
    background-image: url('../../images/chairs-2181951_1280.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
body.biz-mobile-expanded .business-snap-section#partners.biz-section--partners::before {
    display: block;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.64) 45%,
        rgba(0, 0, 0, 0.56) 100%
    ) !important;
}

body.biz-mobile-expanded .biz-side {
    display: none !important;
}

body.biz-mobile-expanded .biz-detail-panel {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 14px;
    position: relative;
    /* IMPORTANT:
       Avoid 100vw + negative margins on real devices (iOS visual viewport) which can cause
       one-sided padding/offset and clipped right edge. Keep it layout-stable. */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 18px 20px 22px;
    border-radius: 0;
    overflow: hidden;
    box-sizing: border-box;
}

body.biz-mobile-expanded .biz-detail-panel + .biz-detail-panel {
    margin-top: 0; /* mobile: no vertical gap between panels */
}

body.biz-mobile-expanded .biz-detail-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    /* primary: per-panel bg, fallback: per-section bg */
    background-image: var(--biz-panel-bg, var(--biz-bg-image));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    filter: saturate(1) contrast(1.02);
    z-index: 0;
}

body.biz-mobile-expanded .biz-detail-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    /* stronger black dim so text is readable, but keep image identifiable */
    background: linear-gradient(180deg, rgba(0,0,0,0.58), rgba(0,0,0,0.88));
    z-index: 1;
}

body.biz-mobile-expanded .biz-detail-panel > * {
    position: relative;
    z-index: 2;
}

.business-snap-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 0 80px;
    background-color: #0b1411;
    background-image: none; /* handled by .biz-bg-layer */
    overflow: hidden;
    scroll-margin-top: 88px; /* header(70) + breathing room */
}

/* Business background layers (crossfade) */
.biz-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.biz-bg-layer .biz-bg {
    position: absolute;
    inset: 0;
    background-image: var(--biz-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 650ms ease;
    will-change: opacity;
}

.biz-bg-layer .biz-bg.is-active {
    opacity: 1;
}

.business-snap-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.64) 0%,
        rgba(0, 0, 0, 0.56) 45%,
        rgba(0, 0, 0, 0.48) 100%
    );
    z-index: 1; /* above background, below content */
}

.business-snap-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

/* business section backgrounds (CSS file is /common/css/ -> use ../../images) */
/* background-image handled by .biz-bg-layer */

.business-snap-section.biz-section--special {
    --biz-bg-image: url('../../images/AdobeStock_1436871423.jpeg');
}
.business-snap-section.biz-section--beauty {
    --biz-bg-image: url('../../images/cream-5501534_1280.jpg');
}
.business-snap-section.biz-section--food {
    --biz-bg-image: url('../../images/pill-2382646_1280.jpg');
}

/* Partners section: bright theme + logo marquee */
.business-snap-section.biz-section--partners {
    background: #0b1411;
    background-image: url('../../images/chairs-2181951_1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* stack: text -> logos -> bottom image (image must sit at the bottom of this section) */
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    /* let inner handle vertical positioning */
    padding-top: 0;
    padding-bottom: 0;
}

.business-snap-section.biz-section--partners::before {
    display: block;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.64) 45%,
        rgba(0, 0, 0, 0.56) 100%
    );
}

.business-snap-section.biz-section--partners .biz-bg-layer {
    display: none;
}

.business-snap-section.biz-section--partners .business-snap-kicker {
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.business-snap-section.biz-section--partners .business-snap-title {
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}

.biz-partners-desc {
    margin: 16px 0 0;
    max-width: 860px;
    text-align: left;
    color: rgba(255, 255, 255, 0.90);
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.2px;
    line-height: 1.65;
    text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}

.partners-marquee {
    /* more breathing room between copy and logos */
    margin: clamp(96px, 11vh, 140px) 0 0;
    /* full-bleed marquee inside centered container */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: none;
    padding: 6px clamp(18px, 4vw, 52px) 0;
}

/* Mobile/Tablet: avoid 100vw + negative margins (visual viewport) */
@media (max-width: 1024px) {
    .partners-marquee {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Partners: make the inner block taller and vertically centered (footer stays at bottom) */
.business-page .biz-section--partners .container.business-snap-inner {
    flex: 1 1 auto;
    /* leave enough room so footer can look as tall as the global footer */
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: flex-start; /* keep copy left-aligned */
    padding-top: clamp(26px, 4vh, 52px);
    padding-bottom: clamp(18px, 3vh, 34px);
}

/* Footer inside partners: make it fit within the same viewport */
.business-page .biz-section--partners .footer.footer--in-partners {
    margin-top: auto;
    /* match the global footer's perceived height */
    padding: 70px 0 30px;
    background: #ffffff; /* must NEVER be tinted by overlay */
    position: relative;
    z-index: 5; /* above section overlay */
}

.business-page .biz-section--partners .footer.footer--in-partners .footer-content {
    gap: 60px;
    margin-bottom: 50px;
}

.business-page .biz-section--partners .footer.footer--in-partners .footer-logo-image {
    max-width: 150px;
    height: auto;
    opacity: 0.92;
}

.business-page .biz-section--partners .footer.footer--in-partners .footer-bottom {
    margin-top: 0;
    padding-top: 30px;
}

/* removed: partners-bottom-media (image area) */

.partners-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: partners-marquee 30s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused;
}

.partners-row {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4.5vw, 56px);
    padding-right: clamp(28px, 4.5vw, 56px);
}

.partner-logo {
    height: 74px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    opacity: 0.95;
    filter: none;
    transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-1px);
}

@keyframes partners-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
        width: 100%;
        justify-content: center;
    }
    .partners-row {
        flex-wrap: wrap;
        justify-content: center;
        padding-right: 0;
    }
}

/* Business page: make inner content full-width (override .container max-width) */
.business-page .container.business-snap-inner {
    /* Keep content visually centered (avoid edge-to-edge stretch) */
    max-width: 1240px;
    padding-left: clamp(18px, 3vw, 40px);
    padding-right: clamp(18px, 3vw, 40px);
}

.business-snap-kicker {
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.business-snap-title {
    margin: 0 0 20px;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.4px;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

/* Business section layout: left subcategories + right detail (distinct from intro) */
.biz-layout {
    display: grid;
    /* No connector: keep side + detail close */
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    gap: 0; /* remove the gap between side and detail */
    align-items: stretch;
    margin-top: 10px;
    position: relative;
}

.biz-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
    max-width: 220px;
    padding-right: 10px; /* tiny breathing room without reading as a "gap" */
}

.biz-side-link {
    background: none;
    border: none;
    padding: 10px 0 10px 10px;
    text-align: left;
    color: rgba(255, 255, 255, 0.32); /* "off" look */
    font-size: clamp(18px, 1.15vw, 21px);
    font-weight: 650;
    letter-spacing: -0.2px;
    cursor: pointer;
    position: relative;
    transition: color 180ms ease, text-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.biz-side-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    border-radius: 999px;
    background: transparent;
}

.biz-side-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.biz-side-link.is-active {
    color: rgba(255, 255, 255, 0.98);
    /* stronger readability on bright backgrounds */
    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.68),
        0 0 10px rgba(140, 255, 220, 0.22);
    background: linear-gradient(90deg, rgba(120, 255, 208, 0.22), rgba(255,255,255,0.04), rgba(255,255,255,0));
    border-radius: 999px;
    transform: translateX(2px);
}

.biz-side-link.is-active::before {
    background: rgba(140, 255, 220, 0.95);
    box-shadow: 0 0 0 1px rgba(140, 255, 220, 0.35), 0 0 18px rgba(140, 255, 220, 0.55);
}

/* light-on glow: only around indicator (avoid washing out the text) */
.biz-side-link.is-active::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    /* IMPORTANT: widen glow only (not the side column) */
    width: 520px;
    height: 58px;
    border-radius: 999px;
    /* wider gradient falloff so the glow reads longer */
    background: radial-gradient(
        circle at 18% 50%,
        rgba(140, 255, 220, 0.38),
        rgba(255, 255, 255, 0.12) 48%,
        rgba(255, 255, 255, 0.06) 68%,
        rgba(255, 255, 255, 0) 88%
    );
    filter: blur(10px);
    z-index: -1;
    animation: bizGlowPulse 1.6s ease-in-out infinite;
}

@keyframes bizGlowPulse {
    0%, 100% { opacity: 0.72; transform: translateY(-50%) scale(0.985); }
    50% { opacity: 1; transform: translateY(-50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .biz-side-link.is-active::after { animation: none; }
}

/* removed: elbow connector line */

.biz-detail {
    position: relative;
    z-index: 2; /* keep panel above connector */
    background: none;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.biz-detail {
    /* remove glass panel (avoid rectangle container behind circle) */
    background: none;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.biz-detail-panel {
    display: none;
    /* Desktop/tablet: image left, text right */
    grid-template-columns: minmax(300px, 440px) minmax(0, 1fr);
    gap: clamp(18px, 2.4vw, 30px);
    align-items: center;
}

.biz-detail-panel.is-active {
    display: grid;
}

/* subtle panel fade (JS toggles class) */
.biz-detail.is-fading {
    opacity: 0.0;
    transform: translateY(2px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.biz-detail {
    transition: opacity 220ms ease, transform 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
    .biz-detail,
    .biz-detail.is-fading {
        transition: none;
        transform: none;
    }
}

.biz-detail-media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: transparent;
    border: none;
    width: 100%;
    max-width: 520px; /* slightly smaller than the previous large layout */
    margin: 0; /* align with text */
}

.biz-detail-media::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    z-index: 0;
}

.biz-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* show full image */
    background: transparent; /* no black overlay behind letterboxing */
    display: block;
    border-radius: 18px;
    position: relative;
    z-index: 1;
}

.biz-detail-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    margin-bottom: 10px;
}

.biz-detail-title {
    margin: 0 0 10px;
    font-size: 1.9rem;
    letter-spacing: -0.3px;
    color: rgba(255, 255, 255, 0.96);
}

.biz-detail-desc {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    font-size: 1rem;
    max-width: 62ch;
    /* IMPORTANT: do not truncate (no ellipsis) */
    display: block;
    overflow: visible;
}

.biz-detail-source {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
}

/* focused list item (looks less like "tabs/buttons") */
.biz-focus-item {
    position: relative;
    width: 100%;
    text-align: left;
    padding: 14px 14px 14px 44px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 750;
    font-size: 14px;
    letter-spacing: -0.1px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
    outline: none;
}

.biz-focus-item::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.biz-focus-item::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    border-radius: 50%;
    background-image: var(--focus-img);
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    filter: saturate(1.05) contrast(1.05);
    mix-blend-mode: screen;
}

.biz-focus-item:hover {
    opacity: 0.98;
    transform: translateY(-1px);
}

.biz-focus-item:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

.biz-focus-item.is-active {
    color: #111111;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.biz-focus-item.is-active::before {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 0, 0, 0.08);
}

.biz-focus-item.is-active::after {
    opacity: 1;
    mix-blend-mode: normal;
    filter: saturate(1.05) contrast(1.05);
}

.business-content-card {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    padding: 28px 30px;
    overflow: auto; /* allow content to fill full-page height without weird side artifacts */
    height: 100%;
}

.biz-card-bg {
    position: absolute;
    inset: 0;
    background-image: var(--card-bg);
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    filter: saturate(0.95) contrast(1.02);
    z-index: 0;
}

.biz-card-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.62));
}

.biz-panel {
    position: relative;
    z-index: 1;
}

/* Seamless "attached" look between active item and white card (desktop only) */
@media (min-width: 769px) {
    .biz-focus-item.is-active {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    .business-content-card {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: none; /* avoid double border line */
        margin-left: -1px; /* close any sub-pixel seam */
    }
}

.biz-panel {
    display: none;
}

.biz-panel.is-active {
    display: block;
}

.biz-panel-header {
    margin-bottom: 12px;
}

.biz-panel-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(44, 80, 69, 0.85);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.business-content-card h2 {
    margin: 0 0 8px;
    font-size: 1.65rem;
    letter-spacing: -0.3px;
    color: #111111;
}

.business-content-card p {
    margin: 0;
    color: rgba(17, 17, 17, 0.78);
    line-height: 1.7;
    font-size: 1.02rem;
}

/* removed: business-snap-hint */

@media (max-width: 980px) {
    .biz-layout {
        grid-template-columns: 170px 1fr;
    }
    .biz-detail-panel {
        grid-template-columns: 1fr; /* stack for tablet */
    }
}

@media (max-width: 768px) {
    /* Business page (mobile): hide top tabs */
    .business-page .page-tabs[data-tabs="business"] {
        display: none !important;
    }

    .business-snap-section {
        height: auto; /* allow internal scrolling between panels on mobile */
        min-height: 100vh;
        padding: 56px 0 44px; /* keep room for header */
        align-items: flex-start;
    }

    .business-snap-kicker {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .business-snap-title {
        font-size: clamp(1.7rem, 6.2vw, 2.2rem);
        margin: 0 0 14px;
    }

    .biz-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        position: static; /* mobile: let content flow down */
    }

    /* Mobile expanded mode: hide side buttons and show panels stacked */
    body.biz-mobile-expanded .biz-side {
        display: none;
    }
    body.biz-mobile-expanded .biz-detail-panel {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 14px;
        /* inherit full-bleed + no rounding from the global rule */
    }
    body.biz-mobile-expanded .biz-detail-panel + .biz-detail-panel {
        margin-top: 0;
    }

    /* Mobile expanded mode: force solid ink between panels (no section bg image bleeding) */
    body.biz-mobile-expanded .biz-bg-layer {
        display: none !important;
    }
    /* Mobile expanded: reduce section-wide dim so panel images remain visible */
    body.biz-mobile-expanded .business-snap-section::before {
        background: rgba(0, 0, 0, 0.18) !important;
    }
    body.biz-mobile-expanded .biz-detail-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: var(--biz-panel-bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        transform: scale(1.02);
        filter: saturate(0.95) contrast(1.05);
        z-index: 0;
    }
    body.biz-mobile-expanded .biz-detail-panel::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.58), rgba(0,0,0,0.88));
        z-index: 1;
    }
    body.biz-mobile-expanded .biz-detail-panel > * {
        position: relative;
        z-index: 2;
    }

    /* Ensure the sticky layout doesn't "float" away from its section start */
    .business-page .business-snap-inner {
        padding-top: 14px; /* mobile: keep a bit of top breathing room */
    }

    /* Mobile: place partners logo marquee a bit lower */
    .business-page .biz-section--partners .partners-marquee {
        margin-top: clamp(130px, 18vh, 190px);
    }
    .biz-side {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        /* NOTE: Avoid 100vw + negative margin "full-bleed" on real devices (iOS visual viewport)
           which can cause apparent one-sided padding / offset. Keep it inside the container. */
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 6px 0 10px; /* container already provides side padding */
        max-width: none !important; /* override desktop max-width:220px */
    }
    .biz-side-link {
        white-space: nowrap;
        padding: 10px 14px;
        border-radius: 14px;
        overflow: hidden; /* keep glow inside button bounds */
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        line-height: 1.15;
    }
    .biz-side-link::before {
        display: none;
    }

    /* Mobile: keep the "bright" active look but prevent the huge glow strip from overflowing */
    .biz-side-link.is-active {
        transform: none;
        background: radial-gradient(circle at 20% 50%, rgba(140, 255, 220, 0.26), rgba(255,255,255,0.06) 65%, rgba(255,255,255,0) 100%);
        box-shadow: 0 0 0 1px rgba(140, 255, 220, 0.22), 0 10px 22px rgba(0, 0, 0, 0.22);
    }
    .biz-side-link.is-active::after {
        display: none; /* disable wide glow (520px) on mobile */
    }

    .biz-detail-panel {
        grid-template-columns: 1fr;
    }
    .biz-detail-media {
        max-width: min(260px, 86vw); /* smaller on mobile */
        aspect-ratio: 4 / 3;
        margin: 0 auto !important; /* no extra top margin on mobile */
    }

    .biz-detail-media::before {
        inset: -10px; /* slightly tighter ring on mobile */
    }

    .biz-detail-title {
        font-size: clamp(1.15rem, 4.8vw, 1.45rem); /* 모바일 H2 너무 큰 문제 완화 */
    }
    .biz-detail-desc {
        font-size: 0.92rem;
    }

    /* Partners (mobile): ensure this wins over the later base rule */
    .business-page .biz-partners-desc {
        font-size: clamp(14px, 4vw, 16px);
        font-weight: 500;
    }
    .business-page .biz-partners-desc br {
        display: none;
    }
    /* connector removed */
}

@media (prefers-reduced-motion: reduce) {
    .biz-focus-item {
        transition: none;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: transform 0.22s ease, opacity 0.18s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* ============================================
   INTRO SECTION - Full Page Hero
   ============================================ */
.intro-section {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ============================================
   HOME - INGREDIENTS (below main visual)
   Large row blocks with imagery (inspired by IND HEMP homepage layout)
   ============================================ */
.home-ingredients {
    padding: 28px 0 0;
    background: var(--white);
}

/* Home: Partnership (IND HEMP) */
.home-partnership {
    background: var(--white);
    padding: clamp(44px, 5.8vh, 72px) 0;
}

.home-credibility {
    /* One snap unit on desktop: show Partnership + Official Goodness together */
    height: 100vh;
    display: grid;
    /* 1:1 split (partnership : certifications) */
    grid-template-rows: 1fr 1fr;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

/* Desktop: account for fixed header offset so the visible area stays 1:1 */
@media (min-width: 1025px) {
    .home-credibility {
        height: calc(100vh - var(--home-header-offset, 0px));
    }
}

.home-credibility > section {
    margin: 0; /* avoid any margin skew between halves */
    height: 100%;
}

/* Inside the bundled unit, tighten spacing so both blocks fit in one viewport */
.home-credibility .home-partnership {
    /* No vertical padding so the 1:1 split is visually exact */
    padding: 0;
    display: flex;
    align-items: stretch;
}

.home-credibility .home-partnership > .container {
    width: 100%;
    display: flex;
    height: 100%;
}

.home-credibility .home-partnership-grid {
    flex: 1;
    height: 100%;
    align-items: center; /* vertically center both columns */
    /* Make media column a bit wider so the image reads as a rectangle, not a square */
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.home-credibility .home-partnership-copy {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* center text within the half */
}

.home-credibility .home-partnership-title {
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
    margin-bottom: 10px;
}

.home-credibility .home-partnership-desc {
    font-size: 0.96rem;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-credibility .home-partnership-media {
    /* Rectangular (not square) and as tall as possible within the half */
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    width: 100%;
    height: auto;
    max-height: 100%;
    min-height: 0;
    justify-self: end;
}

.home-partnership-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

/* Kicker typography (keep consistent between Partnership + Official Goodness) */
.home-partnership-kicker,
.home-certifications-kicker {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}

.home-partnership-kicker {
    color: rgba(44, 80, 69, 0.9);
    margin-bottom: 14px;
}

.home-partnership-title {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    line-height: 1.15;
    font-weight: 700;
    color: #222222;
    margin: 0 0 14px;
}

.home-partnership-desc {
    color: rgba(34, 34, 34, 0.86);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 16px;
    text-wrap: pretty;
}

.home-partnership-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(34, 34, 34, 0.55);
    font-weight: 500;
    font-size: 0.86rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 34, 34, 0.18);
    padding-bottom: 3px;
}

.home-partnership-link a:hover {
    color: rgba(34, 34, 34, 0.7);
    border-bottom-color: rgba(34, 34, 34, 0.28);
}

.home-partnership-media {
    background: #f4f5f6;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.08);
}

.home-partnership-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Index (home) only: subtle leaf dots watermark behind MAIN Ingredients */
body[data-header-transparent="true"] .home-ingredients {
    position: relative;
    overflow: hidden;
}

body[data-header-transparent="true"] .home-ingredients::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../../images/veridian_leaf_dots_code_veins_cropped copy.png");
    background-repeat: no-repeat;
    /* slightly larger + bottom-right placement */
    background-position: right 6% bottom 8%;
    background-size: min(980px, 92vw) auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

body[data-header-transparent="true"] .home-ingredients > .container {
    position: relative;
    z-index: 1;
}

.home-ingredients-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    margin-bottom: 32px;
    text-align: center;
}

.home-ingredients-kicker {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: #2c5045;
    font-weight: 600;
}

.home-ingredients-header h2 {
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: -0.3px;
    color: #2c5045;
}

.home-section-title {
    font-weight: 700;
    color: #2c5045;
    text-align: center;
}

.home-ingredients-header {
    margin-top: 0;
    margin-bottom: 26px;
}

.home-ingredients-header h2.home-section-title {
    margin-bottom: 16px;
}

.home-ingredients {
    padding-bottom: 90px;
    margin-top: 110px;
}

/* Home ingredients: keep within one snap scroll unit on desktop (while preserving left/right alternating rows) */
@media (min-width: 1024px) {
    .home-ingredients {
        margin-top: 0;
        /* 상하 패딩 통일 */
        padding-top: clamp(44px, 5.8vh, 72px);
        padding-bottom: clamp(44px, 5.8vh, 72px);
        min-height: 100vh;
        display: flex;
        /* IMPORTANT: center alignment makes padding changes look invisible; keep content anchored to the top */
        align-items: flex-start;
    }

    .home-ingredients .home-ingredients-header {
        margin-top: 0;
        margin-bottom: 16px;
    }

    /* NOTE: use higher specificity than the base rules below so desktop tightening always wins */
    .home-ingredients .home-ingredient-row {
        padding: 18px 0 0;
        gap: clamp(14px, 1.8vw, 24px);
    }

    .home-ingredients .home-ingredient-row + .home-ingredient-row {
        margin-top: 24px;
    }

    .home-ingredients .home-ingredient-media {
        max-width: 270px;
    }

    .home-ingredients .home-ingredient-body h3 {
        font-size: clamp(1.55rem, 1.85vw, 2.05rem);
        margin: 0 0 10px;
    }

    .home-ingredients .home-ingredient-body p {
        font-size: 0.98rem;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Shorter desktop viewports: tighter clamp so the section still fits into a single snap */
@media (min-width: 1024px) and (max-height: 820px) {
    .home-ingredients {
        padding: clamp(44px, 5.2vh, 62px) 0;
        align-items: flex-start;
    }
    .home-ingredients .home-ingredient-row + .home-ingredient-row {
        margin-top: 18px;
    }
    .home-ingredients .home-ingredient-media {
        max-width: 245px;
    }
    .home-ingredients .home-ingredient-body p {
        -webkit-line-clamp: 2;
    }
}

.home-ingredient-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px;
    align-items: center;
    padding: 34px 0 0;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    height: auto;
}

.home-ingredient-row + .home-ingredient-row {
    margin-top: 48px;
}

.home-ingredient-row.is-reverse .home-ingredient-media {
    order: 2;
}
.home-ingredient-row.is-reverse .home-ingredient-body {
    order: 1;
}

.home-ingredient-row:not(.is-reverse) .home-ingredient-media {
    justify-self: start;
}

.home-ingredient-row.is-reverse .home-ingredient-media {
    justify-self: end;
}

.home-ingredient-row:not(.is-reverse) .home-ingredient-body {
    justify-self: start; /* bring text closer to image */
}

.home-ingredient-row.is-reverse .home-ingredient-body {
    justify-self: end; /* bring text closer to right-side image */
    text-align: right; /* hemp row requested right-aligned text */
}

.home-ingredient-media {
    border-radius: 0;
    overflow: visible; /* allow outer stroke ring to sit outside */
    background: transparent;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    align-self: center;
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.home-ingredient-media::before {
    content: "";
    position: absolute;
    inset: -18px; /* offset ring from image circle */
    border-radius: 50%;
    border: 1.5px solid rgba(44, 80, 69, 0.35); /* line stroke ring */
    z-index: 0;
}

.home-ingredient-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    z-index: 1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}


.home-ingredient-kicker {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    color: #2c5045;
    font-weight: 700;
    margin-bottom: 6px;
}

.home-ingredient-body h3 {
    margin: 0 0 12px;
    font-size: 2.1rem;
    color: #222222;
    letter-spacing: -0.4px;
}

.home-ingredient-body p {
    margin: 0 0 10px;
    color: #555555;
    font-size: 0.98rem;
    line-height: 1.65;
    word-break: keep-all;
    word-wrap: break-word;
}

.home-ingredient-body p:last-child {
    margin-bottom: 0;
}

.home-ingredient-source {
    color: #2c5045;
    font-size: 0.92rem;
}

/* ============================================
   HOME - OFFICIAL GOODNESS (Certifications)
   Inspired by IND HEMP "Official goodness" section
   https://indhemp.com/
   ============================================ */
.home-certifications {
    padding: 140px 0;
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    background: url('../../images/hemp-plant-3661210_1280.jpg') center/cover no-repeat;
    background-attachment: fixed;
    margin-top: 120px; /* match MAIN Ingredients spacing */
    margin-bottom: 0;
}

.home-credibility .home-certifications {
    margin-top: 0;
    /* No vertical padding so the 1:1 split is visually exact */
    padding: 0;
    min-height: 0;
    background-attachment: fixed;
    align-items: center; /* center the content within this section */
    height: 100%;
}

.home-credibility .home-certifications-header {
    margin-bottom: 14px;
}

.home-credibility .home-certifications-content {
    padding-top: 10px;
}

.home-credibility .home-cert-text {
    padding-bottom: 0;
}

.home-credibility .home-cert-text h3 {
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
}

.home-credibility .home-cert-text p {
    font-size: 0.92rem;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-certifications::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(18, 44, 36, 0.78) 0%,
        rgba(18, 44, 36, 0.62) 55%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 0;
}

.home-certifications .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.home-certifications-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    text-align: center;
}

.home-certifications-kicker {
    color: rgba(255, 255, 255, 0.78);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-certifications-header h2 {
    margin: 0;
    font-size: 2.2rem;
    letter-spacing: -0.3px;
    color: rgba(255, 255, 255, 0.94);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.home-certifications-content {
    display: block;
    padding-top: 18px;
    border-top: none; /* remove line under OFFICIAL GOODNESS */
}

.home-cert-text {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 30px;
}

.home-cert-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 16px auto 0;
}

.home-cert-badge img {
    width: 88%;
    height: 88%;
    object-fit: contain;
    display: block;
}

.home-cert-text h3 {
    margin: 0 0 10px;
    font-size: 2.1rem; /* match ingredient title size */
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: -0.2px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.home-cert-text p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    word-break: keep-all;
    word-wrap: break-word;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
}

/* iOS/모바일에서는 background-attachment: fixed가 제한될 수 있어 안전하게 처리 */
@media (max-width: 768px) {
    .home-certifications {
        background-attachment: scroll;
    }
}

.home-cert-list {
    margin: 0 0 12px;
    padding-left: 18px;
    color: #555555;
    font-size: 0.98rem;
    line-height: 1.65;
}

.home-cert-list li + li {
    margin-top: 8px;
}

.home-cert-list strong {
    color: #2c5045;
    font-weight: 700;
}

.home-cert-note {
    margin: 0;
    color: rgba(34, 34, 34, 0.75);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .home-ingredients-header {
        flex-direction: column;
        align-items: center;
    }
    .home-ingredient-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .home-ingredient-row.is-reverse .home-ingredient-media,
    .home-ingredient-row.is-reverse .home-ingredient-body {
        order: initial;
    }
    .home-ingredient-media {
        aspect-ratio: 1 / 1;
        max-height: 280px;
        max-width: 280px;
    }

    .home-cert-badge {
        width: 54px;
        height: 54px;
        margin: 14px auto 0;
    }
}

.intro-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Intro Background Slider */
.intro-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.intro-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 0;
    will-change: opacity;
    transition: opacity 1400ms ease-in-out;
}

.intro-bg-slide.is-active {
    opacity: 1;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .intro-bg-slide {
        transition: none;
    }
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.42) 50%,
        rgba(0, 0, 0, 0.62) 100%
    );
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 40px;
}

.intro-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInUp 0.8s ease-out;
    text-transform: uppercase;
}

.intro-text h1 {
    font-family: 'Pretendard', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.4;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.8s ease-out 0.2s both;
    letter-spacing: -0.5px;
}

.intro-text .intro-headline {
    font-size: 2.2rem; /* smaller than default hero h1 */
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92); /* softer white */
    font-weight: 500; /* slightly lighter than semibold */
    text-shadow:
        0 2px 10px rgba(0, 0, 0, 0.35),
        0 10px 28px rgba(0, 0, 0, 0.25); /* stronger drop shadow for legibility */
    word-break: keep-all;
    word-wrap: break-word;
}

.intro-text .intro-headline strong {
    font-weight: 500; /* keep consistent even when wrapped in <strong> */
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 45px;
    opacity: 0.92;
    line-height: 1.9;
    animation: fadeInDown 0.8s ease-out 0.4s both;
    font-weight: 300;
}

.intro-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
    padding: 16px 38px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   ABOUT PAGE SECTIONS
   ============================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-section.alt {
    background: var(--bg-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

.about-text p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-info-card {
    background: var(--bg-cream);
    border-radius: 18px;
    padding: 24px 26px;
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    padding: 10px 12px;
    font-size: 14px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(26,95,74,0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    margin-top: 4px;
}

.form-note {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-medium);
}

.form-checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox .form-label {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-medium);
    cursor: pointer;
}

.form-input select,
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.about-info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.about-info-card ul {
    list-style: none;
}

.about-info-card li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.06);
}

.about-info-card li span:first-child {
    color: var(--text-medium);
}

.about-info-card li span:last-child {
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}

.about-philosophy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-philosophy-text p {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-philosophy-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.highlight-card {
    background: var(--white);
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: var(--shadow-soft);
}

.highlight-card h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.highlight-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.7;
}

.about-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vision-card {
    border-radius: 18px;
    padding: 22px 22px 20px;
    background: var(--bg-cream);
}

.vision-card .ingredient-image {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 14px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.vision-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.vision-card p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* Support page overrides */
.support-page #contact .about-grid,
.support-page #location .about-grid {
    grid-template-columns: 1fr;
}

.support-page #contact .about-text,
.support-page #location .about-text {
    max-width: none;
    margin: 0;
}

.support-page .map-frame {
    border-radius: 16px;
    overflow: hidden;
}

.support-page .map-frame iframe {
    display: block;
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header.light {
    color: var(--white);
}

.section-header.light .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.section-badge {
    display: inline-block;
    background: var(--bg-cream);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   BUSINESS SECTION
   ============================================ */
.business-section {
    background: var(--bg-cream);
    padding: 100px 0;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.card-image.cosmetics {
    background: linear-gradient(135deg, #f8e1e1 0%, #fce4ec 100%);
}

.card-image.health-food {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.card-image.raw-material {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-content p {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--primary-dark);
    letter-spacing: 1px;
}


/* ============================================
   FACILITY SECTION
   ============================================ */
.facility-section {
    background: var(--white);
    padding: 100px 0;
}

.facility-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    aspect-ratio: 21/9;
}

.facility-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}

.facility-hero-overlay p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.facility-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.facility-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-item:hover img {
    transform: scale(1.05);
}

.facility-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
}

.facility-overlay span {
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   RESEARCH SECTION
   ============================================ */
.research-section {
    background: var(--bg-cream);
    padding: 100px 0;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.research-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
}

.research-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.research-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
}

.research-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.research-content {
    padding: 20px;
}

.research-content h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.research-content p {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   LAB SECTION
   ============================================ */
.lab-section {
    background: var(--primary-dark);
    padding: 100px 0;
    color: var(--white);
}

.lab-section .section-header {
    color: var(--white);
}

.lab-section .section-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.lab-section .section-header h2 {
    color: var(--white);
}

.lab-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

.lab-main {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.lab-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.lab-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

.lab-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lab-item:hover img {
    transform: scale(1.08);
}

.lab-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    background: var(--white);
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
}

.gallery-grid-large .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--primary-light);
}

.gallery-grid-large .gallery-item.large {
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--white);
    color: #222222;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo .logo-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #222222;
}

.footer-logo-image {
    display: block;
    height: 18px;
    /* Make a dark logo on white background (approx #222 via opacity) */
    filter: brightness(0) saturate(100%);
    opacity: 0.87;
}

.footer-slogan {
    margin-top: 15px;
    color: #222222;
    font-size: 14px;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #2c5045;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    color: #222222;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2c5045;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #222222;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2c5045;
}

/* ============================================
   FLOATING SCROLL-TO-TOP BUTTON (all pages)
   ============================================ */
.scroll-top-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.92);
    color: #2c5045;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    z-index: 1200;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.scroll-top-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 80, 69, 0.25), 0 10px 26px rgba(0, 0, 0, 0.12);
}

.scroll-top-icon {
    display: block;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .scroll-top-btn {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   TABLET STYLES (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .header .container {
        height: 64px;
    }
    
    .nav-list {
        gap: 30px;
    }
    
    .intro-text h1 {
        font-size: 2.6rem;
    }
    .sub-hero-title {
        font-size: 1.4rem;
    }

    .intro-text .intro-headline {
        font-size: clamp(1.5rem, 4vw, 1.85rem);
        line-height: 1.5;
        word-break: keep-all;
        word-wrap: break-word;
    }
    
    .intro-text p {
        font-size: 1rem;
        word-break: keep-all;
        word-wrap: break-word;
    }

    /* Business partners (tablet+mobile): ignore <br> and keep typography modest */
    .business-page .biz-partners-desc {
        font-size: clamp(14px, 2.6vw, 16px);
        font-weight: 500;
    }
    .business-page .biz-partners-desc br {
        display: none;
    }
    
    /* Home Ingredients Tablet */
    .home-ingredients {
        padding: 60px 0;
        margin-top: 60px;
    }
    
    .home-ingredients-header {
        margin-bottom: 32px;
    }
    
    .home-ingredients-header h2.home-section-title {
        font-size: clamp(1.6rem, 4vw, 2rem);
        margin-bottom: 12px;
    }
    
    .home-ingredient-row {
        margin-top: 40px;
        padding: 20px 0;
    }
    
    .home-ingredient-body h3 {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
        margin-bottom: 10px;
    }
    
    .home-ingredient-body p {
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        line-height: 1.7;
        word-break: keep-all;
        word-wrap: break-word;
    }
    
    /* Home Certifications Tablet */
    .home-certifications {
        padding: 80px 0;
        min-height: auto;
    }
    
    .home-cert-text h3 {
        font-size: clamp(1.5rem, 4vw, 1.9rem);
        margin-bottom: 16px;
    }
    
    .home-cert-text p {
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        line-height: 1.75;
        word-break: keep-all;
        word-wrap: break-word;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .business-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .business-cards .business-card:last-child {
        grid-column: span 2;
    }
    
    .facility-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lab-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .lab-main {
        aspect-ratio: 16/9;
    }
    
    .gallery-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid-large .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16/9;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-partnership {
        padding: 34px 0;
    }

    .home-partnership-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-partnership-media {
        order: 2;
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }
}

/* Mobile/Tablet: home snap is disabled, so allow natural height */
@media (max-width: 1024px) {
    .home-credibility {
        height: auto;
        display: block;
        overflow: visible;
    }

    .home-credibility > section {
        height: auto;
    }

    /* Mobile/Tablet: restore comfortable section padding like other pages */
    .home-credibility .home-partnership,
    .home-credibility .home-certifications {
        padding: 46px 0;
    }

    .home-credibility .home-partnership > .container {
        height: auto;
        display: block;
    }

    /* Override the more specific desktop grid rule so media goes below on mobile */
    .home-credibility .home-partnership-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .home-credibility .home-partnership-copy {
        height: auto;
        justify-content: flex-start;
        text-align: center;
    }

    .home-credibility .home-partnership-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 10px;
    }

    .home-credibility .home-partnership-desc {
        /* Match HOME Ingredients paragraph typography */
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        line-height: 1.7;
        font-weight: 400;
        color: #555555;
        word-break: keep-all;
        word-wrap: break-word;
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

    .home-credibility .home-partnership-media {
        /* Mobile: image ABOVE text */
        order: -1;
        justify-self: stretch;
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: 16 / 10;
        margin: 0 0 18px;
        /* Full-bleed (ignore .container side padding) */
        border-radius: 0;
        box-shadow: none;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
    }

    .home-credibility .home-certifications {
        min-height: auto;
        background-attachment: scroll;
    }

    /* Mobile: keep paragraph size/leading aligned with HOME Ingredients,
       but keep original (white) tone on the dark background and add drop shadow for readability. */
    .home-credibility .home-cert-text p {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
        /* Match HOME Ingredients paragraph size/leading */
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        line-height: 1.7;
        font-weight: 400;
        /* Keep Official Goodness white tone (no forced color unification) */
        color: rgba(255, 255, 255, 0.82);
        /* Drop shadow for readability on image background */
        text-shadow: 0 2px 14px rgba(0, 0, 0, 0.62);
        word-break: keep-all;
        word-wrap: break-word;
    }
}

/* ============================================
   MOBILE STYLES (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .sub-hero-title {
        font-size: 1.25rem;
    }
    .header .container {
        height: 56px;
    }
    
    .logo-text {
        font-size: 22px;
    }

    .logo-image {
        height: 16px;
    }
    
    .nav {
        position: fixed;
        top: 56px; /* remove gap between header and mobile panel */
        left: -100%;
        width: 100%;
        height: calc(100vh - 56px);
        background: var(--white);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 25px;
        gap: 0;
    }
    
    .nav-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .nav-link {
        padding: 18px 0;
        font-size: 1.1rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-cream);
        margin-top: 0;
        border-radius: 0;
        border-top: none;
        display: none !important; /* 모바일: 서브메뉴는 항상 숨김 */
        padding: 10px 0;
    }
    
    .nav-item.active .sub-menu {
        display: none !important; /* 모바일: 토글되더라도 펼쳐지지 않게 */
    }
    
    .sub-menu a {
        padding: 12px 20px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        /* perfectly symmetric X */
        transform: translateY(10px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        /* perfectly symmetric X */
        transform: translateY(-10px) rotate(-45deg);
    }
    
    /* Mobile: language is selected from the hamburger panel bottom sheet (not header) */
    .lang-toggle {
        display: none;
    }

    /* Mobile nav: leave room for the bottom language sheet */
    .nav-list {
        padding-bottom: 96px;
    }
    
    /* Intro Section Mobile */
    .intro-section {
        min-height: 100vh;
        padding: 0;
    }
    
    .intro-content {
        padding: 0 20px;
        text-align: center;
    }

    .intro-text {
        text-align: center;
    }
    
    .intro-badge {
        font-size: 12px;
        padding: 8px 18px;
    }
    
    .intro-text h1 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

    .intro-text .intro-headline {
        font-size: clamp(1.2rem, 4.5vw, 1.55rem);
        line-height: 1.5;
        word-break: keep-all;
        word-wrap: break-word;
    }
    
    .intro-text p {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        margin-bottom: 30px;
        line-height: 1.7;
        word-break: keep-all;
        word-wrap: break-word;
    }
    
    /* Home Ingredients Mobile */
    .home-ingredients {
        padding: 22px 0 !important; /* 섹션 간 상하 간격 축소 (generic section padding override) */
        margin-top: 18px; /* 섹션 간 상하 간격 축소 */
    }
    
    .home-ingredients > .container {
        padding-top: 0; /* container 상단 패딩 제거 */
        padding-bottom: 0; /* container 하단 패딩 제거 */
    }
    
    .home-ingredients-header {
        margin-bottom: 18px; /* 더 축소 */
    }
    
    .home-ingredients-header h2.home-section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 10px;
    }
    
    .home-ingredient-row {
        margin-top: 0; /* 첫 article은 상단 간격 제거 */
        padding: 16px 0;
        gap: 32px; /* 이미지와 텍스트 사이 간격 증가 */
    }

    .home-ingredient-row + .home-ingredient-row {
        margin-top: 18px; /* article 간 상단 간격 축소 */
    }
    
    .home-ingredient-media {
        max-width: 180px; /* 이미지 사이즈 축소 */
        max-height: 180px;
        margin: 0 auto; /* 중앙정렬 */
    }
    
    .home-ingredient-body {
        text-align: center; /* 소제목, 대제목 중앙정렬 */
        margin-top: 20px; /* 상단 마진 추가 */
        padding-top: 8px; /* 상단 패딩 추가 */
    }

    /* is-reverse 행도 모바일에서는 중앙정렬 강제 (데스크탑 우측정렬 규칙 override) */
    .home-ingredient-row.is-reverse .home-ingredient-body {
        text-align: center;
        justify-self: center;
    }
    
    .home-ingredient-kicker {
        margin-top: 0 !important; /* 모바일: 소제목 상단 마진 제거 */
        margin-bottom: 8px;
    }
    
    .home-ingredient-body h3 {
        font-size: clamp(1.3rem, 4.5vw, 1.6rem);
        margin-top: 0; /* 모바일: 대제목 상단 마진 제거 */
        margin-bottom: 8px;
        text-align: center; /* 대제목 중앙정렬 */
    }
    
    .home-ingredient-body p {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        line-height: 1.7;
        word-break: keep-all;
        word-wrap: break-word;
        text-align: center; /* 설명 텍스트도 중앙정렬 */
    }

    /* 모바일: 원료 설명에서는 <br> 강제 줄바꿈을 사용하지 않도록 숨김 */
    .home-ingredient-body p br {
        display: none;
    }
    
    /* Home Certifications Mobile */
    .home-certifications {
        padding: 44px 0 !important; /* 섹션 간 상하 간격 축소 (generic section padding override) */
        min-height: auto;
    }
    
    .home-cert-text h3 {
        font-size: clamp(1.3rem, 4.5vw, 1.7rem);
        margin-bottom: 14px;
    }
    
    .home-cert-text p {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
        line-height: 1.75;
        word-break: keep-all;
        word-wrap: break-word;
    }
    
    /* Sections Mobile */
    section {
        padding: 46px 0; /* 기본 섹션 간 상하 간격 축소 */
    }

    .section-header {
        margin-bottom: 28px; /* 섹션 헤더 간격 축소 */
    }
    
    .intro-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 14px 30px;
    }
    
    .scroll-indicator {
        bottom: 25px;
    }
    
    /* Sections Mobile */
    section {
        padding: 46px 0;
    }
    
    .section-header {
        margin-bottom: 28px;
    }
    
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    .section-desc {
        font-size: 0.95rem;
    }
    
    /* Business Section Mobile */
    .business-cards {
        grid-template-columns: 1fr;
    }
    
    .business-cards .business-card:last-child {
        grid-column: span 1;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-content {
        padding: 25px;
    }
    
    /* Facility Section Mobile */
    .facility-hero {
        aspect-ratio: 16/9;
    }
    
    .facility-hero-overlay p {
        font-size: 1rem;
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Research Section Mobile */
    .research-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .research-item img {
        height: 200px;
    }
    
    /* Lab Section Mobile */
    .lab-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* Gallery Section Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-grid-large {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid-large .gallery-item.large {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }
    
    .gallery-overlay {
        opacity: 1;
        padding: 20px;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-content {
        gap: 30px;
    }

    .footer-section p {
        margin: 0; /* 모바일: footer p 마진 제거 */
    }

    .footer-bottom p {
        margin: 0; /* 모바일: footer 하단 문구도 마진 제거 */
    }
    
    .footer-logo .logo-text {
        font-size: 26px;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobile: hide footer quick links ("바로가기") */
    .footer-links-section {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-top: 14px;  /* border-top 간격 축소 */
        padding-top: 14px; /* border-top 간격 축소 */
    }
    
    .footer-links {
        gap: 20px;
    }
}

/* Mobile language selector (bottom inside the hamburger panel) */
.mobile-lang-sheet {
    display: none;
}
@media (max-width: 768px) {
    .nav.active .mobile-lang-sheet {
        display: flex;
    }
    .mobile-lang-sheet {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 14px 18px 18px;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        backdrop-filter: blur(16px);
        align-items: center;
        justify-content: flex-start; /* left-bottom inside side panel */
        gap: 14px;
        z-index: 5;
    }
    .mobile-lang-btn {
        min-width: 44px;
        height: 36px;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background-color: #ffffff;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
        font-size: 12px;
        font-weight: 750;
        letter-spacing: 0.6px;
        color: rgba(34, 34, 34, 0.88);
        cursor: pointer;
        transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }
    .mobile-lang-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
        border-color: rgba(0, 0, 0, 0.18);
    }
    .mobile-lang-btn[aria-pressed="true"] {
        border-color: rgba(44, 80, 69, 0.55);
        box-shadow: 0 0 0 3px rgba(44, 80, 69, 0.14), 0 12px 26px rgba(0, 0, 0, 0.14);
    }
}

/* ============================================
   SMALL MOBILE STYLES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .sub-hero-title {
        font-size: 1.15rem;
    }
    .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 20px;
    }

    .logo-image {
        height: 14px;
    }
    
    .intro-text h1 {
        font-size: 1.7rem;
    }

    .intro-text .intro-headline {
        font-size: 1.35rem;
        line-height: 1.5;
    }
    
    .intro-text p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .nav-list {
        padding: 20px 15px;
    }
    
    .nav-link {
        padding: 15px 0;
        font-size: 1rem;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
    }
    
    .footer-logo .logo-text {
        font-size: 22px;
    }

    .footer-logo-image {
        height: 16px;
    }
}

/* ============================================
   INQUIRY PAGE STYLES
   ============================================ */
.inquiry-page .inquiry-hero .sub-hero-overlay {
    display: none;
}

.inquiry-page .sub-hero-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1 !important;
}

.inquiry-page .sub-hero-content {
    text-align: left;
}

.inquiry-page .sub-hero-content p {
    text-align: left;
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 3px 18px rgba(0,0,0,0.6), 0 1px 6px rgba(0,0,0,0.5);
}

.inquiry-page .sub-hero-title {
    text-shadow: 0 3px 22px rgba(0,0,0,0.65), 0 1px 8px rgba(0,0,0,0.45);
}

/* Inquiry page (Support): hide hero section on mobile */
@media (max-width: 768px) {
    .support-page.inquiry-page .sub-hero-section.inquiry-hero {
        display: none;
    }
    /* When hero is hidden, pull the form section up to sit under the fixed header */
    .support-page.inquiry-page .inquiry-section {
        padding-top: 28px;
    }
}

.inquiry-section {
    padding: 80px 0 100px;
    background: var(--white);
}

.inquiry-section .container {
    max-width: 980px;
}

.inquiry-header {
    text-align: center;
    margin-bottom: 48px;
}

.inquiry-kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.inquiry-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px;
    letter-spacing: -0.5px;
}

.inquiry-desc {
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.75;
    color: var(--text-medium);
    text-align: center;
    margin: 0;
}

/* Inquiry page: mobile title sizing */
@media (max-width: 768px) {
    .inquiry-title {
        font-size: clamp(22px, 5.2vw, 28px);
        margin-bottom: 14px;
        letter-spacing: -0.4px;
    }
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inquiry-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.inquiry-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.inquiry-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.2px;
}

.inquiry-input,
.inquiry-textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    outline: none;
    transition: border-color 0.2s ease;
}

.inquiry-input:focus,
.inquiry-textarea:focus {
    border-color: var(--primary-color);
}

.inquiry-input::placeholder,
.inquiry-textarea::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

select.inquiry-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Custom dropdown (open list) styled like header submenu */
.vc-select {
    position: relative;
}

.vc-select__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    text-align: left;
}

.vc-select__btn::after {
    content: "";
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    background: no-repeat center / 12px 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    opacity: 0.9;
}

.vc-select.is-open .vc-select__btn,
.vc-select__btn:focus {
    border-color: var(--primary-color);
    outline: none;
}

.vc-select__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    border-radius: 0;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    border-top: 3px solid var(--primary-color);
    max-height: 320px;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.18s ease;
    z-index: 1200; /* above content, below header (1000) but this is in-page */
}

.vc-select.is-open .vc-select__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vc-select__option {
    display: block;
    padding: 12px 25px;
    color: var(--text-medium);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.vc-select__option:hover,
.vc-select__option[aria-selected="true"] {
    background: var(--bg-cream);
    color: var(--primary-color);
    padding-left: 30px;
}

.inquiry-textarea {
    resize: vertical;
    min-height: 160px;
}

.inquiry-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.inquiry-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 0;
}

.inquiry-label-checkbox {
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
    line-height: 1.4;
}

.inquiry-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    margin-top: 12px;
}

.inquiry-submit-btn:hover {
    background: var(--primary-dark);
}

.inquiry-submit-btn:active {
    transform: scale(0.99);
}

.inquiry-submit-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .inquiry-form-row {
        grid-template-columns: 1fr;
    }
    
    .inquiry-section {
        padding: 60px 0 80px;
    }
    
    .inquiry-header {
        margin-bottom: 36px;
    }
    
    .inquiry-desc br {
        display: none;
    }
}
