/* =======================================================
   서무원 변리사 · Design System
   ======================================================= */

:root {
    /* Palette — editorial: ink, ivory, one muted taupe accent */
    --navy-900: #0E0F12;
    --navy-800: #17181C;
    --navy-700: #1F2126;
    --navy-600: #2A2C33;

    --cream-50:  #FFFFFF;
    --cream-100: #FFFFFF;
    --cream-200: #ECEBE7;
    --cream-300: #D4D3CE;

    --white: #FFFFFF;

    --bronze-300: #EDD09A;
    --bronze-400: #9E8E6F;
    --bronze-500: #7A6B4F;

    --ink-900: #0E0F12;
    --ink-700: #2B2D33;
    --ink-500: #5C5E66;
    --ink-400: #8B8D95;
    --ink-300: #C3C4CA;

    /* Typography */
    --font-sans: "Pretendard Variable", "Pretendard", "Inter",
                 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    --font-serif: "Noto Serif KR", "Source Serif Pro", Georgia, serif;

    /* Spacing */
    --space-section: clamp(40px, 5vw, 70px);
    --container-max: 1180px;

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(11, 37, 69, 0.05);
    --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
    --shadow-md: 0 10px 30px rgba(11, 37, 69, 0.08);
    --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.14);

    /* Easing */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =======================================================
   Reset
   ======================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 68px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-feature-settings: "ss01", "ss02", "cv02", "cv11";
    font-variant-numeric: tabular-nums;
    color: var(--ink-900);
    background: var(--cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 68px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =======================================================
   Layout primitives
   ======================================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--space-section) 0;
}

.section--tight {
    padding: calc(var(--space-section) * 0.7) 0;
}

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bronze-500);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2rem, 3.6vw, 3rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--navy-900);
    margin-bottom: 18px;
    position: relative;
    padding-left: 18px;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    bottom: 0.35em;
    width: 3px;
    background: var(--bronze-400);
}

.section-lede {
    font-size: 1.05rem;
    color: var(--ink-500);
    max-width: 620px;
    margin-bottom: 56px;
}

/* =======================================================
   Navigation
   ======================================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s var(--ease-out),
                border-color 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out);
}

.nav.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--cream-200);
    box-shadow: 0 1px 0 rgba(11, 37, 69, 0.03);
}

.nav-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.nav-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--navy-900);
    letter-spacing: -0.01em;
}

.nav-brand::before {
    content: "";
    width: 14px;
    height: 1px;
    background: var(--ink-900);
    transform: translateY(-4px);
}

.nav-brand small {
    color: var(--ink-500);
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.01em;
}

.nav-brand-link {
    color: inherit;
    transition: color 0.2s var(--ease-out);
}

.nav-brand-link:hover {
    color: var(--bronze-500);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--ink-700);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: -0.005em;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s var(--ease-out);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--navy-900);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover {
    color: var(--navy-900);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links .nav-cta {
    background: var(--navy-900);
    color: var(--cream-50);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.2s var(--ease-out),
                transform 0.2s var(--ease-out);
}

.nav-links .nav-cta::after {
    display: none;
}

.nav-links .nav-cta:hover {
    background: var(--navy-800);
    color: var(--cream-50);
    transform: translateY(-1px);
}

.nav-lang {
    position: relative;
    margin-left: 8px;
    padding-left: 18px;
    border-left: 1px solid var(--cream-300);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.nav-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    color: var(--navy-900);
    font: inherit;
    letter-spacing: inherit;
    transition: color 0.2s var(--ease-out);
}

.nav-lang-btn:hover {
    color: var(--bronze-500);
}

.nav-lang-chev {
    width: 12px;
    height: 12px;
    transition: transform 0.2s var(--ease-out);
}

.nav-lang:hover .nav-lang-chev,
.nav-lang:focus-within .nav-lang-chev,
.nav-lang.is-open .nav-lang-chev {
    transform: rotate(180deg);
}

.nav-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 88px;
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s var(--ease-out),
                transform 0.2s var(--ease-out),
                visibility 0.2s;
    z-index: 110;
}

.nav-lang:hover .nav-lang-menu,
.nav-lang:focus-within .nav-lang-menu,
.nav-lang.is-open .nav-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Bridge between button and menu so hover doesn't break in the gap */
.nav-lang::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 6px;
}

