/* ============================================================
   NumisHaven — Design System
   Distinct from the sibling NumisDon theme by design:
   - Palette: oxford navy + clay terracotta + warm ivory (vs
     NumisDon's dark ink/emerald/brass/parchment)
   - Type: Fraunces (soft, warm display serif) + Source Serif 4
     body (vs NumisDon's Playfair Display/Cinzel/EB Garamond)
   - Structure: light, airy header with a terracotta underline
     (vs NumisDon's dark sticky navy header bar)
   ============================================================ */

:root {
    /* Color */
    --nh-navy: #16233D;
    --nh-navy-2: #223257;
    --nh-terracotta: #C1552E;
    --nh-terracotta-deep: #9A431F;
    --nh-terracotta-dim: rgba(193, 85, 46, 0.12);
    --nh-gold: #C98A3E;
    --nh-ivory: #FBF4E8;
    --nh-ivory-deep: #F1E4CC;
    --nh-ink: #2B2620;
    --nh-slate: #6B6156;
    --nh-sand: #DED0B2;
    --nh-card: #FFFFFF;

    /* Type */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    /* Layout */
    --nh-radius: 10px;
    --nh-radius-sm: 6px;
    --nh-shadow: 0 6px 24px rgba(22, 35, 61, 0.08);
    --nh-shadow-lift: 0 16px 48px rgba(22, 35, 61, 0.18);
    --nh-transition: 180ms ease;
    --nh-container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--nh-ink);
    background: var(--nh-ivory);
    font-size: 16px;
    line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--nh-terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--nh-navy);
    line-height: 1.15;
    margin: 0 0 0.5em;
}
.nh-container { max-width: var(--nh-container); margin: 0 auto; padding: 0 24px; }
.nh-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--nh-terracotta);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.nh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--nh-transition);
    text-decoration: none;
}
.nh-btn:hover { text-decoration: none; }
.nh-btn-primary { background: var(--nh-terracotta); color: #fff; }
.nh-btn-primary:hover { background: var(--nh-terracotta-deep); }
.nh-btn-outline { background: transparent; border-color: var(--nh-navy); color: var(--nh-navy); }
.nh-btn-outline:hover { background: var(--nh-navy); color: #fff; }

/* ============================================================
   HEADER — light, airy, terracotta underline (deliberately NOT
   a dark sticky bar, to read as structurally distinct)
   ============================================================ */
.nh-header {
    background: var(--nh-card);
    border-bottom: 3px solid var(--nh-terracotta);
    position: sticky;
    top: 0;
    z-index: 500;
}
.nh-header-inner {
    max-width: var(--nh-container);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.nh-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--nh-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nh-logo .nh-logo-mark { color: var(--nh-terracotta); }
.nh-primary-nav { display: flex; gap: 4px; margin-left: 8px; flex: 1; }
.nh-primary-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nh-primary-nav li { position: relative; list-style: none; }
.nh-primary-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--nh-radius-sm);
    color: var(--nh-navy);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}
.nh-primary-nav a:hover { background: var(--nh-terracotta-dim); color: var(--nh-terracotta-deep); text-decoration: none; }

/* Dropdown sub-menus — hidden by default, shown on hover/focus of the
   parent item only. Without this, nested menu items (e.g. Ancient
   Coins > Roman Coins, Greek Coins) render as one long inline row
   and overlap the content below the header. */
.nh-primary-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    gap: 0;
    min-width: 220px;
    background: var(--nh-card);
    border: 1px solid var(--nh-sand);
    border-radius: var(--nh-radius-sm);
    box-shadow: var(--nh-shadow-lift);
    padding: 6px;
    margin: 4px 0 0;
    z-index: 600;
}
.nh-primary-nav li:hover > .sub-menu,
.nh-primary-nav li:focus-within > .sub-menu {
    display: flex;
}
.nh-primary-nav .sub-menu li { width: 100%; }
.nh-primary-nav .sub-menu a { white-space: normal; font-weight: 500; font-size: 14.5px; padding: 9px 12px; }
/* Third-level (and deeper) sub-menus flyout to the right instead of
   stacking further downward */
