/* ============================================================================
   Hutner Capital — Refinement & Motion Layer
   Loaded after screen.css (the legacy base). This file adds:
   - design tokens (a restrained champagne accent, easing curves)
   - a progressive-enhancement scroll-reveal + counter system
   - global chrome (scroll progress, skip link, back-to-top, focus states)
   - a full overhaul of the homepage sections + two new sections
   All motion degrades gracefully (no-JS shows content; reduced-motion is honored).
   ========================================================================== */

:root {
    /* Restrained metallic accent — used sparingly: hairlines, numerals, focus */
    --accent: #c2a878;
    --accent-bright: #e3cd9b;
    --accent-deep: #9a7d4c;
    --accent-glow: rgba(194, 168, 120, 0.16);

    /* Surfaces tuned for the redesigned sections */
    --bg-deep: #070f18;
    --surface-1: #0f1d2e;
    --surface-2: #13243a;
    --hairline: rgba(148, 163, 184, 0.14);
    --hairline-strong: rgba(148, 163, 184, 0.28);

    /* Easing — slow, expensive-feeling curves */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);

    --reveal-distance: 30px;
}

/* --- Typographic + rendering polish ---------------------------------------*/
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--accent);
    color: var(--bg-dark);
}

/* Slim, on-brand scrollbar (WebKit) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
    background: #1f2f44;
    border: 3px solid var(--bg-deep);
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover { background: #2c3f58; }

/* Keyboard focus — visible and intentional */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Skip link — appears on focus for keyboard users */
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    transform: translate(-50%, -150%);
    z-index: 200;
    background: var(--text-slate-100);
    color: var(--bg-dark);
    padding: 0.6rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: transform 0.3s var(--ease-out-expo);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ============================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--accent-deep), var(--accent-bright));
    z-index: 60;
    pointer-events: none;
    will-change: transform;
}

/* ============================================================================
   BACK TO TOP
   ========================================================================== */
.to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    background: rgba(15, 29, 46, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--hairline-strong);
    color: var(--text-slate-300);
    z-index: 55;
    cursor: pointer;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo),
                transform 0.4s var(--ease-out-expo),
                color 0.3s, border-color 0.3s;
}
.to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top:hover { color: var(--accent-bright); border-color: var(--accent); }
.to-top svg { width: 18px; height: 18px; }

/* ============================================================================
   REVEAL / STAGGER SYSTEM  (only engages once <html class="js"> is set)
   ========================================================================== */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(var(--reveal-distance));
    transition: opacity 1s var(--ease-out-expo),
                transform 1s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
html.js [data-reveal="left"]  { transform: translateX(calc(-1 * var(--reveal-distance))); }
html.js [data-reveal="right"] { transform: translateX(var(--reveal-distance)); }
html.js [data-reveal="scale"] { transform: scale(0.94); }
html.js [data-reveal="fade"]  { transform: none; }

html.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================================================
   NAV — refinements over screen.css
   ========================================================================== */
.site-nav { transition: padding 0.4s var(--ease-out-expo), background-color 0.4s, border-color 0.4s; }
.site-nav.scrolled {
    background-color: rgba(9, 18, 29, 0.72);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--hairline);
}

.logo-icon {
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s var(--ease-out-expo), color 0.4s;
}
.logo-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, var(--accent-glow) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease-out-expo);
}
.logo-group:hover .logo-icon { border-color: var(--accent); }
.logo-group:hover .logo-icon::after { transform: translateX(120%); }

/* Slightly tighter spacing now that the nav carries six items */
.site-nav .nav-links { gap: 2rem; }

