/* =============================================================
   Tallman Geological — Redesign (v1)
   Modern industrial / oilfield aesthetic
   ============================================================= */

:root {
    /* Core palette */
    --ink:         #0a0d12;           /* near-black, page background */
    --ink-2:       #11161e;           /* panels, cards */
    --ink-3:       #1a2230;           /* elevated surfaces, hover */
    --line:        rgba(255,255,255,0.08);
    --line-2:      rgba(255,255,255,0.16);

    --text:        #eef2f7;
    --text-muted:  #9aa5b4;
    --text-dim:    #6b7685;

    --accent:      #3f80ff;           /* brand blue, slightly brighter for dark bg */
    --accent-2:    #1e5ae0;
    --accent-ink:  #ffffff;

    --white:       #ffffff;

    /* Type */
    --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display:'Space Grotesk', 'Inter', sans-serif;

    /* Sizing */
    --max-w:       1280px;
    --nav-h:       72px;

    --radius:      4px;
    --radius-lg:   10px;

    --positive:    #3ed27a;
    --negative:    #ff6470;

    /* Motion */
    --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 8px;
    background: var(--accent);
    color: var(--accent-ink);
    padding: 8px 12px;
    border-radius: var(--radius);
    z-index: 999;
    font-size: 14px;
    font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* =============================================================
   NAVIGATION
   ============================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 50;
    background: rgba(10, 13, 18, 0.72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
    background: rgba(10, 13, 18, 0.92);
    border-bottom-color: var(--line);
}

.nav {
    max-width: var(--max-w);
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 16px;
    color: var(--white);
}
.nav-brand-mark {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}
.nav-brand-name {
    line-height: 1;
}
.nav-brand-name small {
    display: block;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius);
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--white); background: var(--ink-3); }
.nav-links a.is-active { color: var(--white); }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--accent);
    border-radius: var(--radius);
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover,
.nav-cta:focus-visible { background: var(--accent-2); transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--line-2);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform .25s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile dropdown panel */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10, 13, 18, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 20px 28px 28px;
    z-index: 49;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0 0 20px; padding: 0; }
.nav-mobile li { border-bottom: 1px solid var(--line); }
.nav-mobile a {
    display: block;
    padding: 16px 4px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .nav-cta { width: 100%; justify-content: center; }

/* =============================================================
   PRICE STRIP (native commodities ticker)
   ============================================================= */
.price-strip {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 45;
    background: rgba(10, 13, 18, 0.85);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    min-height: 40px;
}
.price-strip-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 28px;
    height: 40px;
    font-family: var(--font-sans);
    font-size: 12px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
}
.price-strip-label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-dim);
    flex-shrink: 0;
}
.price-strip-items {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.price-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--text-muted);
    transition: opacity .3s var(--ease);
}
.price-item-name {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
}
.price-item-value {
    color: var(--white);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
}
.price-item-change {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.price-item-change.is-up   { color: var(--positive); }
.price-item-change.is-down { color: var(--negative); }
.price-item-change svg { width: 8px; height: 8px; }
.price-strip-source {
    flex-shrink: 0;
    font-size: 10px;
    color: var(--text-dim);
    letter-spacing: 0.05em;
}
.price-strip-source a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.price-strip-source a:hover { color: var(--text-muted); }

.price-strip[hidden] { display: none; }

/* Loading placeholder shimmer */
.price-item.is-loading .price-item-value,
.price-item.is-loading .price-item-change {
    background: linear-gradient(90deg, var(--ink-2), var(--ink-3), var(--ink-2));
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
    color: transparent;
    border-radius: 2px;
    display: inline-block;
    min-width: 48px;
    height: 14px;
}
.price-item.is-loading .price-item-change { min-width: 36px; }
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 40px + 40px) 28px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,13,18,0.5) 0%, rgba(10,13,18,0.35) 35%, rgba(10,13,18,0.85) 85%, var(--ink) 100%),
        linear-gradient(90deg, rgba(10,13,18,0.75) 0%, rgba(10,13,18,0.15) 55%, rgba(10,13,18,0) 100%);
}