.nh-primary-nav .sub-menu .sub-menu { top: 0; left: 100%; margin: 0 0 0 4px; }
.nh-primary-nav li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    margin-left: 6px;
    opacity: 0.6;
}
.nh-primary-nav .sub-menu li.menu-item-has-children > a::after { content: "\f105"; }
.nh-header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nh-search-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--nh-ivory);
    border: 1px solid var(--nh-sand);
    color: var(--nh-navy);
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
}
.nh-search-trigger:hover { border-color: var(--nh-terracotta); color: var(--nh-terracotta-deep); }
.nh-cart-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--nh-navy);
    font-weight: 600;
    font-size: 14px;
    padding: 9px 14px;
    border: 1px solid var(--nh-sand);
    border-radius: 999px;
}
.nh-cart-link:hover { text-decoration: none; border-color: var(--nh-terracotta); }
.nh-cart-count {
    background: var(--nh-terracotta);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nh-cart-count[hidden] { display: none; }
.nh-mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--nh-sand);
    border-radius: var(--nh-radius-sm);
    padding: 8px 10px;
    cursor: pointer;
    color: var(--nh-navy);
}
@media (max-width: 960px) {
    .nh-primary-nav { display: none; }
    .nh-mobile-toggle { display: inline-flex; }
    .nh-header-actions .nh-search-trigger-label,
    .nh-header-actions .nh-cart-link span { display: none; }
}

.nh-mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 86vw);
    height: 100vh;
    background: var(--nh-card);
    box-shadow: var(--nh-shadow-lift);
    z-index: 900;
    padding: 20px;
    transition: right 220ms ease;
    overflow-y: auto;
}
.nh-mobile-panel.is-open { right: 0; }
.nh-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 35, 61, 0.45);
    z-index: 890;
    display: none;
}
.nh-mobile-overlay.is-open { display: block; }
.nh-mobile-panel nav ul { list-style: none; padding: 0; margin: 0 0 20px; }
.nh-mobile-panel nav .sub-menu { padding-left: 16px; margin: 0; }
.nh-mobile-panel nav .sub-menu a { font-weight: 500; font-size: 14px; padding: 10px 4px; }
.nh-mobile-panel nav a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--nh-ivory-deep);
    color: var(--nh-navy);
    font-weight: 600;
}

/* ============================================================
   SITE SEARCH MODAL
   ============================================================ */
.nh-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 35, 61, 0.55);
    z-index: 2000;
}
.nh-search-overlay[hidden],
.nh-search-modal[hidden],
.nh-search-results[hidden] { display: none !important; }
.nh-search-modal {
    position: fixed;
    top: 8vh;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, 92vw);
    max-height: 82vh;
    background: var(--nh-card);
    border-radius: var(--nh-radius);
    box-shadow: var(--nh-shadow-lift);
    z-index: 2001;
    overflow-y: auto;
    padding: 20px 22px 22px;
}
.nh-search-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--nh-sand); border-radius: 8px; padding: 10px 12px; }
.nh-search-input { flex: 1; border: none; outline: none; font-size: 16px; font-family: var(--font-body); background: transparent; }
.nh-search-close, .nh-search-image-btn { background: none; border: none; cursor: pointer; color: var(--nh-slate); font-size: 16px; padding: 6px; }
.nh-search-close:hover, .nh-search-image-btn:hover { color: var(--nh-terracotta); }
.nh-search-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.nh-search-chip { border: 1px solid var(--nh-sand); background: var(--nh-ivory); color: var(--nh-slate); padding: 6px 13px; border-radius: 999px; font-size: 13px; cursor: pointer; }
.nh-search-chip.is-active, .nh-search-chip:hover { border-color: var(--nh-terracotta); color: var(--nh-terracotta-deep); background: var(--nh-terracotta-dim); }
.nh-search-results { list-style: none; margin-top: 16px; padding: 0; }
.nh-search-results a { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-radius: 8px; color: var(--nh-ink); }
.nh-search-results a:hover { background: var(--nh-terracotta-dim); text-decoration: none; }
.nh-search-results .nh-result-type { margin-left: auto; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--nh-terracotta); flex-shrink: 0; }
.nh-search-hint { color: var(--nh-slate); font-size: 13.5px; margin-top: 14px; }

