﻿/* ============================================================
   SPARK CUSTOM STORE — ABOUT PAGE
   Display: Barlow Condensed  ·  Body: Inter
   Brand: Red #C1121F · Black #111 · White #FFF

   Background images are set via inline --bg CSS variable on each
   .has-bg section. Overlays are applied with ::after per variant.
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: #111;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
    --red:         #C1121F;
    --red-dark:    #8a0d16;
    --red-soft:    #e23a44;
    --black:       #111111;
    --steel:       #181818;
    --gray-dark:   #444;
    --gray-mid:    #6b6b6b;
    --gray-light:  #f5f5f6;
    --gray-border: #e4e4e6;
    --white:       #fff;

    --grad-red:    linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);

    --ff-display:  'Bricolage Grotesque', sans-serif;
    --ff-body:     'Montserrat', sans-serif;

    --container:   clamp(1180px, 78vw, 2200px);
    --section-py:  92px;
    --radius:      10px;
    --radius-lg:   18px;

    --shadow-sm:   0 2px 10px rgba(0,0,0,.06);
    --shadow-md:   0 10px 30px rgba(0,0,0,.10);
    --shadow-lg:   0 24px 60px rgba(0,0,0,.16);
    --shadow-red:  0 14px 34px rgba(193,18,31,.32);
    --glow-red:    0 0 70px rgba(193,18,31,.28);
}
@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
:root {

    --container:   clamp(1180px, 104vw, 2200px);
} }

/* ── LAYOUT HELPERS ──────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

.section { padding-block: var(--section-py); position: relative; }

.txt-red { color: var(--red); }

/* ══════════════════════════════════════════════════════════
   BACKGROUND IMAGE SYSTEM
   Each .has-bg reads --bg from the inline style attribute.
   Overlays via ::after — variant classes control the tint.
══════════════════════════════════════════════════════════ */
.has-bg { position: relative; isolation: isolate; }

.has-bg::before {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    will-change: transform;
}

/* Default dark overlay */
.has-bg::after {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(17,17,17,.82), rgba(17,17,17,.92));
}

/* Red brand overlay — used on stats + CTA */
.has-bg--red::after {
    background:
        radial-gradient(ellipse 60% 80% at 78% 50%, rgba(255,255,255,.06), transparent 60%),
        linear-gradient(135deg, rgba(193,18,31,.94) 0%, rgba(138,13,22,.97) 60%, rgba(100,8,16,.99) 100%);
}

/* Very dark corporate — mission/vision */
.has-bg--dark::after {
    background:
        linear-gradient(135deg, rgba(10,10,14,.93) 0%, rgba(17,14,22,.95) 100%);
}

/* Ultra-light — shows faint texture behind timeline */
.has-bg--timeline::after {
    background:
        linear-gradient(180deg, rgba(245,245,248,.97) 0%, rgba(238,238,243,.96) 100%);
}

/* Near-white — manufacturing texture behind why-cards.
   Overlay lightened (was ~.95 = hid the photo). Gradient stays lighter at the
   top so the dark section header stays readable, and reveals the image more
   toward the (glass) cards below. */
.has-bg--faint::after {
    background:
        linear-gradient(180deg,
            rgba(247,248,251,0.72) 0%,
            rgba(245,246,250,0.52) 40%,
            rgba(243,245,249,0.48) 100%);
}

/* Dark luxury — testimonials section */
.has-bg--reviews::after {
    background:
        linear-gradient(145deg, rgba(8,8,12,.91) 0%, rgba(14,10,20,.94) 50%, rgba(10,8,16,.92) 100%);
}

/* ── SECTION HEADER ──────────────────────────────────────── */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 52px; }

.section-label {
    display: inline-block;
    font-size: .72rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--red); margin-bottom: 14px;
    position: relative; padding-left: 30px;
}
.section-label::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 22px; height: 2px;
    background: var(--red);
    transform: translateY(-50%);
}
.section-header .section-label { padding-left: 3; }
.section-header .section-label::before {
    left: 50%; transform: translate(-50%, -50%);
    top: -10px; width: 36px;
}

.section-heading {
    font-family: var(--ff-display);
    font-size: clamp(1.85rem, 3.6vw, 2.9rem);
    font-weight: 700;
    line-height: 1.08; letter-spacing: -.01em;
    color: var(--black); text-transform: uppercase;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.section-heading {
    font-size: clamp(1.85rem, 4.8vw, 2.9rem);
} }
.section-sub {
    font-size: 1rem; color: #000000;
    max-width: 560px; margin: 16px auto 0;
}

/* Testimonials section — white text overrides */
.reviews__eyebrow { color: var(--red-soft); }
.reviews__eyebrow::before { background: var(--red-soft); }
.reviews__heading { color: #fff; }

/* ── EYEBROW ─────────────────────────────────────────────── */
.eyebrow {
    display: inline-block;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--red-soft); margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 100px;
    background: rgba(255,255,255,.04);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--ff-body); font-size: .9rem; font-weight: 600;
    letter-spacing: .02em; text-decoration: none;
    border-radius: var(--radius); padding: 14px 30px;
    cursor: pointer; min-height: 48px;
    transition: transform .22s ease, box-shadow .25s ease, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.btn--primary {
    background: var(--grad-red); color: #fff;
    border: 2px solid transparent;
    box-shadow: var(--shadow-red);
    position: relative; overflow: hidden;
}
.btn--primary::after {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
    transform: translateX(-150%);
    transition: transform .55s ease;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(193,18,31,.42); }