/* Animated underline + active (scrollspy) state — header nav only */
.site-nav .nav-link {
    position: relative;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-slate-400);
    padding-bottom: 0.35rem;
    transition: color 0.3s;
}
.site-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), var(--accent-bright));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}
.site-nav .nav-link:hover { color: #fff; }
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: #fff; }

.btn-nav-login {
    position: relative;
    overflow: hidden;
    transition: color 0.4s, border-color 0.4s, background 0.4s;
}

/* ============================================================================
   SHARED — eyebrow w/ accent tick, section rhythm
   ========================================================================== */
.eyebrow-accent {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.eyebrow-accent::before {
    content: '';
    width: 2.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent));
}
.eyebrow-accent.center { justify-content: center; }
.eyebrow-accent.center::after {
    content: '';
    width: 2.25rem;
    height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

/* Buttons — add a soft sheen sweep on hover */
.btn-primary, .btn-outline, .btn-submit, .btn-gate-primary, .btn-read-briefing {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-primary::before,
.btn-outline::before,
.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
    transform: translateX(-150%);
    transition: transform 0.8s var(--ease-out-expo);
}
.btn-primary:hover::before,
.btn-outline:hover::before,
.btn-submit:hover::before { transform: translateX(150%); }
.btn-primary { transition: transform 0.4s var(--ease-out-expo), background 0.3s; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, color 0.3s; }
.btn-outline:hover { transform: translateY(-2px); border-color: var(--accent); color: #fff; }

/* ============================================================================
   HERO — overhaul
   ========================================================================== */
.hero-section { background: var(--bg-dark); }

/* Layered, slowly drifting aurora behind the grid */
.hero-aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.hero-aurora-1 {
    width: 46vw; height: 46vw; min-width: 420px; min-height: 420px;
    top: -12%; left: -8%;
    background: radial-gradient(circle, rgba(26, 49, 76, 0.85), transparent 68%);
    animation: heroDrift1 26s var(--ease-in-out-smooth) infinite;
}
.hero-aurora-2 {
    width: 40vw; height: 40vw; min-width: 360px; min-height: 360px;
    bottom: -16%; right: -6%;
    background: radial-gradient(circle, rgba(38, 58, 84, 0.55), transparent 70%);
    animation: heroDrift2 32s var(--ease-in-out-smooth) infinite;
}
.hero-aurora-3 {
    width: 26vw; height: 26vw; min-width: 240px; min-height: 240px;
    top: 24%; right: 18%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    animation: heroDrift1 30s var(--ease-in-out-smooth) infinite reverse;
}
@keyframes heroDrift1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(4%, 6%); }
}
@keyframes heroDrift2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-5%, -4%); }
}

/* Elegant grid with a radial fade so it dissolves at the edges */
.hero-grid {
    inset: 0;
    opacity: 1;
    background-image:
        linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    background-size: 66px 66px;
    -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 0%, transparent 76%);
            mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 0%, transparent 76%);
}
/* A whisper of grain for a printed-paper feel */
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-badge span {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--hairline-strong);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hero-title { letter-spacing: -0.015em; }

/* Re-skin the silver gradient: silver with a warm champagne glint, shimmering */
.text-silver-gradient {
    background-image: linear-gradient(100deg,
        #cbd5e1 8%, #ffffff 28%, #ecd9b0 50%, #ffffff 72%, #cbd5e1 92%);
    background-size: 200% auto;
    animation: heroShimmer 7s linear infinite;
}
@keyframes heroShimmer { to { background-position: 200% center; } }

/* Hero entrance — runs on load (independent of the scroll observer) */
.hero-reveal {
    opacity: 0;
    animation: heroIn 1.1s var(--ease-out-expo) forwards;
    animation-delay: var(--hero-delay, 0ms);
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Scroll cue */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 2.25rem;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    opacity: 0;
    /* fade only — transform is reserved for translateX(-50%) centering */
    animation: fadeInCue 1s var(--ease-out-expo) 1s forwards;
}
@keyframes fadeInCue { from { opacity: 0; } to { opacity: 1; } }
.hero-scroll span {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-slate-500);
}
.hero-scroll-line {
    position: relative;
    width: 1px;
    height: 56px;
    background: var(--hairline-strong);
    overflow: hidden;
}
.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, var(--accent));
    animation: scrollPulse 2.4s var(--ease-in-out-smooth) infinite;
}
@keyframes scrollPulse {
    0%   { transform: translateY(-110%); }
    100% { transform: translateY(260%); }
}

/* ============================================================================
   TRUST MARQUEE
   ========================================================================== */
.trust-strip {
    background: var(--bg-dark);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    overflow: hidden;
    position: relative;
}
.trust-strip::before,
.trust-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 14%;
    z-index: 2;
    pointer-events: none;
}
.trust-strip::before { left: 0;  background: linear-gradient(90deg, var(--bg-dark), transparent); }
.trust-strip::after  { right: 0; background: linear-gradient(270deg, var(--bg-dark), transparent); }

