:root {
    --primary-bg: #ffffff;
    --primary-text: #1e293b;
    --secondary-bg: #f8fafc;
    --secondary-text: #475569;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --accent: #0f766e;
    --accent-text: #ffffff;
    --accent-hover: #115e59;
    --footer-bg: #0f172a;
    --font-family-primary: 'Noto Sans KR', sans-serif;
    --h1-size: clamp(2rem, 5vw, 3.25rem);
    --h2-size: clamp(1.75rem, 3.5vw, 2.25rem);
    --h3-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-primary);
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    color: var(--primary-text);
    background-color: var(--primary-bg);
    word-break: keep-all;
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1.25rem;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 700;
    line-height: 1.35;
    margin-top: 0;
    margin-bottom: 1rem;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    min-height: 44px;
    min-width: 44px;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    h5 {
        font-size: 1rem;
    }

    a,
    p,
    span,
    td,
    th {
        word-break: break-word;
    }
}

/* ===== header ===== */
#site-header {
    overflow: visible;
    background-color: var(--primary-bg, #ffffff);
    border-bottom: 1px solid var(--card-border, #e2e8f0);
    width: 100%;
    z-index: 1020;
}

.brand-logo {
    max-width: 44px;
    height: auto;
    object-fit: contain;
}

.brand-title {
    color: var(--primary-text, #1e293b);
    font-weight: 700;
    font-size: 1.15rem;
    white-space: nowrap;
    hyphens: auto;
}

@media (max-width: 767.98px) {
    .brand-title {
        font-size: 0.8rem;
    }
}

.site-header .nav-link {
    color: var(--secondary-text, #475569);
    transition: color 0.2s ease-in-out;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
    color: var(--accent, #0f766e);
}

.site-header .btn-cta {
    background-color: var(--accent, #0f766e);
    color: var(--accent-text, #ffffff);
    border: 1px solid var(--accent, #0f766e);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.site-header .btn-cta:hover,
.site-header .btn-cta:focus {
    background-color: var(--accent-hover, #115e59);
    border-color: var(--accent-hover, #115e59);
    color: var(--accent-text, #ffffff);
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    line-height: 1;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.mobile-dropdown-menu {
    display: none;
    background-color: var(--primary-bg, #ffffff);
    border-bottom: 1px solid var(--card-border, #e2e8f0);
    width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.mobile-dropdown-menu.open {
    display: block;
}

.mobile-dropdown-menu .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-radius: 0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.mobile-dropdown-menu .nav-link:active {
    background-color: var(--secondary-bg, #f8fafc);
}

/* ===== hero_section ===== */
#hero {
    width: 100%;
    position: relative;
}

.btn-hero {
    transition: background-color 0.25s ease, transform 0.25s ease;
    border: 1px solid transparent;
}

.btn-hero:hover {
    background-color: var(--accent-hover) !important;
    color: var(--accent-text) !important;
    transform: translateY(-2px);
}

.hero-figure {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

@media (max-width: 767.98px) {
    #hero h1 {
        font-size: 1.125rem !important;
        line-height: 1.25 !important;
    }

    #hero .hero-lead {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    #hero .hero-img {
        height: 260px !important;
    }
}

/* ===== street_scenes_section ===== */
#street-scenes {
    width: 100%;
}

#street-scenes .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#street-scenes .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

#street-scenes .js-share-btn {
    transition: background-color 0.25s ease, opacity 0.25s ease;
    cursor: pointer;
}

#street-scenes .js-share-btn:hover {
    background-color: var(--accent-hover) !important;
}

@media (max-width: 767.98px) {
    #street-scenes h2 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    #street-scenes h3 {
        font-size: 0.875rem !important;
        line-height: 1.2 !important;
    }

    #street-scenes p {
        font-size: 0.875rem !important;
    }
}

/* ===== lighting_section ===== */
#lighting-and-angles {
    width: 100%;
}

#lighting-and-angles article {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#lighting-and-angles article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767.98px) {
    #lighting-and-angles h2 {
        font-size: 1rem !important;
        line-height: 1.25;
        hyphens: auto;
    }

    #lighting-and-angles h3 {
        font-size: 0.875rem !important;
        line-height: 1.25;
        hyphens: auto;
    }
}

/* ===== framing_section ===== */
#angles-framing {
    overflow: hidden;
    background-color: var(--secondary-bg);
    width: 100%;
}

.framing-badge {
    background-color: var(--accent);
    color: var(--accent-text);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.framing-title {
    color: var(--primary-text);
    letter-spacing: -0.02em;
    hyphens: auto;
}

.framing-subtitle {
    color: var(--secondary-text);
    font-size: 1.05rem;
    line-height: 1.6;
    word-break: keep-all;
    hyphens: auto;
}

.framing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border) !important;
    border-radius: 1rem;
    overflow: hidden;
}

.framing-img-container {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.framing-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.framing-pill-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.35rem 0.75rem;
    border-radius: 50rem;
    backdrop-filter: blur(4px);
}

.framing-pill-tag i {
    color: #ffffff;
}

.framing-card-title {
    color: var(--primary-text);
    letter-spacing: -0.01em;
    hyphens: auto;
}

.framing-card-desc {
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.65;
    word-break: keep-all;
    hyphens: auto;
}

.framing-tip-box {
    background-color: var(--secondary-bg);
    border: 1px solid var(--card-border);
}

.framing-icon {
    color: var(--accent);
    font-size: 1.1rem;
}

.framing-tip-text {
    color: var(--secondary-text);
    font-size: 0.875rem;
    line-height: 1.5;
    word-break: keep-all;
    hyphens: auto;
}

.framing-guide-banner {
    background-color: var(--card-bg);
    border-color: var(--card-border) !important;
}

.framing-banner-icon-box {
    width: 54px;
    height: 54px;
    background-color: var(--secondary-bg);
    border: 1px solid var(--card-border);
}

.framing-banner-icon {
    color: var(--accent);
    font-size: 1.6rem;
}

.framing-banner-title {
    color: var(--primary-text);
    hyphens: auto;
}

.framing-banner-desc {
    color: var(--secondary-text);
    font-size: 0.925rem;
    line-height: 1.6;
    word-break: keep-all;
    hyphens: auto;
}

@media (max-width: 767.98px) {
    .framing-title {
        font-size: 1rem !important;
        line-height: 1.25;
    }

    .framing-card-title {
        font-size: 0.875rem !important;
        line-height: 1.25;
    }

    .framing-banner-title {
        font-size: 0.875rem !important;
        line-height: 1.25;
    }

    .framing-img-container,
    .framing-img {
        height: 210px;
    }

    .framing-card-desc,
    .framing-subtitle,
    .framing-banner-desc {
        font-size: 0.875rem;
    }
}

/* ===== editing_section ===== */
#selection-editing {
    width: 100%;
    position: relative;
}

#selection-editing .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#selection-editing .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08) !important;
}

#selection-editing .editing-card-img {
    width: 100%;
    display: block;
}

