/*
Theme Name: ddminds
Theme URI: ddminds.com
Author: the DDminds
Author URI: ddminds.com
Version: 1.0
*/


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ── PALETTE ─────────────────────────────────────────────── */
:root {
    --ink: #011A27;
    --ink-mid: #001420;
    --forest: #063852;
    --forest-md: #042C42;
    --amber: #E09030;
    --amber-lt: #ECAA50;
    --amber-xlt: #F0C470;
    --jade: #4A8DB8;
    --jade-lt: #4A8DB8;
    --cream: #E6E0DC;
    --cream-dk: #D8D0C2;
    --white: #F4F0EE;
    --rule: rgba(224, 144, 48, 0.18);
    --rule-amber: rgba(224, 144, 48, 0.15);
    --text: #011A27;
    --text-muted: #5A7888;
    --lavender: #5A7888;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
}

body {
    font-family: var(--sans);
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
}

body a {
    text-decoration: none;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.header nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 72px;
    background: var(--forest);
    border-bottom: 1px solid rgba(224, 144, 48, 0.1);
}

.home .header nav {
    background: rgba(1, 26, 39, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(224, 144, 48, 0.1);
}

.header nav .menu-item-has-children {
    position: relative;
    padding-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}

.mobile-nav-links .menu-item-has-children {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mobile-nav-links .menu-item-has-children > a {
    padding-right: 25px;
    position: relative;
}

.mobile-nav-links .menu-item-has-children > a:after,
.header nav .menu-item-has-children:after {
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgba(230,222,208,0.55)' d='M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z'/%3E%3C/svg%3E");
    width: 18px;
    height: 18px;
    background-position: center;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(-1);
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s;
}

.mobile-nav-links .menu-item-has-children.open > a:after,
.header nav .menu-item-has-children:hover:after {
    transform: translateY(-50%) scale(1);
}

.mobile-nav-links .menu-item-has-children:hover > a,
.header nav .menu-item-has-children:hover > a {
    color: var(--cream);
}

.mobile-nav-links .menu-item-has-children ul {
    background: var(--forest);
    list-style: none;
    padding-top: 30px;
    margin: 0;
    display: none;
}

.mobile-nav-links .menu-item-has-children ul li:not(:last-child) {
    margin-bottom: 24px;
}

.mobile-nav-links .menu-item-has-children ul li {
    text-align: center;
}

.mobile-nav-links .menu-item-has-children ul li a {
    font-size: 14px;
}

.header nav .menu-item-has-children ul {
    position: absolute;
    top: calc(100% + 1px);
    background: var(--forest);
    list-style: none;
    padding: 20px;
    /*padding-top: 40px;*/
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    z-index: -9;
    pointer-events: none;
    border: 1px solid rgba(224, 144, 48, 0.1);
    border-top: none;
}

.mobile-nav-links .menu-item-has-children ul,
.home .header nav .menu-item-has-children ul {
    background: rgba(1, 26, 39, 0.92);
}

.header nav .menu-item-has-children ul li:not(:last-child) {
    margin-bottom: 13px;
}

.header nav .menu-item-has-children:hover ul {
    opacity: 1;
    z-index: 9;
    pointer-events: auto;
}

.header nav .menu-item-has-children ul li a {
    white-space: nowrap;
    font-size: 14px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--amber);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-logo-name {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream);
}

.nav-logo-sub {
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(230, 222, 208, 0.35);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.mobile-nav-links a,
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(230, 222, 208, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-nav-links a:hover,
.nav-links a:hover {
    color: var(--cream);
}

.mobile-nav-links .nav-cta a,
.nav-links .nav-cta a {
    color: var(--amber);
    border: 1px solid rgba(224, 144, 48, 0.4);
    padding: 10px 22px;
    letter-spacing: 0.18em;
    transition: all 0.2s;
}

body:not(.home) .nav-links .current_page_item > a {
    color: var(--amber);
}

.mobile-nav-links .nav-cta a:hover,
.nav-links .nav-cta a:hover {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber);
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    border-bottom: 2px solid var(--amber);
    /*background: var(--amber);*/
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(1, 26, 39, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-top: 75px;
}

.mobile-nav-overlay.visible {
    opacity: 1;
    display: block;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    width: 100vw;
    background: var(--ink);
    z-index: 160;

    padding: 40px 20px 40px;
    flex-direction: column;
    border-left: 1px solid rgba(224, 144, 48, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    align-items: center;
}

.mobile-nav-links li {
    /*border-bottom: 1px solid rgba(224,144,48,0.1);*/
}

@media (max-width: 992px) {
    .header nav {
        padding: 0 40px;
    }

    .nav-links {

        gap: 15px;
    }
}

@media (max-width: 865px) {
    .nav-links {
        display: none;
    }

    .mobile-nav,
    .nav-hamburger {
        display: flex;
    }

    .mobile-nav-links .nav-cta {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .header nav {
        padding: 0 20px;
    }
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: var(--ink);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}

/* Left column: large type */
.hero-left {
    padding: 130px 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--amber);
    flex-shrink: 0;
}

.hero-eyebrow-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(44px, 5.2vw, 82px);
    font-weight: 300;
    line-height: 0.92;
    color: var(--white);
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--amber-lt);
    display: block;
}

.hero-headline .hero-hl-under {
    display: block;
    position: relative;
    overflow: visible;
}

/* Underline accent on last word */
.hero-hl-accent {
    position: relative;
    display: inline;
}

.hero-hl-accent::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--jade);
}

