/* ==========================================================================
   VorreiX Homepage — black & white premium theme
   Loaded only by index.html, layered on top of the shared css/style.css.
   ========================================================================== */

:root {
    /* Engineered editorial type system:
       Archivo (variable, wdth axis) for display, Inter for body/UI,
       IBM Plex Mono strictly for the small label layer — numerals,
       status tags, eyebrows, technical annotations. */
    --font-display: 'Archivo', Inter, system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

    --hp-black: #050505;
    --hp-carbon: #0d0b08;
    --hp-graphite: #171512;
    --hp-white: #ffffff;
    --hp-offwhite: #f7f5ef;
    --hp-muted: #a7a29c;
    --hp-border: rgba(247, 245, 239, 0.14);

    /* Signature accent — the one controlled company color on the page.
       Used only for primary buttons, chapter numerals/tags, thin divider
       lines, and focus states. Never a large fill, never a card. */
    --hp-gold: #d99a2b;
    --hp-gold-hover: #f2b84b;

    /* Product accents — restrained and product-specific only (CLAUDE.md).
       Drawn from each product's own identity: Vorrei's periwinkle,
       ProfitSync's green, TuneVA's coral. Applied only inside that
       product's row: numeral, status pill, CTA hover, frame hover. */
    --accent-vorrei: #8f94f3;
    --accent-profitsync: #4fc78e;
    --accent-tuneva: #e08573;

    --hp-bg: var(--hp-black);
    --hp-bg-alt: var(--hp-carbon);
    --hp-surface: rgba(247, 245, 239, 0.04);
    --hp-surface-hover: rgba(247, 245, 239, 0.07);
    --hp-radius: 18px;
}

body.homepage {
    background: var(--hp-bg);
    color: var(--hp-offwhite);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
}

body.homepage a {
    color: var(--hp-offwhite);
    text-decoration: none;
}

body.homepage a:hover {
    color: var(--hp-gold);
}

body.homepage p a,
body.homepage .footer-col a,
body.homepage .footer-legal a {
    text-decoration: underline;
    text-decoration-color: var(--hp-border);
    text-underline-offset: 3px;
}

body.homepage p a:hover,
body.homepage .footer-col a:hover,
body.homepage .footer-legal a:hover {
    text-decoration-color: var(--hp-gold);
}

body.homepage .nav-links a,
body.homepage .logo a,
body.homepage .btn {
    text-decoration: none;
}

body.homepage ::selection {
    background: var(--hp-gold);
    color: var(--hp-black);
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -60px;
    left: 1rem;
    background: var(--hp-white);
    color: var(--hp-black);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 2000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

body.homepage :focus-visible {
    outline: 2px solid var(--hp-gold);
    outline-offset: 3px;
}

/* Reveal-on-scroll base state (see js/script.js IntersectionObserver).
   Overrides the shared .fade-in keyframe (which animates transform with a
   forwards fill) with an opacity-only version, so :hover tilt transforms
   on these elements are never locked out by a finished animation.
   A <noscript> rule in index.html forces .reveal visible when JS is off. */
.reveal {
    opacity: 0;
}

body.homepage .reveal.fade-in {
    animation: hpRevealIn 0.6s ease-out forwards;
}

@keyframes hpRevealIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
    }

    body.homepage .reveal.fade-in {
        animation: none;
    }
}

/* Section rhythm — deliberately uneven: dense product block, breathing
   narrative blocks, a compact careers coda, a spacious closing CTA. */
body.homepage section {
    position: relative;
    padding: 7rem 0;
}

body.homepage #products {
    padding: 8.5rem 0 7.5rem;
}

body.homepage #company {
    padding: 6.5rem 0;
}

body.homepage #why {
    background: var(--hp-bg-alt);
    border-top: 1px solid var(--hp-border);
    border-bottom: 1px solid var(--hp-border);
}