/* ============================================================
   HERO / SECTIONS / CARDS (generic building blocks)
   ============================================================ */
.nh-hero {
    background: linear-gradient(135deg, var(--nh-navy), var(--nh-navy-2));
    color: #F4EFE4;
    padding: 64px 24px;
    text-align: center;
}
.nh-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.nh-hero p { color: rgba(244,239,228,0.85); font-size: 18px; max-width: 640px; margin: 12px auto 0; }
.nh-hero .nh-btn-group { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

.nh-hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 32px;
    border-top: 1px solid rgba(244, 239, 228, 0.18);
}
.nh-hero-stat { text-align: center; }
.nh-hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--nh-gold);
}
.nh-hero-stat span {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 239, 228, 0.7);
}

.nh-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 960px) { .nh-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nh-feature-grid { grid-template-columns: 1fr; } }
.nh-feature-card {
    background: var(--nh-card);
    border: 1px solid var(--nh-sand);
    border-radius: var(--nh-radius);
    padding: 24px 22px;
    transition: var(--nh-transition);
}
.nh-feature-card:hover { border-color: var(--nh-terracotta); box-shadow: var(--nh-shadow); transform: translateY(-2px); }
.nh-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--nh-terracotta-dim);
    color: var(--nh-terracotta-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.nh-feature-card h3 { font-size: 17px; margin: 0 0 6px; }
.nh-feature-card p { color: var(--nh-slate); font-size: 14px; margin: 0; }

.nh-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: nh-step;
}
@media (max-width: 760px) { .nh-steps { grid-template-columns: 1fr; } }
.nh-step { position: relative; padding-left: 52px; }
.nh-step::before {
    counter-increment: nh-step;
    content: counter(nh-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--nh-navy);
    color: var(--nh-gold);
    font-family: var(--font-display);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nh-step h3 { font-size: 17px; margin-bottom: 4px; }
.nh-step p { color: var(--nh-slate); font-size: 14px; margin: 0; }

/* ============================================================
   SIGNATURE MOTIF — reeded edge
   The milled/reeded edge of a coin, used as a recurring structural
   device between sections instead of a plain hairline rule.
   ============================================================ */
.nh-reeded {
    height: 14px;
    background-image: repeating-linear-gradient(
        90deg,
        var(--nh-sand) 0px,
        var(--nh-sand) 2px,
        transparent 2px,
        transparent 7px
    );
    opacity: 0.9;
}
.nh-reeded-dark {
    background-image: repeating-linear-gradient(
        90deg,
        rgba(244,239,228,0.28) 0px,
        rgba(244,239,228,0.28) 2px,
        transparent 2px,
        transparent 7px
    );
}

/* ============================================================
   HERO — two column, coin-disc visual on the right
   ============================================================ */
.nh-hero-grid {
    max-width: var(--nh-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    text-align: left;
}
@media (max-width: 860px) {
    .nh-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .nh-hero-grid .nh-btn-group, .nh-hero-grid .nh-hero-stats { justify-content: center; }
}
.nh-hero-grid h1 { text-align: left; }
.nh-hero-grid p { margin: 14px 0 0; }
@media (max-width: 860px) { .nh-hero-grid h1, .nh-hero-grid p { text-align: center; } }
.nh-hero-stats { justify-content: flex-start; }

.nh-coin-visual {
    position: relative;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1;
    margin: 0 auto;
}
.nh-coin-disc {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #E3AD5E, var(--nh-gold) 45%, var(--nh-terracotta-deep) 100%);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35), inset 0 0 0 10px rgba(255,255,255,0.08);
}
.nh-coin-disc::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background-image: repeating-conic-gradient(rgba(0,0,0,0.12) 0deg 2deg, transparent 2deg 6deg);
    opacity: 0.5;
}
.nh-coin-disc-back {
    position: absolute;
    inset: 0;
    transform: translate(22px, 26px) rotate(-8deg);
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #2A3A5C, var(--nh-navy-2) 55%, var(--nh-navy) 100%);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
    z-index: -1;
}
.nh-coin-monogram {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 92px;
    color: rgba(22,35,61,0.85);
}

/* ============================================================
   FEATURED COIN SPOTLIGHT
   ============================================================ */
.nh-spotlight {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 36px;
    align-items: center;
    background: var(--nh-card);
    border: 1px solid var(--nh-sand);
    border-radius: var(--nh-radius);
    padding: 32px;
}
@media (max-width: 760px) { .nh-spotlight { grid-template-columns: 1fr; } }
.nh-spotlight-visual { display: flex; justify-content: center; }
.nh-spotlight-price { font-family: var(--font-display); font-size: 26px; color: var(--nh-navy); margin: 10px 0 4px; }
.nh-spotlight-price span { font-family: var(--font-mono); font-size: 12px; color: var(--nh-slate); text-transform: uppercase; margin-left: 8px; }
.nh-spotlight-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 20px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.nh-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .nh-testimonial-grid { grid-template-columns: 1fr; } }
.nh-testimonial {
    background: var(--nh-card);
    border: 1px solid var(--nh-sand);
    border-radius: var(--nh-radius);
    padding: 24px;
}
.nh-testimonial-stars { color: var(--nh-gold); font-size: 13px; margin-bottom: 12px; letter-spacing: 2px; }
.nh-testimonial p.quote { font-family: var(--font-display); font-size: 17px; font-style: italic; color: var(--nh-navy); margin: 0 0 16px; line-height: 1.5; }
.nh-testimonial-author { display: flex; align-items: center; gap: 10px; }
.nh-testimonial-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--nh-terracotta-dim); color: var(--nh-terracotta-deep);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.nh-testimonial-author strong { display: block; font-size: 14px; color: var(--nh-navy); }
.nh-testimonial-author span { font-size: 12.5px; color: var(--nh-slate); }