.nav-lang-menu a {
    display: block;
    padding: 8px 14px;
    color: var(--ink-700);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: var(--radius-xs);
    transition: background 0.15s var(--ease-out),
                color 0.15s var(--ease-out);
}

.nav-lang-menu a::after {
    display: none;
}

.nav-lang-menu a:hover,
.nav-lang-menu a:focus-visible {
    background: var(--cream-200);
    color: var(--navy-900);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--navy-900);
}

.nav-toggle:hover {
    background: var(--cream-200);
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

/* =======================================================
   Hero (dark sophisticated, warm espresso)
   ======================================================= */
.hero {
    position: relative;
    min-height: calc(100vh - 68px);
    padding: clamp(72px, 9vw, 110px) 0 clamp(92px, 11vw, 130px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: var(--cream-50);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.08)),
        linear-gradient(90deg, #3D3B38 0%, #5A5854 32%, #7E7B76 58%, #9A9793 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(115deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.04) 100%);
    pointer-events: none;
}

.hero::after {
    /* soft vignette to deepen edges */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(140% 90% at 50% 40%, transparent 60%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content .eyebrow {
    color: var(--bronze-300);
}

.hero-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--cream-50);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.08rem;
    line-height: 1.85;
    color: rgba(244, 239, 230, 0.82);
    max-width: 580px;
    letter-spacing: -0.005em;
}

.firm-link {
    color: var(--bronze-300);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(237, 208, 154, 0.55);
    padding-bottom: 1px;
    transition: color 0.2s var(--ease-out),
                border-color 0.2s var(--ease-out);
}

.firm-link:hover {
    color: #F8E2B6;
    border-bottom-color: #F8E2B6;
}

/* Hero photo — full bleed on right half */
.hero-figure {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    z-index: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 9%, #000 22%);
            mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.5) 9%, #000 22%);
}

.hero-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

/* Compact contact bar (dark glass, 2x2) */
.hero-contact-bar {
    position: relative;
    margin-top: clamp(28px, 3.5vw, 40px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.hero-contact-item {
    padding: 14px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hero-contact-item:nth-child(2n) {
    border-right: 0;
}

.hero-contact-item:nth-last-child(-n+2) {
    border-bottom: 0;
}

.hero-contact-item .label {
    color: var(--bronze-300);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-contact-item .value {
    color: var(--cream-50);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    word-break: break-all;
    transition: color 0.2s var(--ease-out);
}

.hero-contact-item a.value:hover {
    color: var(--bronze-300);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
    text-decoration: none;
    transition: opacity 0.45s var(--ease-out),
                transform 0.45s var(--ease-out);
}

.hero-scroll.is-hidden {
    opacity: 0;
    transform: translate(-50%, 14px);
    pointer-events: none;
}

.hero-scroll-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(244, 239, 230, 0.55);
    transition: color 0.2s var(--ease-out);
}

.hero-scroll:hover .hero-scroll-label {
    color: var(--bronze-300);
}

.hero-scroll-line {
    position: relative;
    display: block;
    width: 1px;
    height: 44px;
    background: rgba(244, 239, 230, 0.16);
    overflow: hidden;
}

.hero-scroll-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 16px;
    background: linear-gradient(to bottom, transparent, var(--bronze-300));
    animation: scrollTravel 1.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

@keyframes scrollTravel {
    0%   { transform: translateY(-16px); opacity: 0; }
    22%  { opacity: 1; }
    100% { transform: translateY(44px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-dot { animation: none; background: var(--bronze-300); height: 100%; opacity: 0.6; }
}

/* =======================================================
   Profile section
   ======================================================= */
.profile {
    background: #FFFFFF;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
}

.profile .container {
    width: 100%;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.profile-card {
    background: var(--white);
    padding: 40px 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
    transition: transform 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out),
                border-color 0.3s var(--ease-out);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--bronze-400);
}

.profile-card h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 24px;
    letter-spacing: -0.025em;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cream-200);
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-card h3::before {
    content: "";
    width: 18px;
    height: 2px;
    background: var(--bronze-400);
    flex-shrink: 0;
}

.profile-card ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-card li {
    font-size: 1.05rem;
    color: var(--ink-700);
    line-height: 1.65;
    padding-left: 18px;
    position: relative;
}

.profile-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.82em;
    width: 8px;
    height: 1px;
    background: var(--ink-400);
}

/* =======================================================
   Cases (expertise)
   ======================================================= */
.cases {
    background: #E1E8EE;
    position: relative;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--white);
    padding: 36px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ease-out),
                box-shadow 0.35s var(--ease-out);
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--bronze-400);
}