body.homepage h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3.25rem);
    line-height: 1.06;
    font-weight: 700;
    font-stretch: 105%;
    letter-spacing: -0.025em;
    color: var(--hp-white);
}

/* No decorative underline dash on the homepage — reads as leftover theme
   chrome once the rest of the page stops centering everything. */
body.homepage h2:after {
    content: none;
}

.section-tag {
    display: inline-block;
    position: relative;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-gold);
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
}

/* Editorial chapter numeral — replaces the repeated uppercase eyebrow
   chip on the page's three narrative sections (Products/Why/Company).
   The thin gold rule beneath it is the page's one recurring "divider
   line" use of the signature accent. */
.section-index {
    display: block;
    position: relative;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--hp-gold);
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
}

.section-tag:after,
.section-index:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--hp-gold);
}

body.homepage section > .container > .section-tag,
body.homepage section > .container > .section-index,
body.homepage section > .container > h2 {
    display: block;
    text-align: left;
}

.section-intro {
    max-width: 640px;
    margin: 0 0 3rem;
    text-align: left;
    color: var(--hp-muted);
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */

/* Solid, deliberate header — no glass blur. */
body.homepage header {
    background: rgba(5, 5, 5, 0.96);
    box-shadow: none;
    border-bottom: 1px solid var(--hp-border);
}

body.homepage header.scrolled {
    background: var(--hp-black);
}

body.homepage .logo img {
    filter: brightness(0) invert(1);
}

body.homepage .nav-links li {
    margin-left: 1.15rem;
}

body.homepage .nav-links a {
    color: var(--hp-muted);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.homepage .nav-links a.btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    text-transform: none;
}

body.homepage .nav-links a:after {
    background: var(--hp-gold);
}

body.homepage .nav-links a:hover {
    color: var(--hp-gold);
}

.nav-cta-item {
    margin-left: 1rem !important;
}

.nav-cta-item .btn {
    margin: 0;
}

body.homepage .nav-links a.btn-primary {
    color: var(--hp-black);
}

body.homepage .nav-links a.btn-primary:hover {
    color: var(--hp-white);
}

.btn-sm {
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
}

body.homepage .hamburger span {
    background-color: var(--hp-white);
}

@media (max-width: 768px) {
    body.homepage .nav-links {
        background: var(--hp-black);
        border-left: 1px solid var(--hp-border);
    }

    body.homepage .nav-links li {
        margin-left: 0;
    }

    .nav-cta-item {
        margin-left: 0 !important;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

body.homepage .btn {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 4px;
}

/* Balanced button rows — gap instead of the shared stylesheet's trailing
   margins, so centered rows sit on true center. */
body.homepage .cta-buttons {
    gap: 1rem;
}

body.homepage .cta-buttons .btn {
    margin: 0;
}

body.homepage .btn-primary {
    background: var(--hp-gold);
    color: var(--hp-black);
    border: 2px solid var(--hp-gold);
    font-weight: 600;
}

body.homepage .btn-primary:hover {
    background: var(--hp-gold-hover);
    border-color: var(--hp-gold-hover);
    color: var(--hp-black);
}

body.homepage .btn-secondary {
    background: transparent;
    border: 2px solid rgba(247, 245, 239, 0.35);
    color: var(--hp-white);
}

body.homepage .btn-secondary:hover {
    background: rgba(247, 245, 239, 0.08);
    border-color: var(--hp-white);
    color: var(--hp-white);
}

/* ==========================================================================
   Hero
   ========================================================================== */

body.homepage #hero {
    min-height: 100vh;
    height: auto;
    background: var(--hp-bg);
    padding-top: 140px;
    padding-bottom: 6rem;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Static, monochrome hairline rule — restrained editorial texture behind
   the hero copy. No blur, no color, no motion; must read the same in a
   static screenshot as it does live. */
.hero-lines {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(247, 245, 239, 0.04) 1px, transparent 1px);
    background-size: 100% 64px;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

/* Ghost brand mark — the X icon inverted to white and pushed to near-
   invisible opacity so it reads as depth/texture, not a watermark. Lives
   in the same background layer as the hairline rule, so it is behind all
   hero content; #hero's overflow:hidden crops it safely when it runs past
   the edge of the viewport. */
.hero-brand-mark {
    position: absolute;
    top: 14%;
    right: -9vw;
    width: clamp(420px, 42vw, 760px);
    height: auto;
    opacity: 0.055;
    filter: invert(1);
    transform: rotate(-8deg);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    /* Barely-perceptible drift — the page breathes without decoration. */
    animation: markDrift 32s ease-in-out infinite alternate;
}

@keyframes markDrift {
    from { transform: rotate(-8deg) translateY(0); }
    to { transform: rotate(-8deg) translateY(-26px); }
}

@media (max-width: 992px) {
    .hero-brand-mark {
        width: clamp(260px, 46vw, 400px);
        opacity: 0.045;
        top: 3%;
        right: -20vw;
    }
}

@media (max-width: 600px) {
    .hero-brand-mark {
        display: none;
    }
}

/* ==========================================================================
   Hero stage — centered, one enormous two-line statement that rises line
   by line, a gold rule that draws itself, then the CTAs and one quiet
   supporting line. Every entrance is pure CSS (`animation … both`), so it
   runs without JS and collapses to a fully-visible static composition
   under prefers-reduced-motion or in browsers with no animation support.
   ========================================================================== */

.hero-stage {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hp-muted);
    margin-bottom: 2.25rem;
}

body.homepage .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7.4vw, 6.75rem);
    line-height: 1;
    font-weight: 800;
    font-stretch: 110%;
    letter-spacing: -0.035em;
    color: var(--hp-white);
    margin-bottom: 0;
}