/* ============================================================
   NEWSLETTER CTA BAND
   ============================================================ */
.nh-newsletter {
    background: var(--nh-terracotta);
    color: #fff;
    border-radius: var(--nh-radius);
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.nh-newsletter h3 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.nh-newsletter p { margin: 0; color: rgba(255,255,255,0.85); font-size: 14.5px; }
.nh-newsletter-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nh-newsletter-form input {
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 14px;
    width: 240px;
    max-width: 60vw;
}
.nh-newsletter-form button {
    background: var(--nh-navy);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
}
.nh-newsletter-form button:hover { background: var(--nh-navy-2); }

/* ============================================================
   MOTION — scroll reveal (respects reduced motion)
   ============================================================ */
.nh-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 640ms ease, transform 640ms ease;
}
.nh-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .nh-reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HERO COIN — mouse-tilt wrapper (JS sets --rx/--ry)
   ============================================================ */
.nh-tilt-zone { perspective: 900px; }
.nh-coin-visual {
    transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
    transition: transform 300ms ease;
}
@media (prefers-reduced-motion: reduce) {
    .nh-coin-visual { transform: none !important; transition: none; }
}

/* ============================================================
   COIN FLIP — obverse/reverse interaction (literal to the subject:
   every coin has two sides). Used on the Featured Coin spotlight.
   ============================================================ */