.trust-track {
    display: flex;
    width: max-content;
    animation: marquee 38s linear infinite;
}
.trust-strip:hover .trust-track { animation-play-state: paused; }
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.15rem 2.5rem;
    white-space: nowrap;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-slate-400);
}
.trust-item::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--accent);
    transform: rotate(45deg);
    flex-shrink: 0;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================================
   PHILOSOPHY — overhaul
   ========================================================================== */
.section-philosophy { position: relative; overflow: hidden; }
.section-philosophy .section-title { letter-spacing: -0.01em; }

.card-feature {
    position: relative;
    padding: 2.5rem 2rem;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo),
                border-color 0.5s, background 0.5s;
}
.card-feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}
.card-feature:hover {
    transform: translateY(-6px);
    border-color: var(--hairline-strong);
    background: var(--surface-1);
}
.card-feature:hover::before { transform: scaleX(1); }

.card-numeral {
    position: absolute;
    top: 1.25rem;
    right: 1.75rem;
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--text-slate-700);
    transition: color 0.5s;
}
.card-feature:hover .card-numeral { color: var(--accent); }

.icon-wrap {
    display: inline-flex;
    padding: 0.85rem;
    border: 1px solid var(--hairline);
    margin-bottom: 1.75rem !important;
    transition: border-color 0.5s, color 0.5s, transform 0.5s var(--ease-out-expo);
}
.card-feature:hover .icon-wrap {
    border-color: var(--accent);
    color: var(--accent-bright);
    transform: translateY(-2px);
}

/* ============================================================================
   APPROACH — new section: the investment process
   ========================================================================== */
.section-approach {
    padding: 7rem 0;
    background: var(--bg-dark);
    border-top: 1px solid var(--hairline);
}
.approach-head { max-width: 46rem; margin-bottom: 4.5rem; }
.approach-head .section-title { margin-top: 0.25rem; }
.approach-head p {
    color: var(--text-slate-400);
    font-size: 1.125rem;
    font-weight: 300;
    margin-top: 1rem;
}

.approach-timeline {
    position: relative;
    --fill: 0%;
}
/* The spine: a faint full-height rail with a gold fill driven by scroll */
.approach-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background: var(--hairline);
}
.approach-timeline::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1px;
    height: var(--fill);
    max-height: calc(100% - 1rem);
    background: linear-gradient(to bottom, var(--accent-bright), var(--accent-deep));
    box-shadow: 0 0 12px var(--accent-glow);
    transition: height 0.2s linear;
}
@media (min-width: 768px) {
    .approach-timeline::before,
    .approach-timeline::after { left: 50%; transform: translateX(-50%); }
}

.approach-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0 0 3.5rem 2.5rem;
}
.approach-step:last-child { padding-bottom: 0; }
.approach-body { display: flex; flex-direction: column; gap: 0.55rem; }
.approach-node {
    position: absolute;
    left: 0;
    top: 0.35rem;
    width: 11px; height: 11px;
    transform: translateX(-5px) rotate(45deg);
    background: var(--bg-dark);
    border: 1px solid var(--hairline-strong);
    transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.approach-step.is-visible .approach-node {
    background: var(--accent);
    border-color: var(--accent-bright);
    box-shadow: 0 0 0 4px var(--accent-glow);
}
.approach-index {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    color: var(--accent);
}
.approach-step h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #fff;
    line-height: 1.2;
}
.approach-step p {
    color: var(--text-slate-400);
    font-weight: 300;
    font-size: 1rem;
    max-width: 32rem;
    line-height: 1.7;
}

/* Two-column zig-zag on wide screens */
@media (min-width: 768px) {
    .approach-step {
        grid-template-columns: 1fr 1fr;
        padding-left: 0;
        padding-bottom: 4.5rem;
        align-items: start;
    }
    .approach-node { left: 50%; transform: translateX(-5px) rotate(45deg); top: 0.4rem; }
    .approach-step .approach-body { grid-column: 2; padding-left: 3.5rem; }
    .approach-step:nth-child(even) .approach-body {
        grid-column: 1;
        grid-row: 1;
        padding-left: 0;
        padding-right: 3.5rem;
        text-align: right;
    }
    .approach-step:nth-child(even) p { margin-left: auto; }
}

