/* ===========================
   DREAMONE DESIGN — Style
   Quiet Luxury B2B Studio
   Brand: Deep Forest Green
   =========================== */

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

:root {
    /* Core Palette */
    --white: #fafaf8;
    --off-white: #f5f3ef;
    --warm-gray: #e8e4de;
    --mid-gray: #a8a39b;
    --dark-gray: #3a3530;
    --charcoal: #1e1c19;
    --black: #0f0e0c;

    /* Brand Colors — Dreamone Design */
    --forest: #2d4040;        /* Primary brand: Deep Forest Green */
    --forest-light: #3d5454; /* Hover state */
    --forest-dark: #1e2c2c;  /* Deep variant */
    --forest-pale: #e8edec;  /* Tint background */

    /* Accent Colors */
    --walnut: #7c5c3e;
    --walnut-light: #a07850;
    --gold: #c9a96e;
    --gold-light: #e0c896;
    --accent: #c9a96e;

    /* Fonts */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', sans-serif;
    --font-kr: 'Noto Sans KR', sans-serif;

    --nav-height: 72px;
    --container: 1240px;
    --container-wide: 1440px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-kr);
    background: var(--white);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* --- Typography --- */
.section-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--walnut);
}

.section-head {
    text-align: center;
    margin-bottom: 72px;
}

/* --- Layout --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Reveal Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(250, 250, 248, 0.96);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--warm-gray);
    box-shadow: 0 1px 20px rgba(45,64,64,0.06);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =====================
   Logo Image — 크로스브라우저 완벽 호환
   ===================== */
.nav-logo {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    text-decoration: none;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    line-height: 0; /* inline gap 제거 */
}
.nav-logo:hover { opacity: 0.8; }

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    max-width: none;
    /* 기본값: hero 배경(어두움) 위 → 흰색 */
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    -webkit-transition: -webkit-filter 0.35s ease;
    transition: filter 0.35s ease;
    /* 모든 브라우저에서 선명하게 */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* 스크롤 후(밝은 배경): 원본 다크 그린 컬러 */
.nav.scrolled .logo-img {
    -webkit-filter: none;
    filter: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--dark-gray);
    transition: color 0.2s;
}

.nav.hero-mode .nav-links a {
    color: rgba(250, 250, 248, 0.8);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links .nav-cta {
    padding: 9px 20px;
    border: 1px solid currentColor;
    border-radius: 2px;
    font-size: 12px;
    letter-spacing: 0.06em;
    transition: background 0.2s, color 0.2s;
}

.nav.hero-mode .nav-links .nav-cta {
    border-color: rgba(250, 250, 248, 0.5);
    color: var(--white);
}

.nav-links .nav-cta:hover {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    transition: transform 0.3s, opacity 0.3s;
}

.nav.hero-mode .nav-toggle span {
    background: var(--white);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 24px 40px 32px;
    border-top: 1px solid var(--warm-gray);
    gap: 20px;
}

.nav-mobile a {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--charcoal);
}

.nav-mobile.open {
    display: flex;
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 120px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1.2s ease;
}

.hero-img-1 {
    background-image: url('../images/projects/real/l7-haeundae-lotte.jpg');
    background-size: cover;
    background-position: center 40%;
    opacity: 1;
}

.hero-img-2 {
    background-image: url('../images/projects/real/haevichi-resort-jeju.png');
    background-size: cover;
    background-position: center;
    opacity: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,9,8,0.85) 0%, rgba(10,9,8,0.4) 50%, rgba(10,9,8,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    transition-delay: 0.1s;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    max-width: 720px;
    transition-delay: 0.2s;
}

.hero-title .line {
    display: block;
}

.hero-title .italic {
    font-style: italic;
    font-weight: 300;
    color: var(--gold-light);
}

.hero-desc {
    font-family: var(--font-kr);
    font-size: 15px;
    font-weight: 300;
    color: rgba(250, 250, 248, 0.75);
    margin-bottom: 44px;
    line-height: 1.9;
    transition-delay: 0.3s;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    transition-delay: 0.4s;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    background: var(--forest);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--forest-light);
    transform: translateY(-1px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 32px;
    border: 1px solid rgba(250, 250, 248, 0.4);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    border-radius: 2px;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(250, 250, 248, 0.08);
}

