/* =========================================================
   IGNE Publishing — Design tokens
   Ink (deep space) + Signal (amber) + Deep Teal + Paper
   Display: Fraunces · Body: Inter · Data: IBM Plex Mono
   ========================================================= */

:root {
    --ink: #0E1420;
    --ink-2: #161D2E;
    --ink-3: #202A40;
    --paper: #F3EFE6;
    --paper-dim: #E7E1D3;
    --signal: #E8A33D;
    --signal-dim: #C7862A;
    --teal: #1B4B4A;
    --teal-bright: #2E7D78;
    --ash: #EDEDE6;
    --slate: #93A0B4;
    --slate-dim: #5B6472;
    --line: rgba(237, 237, 230, 0.14);

    --font-display: 'Fraunces', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --radius: 10px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ink);
    color: var(--ash);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--signal);
    color: var(--ink);
    padding: 10px 16px;
    z-index: 100;
    font-family: var(--font-mono);
    font-size: 14px;
}
.skip-link:focus { left: 16px; top: 16px; }

a { color: inherit; text-decoration: none; }

:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 3px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

p { margin: 0; }

/* =========================================================
   Header / nav
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(14, 20, 32, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--signal);
    color: var(--signal);
    font-size: 13px;
    letter-spacing: 0.04em;
}
.brand-mark.small { width: 28px; height: 28px; font-size: 11px; }

.brand-word {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--ash);
    letter-spacing: -0.01em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13.5px;
}

.site-nav a { color: var(--slate); transition: color .15s ease; white-space: nowrap; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ash); }

.nav-cta {
    border: 1px solid var(--signal);
    color: var(--signal) !important;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 12.5px;
}
.nav-cta:hover { background: var(--signal); color: var(--ink) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--ash);
}

/* =========================================================
   Hero + orbital signature element
   ========================================================= */

.hero {
    padding: 88px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero.has-hero-image {
    background-size: cover;
    background-position: center;
}

.hero.has-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(14,20,32,0.97) 0%, rgba(14,20,32,0.88) 45%, rgba(14,20,32,0.7) 100%);
    pointer-events: none;
}

.hero-grid { position: relative; z-index: 1; }
/* Drop a file at assets/img/hero.webp and it becomes the hero background automatically — see gs_image_url() in includes/config.php. Recommended: 2400x1400 webp, under 300kb, dark/moody so the ink overlay above reads cleanly against it. */

.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 600px;
    background: radial-gradient(ellipse at 30% 20%, rgba(232, 163, 61, 0.10), transparent 60%),
                radial-gradient(ellipse at 80% 10%, rgba(46, 125, 120, 0.14), transparent 55%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 20px;
}
.eyebrow::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--signal);
}

.hero h1 {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    line-height: 1.08;
    color: var(--ash);
    max-width: 15ch;
}

.hero h1 em {
    font-style: italic;
    color: var(--signal);
}

.hero-sub {
    margin-top: 22px;
    font-size: 17px;
    color: var(--slate);
    max-width: 46ch;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--signal);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    padding: 15px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease;
}
.btn-primary:hover { background: var(--ash); transform: translateY(-1px); }

.hero-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--slate-dim);
}
.hero-meta strong { color: var(--slate); }

/* Orbital diagram */
.orbital {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 460px;
    margin: 0 auto;
}

.orbital svg { width: 100%; height: 100%; overflow: visible; }

.orbital-ring {
    fill: none;
    stroke: var(--line);
    stroke-dasharray: 2 6;
}

.orbital-link {
    stroke: rgba(232, 163, 61, 0.35);
    stroke-width: 1;
    fill: none;
}

.orbital-hub {
    fill: var(--ink-2);
    stroke: var(--signal);
    stroke-width: 1.5;
}

.orbital-hub-label {
    font-family: var(--font-mono);
    font-size: 15px;
    fill: var(--ash);
    text-anchor: middle;
}

.orbital-node-group {
    cursor: pointer;
}

.orbital-node {
    fill: var(--ink-2);
    stroke: var(--slate-dim);
    stroke-width: 1.2;
    transition: stroke .2s ease, fill .2s ease;
}

.orbital-node-group:hover .orbital-node,
.orbital-node-group:focus .orbital-node {
    stroke: var(--signal);
    fill: var(--ink-3);
}

.orbital-node-label {
    font-family: var(--font-mono);
    font-size: 11.5px;
    fill: var(--slate);
    text-anchor: middle;
    transition: fill .2s ease;
}
.orbital-node-group:hover .orbital-node-label,
.orbital-node-group:focus .orbital-node-label { fill: var(--ash); }

.orbital-node-count {
    font-family: var(--font-mono);
    font-size: 10px;
    fill: var(--slate-dim);
    text-anchor: middle;
}