.hero-body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
    max-width: 400px;
    margin-bottom: 40px;
}

.hero-body strong {
    color: rgba(230, 222, 208, 0.75);
    font-weight: 400;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.btn-primary-bold {
    background: var(--amber);
    color: #001420;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    transition: background 0.2s;
    display: inline-block;
}

.btn-primary-bold:hover {
    background: var(--amber-lt);
}

.btn-ghost-bold {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(230, 222, 208, 0.45);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.btn-ghost-bold:hover {
    color: var(--cream);
}

.btn-ghost-bold-line {
    width: 28px;
    height: 1px;
    background: currentColor;
    transition: width 0.3s;
}

.btn-ghost-bold:hover .btn-ghost-bold-line {
    width: 44px;
}

/* Right column: dark architectural panel */
.hero-right {
    position: relative;
    overflow: hidden;
    background: var(--forest);
    border-left: 1px solid rgba(224, 144, 48, 0.12);
}

/* Large decorative "V" */
.hero-v-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif);
    font-size: 520px;
    font-weight: 300;
    line-height: 1;
    color: rgba(6, 56, 82, 0.9);
    letter-spacing: -0.06em;
    user-select: none;
    z-index: 0;
}

/* Architectural SVG lines */
.hero-arch-svg {
    position: absolute;
    /*inset: 0;*/

    bottom: 0;
    /* width: 100%; */
    height: 80%;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
}

/* Credential block in bottom-left of right panel */
.hero-cred {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 48px 52px;
    background: linear-gradient(to top, rgba(1, 26, 39, 0.95) 50%, transparent);
}

.hero-cred-eyebrow {
    font-family: 'Raleway', var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 10px;
}

.hero-cred-name {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.15;
}

.hero-cred-sub {
    font-size: 15px;
    font-weight: 300;
    color: rgba(230, 222, 208, 0.4);
    margin-top: 6px;
    letter-spacing: 0.06em;
}

/* Photo placeholder for hero right */
.hero-photo-ph {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(224, 144, 48, 0.25);
    text-align: center;
}

.hero-photo-ph svg {
    opacity: 0.15;
}

@media (max-width: 992px) {
    .hero-left {
        padding: 130px 40px 100px;

    }

}

@media (max-width: 800px) {
    .hero {

        grid-template-columns: 100%;
    }

    .hero-right {
        height: 472px;
        order: -1;
    }

    .hero-right svg {
        height: calc(100% - 72px);
        margin: auto;
    }

    .hero-left {
        padding: 50px 20px 50px;
    }
}

@media (max-width: 767px) {
    .hero-left {
        padding: 50px 20px 50px;
    }

    .hero-right svg {
        margin: auto;
    }
}

/* ── TICKER BAND ─────────────────────────────────────────── */
.ticker {
    background: var(--amber);
    overflow: hidden;
    padding: 13px 0;
    position: relative;
}

.ticker-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: ticker-scroll 36s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: block;
    flex-shrink: 0;
    padding: 0 28px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    line-height: 1;
}

.ticker-sep {
    display: block;
    flex-shrink: 0;
    width: 4px;
    height: 4px;
    background: var(--ink);
    border-radius: 50%;
    opacity: 0.35;
    align-self: center;
}

.ticker-dot {
    display: none;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 992px) {

}

/* ── ABOUT ───────────────────────────────────────────────── */
/* ── Section transition: angled top on about ─────── */
.about {

}

