/* =========================================================
   PANDIT LAW ASSOCIATES — Design System
   Refined: muted brass gold, deep ink, warm ivory, calm motion
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

:root {
    /* Ink (dark) */
    --ink:        #0A0F1C;
    --ink-soft:   #111A2C;
    --ink-2:      #0E1524;
    --ink-line:   rgba(255, 255, 255, 0.09);

    /* Brass gold — muted, used sparingly */
    --gold:       #C2A36B;
    --gold-soft:  #D9C193;
    --gold-deep:  #9C7F4C;

    /* Paper (light) */
    --paper:      #F3F0E8;
    --paper-soft: #FAF8F3;
    --paper-line: rgba(18, 26, 44, 0.10);

    /* Text */
    --tx-dark:    #1B1D22;
    --tx-mute-d:  #5A5E66;
    --tx-light:   #ECE8E0;
    --tx-mute-l:  rgba(236, 232, 224, 0.64);

    /* System */
    --maxw: 1240px;
    --gut: clamp(1.25rem, 5vw, 4rem);
    --sp-section: clamp(5rem, 9vw, 8.5rem);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--paper-soft);
    color: var(--tx-dark);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Layout primitives ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

.section { padding: var(--sp-section) 0; position: relative; }

.section-ink   { background: var(--ink); color: var(--tx-light); }
.section-ink-2 { background: var(--ink-2); color: var(--tx-light); }
.section-paper { background: var(--paper-soft); color: var(--tx-dark); }
.section-paper-2 { background: var(--paper); color: var(--tx-dark); }

/* ---------- Shared type ---------- */
.eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold-deep);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}
.section-ink .eyebrow, .section-ink-2 .eyebrow { color: var(--gold); }
.eyebrow::before {
    content: '';
    width: 28px; height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after {
    content: '';
    width: 28px; height: 1px;
    background: currentColor;
    opacity: 0.7;
}
.section-head.center .eyebrow { justify-content: center; }

.section-title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 1.1rem 0 0;
}
.section-title em { font-style: italic; color: var(--gold-deep); }
.section-ink .section-title em, .section-ink-2 .section-title em { color: var(--gold); }

.section-lede {
    font-size: 1.06rem;
    font-weight: 300;
    line-height: 1.8;
    margin-top: 1.25rem;
    color: var(--tx-mute-d);
    max-width: 640px;
}
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }
.section-ink .section-lede, .section-ink-2 .section-lede { color: var(--tx-mute-l); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 2.1rem;
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost-light { background: transparent; color: var(--tx-light); border-color: rgba(236,232,224,0.32); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-soft); }

.btn-ghost-dark { background: transparent; color: var(--tx-dark); border-color: var(--paper-line); }
.btn-ghost-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* ---------- Navigation ---------- */
nav {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 1.4rem 0;
    background: rgba(10, 15, 28, 0);
    transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
    border-bottom: 1px solid transparent;
}
nav.scrolled {
    padding: 0.85rem 0;
    background: rgba(10, 15, 28, 0.92);
    backdrop-filter: blur(18px) saturate(150%);
    border-bottom-color: var(--ink-line);
}
.nav-row {
    max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut);
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand .brand-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tx-light);
    letter-spacing: 0.01em;
}
.brand .brand-sub {
    font-family: var(--sans);
    font-size: 0.56rem;
    font-weight: 500;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.45rem;
}
.nav-links { display: flex; align-items: center; gap: 2.4rem; list-style: none; }
.nav-links a {
    color: var(--tx-light);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
}
.nav-links a:not(.nav-cta)::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.35s var(--ease);
}
.nav-links a:not(.nav-cta):hover { color: var(--gold-soft); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    border: 1px solid rgba(236,232,224,0.32);
    padding: 0.6rem 1.4rem !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.72rem !important;
    letter-spacing: 0.1em;
    transition: all 0.35s var(--ease);
}
.nav-cta:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--gold); transition: all 0.3s ease; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--ink);
    color: var(--tx-light);
    overflow: hidden;
    padding: 9rem 0 4rem;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    filter: grayscale(40%) contrast(1.05);
}
.hero::after {
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,15,28,0.55) 0%, rgba(10,15,28,0.78) 60%, var(--ink) 100%),
        radial-gradient(ellipse at 70% 18%, rgba(194,163,107,0.10) 0%, transparent 55%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); width: 100%; }
.hero-eyebrow {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); display: inline-flex; align-items: center; gap: 0.85rem; margin-bottom: 1.8rem;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--gold); }
.hero h1 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
    max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-sub {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.85;
    color: var(--tx-mute-l);
    max-width: 56ch;
    margin: 2rem 0 0;
}
.hero-cred {
    margin: 2.4rem 0 0;
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1.4rem;
    font-size: 0.8rem; letter-spacing: 0.04em; color: var(--tx-mute-l);
}
.hero-cred .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.hero-cta { margin-top: 2.8rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
    margin-top: clamp(3rem, 6vw, 5rem);
    display: grid; grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ink-line);
}
.hero-stat { padding: 1.8rem 1.5rem 0 0; }
.hero-stat:not(:last-child) { border-right: 1px solid var(--ink-line); }
.hero-stat:not(:first-child) { padding-left: 1.8rem; }
.hero-stat .num {
    font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--gold-soft); line-height: 1;
}
.hero-stat .lbl {
    margin-top: 0.7rem; font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase;
    color: var(--tx-mute-l); font-weight: 500;
}