/* ============================================================================
   STATS BAND — new section: proof in numbers (animated counters)
   ========================================================================== */
.section-stats {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, var(--bg-deep), var(--bg-dark));
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.5rem;
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-block { position: relative; text-align: center; padding: 0 1rem; }
.stat-block + .stat-block::before {
    content: '';
    position: absolute;
    left: 0; top: 12%;
    height: 76%;
    width: 1px;
    background: var(--hairline);
}
@media (max-width: 899px) {
    .stat-block:nth-child(odd)::before { display: none; }
}
.stat-figure {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 6vw, 4rem);
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.stat-figure .unit { color: var(--accent); }
.stat-rule {
    width: 2rem;
    height: 1px;
    background: var(--accent);
    margin: 1.1rem auto;
    opacity: 0.7;
}
.stat-caption {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-slate-400);
    line-height: 1.5;
}

/* ============================================================================
   INSIGHTS — overhaul (panel bg for rhythm)
   ========================================================================== */
.section-insights { background: var(--bg-panel); }
/* Cards sit on the panel here, so darken them for contrast (homepage only —
   the archive/client pages keep the legacy panel card on their dark page bg) */
.section-insights .post-card { background: var(--bg-dark); }
.post-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo), border-color 0.5s;
}
.post-card::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}
.post-card:hover {
    transform: translateY(-6px);
    border-color: var(--hairline-strong);
}
.post-card:hover::after { transform: scaleX(1); }
.post-card .post-tag { color: var(--accent); }
.post-title { transition: color 0.3s; }
.post-card:hover .post-title { color: #fff; }
.post-cta { transition: color 0.3s, letter-spacing 0.3s; }
.post-card:hover .post-cta { color: var(--accent-bright); letter-spacing: 0.14em; }

/* ============================================================================
   HISTORY — overhaul (refined emblem visual)
   ========================================================================== */
.section-history { overflow: hidden; }
.section-history .section-title { letter-spacing: -0.01em; }
.section-history .accent-line { color: var(--text-slate-400); font-style: italic; font-weight: 300; }
.history-visual-col { position: relative; }

.history-emblem {
    position: relative;
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}
.history-emblem .ring {
    position: absolute;
    inset: 0;
    border: 1px solid var(--hairline);
    border-radius: 50%;
}
.history-emblem .ring-2 { inset: 12%; border-color: var(--hairline-strong); }
.history-emblem .ring-3 { inset: 24%; border-color: var(--hairline); }
.history-emblem .ring-dashed {
    inset: 4%;
    border: 1px dashed rgba(194, 168, 120, 0.4);
    border-radius: 50%;
    animation: spinSlow 60s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.history-emblem .ring-arc {
    inset: 0;
    border: 2px solid transparent;
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    border-radius: 50%;
    opacity: 0.7;
    animation: spinSlow 24s linear infinite reverse;
}
.emblem-core { position: relative; text-align: center; z-index: 2; }
.emblem-year {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 9vw, 5.5rem);
    line-height: 1;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, #fff, var(--text-slate-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.emblem-label {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.66rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--accent);
}

.history-quote-card {
    background: rgba(15, 29, 46, 0.85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-color: var(--hairline-strong);
    z-index: 20;
}
.history-quote-card::before {
    content: '\201C';
    position: absolute;
    top: -0.6rem;
    left: 0.9rem;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
}
.history-quote-card .quote-text { font-style: italic; }

.stat-num { transition: color 0.3s; }

/* ============================================================================
   TEAM — overhaul (monogram medallions, refined cards)
   ========================================================================== */
.section-team { position: relative; overflow: hidden; }
.team-card {
    position: relative;
    padding: 2.5rem;
    overflow: hidden;
    background: var(--bg-dark);
    transition: transform 0.5s var(--ease-out-expo), border-color 0.5s, background 0.5s;
}
.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 2px; height: 100%;
    background: linear-gradient(180deg, var(--accent), transparent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s var(--ease-out-expo);
}
.team-card-link:hover .team-card {
    border-color: var(--hairline-strong);
    transform: translateY(-4px);
    background: var(--surface-1);
}
.team-card-link:hover .team-card::before { transform: scaleY(1); }

.team-avatar {
    width: 5.5rem;
    height: 5.5rem;
    border: 1px solid var(--hairline-strong);
    padding: 3px;
    background: var(--surface-2);
    transition: border-color 0.5s;
}
.team-card-link:hover .team-avatar { border-color: var(--accent); }
.team-name { transition: color 0.3s; }
.team-role { color: var(--accent) !important; }

.team-link-row {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-slate-500);
    transition: color 0.3s, gap 0.3s;
}
.team-card-link:hover .team-link-row { color: var(--accent-bright); gap: 0.85rem; }

/* ============================================================================
   CONTACT — overhaul (floating labels, refined inputs)
   ========================================================================== */
.section-contact .section-title { letter-spacing: -0.01em; }
.contact-form-wrapper {
    background: var(--surface-1);
    border-color: var(--hairline);
    padding: 2.5rem;
}
.contact-item .icon-contact { color: var(--accent); }
.contact-form .field { position: relative; }
.contact-form .field input,
.contact-form .field textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid var(--hairline);
    color: var(--text-slate-100);
    padding: 1.4rem 1rem 0.6rem;
    outline: none;
    font-family: var(--font-sans);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form .field textarea { padding-top: 1.6rem; resize: vertical; min-height: 7rem; }
.contact-form .field label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    font-size: 0.95rem;
    color: var(--text-slate-500);
    pointer-events: none;
    transition: transform 0.25s var(--ease-out-expo), color 0.25s, font-size 0.25s;
    transform-origin: left top;
}
.contact-form .field input:focus,
.contact-form .field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form .field input:focus + label,
.contact-form .field input:not(:placeholder-shown) + label,
.contact-form .field textarea:focus + label,
.contact-form .field textarea:not(:placeholder-shown) + label {
    transform: translateY(-0.7rem) scale(0.72);
    color: var(--accent);
    letter-spacing: 0.06em;
}
.btn-submit { letter-spacing: 0.14em; transition: background 0.3s, transform 0.3s var(--ease-out-expo); }
.btn-submit:hover { transform: translateY(-2px); }