.hero-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: end;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(44px, 7vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 32px;
}
.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 0 36px;
}

.hero-cta-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
    font-family: var(--font-sans);
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--accent-2); }

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: var(--line-2);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
    border-color: var(--white);
    background: rgba(255,255,255,0.04);
}

/* Right column: stats tile */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-stat {
    padding: 28px 24px;
    background: rgba(10, 13, 18, 0.65);
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
}
.hero-stat-num small {
    font-size: 0.55em;
    color: var(--accent);
    margin-left: 2px;
    font-weight: 500;
}
.hero-stat-label {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Scroll cue */
.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--text-dim);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.hero-scroll::after {
    content: '';
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, var(--text-dim), transparent);
    animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse {
    0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
    40%  { transform: scaleY(1); opacity: 1; }
    80%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* =============================================================
   FOOTER (lightweight, single line)
   ============================================================= */
.site-footer {
    padding: 40px 28px;
    background: var(--ink);
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    font-size: 13px;
}
.site-footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.site-footer a { color: var(--text-muted); transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--white); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: start;
    }
    .hero-stats { max-width: 520px; }
}

@media (max-width: 960px) {
    .price-strip-inner { padding: 0 20px; gap: 18px; }
    .price-strip-items { gap: 18px; }
    .price-strip-label, .price-strip-source { display: none; }
}

@media (max-width: 720px) {
    .nav { padding: 0 20px; }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
    .price-strip-inner { padding: 0 14px; gap: 10px; }
    .price-strip-items { gap: 10px; justify-content: space-between; width: 100%; }
    .price-item { gap: 5px; flex: 1 1 0; min-width: 0; justify-content: center; flex-wrap: nowrap; }
    .price-item-name { font-size: 10px; letter-spacing: 0.06em; }
    .price-item-value { font-size: 12px; }
    .price-item-change { font-size: 10px; }

    .nav-brand-name { font-size: 14px; }
    .nav-brand-name small { font-size: 9px; }

    .hero { padding: calc(var(--nav-h) + 40px) 20px 100px; }
    .hero-title { font-size: clamp(40px, 11vw, 64px); }
    .hero-sub { font-size: 16px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stat { padding: 22px 18px; }
    .hero-stat-num { font-size: 28px; }
    .hero-cta-row .btn { flex: 1 1 auto; justify-content: center; }

    .site-footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
    .hero-stats { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =============================================================
   INNER PAGES — shared sections, prose, cards
   ============================================================= */

/* Active nav link */
.nav-links a.is-active {
    color: var(--white);
}
.nav-links a.is-active::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px;
    bottom: -22px;
    height: 2px;
    background: var(--accent);
}
.nav-links a { position: relative; }

/* Compact page hero */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h) + 40px + 70px) 28px 70px;
    background:
        radial-gradient(900px 400px at 85% 10%, rgba(63,128,255,0.18), transparent 60%),
        radial-gradient(700px 300px at 10% 90%, rgba(63,128,255,0.08), transparent 60%),
        linear-gradient(180deg, #0d131c 0%, var(--ink) 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.page-hero::before {
    /* subtle grid texture */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    pointer-events: none;
}
.page-hero-inner {
    position: relative;
    max-width: var(--max-w);
    margin: 0 auto;
}
.page-hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 16px;
}
.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--white);
    margin: 0 0 18px;
    max-width: 18ch;
}
.page-hero-sub {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--text-muted);
    margin: 0;
    max-width: 62ch;
    line-height: 1.55;
}