@media (max-width: 767.98px) {
    #selection-editing h1 {
        font-size: 1.125rem !important;
        line-height: 1.25 !important;
    }

    #selection-editing h2 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    #selection-editing h3 {
        font-size: 0.875rem !important;
        line-height: 1.25 !important;
    }

    #selection-editing .editing-card-img {
        height: 240px !important;
    }
}

/* ===== faq_section ===== */
#faq {
    background-color: var(--secondary-bg);
    overflow: hidden
}

#faq .accordion-button {
    font-size: 1.05rem;
    box-shadow: none;
    padding: 1.25rem 1.5rem
}

#faq .accordion-button:not(.collapsed) {
    background-color: var(--card-bg);
    color: var(--accent)
}

#faq .accordion-button::after {
    filter: grayscale(1) brightness(0.5)
}

#faq .accordion-button:not(.collapsed)::after {
    filter: none
}

@media(max-width:767.98px) {
    #faq h2 {
        font-size: 1rem;
        line-height: 1.2;
        hyphens: auto
    }

    #faq h3 {
        font-size: 0.875rem;
        line-height: 1.2;
        hyphens: auto
    }

    #faq .accordion-button {
        font-size: 0.9rem;
        padding: 1rem 1.15rem
    }

    #faq .accordion-body {
        font-size: 0.875rem;
        padding-left: 1.15rem;
        padding-right: 1.15rem
    }
}

/* ===== contact_form_section ===== */
#inquiry {
    width: 100%;
}

#inquiry .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.25rem rgba(15, 118, 110, 0.2);
}

#inquiry .btn:hover {
    background-color: var(--accent-hover) !important;
    color: var(--accent-text) !important;
}

#inquiry input::placeholder,
#inquiry textarea::placeholder {
    color: var(--secondary-text);
    opacity: 0.7;
}

/* ===== footer ===== */
#site-footer {
    overflow: hidden;
    background-color: var(--footer-bg, #0f172a);
    color: #f8fafc;
    font-size: 0.9375rem;
}

#site-footer .text-secondary {
    color: #94a3b8 !important;
    transition: color 0.2s ease-in-out;
}

#site-footer .text-secondary:hover {
    color: #f8fafc !important;
}

#site-footer .text-light {
    color: #e2e8f0 !important;
    transition: color 0.2s ease-in-out;
}

#site-footer .text-light:hover {
    color: #ffffff !important;
}

#site-footer .border-secondary {
    border-color: #334155 !important;
}

@media (max-width: 767.98px) {
    #site-footer {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    #site-footer h3,
    #site-footer .fs-5 {
        font-size: 1rem !important;
        line-height: 1.25;
    }
}