.about {
    background: linear-gradient(180deg, var(--white) 0%, rgba(224, 144, 48, 0.03) 100%);
    clip-path: polygon(0 0, 100% 32px, 100% 100%, 0 100%);
    margin-top: -2px;
    padding: 152px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Large decorative number in background */
.about-bg-num {
    position: absolute;
    right: -20px;
    top: 40px;
    font-family: var(--serif);
    font-size: 420px;
    font-weight: 300;
    line-height: 1;
    color: rgba(224, 144, 48, 0.05);
    user-select: none;
    pointer-events: none;
    z-index: 0;
    letter-spacing: -0.04em;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.about-left {
    margin-bottom: 32px;
}

.section-eyebrow-bold {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.seb-line {
    width: 44px;
    height: 2px;
    background: var(--amber);
}

.seb-text {
    font-family: 'Raleway', var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
}

.about-heading {
    font-family: var(--serif);
    font-size: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.about-heading em {
    font-style: italic;
    color: var(--amber);
}

.about-right {
}

/* Credentials block in left column */
.about-creds {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.about-creds-label {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--forest);
    margin-bottom: 14px;
}

.about-creds-states {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.about-creds-state {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #fff;
    background: var(--amber);
    padding: 6px 12px;
    border-radius: 2px;
}

.about-creds-chambers {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
}

.about-creds-ch-bar {
    width: 2px;
    flex-shrink: 0;
    height: 36px;
    background: var(--amber);
    margin-top: 3px;
}

.about-creds-ch-text {
}

.about-creds-ch-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 3px;
}

.about-creds-ch-sub {
    font-size: 12px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.5;
}

.about-lead {
    font-family: var(--serif);
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 300;
    line-height: 1.35;
    color: var(--ink);
    margin-bottom: 40px;
    padding-left: 28px;
    border-left: 3px solid var(--amber);
    letter-spacing: -0.015em;
}

.about-body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.about-body strong {
    font-weight: 500;
    color: var(--text);
}

.about-body.about-diff-intro {
    font-family: var(--serif);
    font-style: italic;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--amber);
    text-transform: none;
    line-height: 1.2;
}

/* Four differentiators as horizontal divider list */
.diff-list {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.diff-item {
    padding: 28px 28px;
    background: var(--forest);
    border-radius: 4px;
    border-top: 3px solid var(--amber);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diff-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(1, 26, 39, 0.15);
}

.diff-num {
    font-family: var(--serif);
    font-size: 32px;
    font-style: italic;
    color: var(--amber-lt);
    margin-bottom: 14px;
}

.diff-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.diff-body {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 992px) {
    .about-inner {
        padding: 0 40px;

    }
}

@media (max-width: 767px) {
    .about {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .about-inner {
        padding: 0 20px;
        max-width: 450px;
    }

    .diff-list {
        grid-template-columns: 1fr;
    }
}

/* ── STATS BAND ──────────────────────────────────────────── */
.stats-band {
    background: var(--forest);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 75%;
    margin: 0 auto
}

.stat-item-bold {
    padding: 48px 28px;
    border-right: 1px solid rgba(224, 144, 48, 0.25);
    position: relative;
    overflow: hidden;
}

.stat-item-bold:last-child {
    border-right: none;
}

.stat-num {
    font-family: var(--serif);
    font-size: clamp(44px, 4vw, 64px);
    font-weight: 300;
    line-height: 1;
    color: var(--cream);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-num span {
    color: var(--amber);
}

.stat-num {
    color: var(--cream);
}

.stat-lbl {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(230, 222, 208, 0.35);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .stats-band {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .stats-band {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item-bold {
        padding: 30px 28px;
        border-right: 1px solid rgba(224, 144, 48, 0.25);
        border-bottom: 1px solid rgba(224, 144, 48, 0.25);
    }
}

/* ── PRACTICE AREAS ──────────────────────────────────────── */
.practice {
    background: linear-gradient(180deg, var(--cream) 0%, rgba(224, 144, 48, 0.06) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.practice-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.practice-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 72px;
}

.practice-heading {
    font-family: var(--serif);
    font-size: clamp(44px, 4vw, 60px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.practice-heading em {
    font-style: italic;
    color: var(--amber);
}

.practice-intro {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-muted);
    padding-bottom: 12px;
}

/* Practice areas as large numbered list */
.practice-list {
    border-top: 1.5px solid rgba(224, 144, 48, 0.3);
}

.practice-row {
    display: grid;
    grid-template-columns: 80px 100px 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 36px 20px;
    border-bottom: 1px solid rgba(224, 144, 48, 0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.practice-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: #063852;
    z-index: 0;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.practice-row:hover::before {
    width: 100%;
}

.practice-row {
    border-left: 3px solid transparent;
    transition: border-color 0.4s;
}

.practice-row:hover {
    border-left-color: var(--amber);
}

.practice-row-num {
    font-family: var(--serif);
    font-size: 26px;
    font-style: italic;
    color: var(--amber);
    z-index: 1;
    position: relative;
    transition: color 0.4s;
    padding-left: 12px;
}

.practice-row:hover .practice-row-num {
    color: var(--amber-lt);
}

.practice-row-img {
    width: 100px;
    position: relative;
    z-index: 1;
}

.practice-row-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;

}

.practice-row-content {
    z-index: 1;
    position: relative;
}

.practice-row-title {
    font-family: var(--serif);
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 300;
    color: var(--ink);
    transition: color 0.3s;
    letter-spacing: -0.01em;
}

.practice-row:hover .practice-row-title {
    color: var(--cream);
}

.practice-row-desc {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 4px;
    transition: color 0.3s;
}

.practice-row:hover .practice-row-desc {
    color: rgba(230, 222, 208, 0.5);
}

.practice-row-arrow {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(1, 26, 39, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
}

.practice-row:hover .practice-row-arrow {
    border-color: rgba(230, 222, 208, 0.3);
    background: rgba(230, 222, 208, 0.08);
}

.practice-row-arrow svg {
    transition: stroke 0.3s;
}

.practice-row:hover .practice-row-arrow svg {
    stroke: var(--cream);
}

@media (max-width: 992px) {

    .practice-inner {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .practice {

        padding: 50px 0 50px;
    }

    .practice-inner {
        max-width: 450px;
        padding: 0 20px;
    }

    .practice-header {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 50px;
    }

    .practice-row {
        grid-template-columns: 1fr;
        place-items: center;
        gap: 30px;
        justify-content: center;
    }

    .practice-row-img {
        width: 200px;

    }

    .practice-row-img img {
        width: 200px;
        height: 200px;

    }
}

/* ── OUR WORK TEASER ─────────────────────────────────────── */
.our-work-teaser {
    background: var(--forest);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.our-work-teaser::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 80% at 0% 100%, rgba(224, 144, 48, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.our-work-teaser-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.our-work-teaser-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.section-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.section-eyebrow-line-amber {
    width: 36px;
    height: 2px;
    background: var(--amber);
}

.section-eyebrow-label {
    font-family: 'Raleway', var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
}

.our-work-teaser-title {
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--white);
}

.our-work-teaser-title em {
    font-style: italic;
    color: var(--amber-lt);
}

.our-work-teaser-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
}

.our-work-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
    text-decoration: none;
    transition: opacity 0.2s;
}

.our-work-cta:hover {
    opacity: 0.7;
}

.our-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.our-work-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 32px 28px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background 0.2s;
    position: relative;
    border-bottom: 2px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}

.our-work-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-bottom-color: var(--amber);
}

.our-work-card-area {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--jade-lt);
    margin-bottom: 14px;
}

.our-work-card-title {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
    margin-bottom: 22px;
}

.our-work-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 22px;
}

.our-work-card-tag {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 9px;
    border-radius: 2px;
}

.our-work-card-arrow {
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.2s;
    align-self: flex-start;
}

.our-work-card:hover .our-work-card-arrow {
    color: var(--amber);
}

@media (max-width: 992px) {
    .our-work-teaser-inner {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .our-work-teaser {
        padding: 50px 0;
    }

    .our-work-teaser-inner {
        padding: 0 20px;
        max-width: 450px;
    }

    .our-work-teaser-header {

        grid-template-columns: 1fr;
        gap: 50px;
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .our-work-grid {

        grid-template-columns: repeat(1, 1fr);
        gap: 2px;

    }
}

/* ── QUOTE / MISSION ─────────────────────────────────────── */
.mission {
    background: var(--ink-mid);
    padding: 52px 0;
    position: relative;
    overflow: hidden;
}

/* Large quotation mark as design element */
.mission-bg-mark {
    position: absolute;
    left: 60px;
    top: -20px;
    font-family: var(--serif);
    font-size: 320px;
    font-weight: 300;
    line-height: 1;
    color: rgba(1, 26, 39, 0.06);
    user-select: none;
    pointer-events: none;
}

.mission-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 80px;
    position: relative;
    z-index: 1;
}

.mission-quote {
    font-family: var(--serif);
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.45;
    color: var(--white);
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.mission-quote em {
    font-style: normal;
    color: #4A8DB8;
    position: relative;
}

.mission-source {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mission-source-line {
    width: 40px;
    height: 1px;
    background: var(--jade);
    opacity: 0.6;
}

.mission-source-text {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(230, 222, 208, 0.35);
}

@media (max-width: 992px) {

}

/* ── TEAM ────────────────────────────────────────────────── */
.team {
    background: linear-gradient(180deg, var(--white) 0%, rgba(224, 144, 48, 0.03) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.team-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.team-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: end;
    margin-bottom: 56px;
}

.team-heading {
    font-family: var(--serif);
    font-size: clamp(44px, 4vw, 60px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.team-heading em {
    font-style: italic;
    color: var(--amber);
}

.team-subtext {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 300px;
    text-align: right;
}

.team-grid-bold {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    align-items: stretch;
}

.team-card-bold {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    display: flex;
    flex-direction: column;
}

/* Portrait photo area */
.team-portrait {
    width: 100%;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    background: var(--forest-md);
    border: 1px solid rgba(74, 141, 184, 0.15);
}

.team-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.team-card-bold:hover .team-portrait img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.03);
}

/* Inner frame line for photos */
.team-portrait::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(224, 144, 48, 0.15);
    z-index: 3;
    pointer-events: none;
    transition: border-color 0.5s ease, inset 0.5s ease;
}

.team-card-bold:nth-child(1):hover .team-portrait::before {
    border-color: rgba(224, 144, 48, 0.4);
    inset: 10px;
}

.team-card-bold:nth-child(2) .team-portrait::before {
    border-color: rgba(74, 141, 184, 0.15);
}

.team-card-bold:nth-child(2):hover .team-portrait::before {
    border-color: rgba(74, 141, 184, 0.4);
    inset: 10px;
}

.team-card-bold:nth-child(3):hover .team-portrait::before {
    border-color: rgba(236, 170, 80, 0.4);
    inset: 10px;
}

/* Each portrait has a gradient background with hover shift */
.team-card-bold:nth-child(1) .team-portrait {
    background: linear-gradient(135deg, #063852 0%, #0a4a6e 50%, #073d58 100%);
    transition: background 0.6s ease;
}

.team-card-bold:nth-child(2) .team-portrait {
    background: linear-gradient(135deg, #063852 0%, #094e70 50%, #063852 100%);
    transition: background 0.6s ease;
}

.team-card-bold:nth-child(3) .team-portrait {
    background: linear-gradient(135deg, #063852 0%, #0a4a6e 50%, #073d58 100%);
    transition: background 0.6s ease;
}

.team-portrait-ph {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--sans);
    font-size: 8.5px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
}

.team-card-bold:nth-child(1) .team-portrait-ph {
    color: rgba(224, 144, 48, 0.5);
}

.team-card-bold:nth-child(2) .team-portrait-ph {
    color: rgba(74, 141, 184, 0.4);
}

.team-card-bold:nth-child(3) .team-portrait-ph {
    color: rgba(236, 170, 80, 0.55);
}

/* Architectural lines behind each portrait */
.team-portrait-arch {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.team-card-bold:hover .team-portrait-arch {
    opacity: 0.25;
    transform: scale(1.03);
}

.team-portrait::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top, var(--ink) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    transition: height 0.5s ease;
}

.team-card-bold:hover .team-portrait::after {
    height: 35%;
}

/* Hover: color bar slides in from bottom */
.team-card-bold::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 10;
    transition: height 0.4s ease;
}

.team-card-bold:hover::before {
    height: 6px;
}

.team-card-bold:nth-child(1)::before {
    background: var(--amber);
}

.team-card-bold:nth-child(2)::before {
    background: #4A8DB8;
}

.team-card-bold:nth-child(3)::before {
    background: #ECAA50;
}

.team-info {
    padding: 24px 28px 32px;
    background: var(--ink);
    flex: 1;
    transition: background 0.5s ease;
}

.team-card-bold:hover .team-info {
    background: #042C42;
}

.team-info-role {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 8px;
}

.team-card-bold:nth-child(2) .team-info-role {
    color: var(--amber);
}

.team-info-name {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 300;
    color: var(--cream);
    margin-bottom: 14px;
    line-height: 1.15;
    text-decoration: none;
    display: block;
}

.team-info-name br {
    display: none;
}

.team-info-name:hover {
    color: var(--amber-lt);
}

.team-card-bold:hover .team-info-name {
    color: var(--amber-lt);
}

.team-info-bio {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(230, 222, 208, 0.35);
}

/* CTA below team */
.team-cta-row {
    margin-top: 48px;
    text-align: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    background: var(--amber);
    border: none;
    padding: 16px 36px;
    transition: all 0.25s;
}

.btn-outline:hover {
    background: var(--amber-lt);
    color: var(--ink);
}

.btn-outline svg {
    transition: stroke 0.25s;
}

.btn-outline:hover svg {
    stroke: var(--cream);
}

@media (max-width: 992px) {
    .team-inner {
        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .team {
        padding: 50px 0;
    }

    .team-inner {
        padding: 0 20px;
        max-width: 450px;
    }

    .team-header {
        gap: 50px;
        margin-bottom: 50px;
    }

    .team-grid-bold {

        grid-template-columns: repeat(1, 1fr);

    }
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact {
    background: var(--cream);
    padding: 120px 0 80px;
    border-top: 2px solid rgba(224, 144, 48, 0.4);
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-left {
}

.contact-heading {
    font-family: var(--serif);
    font-size: clamp(44px, 4vw, 60px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.contact-heading em {
    font-style: italic;
    color: var(--amber);
}

.contact-body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 380px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-detail {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.contact-detail-key {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    min-width: 52px;
}

.contact-detail-val {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-muted);
}

.contact-detail-val a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.contact-detail-val a:hover {
    border-color: var(--amber);
}

.contact-right {
}

.contact-offices {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.office-card {
    padding: 32px 36px;
    background: var(--white);
    border: 1px solid rgba(1, 26, 39, 0.06);
    border-left: 3px solid transparent;
    margin-bottom: 16px;
}

.office-card.primary {
    border-left-color: var(--amber);
}

.office-card.secondary {
    border-left-color: var(--amber);
}

/* coral */
.office-card.mailing {
    border-left-color: rgba(1, 26, 39, 0.2);
}

.office-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

.office-card.secondary .office-label {
    color: #4A8DB8;
}

.office-card.mailing .office-label {
    color: var(--text-muted);
}

.office-name {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 10px;
}

.office-addr {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .contact-inner {

        padding: 0 40px;
    }
}

@media (max-width: 767px) {
    .contact {
        padding: 50px 0 50px;
    }

    .contact-inner {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 450px;
    }

    .office-card {
        padding: 32px 36px;
        margin-bottom: 0;
    }
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
    background: var(--ink);
    border-top: 1px solid rgba(224, 144, 48, 0.2);
    padding: 48px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 1px solid rgba(224, 144, 48, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-mark {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(224, 144, 48, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 16px;
    color: var(--amber);
}

.footer-logo-name {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(230, 222, 208, 0.4);
}

.footer-copy {
    font-size: 11px;
    font-weight: 300;
    color: rgba(230, 222, 208, 0.2);
    letter-spacing: 0.06em;
    width: 100%;
    text-align: center;
    margin-top: 7px;
}

.footer-bar {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-bar-item {
    font-size: 11px;
    color: rgba(230, 222, 208, 0.2);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer_links .footer-bar {
    justify-content: center;
}

.footer_links .footer-bar a {
    font-size: 11px;
    color: rgba(230, 222, 208, 0.2);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s;
}

.footer_links .footer-bar a:hover {
    color: #fff;
}

.footer-bar-sep {
    width: 3px;
    height: 3px;
    background: var(--amber);
    border-radius: 50%;
    opacity: 0.3;
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 992px) {
    footer {
        padding: 48px 40px;
    }
}

@media (max-width: 850px) {
    footer {
        flex-direction: column;
        gap: 25px;
    }

    .footer-bar,
    .footer-logo {
        order: -1;
        flex-direction: column;

    }

    .footer-bar {
        gap: 25px;
    }

    .footer-bar-sep {
        display: none;
    }

    .footer-copy {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    footer {

        padding: 40px 20px;

    }
}

/* ═══════════════════════════════════════════════════
   BESPOKE FLOURISHES
═══════════════════════════════════════════════════ */

/* ── Custom cursor ──────────────────────────────── */
#cursor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber);
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, opacity 0.3s;
    mix-blend-mode: normal;
}

#cursor-ring {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(224, 144, 48, 0.45);
    position: fixed;
    z-index: 9998;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.18s ease, width 0.25s ease, height 0.25s ease,
    border-color 0.25s, opacity 0.3s;
}

body.cursor-hover #cursor-ring {
    width: 52px;
    height: 52px;
    border-color: rgba(224, 144, 48, 0.7);
}

body.cursor-hover #cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
}

/* ── Grain texture on dark sections ────────────── */
.grain::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    opacity: 0.55;
}

.grain {
    position: relative;
}

.grain > * {
    position: relative;
    z-index: 2;
}

/* ── Dot-grid on cream sections ─────────────────── */
.dot-grid {
    background-image: radial-gradient(circle, rgba(1, 26, 39, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* ── Animated stat counters ─────────────────────── */
.stat-num {
    transition: opacity 0.4s;
}

/* ── Hero headline word animation ───────────────── */
.hl-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.hl-word.in {
    opacity: 1;
    transform: none;
}

/* ── Underline draw animation ───────────────────── */
.hero-hl-accent {
    position: relative;
    display: inline;
}

.hero-hl-accent::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    height: 2px;
    background: var(--jade);
    width: 0;
    transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-hl-accent.drawn::after {
    width: 100%;
}

/* ── Nav V pulse ─────────────────────────────────── */
@keyframes v-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(224, 144, 48, 0.3);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(224, 144, 48, 0);
    }
}

.nav-logo-mark {
    animation: v-pulse 4s ease-in-out infinite;
}

/* ── Ticker (straight, no diagonal) ─────────────── */
.ticker {
    position: relative;
    margin-top: 0;
    z-index: 3;
}

/* ── Drop cap ────────────────────────────────────── */
/* drop cap removed */

/* ── Scrolling left-margin line ──────────────────── */
#scroll-line {
    position: fixed;
    left: 36px;
    top: 72px;
    bottom: 0;
    width: 1px;
    z-index: 10;
    pointer-events: none;
    background: rgba(224, 144, 48, 0.08);
}

#scroll-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(to bottom, #E09030, #4A8DB8);
    transition: height 0.1s linear;
    opacity: 0.5;
}


@media (max-width: 992px) {
    #scroll-line {
        left: 15px;
    }
}

@media (max-width: 767px) {
    #scroll-line {
        display: none;
    }
}

/* ── Hover underline on practice rows (refined) ──── */
.practice-row-title {
    position: relative;
    display: inline-block;
}

.practice-row-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber-lt);
    transition: width 0.35s ease;
}

.practice-row:hover .practice-row-title::after {
    width: 100%;
}

/* ── Why grid: left border accent on hover ───────── */
.why-item {
    border-left: 3px solid transparent;
    padding-left: 41px;
    transition: background 0.3s, border-color 0.3s;
}

.why-item:hover {
    border-left-color: var(--amber);
}

/* ── Contact section: angled top ────────────────── */


/* TEAM GRID */
.team-section .team-inner {
    padding: 0;

}

.team-section {
    padding: 0 64px 80px;
    background: var(--forest);
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(1, 26, 39, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.team-section .team-grid {
    position: relative;
    z-index: 1;
}

.team-section .team-grid {
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    gap: 2px;
}

.team-section .team-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.25s;
    background: var(--forest);
}

.team-section .team-card:hover {
    transform: translateY(-5px);
    z-index: 2;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.team-section .card-portrait {
    height: 220px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.team-section .card-portrait img {
    position: absolute;
    top: 20px;
    left: 20px;
    object-fit: cover;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 1px solid rgba(224, 144, 48, 0.6);
}

.team-section .card-info {
    padding: 18px 20px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
}

.team-section .card-name {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 5px;
}

.team-section .card-role {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.42);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.team-section .card-bar {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.team-section .card-bar span:last-child {
    display: none;
}

@media (max-width: 1200px) {
    .team-section .team-grid {
        grid-template-columns:repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .team-section .team-grid {
        grid-template-columns:repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .team-section .team-inner {
        padding: 0;
        max-width: none;
    }

    .team-section {
        padding: 0 0px 50px;
    }
}

@media (max-width: 600px) {
    .team-section .team-grid {
        grid-template-columns:repeat(2, 1fr);
    }

}


/* BIO LAYOUT */
.bio-hero {
    background: var(--forest);
    padding: 140px 64px 64px;
    position: relative;
    overflow: hidden;
}

.bio-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 180px;
}

.bio-hero-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 80px;
    align-items: flex-start;
    position: relative;
}

.bio-portrait-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.bio-portrait {
    width: 220px;
    height: 280px;
    background: var(--portrait-bg, #063852);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bio-portrait img {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-intro {
    flex: 1;
    z-index: 1;
}

.bio-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

.bio-name {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 400;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 6px;
}

.bio-role {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
    /*margin-bottom:32px;*/
}


/* BODY */
.bio-body {
    display: grid;
    grid-template-columns:1fr 280px;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 64px;
}

.bio-long p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    margin-bottom: 24px;
}

.bio-long p:first-child::first-letter {
    font-family: var(--serif);
    font-size: 62px;
    font-weight: 400;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 10px;
    color: var(--amber);
}

/* RAIL */
.bio-rail {
    position: sticky;
    top: 80px;
    align-self: start;
}

.rail-block {
    margin-bottom: 32px;
}

.rail-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
    margin-bottom: 12px;
}

.rail-divider {
    height: 1px;
    background: var(--amber);
    width: 24px;
    margin-bottom: 12px;
}

.rail-item {
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 6px;
}

.rail-item-muted {
    font-size: 14px;
    color: var(--lavender);
    margin-top: 2px;
}

.rail-cta {
    display: block;
    margin-top: 32px;
    background: var(--forest);
    color: #fff;
    text-decoration: none;
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.2s;
}

.rail-cta:hover {
    background: var(--ink);
}

.rail-item span:last-child {
    display: none;
}

.rail-cta:hover {
    background: var(--ink);
}

@media (max-width: 900px) {
    .bio-hero-inner {
        gap: 30px;
    }

    .bio-hero {
        padding: 80px 32px 40px;
        gap: 32px;
    }

    .bio-portrait {
        width: 160px;
        height: 200px;
    }

    .bio-name {
        font-size: 38px;
    }

    .bio-body {
        grid-template-columns:1fr;
        padding: 40px 24px;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .bio-hero-inner {
        flex-direction: column;
    }

    .bio-hero {
        padding: 80px 20px 40px;
    }

    .bio-body {
        padding: 50px 20px;
    }
}

/* CTA SECTION */
.cta-strip {
    background: var(--forest);
    padding: 80px 80px;
    text-align: center;
}

.cta-heading {
    font-family: var(--serif);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    color: #fff;
    margin-bottom: 12px;
}

.cta-heading em {
    font-style: italic;
    color: var(--amber-lt);
}

.cta-sub {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 36px;
}

.btn-amber {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--amber);
    padding: 14px 36px;
    transition: background 0.2s;
    text-decoration: none;
}

.btn-amber:hover {
    background: var(--amber-lt);
}

@media (max-width: 767px) {
    .cta-strip {
        padding: 50px 20px;
    }
}

/* ── Footer fine detail ──────────────────────────── */
footer {
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 80px;
    right: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(224, 144, 48, 0.2), transparent);
}

/* ── Stat band: subtle hover lift ───────────────── */
.stat-item-bold {
    transition: background 0.3s;
    cursor: default;
}

.stat-item-bold:hover {
    background: rgba(6, 56, 82, 0.6);
}

/* ── Fine: section eyebrow line animates width ────── */
.seb-line {
    width: 0;
    transition: width 0.6s ease;
}

.reveal.visible .seb-line,
.section-eyebrow-bold .seb-line {
    width: 32px;
}

/* ── Refined: hero body text line by line ─────────── */
.hero-body {
    position: relative;
}

.hero-body::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(224, 144, 48, 0.2);
}


:root {
    --logo-font: 'Raleway', 'DM Sans', sans-serif;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo:hover .nav-logo-wordmark {
    opacity: 0.82;
}

.nav-logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
    transition: opacity 0.2s;
}

.nav-logo-top {
    display: flex;
    align-items: flex-start;
}

.nav-logo-valence {
    font-family: var(--logo-font);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.025em;
    line-height: 1;
    text-transform: lowercase;
}

.nav-logo-llp {
    font-family: var(--logo-font);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.52);
    letter-spacing: 0.02em;
    margin-top: 3px;
    margin-left: 2px;
    line-height: 1;
    text-transform: lowercase;
}

.nav-logo-sub {
    font-family: var(--logo-font);
    font-size: 8.5px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.48);
    letter-spacing: 0.14em;
    margin-top: 4px;
    text-transform: lowercase;
    line-height: 1;
}

.footer-logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-top {
    display: flex;
    align-items: flex-start;
}

.footer-logo-valence {
    font-family: var(--logo-font);
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.025em;
    line-height: 1;
    text-transform: lowercase;
}

.footer-logo-llp {
    font-family: var(--logo-font);
    font-size: 8px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
    margin-top: 2px;
    margin-left: 2px;
    line-height: 1;
    text-transform: lowercase;
}

.footer-logo-sub {
    font-family: var(--logo-font);
    font-size: 7px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.13em;
    margin-top: 3px;
    text-transform: lowercase;
    line-height: 1;
}


/* ──our work hero ─────────── */
.our_work_hero {
    background: var(--forest);
    padding: 100px 80px 80px;
}

.our_work_hero .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.our_work_hero .hero-eyebrow {
    font-family: var(--logo-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.our_work_hero .hero-eyebrow-line {
    width: 36px;
    height: 2px;
    background: var(--amber);
}

.our_work_hero .hero-title {
    font-family: var(--serif);
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 300;
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.our_work_hero .hero-title em {
    font-style: italic;
    color: var(--amber-lt);
}

.our_work_hero .hero-desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.55);
    max-width: 640px;
}

.our_work_hero .hero-disclaimer {
    margin-top: 24px;
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.25);
    line-height: 1.5;
}

@media (max-width: 767px) {
    .our_work_hero {
        padding: 50px 20px;
        padding-top: 120px;
    }

}

/* ──TEXT ─────────── */
.text_section {
    grid-template-columns: 1fr;
}

.text_section .bio-long {
    text-align: center;
}

.text_section .bio-long p:first-child::first-letter {
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    float: none;
    margin-right: 0;
    margin-top: 0;
    color: var(--text);
}

.text_section .bio-long a {
    color: var(--amber)
}

/* ──WORKS ─────────── */

.group {
    padding: 72px 80px 56px;
    background: var(--white);
}

.group-inner {
    max-width: 940px;
    margin: 0 auto;
}

.group-divider {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 80px;
}

.group-divider-line {
    height: 1px;
    background: var(--amber);
    opacity: 0.2;
}

.group-header {
    padding-bottom: 20px;
    border-bottom: 2px solid var(--amber);
    margin-bottom: 32px;
}

.group-name {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 300;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.group-name em {
    font-style: italic;
    color: var(--amber);
}

.group-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Deal card - every matter */
.deal {
    display: flex;
    gap: 0;
    align-items: stretch;
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.deal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 26, 39, 0.1);
}

.deal-stat {
    flex-shrink: 0;
    width: 120px;
    background: var(--forest);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    border-radius: 4px 0 0 4px;
    transition: background 0.25s;
}

.deal:hover .deal-stat {
    background: var(--jade);
}

.deal-stat-num {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 300;
    color: #fff;
    line-height: 1;
}

.deal-stat-num span {
    font-size: 18px;
}

.deal-stat-label {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.deal-body {
    flex: 1;
    padding: 22px 28px;
    background: #fff;
    border: 1px solid rgba(1, 26, 39, 0.06);
    border-left: none;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    transition: background 0.25s, border-color 0.25s;
}

.deal:hover .deal-body {
    background: rgba(224, 144, 48, 0.03);
    border-color: rgba(224, 144, 48, 0.15);
}

.deal-text {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.5;
}

@media (max-width: 767px) {
    .group {
        padding: 50px 20px;
    }

    .deal {
        flex-direction: column;
    }

    .deal-stat {
        width: 100%;
        flex-direction: row;
        gap: 12px;
        padding: 14px 20px;
    }

    .group-header {
        padding: 24px 0px;
        padding-top: 0;
    }

    .group-divider {
        padding: 0 40px;
    }

}

/* ── PRACTICE SECTIONS ────────────────── */
.practice-page-section {
    padding: 100px 80px;
    position: relative;
}

.practice-page-section:nth-child(odd) {
    background: var(--white);
}

.practice-page-section:nth-child(even) {
    background: var(--cream);
}

.practice-page-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* Section header */
.ps-header {
    margin-bottom: 48px;
}

.ps-name {
    font-family: var(--serif);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.ps-name em {
    font-style: italic;
    color: var(--amber);
}

.ps-rule {
    width: 48px;
    height: 2px;
    background: var(--amber);
    margin: 20px 0 28px;
    opacity: 0.5;
}

.ps-positioning {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Scope of work */
.ps-scope {
    margin-bottom: 48px;
}

.ps-scope-label {
    font-family: var(--logo-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 20px;
}

.ps-scope-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.ps-scope-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(1, 26, 39, 0.06);
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.ps-scope-item:nth-child(odd) {
    padding-right: 32px;
    border-right: 1px solid rgba(1, 26, 39, 0.06);
}

.ps-scope-item:nth-child(even) {
    padding-left: 32px;
}

.ps-scope-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--amber);
    flex-shrink: 0;
    margin-top: 7px;
}

.ps-scope-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    line-height: 1.5;
}

.ps-scope-sub {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Differentiation */
.ps-diff {
    background: var(--forest);
    padding: 32px 36px;
    border-left: 3px solid var(--amber);
    border-radius: 0 4px 4px 0;
}

.ps-diff .content {
    font-family: var(--serif);
    font-size: clamp(17px, 1.6vw, 20px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
}

.ps-diff .content span {
    color: var(--amber);
    font-style: normal;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
    font-family: var(--logo-font)
}

.ps-diff em {
    color: var(--amber-lt);
    font-style: italic;
}

/* ── CREDENTIAL CALLOUT ──────────────── */

.ps-cred-text strong {
    font-weight: 600;
    color: var(--amber);
}

/* ── TRANSACTION LINK ─────────────────── */
.ps-transactions {
    margin-top: 32px;
}

.ps-tx-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--amber);
    padding: 12px 0;
    border-bottom: 1px solid rgba(224, 144, 48, 0.3);
    transition: border-color 0.3s, color 0.3s;
}

.ps-tx-link:hover {
    color: var(--amber-lt);
    border-bottom-color: var(--amber);
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
    .practice-page-section {
        padding: 50px 20px;
    }

    .ps-scope-grid {
        grid-template-columns: 1fr;
    }

    .ps-scope-item:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }

    .ps-scope-item:nth-child(even) {
        padding-left: 0;
    }
}

/* team single page contact information css */

.contact-information {
    margin-top: 40px;
}

.contact-information-container {
    /*background: #FCFBF9;*/
    /*padding: 32px 36px;*/
    border-radius: 0;
}

.contact-information .section-title h3 {
    margin: 0;
    color: #3B332B;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
}

.contact-information .divider-line {
    width: 35%;
    height: 2px;
    background: #E09030;
    margin: 18px 0 24px;
}

.contact-information .contact-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-information .contact-main > div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3B332B;
    font-size: 17px;
    line-height: 1.4;
}

.contact-information .icon {
    width: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-information .icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

.contact-information .txt {
    color: #3B332B;
    font-weight: 400;
}

.contact-information .link {
    color: #3B332B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-information .link:hover {
    color: #E09030;
}

.contact-information .vcard .link {
    color: #E09030;
    font-weight: 500;
}

@media (max-width: 767px) {
    .contact-information-container {
        /*padding: 24px 20px;*/
    }

    .contact-information .section-title h3 {
        font-size: 24px;
    }

    .contact-information .contact-main > div {
        align-items: flex-start;
        font-size: 16px;
        flex-wrap: wrap;
    }

    .contact-information .icon {
        margin-top: 1px;
    }
}