/* Each line is masked; its inner span rises into view. Padding keeps
   descenders and the italic-free overshoot out of the clip. */
.hero-line {
    display: block;
    overflow: hidden;
    padding: 0.03em 0.12em 0.08em;
}

.hero-line-inner {
    display: block;
    will-change: transform;
}

@keyframes heroLineUp {
    from { transform: translateY(112%); }
    to { transform: translateY(0); }
}

.hero-in-line-1 {
    animation: heroLineUp 1s cubic-bezier(0.19, 1, 0.22, 1) 0.25s both;
}

.hero-in-line-2 {
    animation: heroLineUp 1s cubic-bezier(0.19, 1, 0.22, 1) 0.42s both;
}

/* Shared entrance for the quieter elements. */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-in {
    animation: heroRise 0.9s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero-in-1 { animation-delay: 0.1s; }
.hero-in-2 { animation-delay: 0.85s; }
.hero-in-3 { animation-delay: 1s; }
.hero-in-4 { animation-delay: 1.3s; }

/* The one gold motion on the page: a rule that draws itself once the
   statement has landed — "now I can." */
.hero-rule {
    width: 68px;
    height: 2px;
    background: var(--hp-gold);
    margin: 2.5rem auto 2.25rem;
    animation: heroRule 0.8s cubic-bezier(0.19, 1, 0.22, 1) 1.15s both;
}

@keyframes heroRule {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.hero-sub {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--hp-muted);
    max-width: 580px;
    margin: 0 auto 2.5rem;
}

.hero-stage .cta-buttons {
    justify-content: center;
}

/* One quiet supporting line — the hero names the product situation
   honestly without becoming a second catalog. Routing happens in
   #products, not here. */
.hero-support {
    margin-top: 3.25rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-muted);
}


/* ==========================================================================
   Products — the page's single product showcase. Two screenshot-led live
   cards side by side, TuneVA as one honest in-development lane beneath.
   ========================================================================== */

/* Per-product accent scoping — the accent-* class on an element sets the
   one variable its own numeral, pill, and hovers consume. */