.hero-scroll {
    position: absolute;
    right: 48px;
    bottom: 48px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--gold));
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll span {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.5);
    writing-mode: vertical-rl;
}

.hero-stat-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(10, 9, 8, 0.6);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    height: 72px;
    padding: 0 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 52px;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--white);
    line-height: 1;
}

.stat-num sup {
    font-size: 14px;
    color: var(--gold);
}

.stat-label {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid-gray);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(201, 169, 110, 0.2);
    flex-shrink: 0;
}

/* --- Marquee --- */
.marquee-wrap {
    background: var(--charcoal);
    overflow: hidden;
    padding: 18px 0;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.marquee-track span {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.5);
    padding: 0 24px;
}

.marquee-track .sep {
    color: var(--gold);
    padding: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- About --- */
.about {
    padding: 140px 0 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 120px;
}

.about-text p {
    font-size: 15px;
    font-weight: 300;
    color: #5a5550;
    line-height: 1.9;
    margin-bottom: 20px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--walnut);
    margin-top: 16px;
    transition: gap 0.2s;
}

.link-arrow:hover {
    gap: 14px;
}

.about-img-wrap {
    position: relative;
    height: 540px;
}

.about-img-main {
    width: calc(100% - 60px);
    height: 100%;
    background-image: url('../images/about-chair.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.about-img-main::after {
    content: '';
    display: none;
}

.about-img-accent {
    position: absolute;
    right: 0;
    bottom: -30px;
    width: 140px;
    height: 180px;
    background: var(--gold);
    opacity: 0.12;
}

/* CEO Section */
.ceo-section {
    background: var(--off-white);
    padding: 100px 0;
}

.ceo-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 80px;
    align-items: start;
}

.ceo-img-wrap {
    position: relative;
}

.ceo-img {
    width: 100%;
    height: 420px;
    background: linear-gradient(145deg, #2e2a24 0%, #1a1612 100%);
    /* Replace with CEO photo */
    position: relative;
}

.ceo-img::after {
    content: 'CEO Photo';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(250,250,248,0.25);
    text-transform: uppercase;
}

.ceo-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 88px;
    height: 88px;
    background: var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.ceo-badge span:first-child {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--black);
    line-height: 1;
}

.ceo-badge span:last-child {
    font-family: var(--font-sans);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--black);
    opacity: 0.7;
}

.ceo-name {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--charcoal);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.ceo-title {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}

.ceo-desc {
    font-size: 14px;
    font-weight: 300;
    color: #5a5550;
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 560px;
}

.ceo-career {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid var(--warm-gray);
    padding-top: 32px;
}

.career-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.career-year {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--mid-gray);
    min-width: 50px;
}

.career-co {
    font-family: var(--font-kr);
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-gray);
}

.career-co em {
    font-style: normal;
    color: var(--walnut);
    margin-left: 6px;
    font-size: 12px;
}

/* --- Services --- */
.services {
    padding: 140px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--off-white);
    padding: 48px 36px 52px;
    position: relative;
    transition: background 0.3s, transform 0.3s;
}

.service-card:hover {
    background: var(--forest);
    transform: translateY(-4px);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-card:hover .service-num {
    color: var(--gold);
}

.service-card:hover .service-icon {
    color: var(--gold);
}

.service-num {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 32px;
    transition: color 0.3s;
}

.service-icon {
    margin-bottom: 24px;
    color: var(--walnut);
    transition: color 0.3s;
}

.service-card h3 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 14px;
    line-height: 1.4;
    transition: color 0.3s;
}

.service-card p {
    font-size: 13px;
    font-weight: 300;
    color: #6a6560;
    line-height: 1.8;
    transition: color 0.3s;
}

/* --- Process --- */
.process {
    padding: 0 0 140px;
    background: var(--white);
}

.process-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.process-step {
    background: var(--forest-dark);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: rgba(201, 169, 110, 0.12);
    line-height: 1;
    display: block;
    margin-bottom: 20px;
}

.step-content h4 {
    font-family: var(--font-kr);
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.4;
}