/* ============================================================================
   FOOTER — refinements
   ========================================================================== */
.site-footer { position: relative; }
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.4;
}
.footer-brand span { color: var(--accent); }
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-bright); }

/* ============================================================================
   ARTICLE TYPOGRAPHY — richer markdown support inside .gh-content
   (screen.css only styles h2/p; memos also use h3, lists, quotes, tables)
   ========================================================================== */
.gh-content h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    color: var(--text-slate-100);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
}
.gh-content strong { color: var(--text-slate-100); font-weight: 600; }
.gh-content a {
    color: var(--accent-bright);
    border-bottom: 1px solid rgba(194, 168, 120, 0.35);
    transition: color 0.3s, border-color 0.3s;
}
.gh-content a:hover { color: #fff; border-color: #fff; }

.gh-content ul,
.gh-content ol {
    margin: 0 0 1.5rem 1.4rem;
    line-height: 1.8;
}
.gh-content ul { list-style: none; }
.gh-content ul > li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.6rem;
}
.gh-content ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 5px; height: 5px;
    background: var(--accent);
    transform: rotate(45deg);
}
.gh-content ol { list-style: decimal; }
.gh-content ol > li { padding-left: 0.4rem; margin-bottom: 0.6rem; }
.gh-content ol > li::marker { color: var(--accent); font-weight: 500; }

.gh-content blockquote {
    margin: 2.25rem 0;
    padding: 1.4rem 1.75rem;
    border-left: 2px solid var(--accent);
    background: linear-gradient(90deg, rgba(194, 168, 120, 0.07), transparent 75%);
    font-size: 1.05rem;
    color: var(--text-slate-400);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.75;
}
.gh-content blockquote p { margin-bottom: 0; }
.gh-content blockquote p + p { margin-top: 1rem; }

.gh-content table {
    width: 100%;
    margin: 2.25rem 0;
    border-collapse: collapse;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 300;
}
.gh-content thead th {
    text-align: left;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--accent);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--hairline-strong);
}
.gh-content tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--hairline);
    color: var(--text-slate-300);
}
.gh-content tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