.accent-vorrei { --row-accent: var(--accent-vorrei); }
.accent-profitsync { --row-accent: var(--accent-profitsync); }
.accent-tuneva { --row-accent: var(--accent-tuneva); }

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--hp-border);
    border-radius: 12px;
    background: rgba(247, 245, 239, 0.02);
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.product-card:hover {
    border-color: var(--row-accent, rgba(247, 245, 239, 0.35));
    background: rgba(247, 245, 239, 0.03);
    transform: translateY(-4px);
}

.product-card-media {
    display: block;
    border-bottom: 1px solid var(--hp-border);
}

.product-card-media img {
    display: block;
    width: 100%;
    height: auto;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.75rem 2rem 2rem;
}

.product-card-head {
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.product-card-index {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--row-accent, var(--hp-muted));
}

.product-card-head h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 700;
    font-stretch: 105%;
    letter-spacing: -0.02em;
    color: var(--hp-white);
    margin-bottom: 0;
}

/* Live products get a small gold highlight; the not-yet-live one stays
   deliberately muted — the accent signals "real and shipped," not just
   "this is a product card." */
.product-status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--row-accent, var(--hp-offwhite));
    border: 1px solid var(--hp-border);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
}

.product-status-pending {
    color: var(--hp-muted);
    border-style: dashed;
}

.product-card-tagline {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--hp-offwhite);
    margin-bottom: 0.75rem;
}

.product-card-desc {
    color: var(--hp-muted);
    font-size: 0.95rem;
    max-width: 480px;
    margin-bottom: 1.5rem;
}

/* A real button, not a text link — the card's one clear action. */
.product-card-cta {
    display: inline-block;
    margin-top: auto;
    align-self: flex-start;
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(247, 245, 239, 0.32);
    border-radius: 4px;
    font-weight: 600;
    color: var(--hp-white);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.product-card-cta:hover {
    border-color: var(--row-accent, var(--hp-gold));
    color: var(--row-accent, var(--hp-gold));
}

.product-frame-bar {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid var(--hp-border);
}

.product-frame-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(247, 245, 239, 0.25);
}

.product-frame-url {
    margin-left: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    color: var(--hp-muted);
}

.product-frame-open {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--hp-muted);
    opacity: 0.6;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.product-card:hover .product-frame-open,
.product-card-media:focus-visible .product-frame-open {
    opacity: 1;
    color: var(--row-accent, var(--hp-offwhite));
}

/* TuneVA — full-width in-development lane: copy left, restrained
   placeholder frame right. Honest about not being live: no screenshot,
   no external link, dashed placeholder lines instead. */
.product-card-wide {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
}

.product-card-wide .product-card-body {
    flex: 1;
    justify-content: center;
    padding: 2rem 2.5rem;
}

.product-card-wide .product-card-media {
    order: 2;
    width: 46%;
    flex-shrink: 0;
    border-bottom: none;
    border-left: 1px solid var(--hp-border);
}

.product-frame-building {
    display: flex;
    flex-direction: column;
}

.product-frame-building-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 2.5rem 2rem;
    min-height: 200px;
}

.product-frame-building-line {
    display: block;
    height: 0;
    border-top: 1px dashed rgba(247, 245, 239, 0.22);
}

.product-frame-building-label {
    margin-top: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

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

    .product-card-wide {
        flex-direction: column;
    }

    .product-card-wide .product-card-media {
        order: -1;
        width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--hp-border);
    }

    .product-card-wide .product-card-body {
        padding: 1.75rem 2rem 2rem;
    }
}

/* ==========================================================================
   Company — asymmetric editorial spread: heading column left, narrative
   right, closing line set as a display statement. The page's one
   deliberately off-axis composition between the products and the CTA.
   ========================================================================== */

.company-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem 4rem;
    align-items: start;
}

/* Nested one level deeper than the section > .container > h2 rule that
   normally left-aligns headings — restate it for the grid columns. */