.btn--primary:hover::after { transform: translateX(150%); }

.btn--ghost {
    background: rgba(255,255,255,.06); color: #fff;
    border: 2px solid rgba(255,255,255,.35);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: #fff; color: var(--black); border-color: #fff; }

.btn--white { background: #fff; color: var(--red); border: 2px solid #fff; font-weight: 700; }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn--outline-white:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ══════════════════════════════════════════════════════════
   1 · HERO
══════════════════════════════════════════════════════════ */
.hero {
    min-height: 88vh;
    display: flex; align-items: stretch;
    color: #fff; overflow: hidden;
    position: relative;
    /* Dark red -> black split: near-black on the left (text side), brand-red
       glow on the right where the image panel used to sit. */
    background:
        radial-gradient(ellipse 52% 72% at 84% 48%, rgba(215,25,32,0.50) 0%, rgba(215,25,32,0) 62%),
        linear-gradient(105deg, #050505 0%, #0a0a0a 42%, #1c0509 60%, #4a0b12 78%, #7d0f19 100%);
}
@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.hero {
    min-height: 117.3333vh;
} }

/* Cinematic vignette for depth over the red -> black gradient */
.hero::after {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 130% 92% at 50% -12%, transparent 52%, rgba(0,0,0,.55) 100%);
}

/* Parallax background (controlled via JS --parallax-y) */
.hero.has-bg::before {
    transform: translateY(calc(var(--parallax-y, 0px) * 0.38));
}

.hero__inner {
    padding-block: 130px 90px;
    padding-inline: clamp(28px, 6vw, 96px) clamp(28px, 4vw, 60px);
    max-width: 740px;
    position: relative;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.hero__inner {
    padding-inline: clamp(28px, 8vw, 96px) clamp(28px, 5.3333vw, 60px);
} }

/* Ambient red glow behind heading */
.hero__inner::before {
    content: '';
    position: absolute;
    top: 10%; left: -14%;
    width: 540px; height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193,18,31,.22) 0%, transparent 68%);
    pointer-events: none; z-index: 0;
    animation: heroGlow 7s ease-in-out infinite alternate;
}
.hero__inner > * { position: relative; z-index: 1; }

@keyframes heroGlow {
    from { transform: scale(1)   translate(0, 0);      opacity: .5; }
    to   { transform: scale(1.2) translate(36px,-24px); opacity: 1; }
}

.hero__heading {
    font-family: var(--ff-display);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    font-weight: 800; line-height: .98;
    letter-spacing: -.02em; text-transform: uppercase;
    margin-bottom: 22px;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.hero__heading {
    font-size: clamp(2.8rem, 8vw, 5.2rem);
} }

.hero__heading .txt-red {
    position: relative;
    display: inline-block;
    color: #f5333c; /* brightened red for AA-large contrast on the black side */
    text-shadow: 0 2px 30px rgba(215,25,32,0.5);
}
.hero__heading .txt-red::after {
    content: '';
    position: absolute; left: 0; bottom: -3px;
    width: 100%; height: 3px;
    background: var(--grad-red);
    transform-origin: left;
    animation: lineGrow .9s .6s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes lineGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

.hero__subheading {
    font-size: clamp(.95rem, 1.8vw, 1.12rem);
    color: #ffffff;
    max-width: 540px; line-height: 1.72; margin-bottom: 36px;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.hero__subheading {
    font-size: clamp(.95rem, 2.4vw, 1.12rem);
} }
.hero__cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__trust {
    display: flex; gap: 38px; flex-wrap: wrap;
    margin-top: 52px; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.16);
}
.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-item strong {
    font-family: var(--ff-display);
    font-size: 2rem; font-weight: 800; color: #fff; line-height: 1;
}
.hero__trust-item span {
    font-size: .72rem; letter-spacing: .12em;
    text-transform: uppercase; color: var(--red-soft);
    margin-top: 4px; font-weight: 600;
}