.step-content p {
    font-size: 13px;
    font-weight: 300;
    color: rgba(250, 250, 248, 0.55);
    line-height: 1.7;
}

/* --- Selected Works --- */
.works {
    padding: 0 0 140px;
    background: var(--white);
}

.works-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    padding: 0 4px;
    gap: 24px;
}

.works-header .section-title {
    flex: 1;
}

.works-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4px;
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--charcoal);
}

.work-featured {
    grid-row: span 2;
}

.work-img {
    width: 100%;
    aspect-ratio: 3/4;
    transition: transform 0.6s var(--ease-out);
    position: relative;
    overflow: hidden;
    background: #1a1512;
}

.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease-out), filter 0.6s ease;
    filter: brightness(0.88) saturate(0.9);
}

.work-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,13,11,0.7) 0%, rgba(15,13,11,0.1) 50%, transparent 100%);
    transition: opacity 0.5s ease;
}

.work-item:hover .work-img img {
    transform: scale(1.06);
    filter: brightness(0.75) saturate(1.05);
}

.work-item:hover .work-img-overlay {
    opacity: 0.6;
}

.work-featured .work-img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 520px;
}

.work-item:not(.work-featured) .work-img {
    aspect-ratio: 4/3;
}

.work-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.work-placeholder span {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.5);
}

.work-placeholder em {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.2);
    font-style: normal;
}

.work-item:hover .work-img {
    transform: scale(1.04);
}

.work-info {
    padding: 20px 24px 24px;
    background: var(--charcoal);
}

.work-tag {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.work-info h3 {
    font-family: var(--font-kr);
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 4px;
}

.work-info p {
    font-size: 12px;
    color: rgba(250, 250, 248, 0.45);
}

/* --- Wonderboard CTA --- */
.wonderboard-cta {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}

.wb-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1410 0%, #0f0c08 100%);
}

.wb-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a96e' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wb-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.wb-cta-label {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.wb-cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.wb-cta-title em {
    font-style: italic;
    color: var(--gold-light);
}

.wb-cta-desc {
    font-size: 15px;
    font-weight: 300;
    color: rgba(250, 250, 248, 0.6);
    line-height: 1.9;
    margin-bottom: 48px;
}

.btn-primary-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: var(--gold);
    color: var(--black);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary-light:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

/* --- Strengths --- */
.strengths {
    padding: 140px 0;
    background: var(--off-white);
}

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

.strength-card {
    background: var(--white);
    padding: 56px 44px;
    position: relative;
    border-top: 2px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.strength-card:hover {
    border-top-color: var(--gold);
    transform: translateY(-4px);
}

.strength-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--warm-gray);
    line-height: 1;
    margin-bottom: 28px;
}

.strength-card h3 {
    font-family: var(--font-kr);
    font-size: 17px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 16px;
    line-height: 1.5;
}

.strength-card p {
    font-size: 13px;
    font-weight: 300;
    color: #6a6560;
    line-height: 1.85;
    margin-bottom: 28px;
}

.strength-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 5px 12px;
    border: 1px solid rgba(201, 169, 110, 0.35);
}

/* --- Contact --- */
.contact {
    padding: 140px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.contact-desc {
    font-size: 15px;
    font-weight: 300;
    color: #6a6560;
    line-height: 1.9;
    margin-bottom: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-item a,
.contact-item span {
    font-size: 14px;
    font-weight: 400;
    color: var(--charcoal);
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--walnut);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--mid-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--off-white);
    border: 1px solid var(--warm-gray);
    border-radius: 2px;
    font-family: var(--font-kr);
    font-size: 14px;
    font-weight: 300;
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    padding: 16px 40px;
    background: var(--forest);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
    background: var(--forest-light);
    transform: translateY(-2px);
}

/* ── Location Map Section ── */
.location-map-section {
    background: var(--charcoal);
    width: 100%;
}

.location-map-inner {
    display: flex;
    height: 480px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

/* 구글맵 영역 */
.gmap-wrap {
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
    filter: grayscale(0.25) contrast(0.95);
}

.gmap-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 우측 정보 패널 */
.location-info-panel {
    width: 320px;
    flex-shrink: 0;
    background: var(--forest);
    padding: 44px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.location-label {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.location-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--off-white);
    letter-spacing: 0.06em;
    margin-bottom: 28px;
}

.location-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    color: rgba(245,243,239,0.65);
    font-size: 13px;
    line-height: 1.7;
}