.company-head .section-index,
.company-head h2,
.company-body .section-intro {
    text-align: left;
}

.company-head h2 {
    margin-bottom: 0;
}

.company-body .section-intro {
    margin-bottom: 2rem;
}

.company-closing {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.7vw, 2.15rem);
    font-weight: 700;
    font-stretch: 105%;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--hp-white);
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .company-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Why VorreiX — "Built from lived problems"
   ========================================================================== */

/* Editorial 2x2 grid — four frictions as indexed cells rather than a
   stacked list, so the section reads engineered instead of thin. */
.friction-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 3.5rem;
    max-width: 920px;
    margin: 0 0 2.5rem;
}

.friction-list li {
    color: var(--hp-offwhite);
    border-top: 1px solid var(--hp-border);
    padding: 1.4rem 0 1.6rem;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: border-color 0.3s ease;
}

.friction-list li:hover {
    border-color: rgba(247, 245, 239, 0.45);
}

@media (max-width: 700px) {
    .friction-list {
        grid-template-columns: 1fr;
    }
}

.section-outro {
    max-width: 640px;
    margin: 0;
    color: var(--hp-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   Careers — smaller, warmer, not dominant
   ========================================================================== */

body.homepage #careers {
    background: var(--hp-bg);
    padding: 4.5rem 0;
}

body.homepage #careers .section-intro {
    margin-bottom: 2rem;
}

.careers-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.careers-actions .btn {
    margin: 0;
}

/* ==========================================================================
   Final CTA — the one deliberately centered moment on the page, used once
   as a closing punctuation mark rather than the default rhythm.
   ========================================================================== */

body.homepage #cta {
    background: var(--hp-carbon);
    border-top: 1px solid var(--hp-border);
    border-bottom: 1px solid var(--hp-border);
    text-align: center;
    padding: 8rem 0;
}

body.homepage #cta h2 {
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

body.homepage #cta h2,
body.homepage #cta .section-intro {
    text-align: center;
}

body.homepage #cta .section-intro {
    margin-left: auto;
    margin-right: auto;
}

body.homepage #cta .cta-buttons {
    justify-content: center;
}

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

body.homepage #contact {
    background: var(--hp-bg);
}

body.homepage footer {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    text-align: left;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--hp-border);
}

.footer-brand .footer-logo {
    height: 32px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--hp-muted);
    max-width: 320px;
    margin-bottom: 0;
}

.footer-col h3 {
    color: var(--hp-white);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a,
.footer-col p {
    color: var(--hp-muted);
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom p {
    color: var(--hp-muted);
    margin-bottom: 0.5rem;
}

.footer-legal {
    font-size: 0.75rem;
    color: rgba(247, 245, 239, 0.6);
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    body.homepage section,
    body.homepage #products,
    body.homepage #company,
    body.homepage #cta {
        padding: 4.5rem 0;
    }

    body.homepage #hero {
        padding-top: 120px;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .product-card-body {
        padding: 1.5rem 1.5rem 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    body.homepage section,
    body.homepage #products,
    body.homepage #company,
    body.homepage #cta {
        padding: 3.75rem 0;
    }

    body.homepage #hero {
        padding-top: 110px;
        padding-bottom: 3.5rem;
    }

    .hero-rule {
        margin: 1.75rem auto 1.5rem;
    }
}

/* Narrow phones — the big statement stays big; the second line may wrap
   inside its mask, which reveals as one block and still reads clean. */
@media (max-width: 380px) {
    body.homepage .hero-title {
        font-size: 1.85rem;
        line-height: 1.05;
    }

    .hero-sub {
        font-size: 0.98rem;
    }
}

/* ==========================================================================
   Reduced motion — kill every animation; all base states are the final
   visible composition, so the page is simply, instantly there.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-in,
    .hero-in-line-1,
    .hero-in-line-2,
    .hero-line-inner,
    .hero-rule,
    .hero-brand-mark {
        animation: none !important;
    }
}