/* ---------- Clients / Counsel-To ---------- */
.clients-head { text-align: center; margin-bottom: 3rem; }
.clients-head .eyebrow { justify-content: center; }
.clients-head .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.clients-head h2 {
    font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    margin-top: 0.9rem; line-height: 1.15;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.1rem;
}
.client-tile {
    aspect-ratio: 5 / 3;
    background: #fff;
    border: 1px solid var(--paper-line);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    padding: 1.4rem 1.5rem;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.section-ink .client-tile, .section-ink-2 .client-tile { border-color: var(--ink-line); }
.client-tile img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.72;
    transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}
.client-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(10,15,28,0.10); }
.client-tile:hover img { filter: grayscale(0%); opacity: 1; }
.clients-note {
    text-align: center; margin-top: 2.2rem; font-size: 0.82rem; letter-spacing: 0.04em;
    color: var(--tx-mute-d); font-weight: 300;
}

/* ---------- About / Legacy ---------- */
.about-grid {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}
.about-portrait {
    width: 100%; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden;
    position: relative; box-shadow: 0 30px 70px rgba(10,15,28,0.18);
}
.about-portrait::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
    border: 1px solid var(--gold-deep); opacity: 0.5;
}
.about-body p { font-size: 1.04rem; line-height: 1.9; color: var(--tx-mute-d); margin-bottom: 1.3rem; font-weight: 300; }
.about-body p strong { color: var(--tx-dark); font-weight: 500; }
.about-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--paper-line); }
.about-pillar { padding: 1.6rem 1.4rem 1.6rem 0; border-bottom: 1px solid var(--paper-line); }
.about-pillar:nth-child(odd) { padding-right: 1.4rem; }
.about-pillar:nth-child(even) { padding-left: 1.4rem; border-left: 1px solid var(--paper-line); }
.about-pillar h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--tx-dark); margin-bottom: 0.3rem; }
.about-pillar p { font-size: 0.9rem; color: var(--tx-mute-d); font-weight: 300; line-height: 1.6; margin: 0; }

/* ---------- Legacy timeline (compact horizontal) ---------- */
.legacy-track {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem;
    counter-reset: yr;
}
.legacy-node { position: relative; padding-top: 2.2rem; }
.legacy-node::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--ink-line);
}
.legacy-node::after {
    content: ''; position: absolute; top: -3.5px; left: 0; width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold);
}
.legacy-node .yr { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-soft); line-height: 1; }
.legacy-node h4 { font-size: 0.92rem; font-weight: 600; margin: 0.8rem 0 0.5rem; letter-spacing: 0.01em; }
.legacy-node p { font-size: 0.85rem; line-height: 1.65; color: var(--tx-mute-l); font-weight: 300; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 4vw, 3rem); }
.team-card {
    background: var(--ink-soft);
    border: 1px solid var(--ink-line);
    border-radius: 4px; overflow: hidden;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.team-card:hover { border-color: rgba(194,163,107,0.4); transform: translateY(-4px); }
.team-photo { width: 100%; aspect-ratio: 4 / 5; }
.team-photo image-slot { width: 100%; height: 100%; display: block; }
.team-info { padding: 1.8rem 1.9rem 2rem; }
.team-info h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-soft); }
.team-info .role { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-mute-l); margin: 0.5rem 0 1.1rem; font-weight: 500; }
.team-info p { font-size: 0.94rem; line-height: 1.78; color: var(--tx-mute-l); font-weight: 300; margin-bottom: 0.9rem; }
.team-single { max-width: 560px; margin: 2.6rem auto 0; }
.team-divider { margin-top: clamp(3rem,6vw,4.5rem); text-align: center; }
.team-divider .eyebrow { justify-content: center; }
.team-divider .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }

/* ---------- Practice ---------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.practice-card {
    background: var(--paper-soft);
    border: 1px solid var(--paper-line);
    border-radius: 4px;
    padding: 2rem 1.9rem;
    transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.practice-card:hover { transform: translateY(-4px); border-color: rgba(156,127,76,0.35); box-shadow: 0 18px 44px rgba(10,15,28,0.08); }
.practice-ico {
    width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--paper-line); border-radius: 8px; color: var(--gold-deep); margin-bottom: 1.2rem;
    transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.practice-card:hover .practice-ico { border-color: var(--gold-deep); background: rgba(194,163,107,0.07); }
.practice-card h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--tx-dark); margin-bottom: 0.5rem; line-height: 1.2; }
.practice-card p { font-size: 0.9rem; line-height: 1.7; color: var(--tx-mute-d); font-weight: 300; }

/* ---------- Press ---------- */
.press-list { display: grid; gap: 0; max-width: 880px; margin: 0 auto; border-top: 1px solid var(--ink-line); }
.press-item {
    display: grid; grid-template-columns: 130px 1fr auto; gap: 2rem; align-items: center;
    padding: 1.9rem 0; border-bottom: 1px solid var(--ink-line);
    transition: padding 0.4s var(--ease);
}
.press-item:hover { padding-left: 0.6rem; padding-right: 0.6rem; }
.press-meta { font-size: 0.78rem; }
.press-meta .pub { color: var(--gold); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.press-meta .date { color: var(--tx-mute-l); margin-top: 0.35rem; }
.press-item h3 { font-family: var(--serif); font-size: 1.32rem; font-weight: 500; line-height: 1.35; color: var(--tx-light); }
.press-link { color: var(--gold); text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; transition: color 0.3s ease; }
.press-link:hover { color: var(--gold-soft); }
.press-link .arr { transition: transform 0.3s var(--ease); display: inline-block; }
.press-link:hover .arr { transform: translateX(3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-form { background: #fff; border: 1px solid var(--paper-line); border-top: 2px solid var(--gold); border-radius: 4px; padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: 0 18px 50px rgba(10,15,28,0.06); }
.contact-form h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--tx-dark); margin-bottom: 1.6rem; }
.fg { margin-bottom: 1.15rem; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.fg label { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--tx-mute-d); margin-bottom: 0.45rem; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 0.8rem 1rem; font-family: var(--sans); font-size: 0.92rem;
    background: var(--paper-soft); border: 1px solid var(--paper-line); border-radius: 3px; color: var(--tx-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.fg textarea { resize: vertical; min-height: 120px; }
.fg input:focus, .fg select:focus, .fg textarea:focus {
    outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(194,163,107,0.14);
}
.form-note { font-size: 0.78rem; color: var(--tx-mute-d); margin-top: 0.4rem; font-weight: 300; }
.form-success {
    display: none; align-items: center; gap: 0.7rem; margin-top: 1rem; padding: 0.9rem 1.1rem;
    background: rgba(31,138,91,0.08); border: 1px solid rgba(31,138,91,0.3); border-radius: 4px;
    color: #1f6f4a; font-size: 0.88rem;
}
.form-success.show { display: flex; }

.contact-info { background: var(--ink); border-radius: 4px; overflow: hidden; }
.ci-item { display: flex; gap: 1rem; padding: 1.5rem 1.6rem; border-bottom: 1px solid var(--ink-line); }
.ci-item:last-child { border-bottom: none; }
.ci-ico { width: 40px; height: 40px; min-width: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--ink-line); border-radius: 8px; color: var(--gold); }
.ci-item h4 { font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.35rem; font-weight: 600; }
.ci-item p, .ci-item a { font-size: 0.9rem; line-height: 1.6; color: var(--tx-mute-l); text-decoration: none; font-weight: 300; }
.ci-item a:hover { color: var(--gold-soft); }
.ci-link { display: inline-block; margin-top: 0.6rem; color: var(--gold) !important; font-size: 0.8rem !important; font-weight: 600 !important; letter-spacing: 0.04em; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: var(--tx-light); }
.footer-cta {
    border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
    padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center;
}
.footer-cta h3 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; line-height: 1.1; }
.footer-cta p { color: var(--tx-mute-l); margin: 1rem auto 2rem; max-width: 50ch; font-weight: 300; }
.footer-social { display: flex; justify-content: center; gap: 1rem; margin-top: 0.5rem; }
.footer-social a {
    width: 42px; height: 42px; border: 1px solid var(--ink-line); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--gold);
    transition: all 0.35s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.footer-social a svg { fill: currentColor; }

.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-col .brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--tx-light); }
.footer-col .brand-sub { font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); margin: 0.4rem 0 1rem; }
.footer-col p { color: var(--tx-mute-l); font-size: 0.9rem; line-height: 1.8; font-weight: 300; }
.footer-col h4 { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { color: var(--tx-mute-l); text-decoration: none; font-size: 0.9rem; font-weight: 300; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid var(--ink-line); padding: 1.8rem 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.8rem; color: var(--tx-mute-l); font-weight: 300; }
.footer-bottom a { color: var(--tx-mute-l); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .about-grid { grid-template-columns: 1fr; }
    .about-portrait { max-width: 420px; }
    .legacy-track { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.4rem; }
    .practice-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .press-item { grid-template-columns: 1fr; gap: 0.8rem; }
}
@media (max-width: 600px) {
    .team-grid { grid-template-columns: 1fr; }
    .practice-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-stat:not(:last-child) { border-right: none; border-bottom: 1px solid var(--ink-line); padding-bottom: 1.4rem; }
    .hero-stat:not(:first-child) { padding-left: 0; padding-top: 1.4rem; }
    .fg-row { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .about-pillars { grid-template-columns: 1fr; }
    .about-pillar:nth-child(even) { padding-left: 0; border-left: none; }
}