@media (prefers-reduced-motion: no-preference) {
    .orbital-spin { animation: gs-spin 90s linear infinite; transform-origin: center; }
    @keyframes gs-spin { to { transform: rotate(360deg); } }
}

/* =========================================================
   Section scaffolding
   ========================================================= */

.section {
    padding: 84px 0;
    border-top: 1px solid var(--line);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-bright);
    margin-bottom: 10px;
    display: block;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--ash);
}

.section-head p {
    color: var(--slate);
    max-width: 46ch;
}

/* =========================================================
   Category cards (homepage grid into the four sections)
   ========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.category-card {
    background: var(--ink-2);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .15s ease;
}
.category-card:hover { background: var(--ink-3); }

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232,163,61,0.14), rgba(27,75,74,0.3));
    border: 1px solid var(--line);
    color: var(--signal);
    font-size: 16px;
}

.category-code {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--signal);
    letter-spacing: 0.06em;
}

.category-card h3 { font-size: 1.25rem; color: var(--ash); }

.category-card p { color: var(--slate); font-size: 14.5px; flex-grow: 1; }

.category-count {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--slate-dim);
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

/* =========================================================
   Manifest — property log/list (not generic cards)
   ========================================================= */

.manifest {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.manifest-row {
    display: grid;
    grid-template-columns: 90px 1.6fr 1.4fr auto;
    gap: 24px;
    align-items: center;
    padding: 26px 28px;
    border-bottom: 1px solid var(--line);
    transition: background .15s ease;
}
.manifest-row:last-child { border-bottom: none; }
.manifest-row:hover { background: var(--ink-2); }

.manifest-code {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--slate-dim);
}

.manifest-thumb {
    width: 88px;
    height: 66px;
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(232,163,61,0.16), rgba(27,75,74,0.35));
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 18px;
    flex-shrink: 0;
    overflow: hidden;
}
/* Placeholder now — swap for <img src="/assets/img/screenshots/{slug}.webp" width="440" height="330" loading="lazy" alt="..."> once real screenshots are captured. Recommended: 1200x900 webp, under 150kb. */

.manifest-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.manifest-main { display: flex; align-items: center; gap: 16px; }

.manifest-name-block h3 {
    font-size: 17px;
    color: var(--ash);
    font-family: var(--font-body);
    font-weight: 600;
}
.manifest-domain {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--signal);
    margin-top: 3px;
    display: inline-block;
}

.manifest-detail p { color: var(--slate); font-size: 14.5px; line-height: 1.6; }

.manifest-tags {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    border: 1px solid var(--line);
    padding: 3px 9px;
    border-radius: 999px;
}

.manifest-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.status {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid;
}
.status-live { color: var(--teal-bright); border-color: var(--teal-bright); }
.status-build { color: var(--signal); border-color: var(--signal); }

.manifest-visit {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--slate);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.manifest-visit:hover { color: var(--ash); }

/* =========================================================
   Category page intro band
   ========================================================= */

.category-hero {
    padding: 56px 0 20px;
    border-bottom: 1px solid var(--line);
}
.category-hero .section-eyebrow { color: var(--signal); }
.category-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--ash); max-width: 20ch; }
.category-hero .lede { margin-top: 16px; color: var(--slate); max-width: 52ch; font-size: 16.5px; line-height: 1.7; }

.crumb {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--slate-dim);
    margin-bottom: 20px;
}
.crumb a { color: var(--slate); }
.crumb a:hover { color: var(--signal); }

/* =========================================================
   Forms (contact, consulting intake)
   ========================================================= */

.gs-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--slate);
    letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--ash);
    font-family: var(--font-body);
    font-size: 15px;
}

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--signal); }

.field-note { color: var(--slate-dim); font-size: 11.5px; }

.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--ash);
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid var(--line);
    transition: border-color .15s ease, color .15s ease;
}
.btn-secondary:hover { border-color: var(--signal); color: var(--signal); }

.form-status {
    font-family: var(--font-mono);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-status.ok { color: var(--teal-bright); }
.form-status.error { color: var(--signal); }

.booking-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 40px;
}
.booking-note i { color: var(--signal); font-size: 18px; margin-top: 3px; }
.booking-note h3 { font-size: 15.5px; color: var(--ash); margin-bottom: 6px; }
.booking-note p { color: var(--slate); font-size: 14px; }

/* =========================================================
   Product grid (shop)
   ========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.product-card {
    background: var(--ink-2);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232,163,61,0.14), rgba(27,75,74,0.3));
    border: 1px solid var(--line);
    color: var(--signal);
    font-size: 19px;
    overflow: hidden;
}
/* Placeholder icon tile — swap for <img src="/assets/img/products/<slug>.webp" width="440" height="280" loading="lazy" alt="..."> once product covers/mockups exist. Recommended: 800x500 webp. */