/* Generic section */
.section {
    padding: 80px 28px;
}
.section-muted {
    background:
        linear-gradient(180deg, var(--ink) 0%, #0b1016 50%, var(--ink) 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.section-inner {
    max-width: var(--max-w);
    margin: 0 auto;
}
.section-inner.narrow {
    max-width: 820px;
}

.section-head {
    margin-bottom: 48px;
    max-width: 760px;
}
.section-head .eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 12px;
}
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 14px;
}
.section-sub {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

/* Long-form prose */
.prose {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
}
.prose p {
    margin: 0 0 1.25em;
}
.prose strong {
    color: var(--white);
    font-weight: 600;
}
.prose .lede {
    font-size: 20px;
    color: var(--white);
    line-height: 1.55;
    margin-bottom: 1.5em;
}
.prose .pull-quote {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.4;
    color: var(--white);
    padding: 22px 0 22px 26px;
    border-left: 3px solid var(--accent);
    margin: 2em 0 1em;
    font-weight: 400;
    font-style: italic;
}

/* Values grid (About) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
}
.value-card {
    padding: 28px 24px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.value-num {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 18px;
}
.value-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 10px;
}
.value-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.service-card {
    padding: 28px 24px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.service-card:hover {
    border-color: var(--line-2);
    transform: translateY(-2px);
    background: var(--ink-3);
}
.service-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(63,128,255,0.12);
    color: var(--accent);
    margin-bottom: 20px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 10px;
}
.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Stats row (Experience) */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 72px;
}
.stat-tile {
    padding: 28px 22px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: left;
}
.stat-tile-num {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 500;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.stat-tile-label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* Jurisdictions */
.juris-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
.juris-card {
    padding: 22px 18px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: center;
}
.juris-code {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0;
    margin-bottom: 6px;
    line-height: 1;
}
.juris-name {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Client list */
.client-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.client-list li {
    background: var(--ink-2);
    padding: 20px 22px;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    transition: background .2s var(--ease);
}
.client-list li:hover {
    background: var(--ink-3);
    color: var(--white);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.testimonial-card {
    display: block;
    padding: 30px 26px 24px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    color: var(--text);
    transition: border-color .25s var(--ease), transform .25s var(--ease);
    position: relative;
}
.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.testimonial-quote {
    font-family: var(--font-display);
    font-size: 48px;
    line-height: 0.6;
    color: var(--accent);
    margin-bottom: 18px;
    opacity: 0.7;
}
.testimonial-meta strong {
    display: block;
    font-size: 16px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 4px;
}
.testimonial-meta span {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
}
.testimonial-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent);
    margin-top: 22px;
    font-weight: 500;
}
.testimonial-link svg { width: 12px; height: 12px; }

/* H&S pillars */
.hs-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 48px 0;
}
.hs-pillar {
    padding: 28px 24px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.hs-pillar svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    margin-bottom: 16px;
}
.hs-pillar h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 8px;
}
.hs-pillar p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Download card */
.download-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(63,128,255,0.10), rgba(63,128,255,0.02));
    border: 1px solid var(--line-2);
    border-radius: var(--radius-lg);
    margin-top: 48px;
}
.download-card-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 8px;
}
.download-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    margin: 0 0 6px;
    font-weight: 500;
}
.download-card p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
}
.download-card .btn { flex-shrink: 0; }

/* Perks (Careers) */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 56px;
}
.perk {
    padding: 22px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.perk h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 8px;
}
.perk p {
    color: var(--text-muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

/* CTA band */
.cta-band {
    padding: 70px 28px;
    background:
        radial-gradient(700px 320px at 20% 50%, rgba(63,128,255,0.22), transparent 65%),
        linear-gradient(180deg, var(--ink) 0%, #0c1119 100%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.cta-band-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr auto auto 1fr;
    align-items: center;
    gap: 24px;
}
.cta-band-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 500;
    color: var(--white);
    margin: 0;
    letter-spacing: -0.02em;
    grid-column: 1;
}
.cta-band-inner p {
    color: var(--text-muted);
    margin: 0;
    max-width: 42ch;
    font-size: 15px;
    grid-column: 2;
}
.cta-band-inner .btn {
    grid-column: 3;
}

/* Video embed */
.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--line);
    margin: 32px 0 12px;
}
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-caption {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 16px 0 0;
}

/* Contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: stretch;
}
.contact-info {
    padding: 40px 36px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.contact-info h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 18px;
}
.contact-info address {
    font-style: normal;
    color: var(--text);
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}
.contact-info address strong { color: var(--white); }
.contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
}
.contact-line:last-of-type { border-bottom: 1px solid var(--line); }
.contact-line svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}
.contact-line a { color: var(--text); transition: color .2s; }
.contact-line a:hover { color: var(--accent); }
.contact-subhead {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 32px 0 10px;
    font-weight: 500;
}
.contact-hours {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 440px;
}
.contact-map iframe { filter: invert(0.92) hue-rotate(180deg); }

/* News grid (listing) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.news-card {
    padding: 26px 24px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.news-card:hover {
    border-color: var(--line-2);
    background: var(--ink-3);
    transform: translateY(-2px);
}
.news-card-date {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}
.news-card-title {
    font-family: var(--font-display);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
    color: var(--white);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.news-card-title a { color: inherit; }
.news-card-title a:hover { color: var(--accent); }
.news-card-preview {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    flex-grow: 1;
}
.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.03em;
}
.news-card-link svg { width: 12px; height: 12px; transition: transform .2s; }
.news-card:hover .news-card-link svg { transform: translateX(3px); }

/* Article detail */
.article {
    padding: calc(var(--nav-h) + 40px + 64px) 28px 80px;
}
.article-inner {
    max-width: 760px;
    margin: 0 auto;
}
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 28px;
    transition: color .2s;
}
.article-back:hover { color: var(--accent); }
.article-back svg { width: 14px; height: 14px; }
.article-eyebrow {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 14px;
}
.article-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--white);
    margin: 0 0 14px;
}
.article-date {
    color: var(--text-dim);
    font-size: 14px;
    margin: 0 0 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.article-body p {
    margin: 0 0 1.3em;
}
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.article-nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    transition: border-color .2s, color .2s;
}
.article-nav a:hover {
    border-color: var(--accent);
    color: var(--white);
}
.article-nav a svg { width: 14px; height: 14px; }
.article-nav-prev svg { order: -1; }

/* Site footer expanded */
.site-footer {
    padding: 64px 28px 28px;
    background: #05080c;
    border-top: 1px solid var(--line);
}
.site-footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    align-items: start;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}
.site-footer-col h4 {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
    margin: 0 0 16px;
}
.site-footer-col p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 14px;
}
.site-footer-col a {
    color: var(--text-muted);
    transition: color .2s;
}
.site-footer-col a:hover { color: var(--accent); }
.site-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer-col ul li {
    padding: 5px 0;
    font-size: 14px;
}
.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text);
}
.site-footer-brand svg {
    width: 40px;
    height: 40px;
}
.site-footer-brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--white);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.site-footer-brand small {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
    letter-spacing: 0.03em;
}
.site-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}
.site-footer-social:hover { color: var(--accent); }
.site-footer-legal {
    max-width: var(--max-w);
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-dim);
}
.site-footer-legal a {
    color: var(--text-muted);
    transition: color .2s;
}
.site-footer-legal a:hover { color: var(--accent); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
    .page-hero { padding: calc(var(--nav-h) + 40px + 50px) 20px 50px; }
    .section { padding: 64px 20px; }
    .cta-band { padding: 56px 20px; }
    .article { padding: calc(var(--nav-h) + 40px + 40px) 20px 64px; }

    .values-grid,
    .services-grid,
    .hs-pillars,
    .testimonials-grid,
    .perks-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .juris-grid { grid-template-columns: repeat(3, 1fr); }
    .client-list { grid-template-columns: repeat(2, 1fr); }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-map { min-height: 340px; }

    .cta-band-inner {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 16px;
    }
    .cta-band-inner h2,
    .cta-band-inner p,
    .cta-band-inner .btn { grid-column: 1; }

    .download-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 24px;
    }

    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .site-footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
@media (max-width: 640px) {
    .values-grid,
    .services-grid,
    .hs-pillars,
    .testimonials-grid,
    .perks-grid,
    .news-grid,
    .client-list,
    .stats-row {
        grid-template-columns: 1fr;
    }
    .juris-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer-inner { grid-template-columns: 1fr; }
    .page-hero-title { font-size: clamp(32px, 9vw, 44px); }
}

/* Hide active nav underline on mobile (no desktop nav visible) */
@media (max-width: 960px) {
    .nav-links a.is-active::after { display: none; }
}