.case-card h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.case-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.case-card li {
    font-size: 0.93rem;
    color: var(--ink-700);
    line-height: 1.55;
    padding-left: 16px;
    position: relative;
}

.case-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 6px;
    height: 1px;
    background: var(--bronze-400);
}

/* =======================================================
   Articles
   ======================================================= */
.articles {
    background: #EAEAF2;
}

.article-card {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 36px;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
    transition: transform 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out);
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--bronze-400);
}

.article-meta {
    border-right: 1px solid var(--cream-200);
    padding-right: 24px;
}

.article-meta .source {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    color: var(--navy-900);
    display: block;
    margin-bottom: 6px;
    letter-spacing: -0.015em;
}

.article-meta .kind {
    font-size: 0.78rem;
    color: var(--bronze-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article-body h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
    letter-spacing: -0.025em;
    line-height: 1.35;
}

.article-body p {
    font-size: 0.95rem;
    color: var(--ink-500);
    line-height: 1.7;
    max-width: 640px;
}

.article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-900);
    font-weight: 600;
    font-size: 0.92rem;
    white-space: nowrap;
    transition: gap 0.25s var(--ease-out);
}

.article-link:hover {
    gap: 14px;
}

/* Insight stack: article + project */
.insight-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Project card */
.project-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out),
                box-shadow 0.3s var(--ease-out);
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--bronze-400);
}

.project-figure {
    position: relative;
    background: var(--navy-900);
    overflow: hidden;
}

.project-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.project-card:hover .project-figure img {
    transform: scale(1.02);
}

.project-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-kind {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bronze-500);
    margin-bottom: 14px;
}

.project-body h3 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.project-sub {
    font-size: 0.92rem;
    color: var(--bronze-500);
    font-weight: 500;
    margin-bottom: 14px !important;
    letter-spacing: -0.005em;
}

.project-body p {
    font-size: 0.97rem;
    color: var(--ink-500);
    line-height: 1.75;
    margin-bottom: 22px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tags li {
    background: transparent;
    color: var(--bronze-500);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid var(--cream-200);
    border-radius: 999px;
    letter-spacing: 0.02em;
}

/* =======================================================
   Activities
   ======================================================= */
.activities {
    background: #E8EEE2;
}

.activities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 56px;
}

.activity-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
}

.activity-card h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cream-200);
    letter-spacing: -0.025em;
}

.activity-card ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.activity-card li {
    font-size: 0.93rem;
    color: var(--ink-700);
    line-height: 1.55;
    padding-left: 18px;
    position: relative;
}

.activity-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 1px;
    background: var(--bronze-400);
}

.office-gallery {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 16px;
}

.office-gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    transition: transform 0.5s var(--ease-out);
}

.office-gallery figure {
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.office-gallery figure:hover img {
    transform: scale(1.04);
}

.office-gallery figure:first-child {
    grid-row: span 1;
}

/* =======================================================
   Business (light body section)
   ======================================================= */
.business-light {
    background: #FFFFFF;
    min-height: calc(100vh - 68px);
    display: flex;
    align-items: center;
}

.business-light .container {
    width: 100%;
}

.business-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: start;
}