.gh-content hr {
    border: none;
    height: 1px;
    margin: 3rem auto;
    width: 40%;
    background: linear-gradient(90deg, transparent, var(--hairline-strong), transparent);
}

/* ============================================================================
   CLIENT SUITE — the gated private-client area
   A quieter, more formal register than the public site: champagne hairlines,
   engraved-certificate details, and confidentiality cues throughout.
   ========================================================================== */

/* Wrapper padding adjustments so the confidentiality ribbon sits high */
.dashboard-wrapper.client-suite { padding-top: 5.5rem; }
.archive-page-wrapper.client-suite { padding-top: 7.5rem; }
.article-page.client-suite { padding-top: 6.5rem; }

/* --- Confidentiality ribbon ------------------------------------------------*/
.confidential-ribbon {
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid rgba(194, 168, 120, 0.25);
    background: linear-gradient(90deg,
        rgba(194, 168, 120, 0.0),
        rgba(194, 168, 120, 0.06) 50%,
        rgba(194, 168, 120, 0.0));
    margin-bottom: 3rem;
}
.ribbon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--accent);
    text-align: center;
}
.ribbon-mark {
    width: 5px; height: 5px;
    background: var(--accent);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* --- Suite header ----------------------------------------------------------*/
.suite-header { border-bottom: none; padding-bottom: 0; margin-bottom: 4.5rem; }
.suite-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent-bright);
    border-color: rgba(194, 168, 120, 0.35);
    background: rgba(194, 168, 120, 0.07);
}
.suite-badge svg { opacity: 0.8; }

.suite-masthead {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.suite-crest {
    position: relative;
    width: 5.25rem;
    height: 5.25rem;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--hairline-strong);
    background: var(--surface-1);
}
.suite-crest .crest-ring {
    position: absolute;
    inset: 6px;
    border: 1px dashed rgba(194, 168, 120, 0.45);
    animation: spinSlow 50s linear infinite;
}
.suite-crest .crest-letter {
    font-size: 2.4rem;
    line-height: 1;
    background: linear-gradient(180deg, #fff, var(--accent-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.client-suite .dashboard-title { margin-bottom: 0.35rem; }
.client-suite .dashboard-subtitle { max-width: 38rem; }

/* Header meta strip — the archive at a glance */
.suite-meta-row {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0 4rem;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 1.4rem 0;
}
.suite-meta-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.suite-meta-item + .suite-meta-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 8%;
    height: 84%;
    width: 1px;
    background: var(--hairline);
}
.suite-meta-num {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    line-height: 1.1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.suite-meta-date { font-size: 1.25rem; padding-top: 0.2rem; }
.suite-meta-label {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-slate-500);
}

/* Gold variant of the legacy section label */
.section-label.gold {
    color: var(--accent);
    border-left-color: var(--accent);
}

/* --- Featured briefing reskin ----------------------------------------------*/
.suite-featured {
    border-color: var(--hairline-strong);
    position: relative;
    overflow: hidden;
}
.suite-featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent 60%);
}
.suite-featured .briefing-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.gold-tag { color: var(--accent-bright) !important; margin-right: 0 !important; }
.briefing-dot { color: var(--text-slate-600); }

/* Seal panel replaces the old image slot */
.briefing-seal-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    min-height: 320px;
    border-left: 1px solid var(--border-color);
    background:
        radial-gradient(circle at 50% 45%, rgba(194, 168, 120, 0.08), transparent 60%),
        var(--bg-dark);
    overflow: hidden;
}
.briefing-seal {
    position: relative;
    width: 11rem;
    height: 11rem;
    display: grid;
    place-items: center;
}
.briefing-seal .seal-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(194, 168, 120, 0.4);
    border-radius: 50%;
}
.briefing-seal .seal-ring-2 {
    inset: 10px;
    border-style: dashed;
    border-color: rgba(194, 168, 120, 0.3);
    animation: spinSlow 60s linear infinite;
}
.seal-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}
.seal-letter {
    font-size: 3.2rem;
    line-height: 1;
    background: linear-gradient(180deg, #fff, var(--accent-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.seal-est {
    font-size: 0.58rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--accent);
}
.seal-caption {
    font-size: 0.64rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-slate-500);
}