.location-address svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold);
    opacity: 0.8;
}

/* 지도 앱 연동 버튼 그룹 */
.map-app-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid rgba(201,169,110,0.18);
}

.map-app-btn {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 카카오맵 버튼 */
.kakao-btn {
    background: #FEE500;
    color: #3C1E1E;
}
.kakao-btn:hover {
    background: #f5dc00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(254,229,0,0.3);
}

/* 네이버지도 버튼 */
.naver-btn {
    background: #03C75A;
    color: #fff;
}
.naver-btn:hover {
    background: #02b350;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3,199,90,0.3);
}

/* 구글맵 버튼 */
.google-btn {
    background: rgba(245,243,239,0.08);
    color: rgba(245,243,239,0.70);
    border: 1px solid rgba(245,243,239,0.15);
}
.google-btn:hover {
    background: rgba(245,243,239,0.14);
    color: var(--off-white);
    transform: translateY(-1px);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .location-map-inner {
        flex-direction: column;
        height: auto;
    }
    .gmap-wrap {
        height: 280px;
        position: relative;
    }
    .location-info-panel {
        width: 100%;
        padding: 28px 24px 32px;
    }
    .location-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    .map-app-btns {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .map-app-btn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        font-size: 11px;
        padding: 10px 8px;
    }
}

/* --- Footer --- */
.footer {
    background: var(--forest-dark);
    padding: 72px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(250, 250, 248, 0.08);
    gap: 60px;
}

.footer-logo {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 13px;
    font-weight: 300;
    color: rgba(250, 250, 248, 0.4);
    line-height: 1.8;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col-title {
    font-family: var(--font-sans);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.footer-col a {
    font-size: 13px;
    font-weight: 300;
    color: rgba(250, 250, 248, 0.5);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span {
    font-family: var(--font-sans);
    font-size: 11px;
    color: rgba(250, 250, 248, 0.25);
    letter-spacing: 0.04em;
}

/* === Responsive === */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-list {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .work-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .work-featured .work-img {
        aspect-ratio: 16/7;
        min-height: unset;
        height: auto;
    }
}

@media (max-width: 900px) {
    :root {
        --container: 100%;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid,
    .ceo-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img-wrap {
        height: 380px;
    }

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

    .ceo-img-wrap {
        max-width: 320px;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .hero-stat-bar {
        flex-wrap: wrap;
        height: auto;
        padding: 16px;
        gap: 0;
    }

    .stat-item {
        padding: 8px 24px;
    }

    .stat-divider {
        display: none;
    }

    .footer-top {
        flex-direction: column;
        gap: 48px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .container,
    .container-wide {
        padding: 0 20px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .nav-mobile {
        padding: 20px 20px 28px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-scroll {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .services-grid,
    .process-list {
        grid-template-columns: 1fr;
    }

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

    .work-featured {
        grid-column: span 1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .works-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-head {
        text-align: left;
    }

    .hero-stat-bar {
        justify-content: flex-start;
    }
}

/* ===========================
   NEW SECTIONS — Index Upgrade
   =========================== */

/* --- About Tags --- */
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.about-tag-item {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--forest);
    padding: 6px 14px;
    border: 1px solid rgba(45,64,64,0.3);
    background: var(--forest-pale);
}

/* --- History / Timeline --- */
.history-section {
    background: var(--forest-pale);
    padding: 100px 0;
    margin-top: 80px;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 16px;
}

.history-item {
    background: var(--white);
    padding: 40px 32px 44px;
    position: relative;
    border-top: 3px solid transparent;
    transition: border-color 0.3s, transform 0.3s;
}

.history-item:hover {
    border-top-color: var(--forest);
    transform: translateY(-4px);
}

.hist-year {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--forest);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 20px;
    transition: opacity 0.3s;
}

.history-item:hover .hist-year {
    opacity: 0.7;
}

.hist-content h4 {
    font-family: var(--font-kr);
    font-size: 15px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
    line-height: 1.4;
}

.hist-content p {
    font-size: 13px;
    font-weight: 300;
    color: #6a6560;
    line-height: 1.85;
}

/* --- CEO Education Badge --- */
.ceo-edu {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--forest);
    margin-bottom: 20px;
    padding: 6px 14px;
    border-left: 2px solid var(--forest);
    background: var(--forest-pale);
    display: inline-block;
}

/* --- CEO Projects Badges --- */
.ceo-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--warm-gray);
}

.proj-badge {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--forest);
    padding: 5px 12px;
    transition: background 0.2s;
}

.proj-badge:hover {
    background: var(--forest-light);
}

/* --- Section Sub Text --- */
.section-sub {
    font-size: 14px;
    font-weight: 300;
    color: #7a7570;
    line-height: 1.8;
    margin-top: 16px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Service List --- */
.service-list {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(232,228,222,0.5);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.service-list li {
    font-size: 12px;
    font-weight: 300;
    color: #8a8580;
    padding-left: 14px;
    position: relative;
    line-height: 1.6;
    transition: color 0.3s;
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 10px;
}

.service-card:hover .service-list li {
    color: rgba(250,250,248,0.6);
}

.service-card:hover .service-list li::before {
    color: var(--gold-light);
}

/* --- Wonderboard Line Pills --- */
.wb-cta-lines {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.wb-line-pill {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 7px 18px;
    border-radius: 100px;
    border: 1px solid rgba(201,169,110,0.35);
    color: rgba(250,250,248,0.7);
}

.wb-line-pill.mood {
    background: rgba(201,169,110,0.15);
    border-color: var(--gold);
    color: var(--gold);
}

/* --- Trust / Client Grid --- */
.trust-section {
    padding: 100px 0;
    background: var(--forest);
}

.trust-section .section-label {
    color: rgba(201,169,110,0.7);
}

.trust-section .section-title {
    color: var(--white);
}

.trust-section .section-title em {
    color: var(--gold-light);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(250,250,248,0.08);
    border: 1px solid rgba(250,250,248,0.08);
}

.client-item {
    background: rgba(250,250,248,0.04);
    padding: 24px 20px;
    text-align: center;
    font-family: var(--font-kr);
    font-size: 13px;
    font-weight: 400;
    color: rgba(250,250,248,0.55);
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
}

.client-item:hover {
    background: rgba(250,250,248,0.1);
    color: var(--white);
}

/* --- Quick Contact Buttons --- */
.contact-quick {
    display: flex;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
}

.phone-btn {
    background: var(--forest);
    color: var(--white);
}

.phone-btn:hover {
    background: var(--forest-light);
    transform: translateY(-2px);
}

.email-btn {
    background: transparent;
    color: var(--forest);
    border: 1px solid var(--forest);
}

.email-btn:hover {
    background: var(--forest);
    color: var(--white);
}

/* --- Contact Form Title --- */
.contact-form-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 28px;
}

/* --- Form Note --- */
.form-note {
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--mid-gray);
    margin-top: 12px;
    letter-spacing: 0.04em;
}

.req {
    color: var(--forest);
}

/* --- Footer Logo Wrap --- */
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-logo-text span {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: rgba(250,250,248,0.85);
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- Footer Contact Mini --- */
.footer-contact-mini {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    font-family: var(--font-sans);
    font-size: 12px;
}

.footer-contact-mini a {
    color: rgba(250,250,248,0.5);
    transition: color 0.2s;
}

.footer-contact-mini a:hover {
    color: var(--gold);
}

.footer-contact-mini span {
    color: rgba(250,250,248,0.2);
}

/* --- Strength card hover fix for green --- */
.strength-card:hover {
    border-top-color: var(--forest);
}

/* --- Works header fix (flex alignment) --- */
.works-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    padding: 0 4px;
    gap: 24px;
}

/* === Responsive — New Sections === */
@media (max-width: 1100px) {
    .history-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .client-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .history-grid {
        grid-template-columns: 1fr;
    }
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ceo-projects {
        gap: 6px;
    }
    .contact-quick {
        flex-direction: column;
    }
    .wb-cta-lines {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Utility --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}