.business-list-light {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-md);
    padding: 32px 36px;
}

.business-list-light li {
    font-size: 0.97rem;
    color: var(--ink-700);
    line-height: 1.6;
    padding-left: 22px;
    position: relative;
}

.business-list-light li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 12px;
    height: 1px;
    background: var(--bronze-500);
}

.brochure-card-light {
    background: var(--navy-900);
    border-radius: var(--radius-md);
    padding: 32px;
    color: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.brochure-card-light::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 100% 0%, rgba(201, 169, 110, 0.18), transparent 60%);
    pointer-events: none;
}

.brochure-card-light > * {
    position: relative;
}

.brochure-card-light h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: 10px;
    letter-spacing: -0.025em;
}

.brochure-card-light p {
    font-size: 0.95rem;
    color: rgba(244, 239, 230, 0.75);
    margin-bottom: 24px;
    line-height: 1.6;
}

.brochure-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--cream-50);
    color: var(--navy-900);
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: transform 0.25s var(--ease-out),
                background 0.25s var(--ease-out);
}

.brochure-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
}

/* =======================================================
   Footer (warm charcoal, matches hero)
   ======================================================= */
.footer {
    background: linear-gradient(140deg, #3D3B38 0%, #5A5854 100%);
    border-top: 1px solid rgba(244, 239, 230, 0.08);
    padding: 26px 0;
    color: rgba(244, 239, 230, 0.55);
    font-size: 0.82rem;
    text-align: center;
    letter-spacing: 0.01em;
}

/* =======================================================
   Motion: reveal on scroll
   ======================================================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
}

/* =======================================================
   Responsive
   ======================================================= */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 460px;
    }
    .hero-figure {
        width: 46%;
    }
    .profile-grid,
    .cases-grid {
        grid-template-columns: 1fr 1fr;
    }
    .business-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .project-card {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body { padding-top: 60px; }
    html { scroll-padding-top: 60px; }

    .nav-inner { height: 60px; }

    .hero-scroll { display: none; }

    .profile,
    .business-light {
        min-height: calc(100vh - 60px);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: var(--cream-50);
        padding: 24px 24px 32px;
        gap: 14px;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: var(--shadow-sm);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a {
        padding: 14px 0;
        font-size: 1.05rem;
    }
    .nav-links a::after { display: none; }
    .nav-toggle { display: inline-flex; }

    .nav-lang {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }
    .nav-lang-btn {
        padding: 8px 6px;
    }

    .hero {
        min-height: calc(100vh - 60px);
        padding-top: clamp(60px, 12vw, 96px);
        padding-bottom: clamp(80px, 12vw, 110px);
    }
    .hero {
        padding-top: 0;
        padding-bottom: 0;
    }
    .hero .container {
        order: 2;
    }
    .hero-figure {
        order: 1;
        position: relative;
        width: 100%;
        height: 60vh;
        max-height: 520px;
        margin-bottom: 28px;
    }
    .hero-figure img {
        object-position: center 30%;
    }
    .hero-figure::before {
        display: none;
    }
    .hero-content {
        max-width: 100%;
    }

    .hero-contact-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-contact-item {
        padding: 14px 16px;
    }
    .hero-contact-item .value {
        font-size: 0.9rem;
    }

    .profile-grid,
    .cases-grid,
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px;
    }
    .article-meta {
        border-right: 0;
        border-bottom: 1px solid var(--cream-200);
        padding: 0 0 18px;
    }

    .project-card {
        grid-template-columns: 1fr;
    }
    .project-figure {
        aspect-ratio: 16 / 9;
    }
    .project-body {
        padding: 28px;
    }

    .office-gallery {
        grid-template-columns: 1fr 1fr;
    }
    .office-gallery figure:first-child {
        grid-column: span 2;
    }

    .brochure-card-light,
    .business-list-light,
    .activity-card {
        padding: 24px;
    }
}