/* Scroll indicator */
.hero__scroll {
    position: absolute; bottom: 26px; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 14px;
}
.hero__scroll span {
    position: absolute; top: 8px; left: 50%;
    width: 4px; height: 8px; margin-left: -2px;
    background: #fff; border-radius: 2px;
    animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
    0%   { opacity: 0; transform: translateY(0); }
    40%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ================================================================
   HERO ENTRANCE — staggered, varied reveal on page load.
   Motion-safe only; reduced-motion users get the final state instantly.
================================================================ */
@keyframes heroRevUp   { from { opacity: 0; transform: translateY(2.25rem); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes heroRevDown { from { opacity: 0; transform: translateY(-1.5rem); } to { opacity: 1; transform: none; } }
@keyframes heroRevIn   { from { opacity: 0; transform: translateX(2.5rem) scale(0.96); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  #hero .eyebrow          { animation: heroRevDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.15s; }
  #hero .hero__heading    { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.30s; }
  #hero .hero__subheading { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.45s; }
  #hero .hero__cta-group  { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.60s; }
  #hero .hero__trust      { animation: heroRevUp   0.8s cubic-bezier(0.16, 1, 0.3, 1) both 0.75s; }
  #hero .hero__image-col  { animation: heroRevIn   1.0s cubic-bezier(0.16, 1, 0.3, 1) both 0.35s; }
}

/* ── HERO TWO-COLUMN LAYOUT ──────────────────────────────── */
.hero__columns {
    display: grid;
    /* Desktop split: text 60% left · image 40% right (was missing —
       grid defaulted to ONE column, stacking the image below the text
       on >1024px screens; the ≤1024 block already sets 58fr 42fr). */
    grid-template-columns: 56fr 44fr;
    width: 100%;
    /* Side gutters so text (left) and image (right) don't touch the
       viewport edges — scales ~24px @1024 → 120px @1920+. */
    padding-inline: clamp(1.5rem, 6vw, 7.5rem);
    min-height: 88vh;
    position: relative;
    z-index: 1;
}
@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.hero__columns {
    padding-inline: clamp(1.5rem, 8vw, 7.5rem);
    min-height: 117.3333vh;
} }

.hero__content-col {
    display: flex;
    align-items: center;
}

/* Right image panel — sits above the ::after dark overlay */
.hero__image-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

/* Overlapping manufacturing-photo collage — tiles are absolutely placed so
   they overlap into a layered pattern. Hovering lifts a tile above the pile,
   straightens it, and reveals the tiles hidden behind its neighbours. */
/* Full-height photo columns — the image area fills the hero from top to
   bottom as two vertical columns that scroll in opposite directions on a
   slow, seamless loop (each track holds its set three times and translates
   exactly one set). Soft fades at the top/bottom edges so nothing hard-cuts.
   Runs on touch too; pauses under a mouse; static under reduced motion. */
.hero__image-col {
    position: relative;
    padding: 0;
}

.hero-img-grid {
    position: absolute;
    inset: 0;
    top: -4.5rem;   /* reach up into the hero top padding so the columns start nearer the header */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 91%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 6%, #000 91%, transparent 100%);
}

.hero-img-col {
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.hero-img-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
    animation: colScrollUp 44s linear infinite;
}
.hero-img-col--down .hero-img-track {
    animation-name: colScrollDown;
    animation-duration: 52s;
}

/* one set = a third of the track, so translating 33.333% loops seamlessly */
@keyframes colScrollUp   { from { transform: translateY(0); }         to { transform: translateY(-33.3333%); } }
@keyframes colScrollDown { from { transform: translateY(-33.3333%); } to { transform: translateY(0); } }

.hero-img-cell {
    position: relative;
    flex: none;
    aspect-ratio: 4 / 5;
    margin-bottom: 14px;   /* spacing lives on the cell so a set is exactly 1/3 of the track */
    overflow: hidden;
    border-radius: 18px;
    background: #141414;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    isolation: isolate;
}

/* hairline edge so each frame still reads against the dark hero */
.hero-img-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    pointer-events: none;
    z-index: 2;
}

.hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

@media (hover: hover) and (pointer: fine) {
    .hero-img-grid:hover .hero-img-track { animation-play-state: paused; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-img-track { animation: none; }
}

.hero-float-badge {
    position: absolute;
    bottom: 32px;
    left: 12px;   /* sits over the bottom fade of the scrolling columns */
    z-index: 25;
    background: var(--red);
    color: var(--white);
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(193,18,31,0.40);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.float-num {
    font-family: var(--ff-display);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.float-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════
   2 · WHO WE ARE — Split layout
══════════════════════════════════════════════════════════ */
.intro { overflow: hidden; background-image: url(/assets/images/webporavif/bg-12.webp); }
.intro__grid {
    display: grid;
    grid-template-columns: 1fr .88fr;
    gap: 64px; align-items: center;
}
.intro__content .section-heading { text-align: left; margin: 6px 0 22px; }
.intro__body { font-size: 1.04rem; color: #000000; margin-bottom: 18px; line-height: 1.78; }

.intro__points {
    list-style: none;
    display: flex; flex-direction: column; gap: 12px;
    margin-top: 26px; padding-top: 26px;
    border-top: 1px solid var(--gray-border);
}
.intro__points li {
    position: relative; padding-left: 34px;
    font-weight: 500; color: var(--black);
    transition: color .2s ease;
}
.intro__points li::before {
    content: '';
    position: absolute; left: 0; top: 6px;
    width: 18px; height: 18px;
    background: var(--grad-red);
    border-radius: 4px;
    transform: rotate(45deg);
    transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.intro__points li:hover { color: var(--red); }
.intro__points li:hover::before { transform: rotate(45deg) scale(1.18); }

/* Media panel — looping video with overlay + badge */
.intro__media {
    position: relative;
    min-height: 500px;
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.04);
    background: #111; /* fallback while video loads */
}

/* Looping video fills the panel */
.intro__media-video {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    z-index: 0;
}

/* Gradient overlay sits above video, below ring + badge */
.intro__media-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(190deg,
        rgba(17,17,17,.08) 0%,
        rgba(17,17,17,.30) 55%,
        rgba(17,17,17,.80) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Floating decorative ring — above video overlay */
.intro__media-ring {
    position: absolute;
    top: -28px; right: -28px;
    width: 190px; height: 190px;
    border-radius: 50%;
    border: 2px solid rgba(193,18,31,.24);
    pointer-events: none; z-index: 2;
    animation: ringFloat 5.5s ease-in-out infinite alternate;
}
.intro__media-ring::after {
    content: '';
    position: absolute; top: 16px; right: 16px; bottom: 16px; left: 16px;
    border-radius: 50%;
    border: 1px solid rgba(193,18,31,.12);
}
@keyframes ringFloat {
    from { transform: translate(0, 0) rotate(0deg); }
    to   { transform: translate(-10px, 10px) rotate(18deg); }
}

.intro__media-badge {
    position: absolute; left: 22px; bottom: 22px;
    background: var(--grad-red); color: #fff;
    padding: 18px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-red);
    z-index: 3; /* above overlay (1) and ring (2) */
}
.intro__media-num {
    display: block;
    font-family: var(--ff-display);
    font-size: 2.6rem; font-weight: 800; line-height: 1;
}
.intro__media-num sup { font-size: 1.4rem; }
.intro__media-label {
    display: block;
    font-size: .7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .12em;
    opacity: .92; margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════
   3 · STATS — Red overlay over industrial bg
══════════════════════════════════════════════════════════ */
.stats { padding-block: 10px; color: #fff; overflow: hidden; }

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stats__card {
    text-align: center;
    padding: 36px 20px;
    border-right: 1px solid rgba(255,255,255,.18);
    position: relative;
    transition: background .3s;
}
.stats__card::before {
    content: '';
    position: absolute; top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.09), transparent 66%);
    opacity: 0; transition: opacity .4s; pointer-events: none;
}
.stats__card:hover::before { opacity: 1; }
.stats__card:last-child { border-right: none; }

.stats__number {
    display: block;
    font-family: var(--ff-display);
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    font-weight: 800; line-height: 1;
    letter-spacing: -.02em; margin-bottom: 10px;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,.75) 0%,
        #fff 40%,
        rgba(255,255,255,.75) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3.5s linear infinite;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.stats__number {
    font-size: clamp(2.6rem, 5.3333vw, 3.8rem);
} }
@keyframes shimmer { to { background-position: 200% center; } }

.stats__label {
    display: block;
    font-size: .76rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .10em;
    color: rgba(255,255,255,.82);
}

/* ══════════════════════════════════════════════════════════
   4 · TIMELINE — Subtle industrial texture (faint overlay)
══════════════════════════════════════════════════════════ */
.timeline { overflow: hidden; }

.timeline__track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem; position: relative;   /* cards were touching (gap was 0) */
}
.timeline__track::before {
    content: '';
    position: absolute;
    top: 28px; left: calc(4% + 20px); right: calc(4% - 8px);
    height: 2px;
    background: linear-gradient(90deg, var(--gray-border), var(--red) 70%, var(--red));
}

.timeline__item {
    position: relative;
    padding: 0 20px 28px ;
    padding-top: 72px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.70);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background .25s, transform .25s, box-shadow .25s, border-color .3s ease;
    border: 1px solid rgba(0,0,0,.16);   /* subtle black border shade */
}
.timeline__item:hover {
    background: rgba(255,255,255,.90);
    transform: translateY(-4px);
    border-color: var(--red);            /* black → red on hover */
    box-shadow:
        0 16px 40px rgba(0,0,0,.10),      /* existing lift */
        0 0 22px rgba(193,18,31,.28);     /* soft red glow */
}

/* Era photo — faint image shade that fades in on card hover.
   (A real child layer: both pseudo-elements are taken by the dot + ghost year.) */
.timeline__img {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    border-radius: inherit;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Multiply blends the photo into the white card — clearly visible
       but still reads as a shade, and the dark text stays legible. */
    mix-blend-mode: multiply;
    transition: opacity .35s ease;
    pointer-events: none;
}
.timeline__item:hover .timeline__img { opacity: .32; }
/* Unsplash era photos (400px w=800 crops, verified live) */
.timeline__img--foundation { background-image: url('https://images.unsplash.com/photo-1584992236310-6edddc08acff?auto=format&fit=crop&w=800&q=60'); }  /* yarn & needles — textile craftsmanship */
.timeline__img--expansion  { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=800&q=60'); }  /* skyscrapers — growth */
.timeline__img--global     { background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=800&q=60'); }  /* Earth from space — global */
.timeline__img--worldwide  { background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=800&q=60'); }  /* business team — network */

.timeline__item::before {
    content: '';
    position: absolute;
    top: 21px; left: 20px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--gray-border);
    transition: border-color .25s, transform .28s, box-shadow .25s, background .25s;
    z-index: 1;
}
.timeline__item:hover::before,
.timeline__item--current::before {
    border-color: var(--red);
    transform: scale(1.22);
    box-shadow: 0 0 0 6px rgba(193,18,31,.12);
}
.timeline__item--current::before { background: var(--red); }

.timeline__item::after {
    content: attr(data-year);
    position: absolute;
    top: 52px; left: 14px;
    font-family: var(--ff-display);
    font-size: 4.8rem; font-weight: 800;
    color: rgba(0,0,0,.05);
    line-height: 1; pointer-events: none;
    letter-spacing: -.04em;
    transition: color .3s;
}
.timeline__item:hover::after { color: rgba(193,18,31,.08); }

.timeline__era {
    display: inline-block;
    font-family: var(--ff-display);
    font-size: .82rem; font-weight: 700;
    letter-spacing: .10em; text-transform: uppercase;
    color: #fff; margin-bottom: 10px;
    padding: 4px 11px;
    background: var(--grad-red);
    border-radius: 20px;
    position: relative; z-index: 1;
}

.timeline__title {
    font-family: var(--ff-display);
    font-size: 1.38rem; font-weight: 700;
    color: var(--black); margin-bottom: 8px;
    position: relative; z-index: 1;
}
.timeline__desc {
    font-size: .92rem; color: #000000; line-height: 1.62;
    position: relative; z-index: 1;
}

/* ══════════════════════════════════════════════════════════
   5 · MISSION & VISION — Dark corporate bg + glass cards
══════════════════════════════════════════════════════════ */
.mission { color: #fff; overflow: hidden; }

.mission__grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 48px; align-items: center;
}

.mission__divider {
    background: linear-gradient(180deg,
        transparent,
        rgba(255,255,255,.28) 40%,
        rgba(255,255,255,.28) 60%,
        transparent);
    width: 1px; height: 100%; min-height: 180px;
}

/* Glassmorphism card */
.mission__card {
    position: relative;
    padding: 38px 34px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background .3s, border-color .3s, transform .3s;
}
.mission__card:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.20);
    transform: translateY(-4px);
}

/* Red accent line top */
.mission__card::before {
    content: '';
    position: absolute; top: 0; left: 34px; right: 34px;
    height: 3px; border-radius: 0 0 3px 3px;
    background: var(--grad-red);
    opacity: 0; transition: opacity .3s;
}
.mission__card:hover::before { opacity: 1; }

.mission__card:first-child::after,
.mission__card:last-child::after {
    position: absolute; top: 10px; right: 20px;
    font-family: var(--ff-display);
    font-size: 7rem; font-weight: 800; line-height: 1;
    color: rgba(255,255,255,.04); pointer-events: none;
}
.mission__card:first-child::after { content: 'M'; }
.mission__card:last-child::after  { content: 'V'; }

.mission__tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--red-soft); margin-bottom: 16px;
    position: relative; z-index: 1;
}
.mission__tag::before {
    content: '';
    display: inline-block;
    width: 18px; height: 2px;
    background: var(--red-soft); border-radius: 2px;
    flex-shrink: 0;
}

.mission__heading {
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    font-weight: 700; line-height: 1.12;
    margin-bottom: 16px; text-transform: uppercase;
    position: relative; z-index: 1;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.mission__heading {
    font-size: clamp(1.5rem, 3.4667vw, 2.1rem);
} }
.mission__body {
    color: #ffffff;
    font-size: 1rem; line-height: 1.78;
    position: relative; z-index: 1;
}



/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════════ */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .72s ease, transform .72s ease;
    will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .18s; }