.nh-coin-flip { perspective: 1000px; cursor: pointer; background: none; border: none; padding: 0; display: block; width: 100%; max-width: 220px; }
.nh-coin-flip-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    transform-style: preserve-3d;
    transition: transform 700ms cubic-bezier(0.4, 0.2, 0.2, 1);
}
.nh-coin-flip.is-flipped .nh-coin-flip-inner { transform: rotateY(180deg); }
.nh-coin-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.nh-coin-face-front {
    background: radial-gradient(circle at 34% 30%, #E3AD5E, var(--nh-gold) 45%, var(--nh-terracotta-deep) 100%);
    box-shadow: 0 24px 60px rgba(0,0,0,0.32), inset 0 0 0 10px rgba(255,255,255,0.08);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 64px;
    color: rgba(22,35,61,0.85);
}
.nh-coin-face-back {
    background: radial-gradient(circle at 34% 30%, #2A3A5C, var(--nh-navy-2) 55%, var(--nh-navy) 100%);
    box-shadow: 0 24px 60px rgba(0,0,0,0.32), inset 0 0 0 10px rgba(255,255,255,0.08);
    transform: rotateY(180deg);
    color: var(--nh-gold);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 20px;
}
.nh-coin-face-back strong { font-family: var(--font-display); font-size: 15px; color: #F4EFE4; text-transform: none; letter-spacing: normal; margin-top: 6px; }
.nh-coin-flip-hint {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nh-slate);
    margin-top: 10px;
}
@media (prefers-reduced-motion: reduce) {
    .nh-coin-flip-inner { transition: none; }
}

/* ============================================================
   LEGEND TICKER — scrolling strip of real numismatic
   abbreviations (structure that encodes real content, not a
   generic marquee)
   ============================================================ */
.nh-ticker {
    overflow: hidden;
    background: var(--nh-ivory-deep);
    border-top: 1px solid var(--nh-sand);
    border-bottom: 1px solid var(--nh-sand);
    padding: 12px 0;
}
.nh-ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: nh-ticker-scroll 32s linear infinite;
}
.nh-ticker-item {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 0 28px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--nh-slate);
    border-right: 1px solid var(--nh-sand);
}
.nh-ticker-item strong { color: var(--nh-terracotta-deep); font-size: 14px; }
@keyframes nh-ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .nh-ticker-track { animation: none; }
    .nh-ticker { overflow-x: auto; }
}




.nh-section { padding: 56px 24px; }
.nh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .nh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .nh-grid { grid-template-columns: 1fr; } }

.nh-card {
    background: var(--nh-card);
    border: 1px solid var(--nh-sand);
    border-radius: var(--nh-radius);
    overflow: hidden;
    transition: var(--nh-transition);
}
.nh-card:hover { box-shadow: var(--nh-shadow); transform: translateY(-2px); }
.nh-card-body { padding: 18px 20px; }
.nh-card-eyebrow { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--nh-terracotta); }
.nh-card h3 { font-size: 19px; margin: 6px 0 8px; }
.nh-card p { color: var(--nh-slate); font-size: 14.5px; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.nh-footer {
    background: var(--nh-navy);
    color: rgba(244,239,228,0.82);
    padding: 48px 24px 24px;
    margin-top: 64px;
}
.nh-footer-grid { max-width: var(--nh-container); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .nh-footer-grid { grid-template-columns: 1fr 1fr; } }
.nh-footer h4 { color: #F4EFE4; font-size: 15px; margin-bottom: 12px; }
.nh-footer ul { list-style: none; padding: 0; margin: 0; }
.nh-footer li { margin-bottom: 8px; }
.nh-footer a { color: rgba(244,239,228,0.75); font-size: 14px; }
.nh-footer a:hover { color: var(--nh-gold); }
.nh-footer-bottom {
    max-width: var(--nh-container);
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(244,239,228,0.15);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(244,239,228,0.55);
}