.product-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.product-format {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--slate);
    border: 1px solid var(--line);
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.product-card h3 { font-size: 17.5px; color: var(--ash); font-family: var(--font-body); font-weight: 600; }
.product-card p.product-summary { color: var(--slate); font-size: 14px; line-height: 1.6; }
.product-card p.product-detail { color: var(--slate-dim); font-size: 13px; line-height: 1.6; flex-grow: 1; }

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.product-price {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--ash);
}

.product-tiers {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-tier-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
}

.product-tier-label {
    font-size: 12.5px;
    color: var(--slate);
    line-height: 1.3;
}

.product-tier-price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ash);
}

.btn-buy-sm {
    font-size: 11px;
    padding: 6px 12px;
}

.btn-buy {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--ink);
    background: var(--signal);
    border: none;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s ease;
}
.btn-buy:hover { background: var(--ash); }

/* =========================================================
   CTA band
   ========================================================= */

.cta-band {
    padding: 90px 0;
    text-align: center;
    background: var(--ink-2);
    border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--ash); max-width: 20ch; margin: 0 auto 18px; }
.cta-band p { color: var(--slate); max-width: 44ch; margin: 0 auto 32px; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 0; margin-top: 40px; }

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

.footer-brand { display: flex; gap: 12px; align-items: flex-start; max-width: 280px; }
.footer-name { font-family: var(--font-display); font-size: 16px; color: var(--ash); }
.footer-sub { color: var(--slate-dim); font-size: 13px; margin-top: 4px; }

.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.footer-nav a { color: var(--slate); }
.footer-nav a:hover { color: var(--ash); }

.footer-share-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate-dim);
    display: block;
    margin-bottom: 10px;
    text-align: right;
}
.share-row { display: flex; gap: 8px; }
.share-btn {
    width: 34px; height: 34px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: none;
    color: var(--slate);
    cursor: pointer;
    font-size: 13px;
    transition: color .15s ease, border-color .15s ease;
}
.share-btn:hover { color: var(--signal); border-color: var(--signal); }

.footer-legal {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 12.5px;
}
.footer-legal-nav a { color: var(--slate-dim); }
.footer-legal-nav a:hover { color: var(--ash); }

.footer-contact-link {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--slate-dim);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-contact-link:hover { color: var(--signal); }

.footer-bottom {
    border-top: 1px solid var(--line);
    padding: 20px 0 28px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--slate-dim);
}

/* =========================================================
   Toast (share copy confirmation)
   ========================================================= */
.gs-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--ash);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 999px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 200;
}
.gs-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =========================================================
   Featured properties (homepage)
   ========================================================= */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.featured-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .15s ease, transform .15s ease;
}
.featured-card:hover { border-color: var(--signal); transform: translateY(-2px); }

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--signal);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
}

.featured-thumb {
    height: 200px;
    background: linear-gradient(135deg, rgba(232,163,61,0.18), rgba(27,75,74,0.4));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 32px;
    overflow: hidden;
}
.featured-thumb-img { width: 100%; height: 100%; object-fit: cover; }
/* Placeholder now — swap for a real screenshot at assets/img/screenshots/{slug}.webp per gs_image_slot(). Recommended: 1200x600 webp. */

.featured-body {
    padding: 24px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-body h3 {
    font-size: 20px;
    color: var(--ash);
    font-family: var(--font-body);
    font-weight: 600;
}

.featured-body > p { color: var(--slate); font-size: 14.5px; }
.featured-detail { color: var(--slate-dim) !important; font-size: 13.5px !important; line-height: 1.6; }

.featured-visit {
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--signal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =========================================================
   Legal / policy prose
   ========================================================= */

.legal-content {
    max-width: 720px;
    color: var(--slate);
    font-size: 15.5px;
    line-height: 1.75;
}
.legal-content h2 {
    font-size: 1.15rem;
    color: var(--ash);
    font-family: var(--font-body);
    font-weight: 600;
    margin-top: 44px;
    margin-bottom: 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--signal); }
.legal-updated {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--slate-dim);
    margin-bottom: 36px;
    display: block;
}
.legal-notice {
    background: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 22px;
    font-size: 13.5px;
    color: var(--slate-dim);
    margin-bottom: 40px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .orbital { max-width: 340px; margin-top: 20px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .product-grid { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 1040px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: 72px; left: 0; right: 0;
        background: var(--ink);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 24px 20px;
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .site-nav a.nav-cta { border: 1px solid var(--signal); margin-top: 12px; text-align: center; }
}

@media (max-width: 760px) {
    .manifest-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .manifest-side { align-items: flex-start; }
    .manifest-code { display: none; }

    .category-grid { grid-template-columns: 1fr; }
    .footer-row { flex-direction: column; }
    .footer-share-label { text-align: left; }
}