[data-reveal-delay="3"] { transition-delay: .28s; }
[data-reveal-delay="4"] { transition-delay: .38s; }

/* ── BACK TO TOP ─────────────────────────────────────────── */
.to-top {
    position: fixed; bottom: 26px; right: 24px;
    width: 48px; height: 48px; border-radius: 50%;
    border: none; background: var(--grad-red); color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-red);
    opacity: 0; transform: translateY(14px);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    z-index: 900;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    :root { --section-py: 70px; }

    .hero { min-height: 80vh; }
    .hero__columns { grid-template-columns: 58fr 42fr; min-height: 80vh; }
    .hero__inner { padding-block: 100px 80px; }
    .hero::after {
        background: linear-gradient(180deg, rgba(10,10,10,.94) 0%, rgba(17,17,17,.88) 100%);
    }
    .hero-float-badge { left: -10px; bottom: 6%; padding: 10px 16px; }
    .float-num { font-size: 20px; }

    .intro__grid { grid-template-columns: 1fr; gap: 44px; }
    .intro__media { min-height: 320px; order: -1; }
    .intro__media-ring { display: none; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stats__card:nth-child(2) { border-right: none; }
    .stats__card:nth-child(3),
    .stats__card:nth-child(4) {
        border-top: 1px solid rgba(255,255,255,.18);
        padding-top: 30px; margin-top: 8px;
    }

    .timeline__track { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
    .timeline__track::before { display: none; }
    .timeline__item { background: rgba(255,255,255,.85); }

    .mission__grid { grid-template-columns: 1fr; gap: 24px; }
    .mission__divider { width: 100%; height: 1px; min-height: 0; }

    .why__grid { grid-template-columns: repeat(2, 1fr); }

    .cta__inner { grid-template-columns: 1fr; gap: 30px; }
    .cta__actions { flex-wrap: wrap; }

    .slider__arrow--prev { left: -16px; }
    .slider__arrow--next { right: -16px; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 640px)
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    :root { --section-py: 56px; }
    .container { padding-inline: 18px; }

    /* Hero */
    .hero { min-height: 100svh; min-height: 100vh; }
    .hero__columns { grid-template-columns: 1fr; min-height: 100vh; padding-inline: 0; } /* .hero__inner handles mobile padding */
    .hero__image-col { display: none; }
    .hero__content-col { width: 100%; }
    /* Full-width text on mobile: keep it over black, push red to the corner */
    .hero {
        background:
            radial-gradient(ellipse 90% 52% at 100% 100%, rgba(215,25,32,0.5) 0%, transparent 60%),
            linear-gradient(158deg, #060606 0%, #0c0c0c 54%, #35080d 90%, #550b14 100%);
    }
    .hero__inner { padding-block: 88px 70px; padding-inline: 18px; max-width: 100%; }
    .hero__cta-group { flex-direction: column; }
    .hero__cta-group .btn { width: 100%; }
    .hero__trust { gap: 20px; margin-top: 40px; padding-top: 22px; }
    .hero__trust-item strong { font-size: 1.6rem; }
    .hero__scroll { display: none; }

    /* Intro */
    .intro__media { min-height: 260px; }
    .intro__media-badge { padding: 12px 16px; }
    .intro__media-num { font-size: 2rem; }

    /* Stats */
    .stats__grid { grid-template-columns: 1fr 1fr; }
    .stats__card { padding: 26px 14px; }

    /* Timeline */
    .timeline__track { grid-template-columns: 1fr; gap: 16px; }
    .timeline__item { padding-top: 66px; }
    .timeline__item::after { font-size: 3.2rem; top: 56px; }

    /* Mission */
    .mission__card { padding: 26px 20px; }
    .mission__card:first-child::after,
    .mission__card:last-child::after { font-size: 5rem; }

    /* Why */
    .why__grid { grid-template-columns: 1fr; gap: 16px; }
    .why__card { padding: 28px 22px; }

    /* Slider */
    .slide { padding: 44px 22px; }
    .slide::before { font-size: 7rem; top: -6px; left: 12px; }
    .slide__quote { font-size: 1rem; }
    .slider__arrow {
        top: auto; bottom: -52px;
        transform: none;
        width: 42px; height: 42px;
    }
    .slider__arrow:hover { transform: scale(1.06); }
    .slider__arrow--prev { left: calc(50% - 52px); }
    .slider__arrow--next { right: calc(50% - 52px); }
    .slider__dots { margin-top: 68px; }

    /* CTA */
    .cta { padding-block: 64px; }
    .cta__actions { flex-direction: column; }
    .cta__actions .btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — 2K / 4K LARGE SCREENS
══════════════════════════════════════════════════════════ */
@media (min-width: 1600px) {
    :root { --section-py: 110px; }
    /* Cap hero height so 4K screens don't get a ~2000px empty hero */
    .hero { min-height: min(46rem, 88vh); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    .hero { min-height: min(46rem, 117.3333vh); } }
    .hero__heading  { font-size: clamp(3.5rem, 5vw, 7rem); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    .hero__heading  { font-size: clamp(3.5rem, 6.6667vw, 7rem); } }
    .stats__grid    { grid-template-columns: repeat(4, 1fr); }
    .why__grid      { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
    .timeline__track { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .intro__content .section-label   { font-size: 1.2rem; }

    /* ── Shared: eyebrow, section headers & buttons ── */
    .eyebrow          { font-size: 1rem; padding: 0.5rem 1.125rem; }
    .section-label    { font-size: 1.2rem; }
    .section-header .section-label { font-size: 1.2rem; }
    .section-heading  { font-size: 3.5rem; }
    .section-header   { max-width: 52.5rem; }
    .section-sub      { font-size: 1.4rem; max-width: 42rem; }
    .btn              { font-size: 1.4rem; padding: 1.25rem 2.5rem; min-height: 3.5rem; }

    /* ── Hero ── */
    .hero__subheading { font-size: 1.4rem; max-width: 40rem; }
    .hero__trust      { gap: 3rem; }
    .hero__trust-item strong { font-size: 2.5rem; }
    .hero__trust-item span   { font-size: 1rem; }
    /* Panel image — fill the 40% column instead of sitting at natural size */
    .hero__panel-img  { max-width: 34rem; max-height: 72vh; }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    .hero__panel-img  { max-height: 96vh; } }

    /* ── Who we are (intro) ── */
    /* Spread the split: wider container, text pinned left, larger video right
       (base grid is 1fr .88fr which shrinks the video and centers everything) */
    .intro .container   { max-width: min(88vw, 106.25rem); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    .intro .container   { max-width: min(117.3333vw, 106.25rem); } }  /* up to 1700px */
    .intro__grid        { grid-template-columns: 1fr 1fr; gap: 7rem; }  /* balanced split + roomy gutter */
    .intro__body        { font-size: 1.4rem; max-width: 46rem; }
    .intro__points li   { font-size: 1.25rem; padding-left: 2.5rem; }
    .intro__media       { min-height: 34rem; }
    .intro__media-badge { padding: 1.5rem 1.75rem; }
    .intro__media-num   { font-size: 3rem; }
    .intro__media-label { font-size: 0.95rem; }

    /* ── Stats ── */
    .stats__card   { padding: 3rem 1.5rem; }
    .stats__number { font-size: 4.5rem; }
    .stats__label  { font-size: 1rem; }

    /* ── Timeline ── */
    /* Bigger cards: more padding + a taller frame (base is 72px 20px 28px) */
    .timeline__item  { padding: 6rem 1.75rem 2.5rem; min-height: 21rem; }
    .timeline__era   { font-size: 1rem; padding: 0.35rem 0.875rem; }
    .timeline__title { font-size: 1.7rem; }
    .timeline__desc  { font-size: 1.15rem; }
    .timeline__item::after { font-size: 5.5rem; }   /* ghost year */

    /* ── Mission & vision ── */
    .mission__card    { padding: 3rem 2.75rem; }
    .mission__tag     { font-size: 1rem; }
    .mission__heading { font-size: 2.5rem; }
    .mission__body    { font-size: 1.2rem; }

    /* ── Why choose us ── */
    .why__card  { padding: 3.5rem 3rem 3.25rem; min-height: 22rem; }
    .why__icon  { width: 4.5rem; height: 4.5rem; margin-bottom: 1.5rem; }
    .why__title { font-size: 2rem; margin-bottom: 0.875rem; }
    .why__desc  { font-size: 1.3rem; line-height: 1.6; }
    .why__card::after { font-size: 4.8rem; }        /* ghost counter */

    /* ── Testimonials slider ── */
    .slider        { max-width: 64rem; }
    .slide         { padding: 4rem 4.5rem; }
    .slide__stars  { font-size: 1.4rem; }
    .slide__quote  { font-size: 1.45rem; }
    .slide__name   { font-size: 1.2rem; }
    .slide__role   { font-size: 1rem; }
    .slider__arrow { width: 3.5rem; height: 3.5rem; }

    /* ── Final CTA ── */
    .cta__heading { font-size: 4rem; }
    .cta__sub     { font-size: 1.3rem; max-width: 40rem; }
}

@media (min-width: 2560px) {
    :root { --section-py: 130px; }
    .why__grid      { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 3200px) {
    :root { --section-py: 150px; --container: clamp(1280px, 80vw, 2800px); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    :root { --container: clamp(1280px, 106.6667vw, 2800px); } }
    .hero { min-height: min(48rem, 88vh); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    .hero { min-height: min(48rem, 117.3333vh); } }
    .hero__heading  { font-size: clamp(4rem, 4.5vw, 8rem); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    .hero__heading  { font-size: clamp(4rem, 6vw, 8rem); } }
    .why__grid      { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
    .timeline__track { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
    .stats__grid    { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

@media (min-width: 3840px) {
    :root { --section-py: 180px; --container: clamp(1280px, 82vw, 3400px); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    :root { --container: clamp(1280px, 109.3333vw, 3400px); } }
    .hero { min-height: min(50rem, 88vh); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    .hero { min-height: min(50rem, 117.3333vh); } }
    .hero__heading  { font-size: clamp(4.5rem, 4vw, 9rem); }
    @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
    .hero__heading  { font-size: clamp(4.5rem, 5.3333vw, 9rem); } }
    .why__grid      { grid-template-columns: repeat(5, 1fr); gap: 3rem; }
    .timeline__track { grid-template-columns: repeat(5, 1fr); gap: 2.5rem; }
}

/* ── Extra small — 375px and below ──────────────────────── */
@media (max-width: 375px) {
    .hero__heading { font-size: 2.4rem; }
    .hero__trust { gap: 14px; }
    .hero__trust-item strong { font-size: 1.4rem; }
    .stats__grid { grid-template-columns: 1fr; }
    .stats__card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); }
    .stats__card:last-child { border-bottom: none; }
}

/* ── ACCESSIBILITY ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .hero__heading .txt-red::after { animation: none; transform: scaleX(1); }
    .hero__inner::before { animation: none; }
    .intro__media-ring { animation: none; }
    .stats__number { animation: none; }
    .cta.has-bg::before { animation: none; }
    .hero.has-bg::before { transform: none; }
}

:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ══════════════════════════════════════════════════════════
   MEET OUR TEAM  —  dark section, avatar (initials) cards
   Placed after Our Journey. Max 5 members; the flex grid
   auto-centres the last row when there are fewer than a full row.
══════════════════════════════════════════════════════════ */
.team {
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(193,18,31,0.14) 0%, transparent 60%),
        linear-gradient(180deg, #131318 0%, #0e0e12 100%);
}
/* the shared .section-heading is dark by default — flip it white on this
   dark band, and lighten the sub */
.team .section-heading { color: #ffffff; }
.team .section-sub     { color: #ffffff; }

/* Deliberately narrower than the container so the 5 cards fall into a
   balanced two-row block (3 on top, 2 centred below) instead of one flat row. */
.team__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 960px;
    margin-inline: auto;
}

.team__card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    flex: 1 1 275px;
    max-width: 360px;
    text-align: left;
    padding: 1.85rem 1.75rem;
    background: linear-gradient(165deg, #1c1c24 0%, #131318 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .35s ease, box-shadow .4s ease;
}
.team__card:hover {
    transform: translateY(-8px);
    border-color: rgba(193,18,31,0.5);
    box-shadow: 0 24px 52px rgba(0,0,0,0.45), 0 0 0 1px rgba(193,18,31,0.22);
}
/* faint watermark monogram — adds depth so the card doesn't read as flat */
.team__card::before {
    content: attr(data-mono);
    position: absolute;
    top: -1.4rem;
    right: 0.4rem;
    font-family: var(--ff-display);
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.035);
    pointer-events: none;
}
/* red accent bar grows across the top on hover */
.team__card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), rgba(193,18,31,0.15));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}
.team__card:hover::after { transform: scaleX(1); }

/* header row: avatar beside the name / role */
.team__head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.team__avatar {
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: #ffffff;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    border: 2px solid rgba(255,255,255,0.14);
    box-shadow: 0 10px 24px rgba(193,18,31,0.35);
}
.team__card:hover .team__avatar { box-shadow: 0 12px 30px rgba(193,18,31,0.5); }

.team__meta { min-width: 0; }
.team__name {
    font-family: var(--ff-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 0.3rem;
}
.team__role {
    display: inline-block;
    font-family: var(--ff-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red-soft);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    background: rgba(193,18,31,0.12);
    border: 1px solid rgba(193,18,31,0.25);
}
.team__bio {
    position: relative;
    z-index: 1;
    font-family: var(--ff-body);
    font-size: 0.86rem;
    line-height: 1.72;
    color: #ffffff;
    margin: 0;
}
.team__email {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red-soft);
    text-decoration: none;
    word-break: break-all;
}
.team__email svg { flex-shrink: 0; width: 14px; height: 14px; }
.team__email:hover { color: #ffffff; }

/* Instagram handle — same treatment as the email line, on its own row */
.team__insta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.45rem;
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red-soft);
    text-decoration: none;
    word-break: break-all;
}
.team__insta svg { flex-shrink: 0; width: 14px; height: 14px; }
.team__insta:hover { color: #ffffff; }

@media (max-width: 620px) {
    .team__grid { max-width: 420px; }
    .team__card { flex-basis: 100%; max-width: 100%; }
}

/* ── Meet Our Team — scale up on large (1920+) desktops so the cards fill
   the wide canvas instead of sitting small in a narrow centred block ── */
@media (min-width: 1600px) {
    .team__grid   { max-width: 1320px; gap: 2.25rem; }
    .team__card   { flex-basis: 360px; max-width: 420px; padding: 2.5rem 2.25rem; border-radius: 22px; }
    .team__card::before { font-size: 9rem; top: -1.8rem; }
    .team__avatar { width: 82px; height: 82px; font-size: 1.75rem; }
    .team__name   { font-size: 1.6rem; }
    .team__role   { font-size: 0.95rem; padding: 0.3rem 0.85rem; }
    .team__bio    { font-size: 1.15rem; line-height: 1.75; }
    .team__head   { gap: 1.35rem; }
    .team__email  { font-size: 1rem; margin-top: 1.1rem; }
    .team__email svg { width: 16px; height: 16px; }
    .team__insta  { font-size: 1rem; margin-top: 0.55rem; }
    .team__insta svg { width: 16px; height: 16px; }
}


/* Who We Are on phones: the copy is already #000, but the light Montserrat
   weight over the textured background reads grey on a phone screen. Heavier
   strokes read darker; nothing else in the section changes. */
@media (max-width: 768px) {
  .intro__body      { color: #000; font-weight: 500; }
  .intro__points li { color: #000; font-weight: 600; }
  .intro__content .section-heading { color: #000; }
}


/* =============================================================================
   PHONE READABILITY — darker accent text on light backgrounds
   Body copy on the light sections is already near-black. What still reads
   light on a phone is the brand-red accent text (section labels, red heading
   words, quote links): #D71920 is ~4.9:1 on white but only ~3.9:1 on the
   textured/beige sections. On phones those use a deeper red (~6.5:1 on
   white). Scoped to the light sections (hero + reviews excluded); dark sections and buttons are untouched.
   ============================================================================= */
@media (max-width: 768px) {
  .section-label:not(.reviews__eyebrow),
  .section-heading .txt-red,
  .intro .txt-red, .timeline .txt-red, .why .txt-red { color: #a80f16; }
}