/* --- Client services -------------------------------------------------------*/
.section-suite-services { margin-bottom: 6rem; }
.suite-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.25rem 2rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo), border-color 0.5s, background 0.5s;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--hairline-strong);
    background: var(--surface-1);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.8rem;
    border: 1px solid var(--hairline);
    color: var(--text-slate-300);
    margin-bottom: 1.5rem;
    transition: border-color 0.5s, color 0.5s;
}
.service-card:hover .service-icon { border-color: var(--accent); color: var(--accent-bright); }
.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.6rem;
}
.service-card p {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--text-slate-400);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.service-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-slate-500);
    transition: color 0.3s, gap 0.3s;
}
.service-card:hover .service-cta { color: var(--accent-bright); gap: 0.85rem; }

/* Lock badge — global so runtime-injected search results pick it up too */
.lock-badge { font-size: 0.9rem; opacity: 0.65; }

/* --- Archive footer CTA ----------------------------------------------------*/
.suite-archive-footer {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

/* --- Concierge band ---------------------------------------------------------*/
.suite-concierge {
    margin-top: 6rem;
    border-top: 1px solid var(--hairline);
    background:
        radial-gradient(ellipse 60% 100% at 80% 0%, rgba(194, 168, 120, 0.06), transparent 60%),
        linear-gradient(180deg, var(--bg-deep), var(--bg-dark));
    padding: 5.5rem 0;
}
.concierge-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.concierge-title {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1rem;
}
.concierge-text p {
    color: var(--text-slate-400);
    font-weight: 300;
    line-height: 1.75;
    max-width: 34rem;
}
.concierge-contacts {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--hairline);
}
.concierge-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.2rem 0.25rem;
    border-bottom: 1px solid var(--hairline);
    transition: background 0.3s, padding 0.3s var(--ease-out-expo);
}
.concierge-row:not(.static):hover {
    background: rgba(194, 168, 120, 0.05);
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.concierge-label {
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-slate-500);
}
.concierge-value {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-slate-200);
    transition: color 0.3s;
}
.concierge-row:not(.static):hover .concierge-value { color: var(--accent-bright); }

/* --- Client suite responsive ------------------------------------------------*/
@media (max-width: 1024px) {
    .suite-services-grid { grid-template-columns: 1fr; }
    .concierge-inner { grid-template-columns: 1fr; gap: 3rem; }
    /* .featured-briefing stacks at this width (see screen.css) */
    .briefing-seal-panel {
        border-left: none;
        border-top: 1px solid var(--border-color);
        min-height: 260px;
        order: 2;
    }
}
@media (max-width: 768px) {
    .suite-masthead { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .suite-meta-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .suite-meta-item + .suite-meta-item::before { display: none; }
    .ribbon-inner { font-size: 0.58rem; letter-spacing: 0.18em; }
}

/* ============================================================================
   REDUCED MOTION — calm everything down
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html.js [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .hero-reveal, .hero-scroll { opacity: 1 !important; animation: none !important; }
    .hero-aurora, .text-silver-gradient, .trust-track,
    .hero-scroll-line::after, .ring-dashed, .ring-arc,
    .crest-ring, .seal-ring-2,
    .approach-timeline::after { animation: none !important; }
    .approach-timeline { --fill: 100% !important; }
    .to-top { transition: none; }
    * { scroll-behavior: auto !important; }
}

/* ============================================================================
   PRINT — keep new chrome out of print
   ========================================================================== */
@media print {
    .scroll-progress, .to-top, .skip-link, .trust-strip,
    .hero-aurora, .hero-grain, .hero-scroll { display: none !important; }
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .section-approach { padding: 5rem 0; }
    .approach-head { margin-bottom: 3rem; }
}
@media (max-width: 640px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn-primary, .hero-actions .btn-outline { justify-content: center; }
    .trust-item { padding: 1rem 1.5rem; gap: 1rem; font-size: 0.72rem; }
    .to-top { right: 1rem; bottom: 1rem; }
    .contact-form-wrapper { padding: 1.75rem; }
}
