/* Golden State Trailers — shared landing template stylesheet
   Single CSS for all trailer-types landing pages (franchise, military, school).
   Structure: gstl core (tokens + shared primitives) once, then page-scoped
   sections. Page rules are namespaced under .gst-frnpage / .gst-milpage /
   .gst-skpage, so nothing leaks between pages. */

/* ===== gstl core (shared across all landing pages in gst-landing.css) ===== */
/* Vocabulary mirrors the goldenstatetrailers.com homepage (main.css home-section-*):
   centered Unbounded section titles, white radius-30 soft-shadow cards with dark
   icon tiles, alternating dark/orange numbered stage cards, #8d8d8d muted text. */

.gst-frnpage,
.gst-milpage,
.gst-skpage,
.gst-corppage {
    --gstl-orange: #F69924;
    --gstl-orange-hover: #e0860f;
    --gstl-ink: #171B1C;
    --gstl-hero-bg: #0c0e0f;
    --gstl-body-c: #4a4f50;
    --gstl-muted: #8d8d8d;
    --gstl-page-bg: #fafafa;
    --gstl-surface: #f6f6f6;
    --gstl-panel: #f4f4f4;
    --gstl-line: #ececec;
    --gstl-shadow-card: 4px 4px 14px 4px rgba(0, 0, 0, 0.04);
    --gstl-h1: clamp(30px, 1.1vw + 21px, 48px);
    --gstl-h2: clamp(24px, 1vw + 17px, 38px);
    --gstl-h3: clamp(18px, 0.4vw + 15px, 22px);
    --gstl-lead: clamp(16px, 0.2vw + 15px, 19px);
    --gstl-text: clamp(15px, 0.15vw + 13.5px, 17px);
    --gstl-section-pad: 70px; /* fixed 70 top/bottom on every section (design spec) */
    --gstl-gap-text: 18px;    /* margin between text elements (paragraphs, head->sub) */
    --gstl-gap-block: 50px;   /* margin between a text block and the content below it */
    --gstl-gutter: clamp(16px, 3.125vw, 48px); /* = 16 @375, 24 @768 (FAQ spec), 48 desktop */
    --gstl-container: 1430px; /* match site header/footer container */
    --gstl-radius-card: 30px;
    --gstl-radius-media: 20px;
    --gstl-radius-panel: 30px;
    --gstl-radius-item: 16px;
    font-family: "Montserrat", sans-serif;
    font-size: var(--gstl-text);
    line-height: 1.6;
    color: var(--gstl-ink);
    background: var(--gstl-page-bg);
    overflow-x: clip; /* not `hidden`: hidden creates a scroll container and kills position:sticky inside */
}

/* Container: exactly 1430 wide, NO side padding — content fills the full 1430
   (design spec fig.18/19). Side gutter only kicks in below 1430 so content
   doesn't touch the viewport edge on smaller screens. */
.gstl-container {
    max-width: var(--gstl-container);
    margin-inline: auto;
    padding-inline: 0;
}

/* No side padding on desktop/laptop — container content is the full 1430,
   flush with the site header/footer. Only phones get a small gutter. */
@media (max-width: 1439px) {
    .gstl-container {
        padding-inline: var(--gstl-gutter);
    }
}

.gstl-section {
    padding-block: var(--gstl-section-pad);
}

.gstl-fullbleed {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

/* --- headings --- */
.gstl-h1,
.gstl-h2,
.gstl-h3 {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    letter-spacing: normal; /* global main.css h1/h2 rules leak tracking otherwise */
    color: inherit;
    margin: 0;
}

.gstl-h1 {
    font-size: var(--gstl-h1);
    line-height: 1.16;
}

.gstl-h2 {
    font-size: var(--gstl-h2);
    line-height: 1.2;
}

.gstl-h3 {
    font-size: var(--gstl-h3);
    line-height: 1.25;
}

/* Section header — CENTERED, full container width (design spec fig.2).
   50px gap below the header before the content block. */
.gstl-head {
    max-width: none;
    margin: 0 0 var(--gstl-gap-block);
    text-align: center;
}

.gstl-head .gstl-h2 {
    color: var(--gstl-ink);
}

.gstl-head-sub {
    margin: var(--gstl-gap-text) auto 0;
    max-width: 820px;
    font-size: var(--gstl-lead);
    line-height: 1.6;
    color: var(--gstl-muted);
}

.gstl-eyebrow {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--gstl-muted);
    margin: 0 0 12px;
}

.gstl-measure {
    max-width: 68ch;
}

/* --- buttons (GST "Updated Blocks": black pill primary, white-outline
   secondary, orange reserved for accents; see Figma GST | Website pages) --- */
.gstl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 32px;
    border: 0;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(15px, 0.2vw + 14px, 17px);
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color 0.2s ease, border-color 0.2s ease,
        color 0.2s ease, transform 0.2s ease;
}

.gstl-btn--primary {
    background: var(--gstl-ink);
    color: #fff;
}

.gstl-btn--primary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* orange accent CTA — for use on dark heroes where a black button would vanish */
.gstl-btn--orange {
    background: var(--gstl-orange);
    color: #fff;
}

.gstl-btn--orange:hover {
    background: var(--gstl-orange-hover);
    color: #fff;
    transform: translateY(-2px);
}

.gstl-btn--ghost {
    border: 1px solid var(--gstl-ink);
    color: var(--gstl-ink);
    background: transparent;
}

.gstl-btn--ghost:hover {
    background: var(--gstl-ink);
    color: #fff;
    transform: translateY(-2px);
}

.gstl-btn--ghost-light {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
}

.gstl-btn--ghost-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.gstl-btn--light {
    background: #fff;
    color: var(--gstl-ink);
}

.gstl-btn--light:hover {
    background: #f0f0f0;
    color: var(--gstl-ink);
    transform: translateY(-2px);
}

.gstl-btn:focus-visible,
.gstl-faq-item summary:focus-visible {
    outline: 2px solid var(--gstl-orange);
    outline-offset: 2px;
}

.gstl-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 640px) {
    .gstl-btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    .gstl-btn-row .gstl-btn {
        width: 100%;
    }
}

/* --- cards (homepage white radius-30 soft-shadow) --- */
.gstl-card {
    background: #fff;
    border-radius: var(--gstl-radius-card);
    box-shadow: var(--gstl-shadow-card);
}

.gstl-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2.2vw, 40px);
}

.gstl-feature-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.gstl-feature-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .gstl-feature-grid,
    .gstl-feature-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gstl-feature-grid,
    .gstl-feature-grid--2,
    .gstl-feature-grid--4 {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
}

/* GST "Updated Blocks" feature card: white, big radius, hairline border,
   LEFT-aligned, orange line-icon (no dark tile). */
.gstl-feature {
    background: #fff;
    border-radius: var(--gstl-radius-card);
    border: 1px solid var(--gstl-line);
    box-shadow: none;
    padding: 25px; /* 25px on all sides (design spec fig.7) */
    text-align: left;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .gstl-feature:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(8, 10, 11, 0.06);
        border-color: #e2e2e2;
    }
}

/* centered variant kept for any block that opts in explicitly */
.gstl-feature--center {
    text-align: center;
}

.gstl-icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 0 5px; /* 5px gap between icon and text (design spec fig.7/8) */
}

.gstl-feature--center .gstl-icon-tile {
    margin-inline: auto;
}

.gstl-icon-tile svg {
    width: 100%;
    height: 100%;
    color: var(--gstl-orange);
    stroke: var(--gstl-orange);
    fill: none;
}

.gstl-icon-tile svg [stroke] {
    stroke: var(--gstl-orange);
}

.gstl-feature-title {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(18px, 0.4vw + 15px, 20px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--gstl-ink);
    margin: 0 0 5px; /* 5px gap between card title and text (design spec fig.7/8) */
}

.gstl-feature-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    color: var(--gstl-muted);
    margin: 0;
}

/* icon+title-only cards (no body text): keep the icon+title top-aligned so
   the card doesn't read as a tall empty box. */
.gstl-feature:not(:has(.gstl-feature-text)) .gstl-feature-title {
    margin-bottom: 0;
}

/* --- numbered stage cards (homepage "Stages of building" alternating dark/orange) --- */
.gstl-stage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gstl-stage-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
    .gstl-stage-grid,
    .gstl-stage-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gstl-stage-grid,
    .gstl-stage-grid--3 {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
}

.gstl-stage {
    border-radius: 26px; /* all corners rounded (design spec fig.1) */
    padding: clamp(22px, 2.4vw, 30px) clamp(20px, 2.2vw, 26px);
    color: #fff;
    height: 100%;
    transition: transform 0.4s ease;
}

.gstl-stage:nth-child(odd) {
    background: var(--gstl-ink);
}

.gstl-stage:nth-child(even) {
    background: var(--gstl-orange);
}

@media (prefers-reduced-motion: no-preference) {
    .gstl-stage:hover {
        transform: translateY(-8px);
    }
}

.gstl-stage-num {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 1.6vw + 18px, 36px);
    line-height: 1;
    margin-bottom: 12px;
    color: #fff;
}

.gstl-stage-title {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: clamp(17px, 0.4vw + 14px, 20px); /* 20 max (design spec fig.9) */
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff; /* beat global main.css h3 color; inheritance alone loses to it */
}

.gstl-stage-text {
    font-size: 16px; /* 16 (design spec fig.10) */
    font-weight: 300;
    line-height: 1.45;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* --- stat band (white rounded card, orange Unbounded numbers) --- */
.gstl-stat-band {
    background: #fff;
    border-radius: var(--gstl-radius-card);
    box-shadow: var(--gstl-shadow-card);
    padding: clamp(30px, 3.6vw, 54px) clamp(26px, 5vw, 80px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 44px);
}

@media (max-width: 640px) {
    .gstl-stat-band {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gstl-stat-num {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: clamp(30px, 1.8vw + 18px, 44px);
    line-height: 1.1;
    color: var(--gstl-orange);
}

.gstl-stat-cap {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gstl-ink);
}

/* --- orange trust bar (homepage "California Insignia Approval ..." strip) --- */
.gstl-trust-bar {
    background: linear-gradient(90deg, #F69924 0%, #ef7f10 100%);
}

.gstl-trust-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 48px);
    padding-block: clamp(16px, 1.8vw, 22px);
}

.gstl-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 700;
    font-size: clamp(14px, 0.4vw + 13px, 18px);
    line-height: 1.2;
}

.gstl-trust-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #fff;
}

/* --- FAQ (native details) — max 768px centered (design spec fig.6):
   768 @1440/1920, 720 @768 (gutter 24), 343 @375 (gutter 16) --- */
.gstl-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 768px;
    margin-inline: auto;
}

.gstl-faq-item {
    background: #fff;
    border: 1px solid var(--gstl-line);
    border-radius: var(--gstl-radius-item);
    box-shadow: var(--gstl-shadow-card);
}

.gstl-faq-item summary {
    position: relative;
    list-style: none;
    padding: 20px 56px 20px 24px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--gstl-ink);
    cursor: pointer;
    transition: color 0.2s ease;
}

.gstl-faq-item summary::-webkit-details-marker {
    display: none;
}

.gstl-faq-item summary:hover {
    color: var(--gstl-orange);
}

/* chevron arrow (design spec fig.11) — down when closed, up + orange when open */
.gstl-faq-item summary::after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.gstl-faq-item[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
    border-color: var(--gstl-orange);
}

.gstl-faq-a {
    padding: 0 24px 22px;
    color: var(--gstl-muted);
}

.gstl-faq-a p {
    margin: 0;
}

.gstl-faq-a p + p {
    margin-top: 10px;
}

/* .gstl-reveal is added by JS only (markup ships visible); JS also sets per-item transition-delay */
@media (prefers-reduced-motion: no-preference) {
    .gstl-reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .gstl-reveal.is-in {
        opacity: 1;
        transform: none;
    }
}

/* ===== end gstl core ===== */


/* ============================================================================
   FRANCHISE  (.gst-frnpage / .frn-*)
   ============================================================================ */

/* ===== franchise page (.frn-*) — homepage block vocabulary ===== */

.gst-frnpage {
    background: var(--gstl-page-bg);
}

.gst-frnpage *,
.gst-frnpage *::before,
.gst-frnpage *::after {
    box-sizing: border-box;
}

.gst-frnpage .gstl-h1 b,
.gst-frnpage .gstl-h2 b {
    color: var(--gstl-orange);
    font-weight: 700;
}

/* --- hero (full-bleed photo + dark gradient overlay, left column) --- */
.frn-hero {
    position: relative;
    height: clamp(560px, 78vh, 900px);
    overflow: hidden;
    background: var(--gstl-hero-bg);
}

.frn-hero-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.frn-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 10, 11, 0.9) 0%, rgba(8, 10, 11, 0.66) 32%, rgba(8, 10, 11, 0.3) 50%, rgba(8, 10, 11, 0) 68%),
        linear-gradient(0deg, rgba(8, 10, 11, 0.45), rgba(8, 10, 11, 0) 45%);
}

.frn-hero-overlay .gstl-container {
    width: 100%;
}

.frn-hero-content {
    max-width: 620px;
    pointer-events: auto;
}

@media (min-width: 1920px) {
    .frn-hero-content {
        max-width: 800px;
    }
}

.frn-hero .gstl-h1 {
    color: #fff;
    margin-bottom: 22px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.55);
}

.frn-hero .gstl-h1 b {
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.45);
}

.frn-hero-sub {
    color: rgba(255, 255, 255, 0.94);
    font-size: var(--gstl-lead);
    font-weight: 500;
    line-height: 1.55;
    max-width: 520px;
    margin: 0 0 26px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.6);
}

@media (max-width: 900px) {
    .frn-hero {
        height: auto;
    }

    .frn-hero-bg {
        height: clamp(220px, 42vh, 340px);
    }

    .frn-hero-overlay {
        position: static;
        display: block;
        padding: 30px 0 44px;
        background: var(--gstl-hero-bg);
    }

    .frn-hero-content {
        max-width: none;
    }

    .frn-hero .gstl-h1 {
        margin-bottom: 14px;
    }

    .frn-hero-sub {
        max-width: none;
        margin-bottom: 24px;
    }
}

/* --- trust (orange full-bleed strip; markup uses core .gstl-trust-bar) --- */
/* no page-specific rules: the core .gstl-trust-* primitives render the strip */

/* --- split / rsplit (2-col text|photo) --- */
.frn-split {
    background: #fff;
}

.frn-split-inner,
.frn-rsplit-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 4.5vw, 64px);
    align-items: center;
}

.frn-split-text .gstl-h2 {
    margin-bottom: 22px;
}

.frn-split-text p {
    color: var(--gstl-body-c);
    font-size: var(--gstl-lead);
    font-weight: 500;
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 560px;
}

.frn-split-text p:last-child {
    margin-bottom: 0;
}

.frn-split-media,
.frn-rsplit-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--gstl-radius-media);
    box-shadow: 0 18px 44px rgba(8, 10, 11, 0.16);
}

.frn-split-media img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.frn-rsplit-media {
    background: var(--gstl-panel);
}

.frn-rsplit-media img {
    width: 100%;
    height: 460px;
    object-fit: contain;
    display: block;
}

.frn-rsplit-text .gstl-h2 {
    margin-bottom: 20px;
}

.frn-rsplit-text p {
    color: var(--gstl-body-c);
    font-size: var(--gstl-lead);
    font-weight: 500;
    line-height: 1.72;
    margin: 0 0 18px;
}

.frn-rsplit-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .frn-split-inner,
    .frn-rsplit-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .frn-split-media {
        order: 2;
    }

    .frn-split-text {
        order: 1;
    }

    .frn-split-media img {
        height: 300px;
    }

    .frn-rsplit-media img {
        height: 240px;
    }
}

/* --- gallery (centered head + horizontal carousel) --- */
.frn-gallery {
    background: #fff;
}

.frn-gallery-intro.gstl-head {
    max-width: 940px;
    margin-inline: auto;
}

.frn-gallery-intro .gstl-head-sub {
    max-width: 780px;
}

.frn-gallery-marquee {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.frn-gallery-marquee::-webkit-scrollbar {
    display: none;
}

.frn-gallery-marquee.is-dragging {
    cursor: grabbing;
}

.frn-gallery-marquee.is-dragging .frn-gallery-card {
    pointer-events: none;
}

.frn-gallery-track {
    display: flex;
    width: max-content;
    padding-block: 4px;
}

.frn-gallery-card {
    position: relative;
    flex: 0 0 auto;
    width: 460px;
    max-width: 82vw;
    margin-right: 20px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--gstl-radius-media);
    box-shadow: 0 6px 22px rgba(8, 10, 11, 0.1);
}

.frn-gallery-card:hover {
    box-shadow: 0 18px 44px rgba(8, 10, 11, 0.26);
}

.frn-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.frn-gallery-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 54px 24px 22px;
    color: #fff;
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    font-size: var(--gstl-h3);
    line-height: 1.18;
    background: linear-gradient(0deg, rgba(8, 10, 11, 0.85) 0%, rgba(8, 10, 11, 0.38) 52%, rgba(8, 10, 11, 0) 100%);
    z-index: 2;
}

@media (max-width: 900px) {
    .frn-gallery-card {
        width: 360px;
        margin-right: 14px;
    }
}

@media (max-width: 640px) {
    .frn-gallery-card {
        width: 80vw;
        margin-right: 14px;
    }
}

/* --- process (centered head + core .gstl-stage-grid 3-up, alternating cards) --- */
/* stage cards carry .frn-process-step only as the JS reveal hook; layout is core */

/* --- inhouse (centered head + copy|photo split) --- */
.frn-inhouse {
    background: #fff;
}

.frn-inhouse-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(34px, 4.5vw, 64px);
    align-items: start;
}

.frn-inhouse-text p {
    color: var(--gstl-body-c);
    font-size: var(--gstl-lead);
    line-height: 1.74;
    margin: 0 0 18px;
}

.frn-inhouse-text p:last-child {
    margin-bottom: 0;
}

.frn-inhouse-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--gstl-radius-media);
    aspect-ratio: 4 / 3;
    box-shadow: 0 18px 44px rgba(8, 10, 11, 0.16);
}

.frn-inhouse-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .frn-inhouse-row {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

/* --- growth (centered head + core .gstl-feature-grid 3-up white cards) --- */
/* the grid carries .frn-growth-strip only as the JS reveal hook; layout is core */

/* --- faq (centered head + core .gstl-faq-list) --- */
.frn-faq {
    background: #fff;
}

.frn-faq-list {
    max-width: 768px;
    margin-inline: auto;
}

/* --- cta (light section: centered head, centered buttons, core .gstl-stat-band) --- */
.frn-cta-actions {
    justify-content: center;
    margin-bottom: clamp(40px, 4vw, 60px);
}

/* --- motion (hover zoom + carousel smoothing; reveal handled by core .gstl-reveal) --- */
@media (prefers-reduced-motion: no-preference) {
    .frn-split-media img,
    .frn-rsplit-media img,
    .frn-inhouse-media img,
    .frn-gallery-card img {
        transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
        will-change: transform;
    }

    .frn-split-media:hover img,
    .frn-rsplit-media:hover img,
    .frn-inhouse-media:hover img {
        transform: scale(1.06);
    }

    .frn-gallery-card:hover img {
        transform: scale(1.08);
    }

    .frn-gallery-card figcaption {
        transition: padding-bottom 0.4s ease, background 0.4s ease;
    }

    .frn-gallery-card:hover figcaption {
        padding-bottom: 34px;
        background: linear-gradient(0deg, rgba(8, 10, 11, 0.92) 0%, rgba(8, 10, 11, 0.46) 55%, rgba(8, 10, 11, 0) 100%);
    }
}

/* ============================================================================
   MILITARY  (.gst-milpage / .mil-*)
   ============================================================================ */

.gst-milpage *,
.gst-milpage *::before,
.gst-milpage *::after {
    box-sizing: border-box;
}

/* orange keyword accent inside titles (homepage convention) */
.gst-milpage .gstl-h2 b {
    color: var(--gstl-orange);
    font-weight: 700;
}

/* icon tiles: the durability + why line icons ship without fill / stroke-width
   of their own, so give them fill:none and a stroke weight (the core tile rule
   already forces the stroke white). The info metric icons already carry
   fill="none" + explicit strokes — the core whitens the strokes and their small
   orange fill accents stay as an on-brand pop on the dark tile. */
.gst-milpage .mil-durability .gstl-icon-tile svg,
.gst-milpage .mil-why .gstl-icon-tile svg {
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* alternating backgrounds — strict white / #fafafa rhythm for section
   separation. Sections not listed here fall back to the light page background
   (white cards + splits lift on grey; photo + stage sections sit on white). */
.gst-milpage .mil-features,
.gst-milpage .mil-utility,
.gst-milpage .mil-process,
.gst-milpage .mil-why {
    background: #fff;
}

/* --- hero --- */
.gst-milpage .mil-hero {
    position: relative;
    display: flex;
    align-items: center;
    height: clamp(560px, 78vh, 900px);
    background: var(--gstl-hero-bg);
    color: #fff;
}

.gst-milpage .mil-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.gst-milpage .mil-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.38) 72%,
        rgba(0, 0, 0, 0.15) 100%
    );
}

.gst-milpage .mil-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-block: 48px;
}

.gst-milpage .mil-hero-content {
    max-width: 620px;
}

.gst-milpage .mil-hero-title {
    margin-bottom: 22px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.gst-milpage .mil-hero-sub {
    max-width: 540px;
    margin: 0 0 40px;
    font-size: var(--gstl-lead);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

@media (min-width: 1920px) {
    .gst-milpage .mil-hero-content {
        max-width: 800px;
    }
}

@media (max-width: 640px) {
    .gst-milpage .mil-hero-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.55));
    }
}

/* --- info: centered core .gstl-head + core metric feature cards (--4).
   The head and the icon+title-only cards are handled entirely by gstl core;
   no page rules needed. --- */

/* --- features: photo showcase (editorial masonry, always-on caption) --- */
.gst-milpage .mil-feature-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
}

.gst-milpage .mil-feature-cell {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--gstl-panel);
    border-radius: var(--gstl-radius-media);
    box-shadow: 0 6px 22px rgba(8, 10, 11, 0.10);
}

.gst-milpage .mil-feature-cell:nth-child(1) {
    grid-column: span 5;
    grid-row: span 2;
}

.gst-milpage .mil-feature-cell:nth-child(2) {
    grid-column: span 4;
    grid-row: span 2;
}

.gst-milpage .mil-feature-cell:nth-child(3),
.gst-milpage .mil-feature-cell:nth-child(4) {
    grid-column: span 3;
}

.gst-milpage .mil-feature-cell:nth-child(5),
.gst-milpage .mil-feature-cell:nth-child(6),
.gst-milpage .mil-feature-cell:nth-child(7) {
    grid-column: span 4;
    grid-row: span 2;
}

.gst-milpage .mil-feature-cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gst-milpage .mil-feature-cap {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 44px 20px 18px;
    background: linear-gradient(0deg, rgba(8, 10, 11, 0.88) 0%, rgba(8, 10, 11, 0.4) 52%, rgba(8, 10, 11, 0) 100%);
    color: #fff;
}

.gst-milpage .mil-feature-cap-title {
    display: block;
    font-family: "Unbounded", sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 0.35vw + 12.5px, 17px);
    line-height: 1.22;
}

.gst-milpage .mil-feature-cap-desc {
    display: block;
    max-height: 0;
    margin-top: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

@media (hover: hover) {
    .gst-milpage .mil-feature-cell:hover {
        box-shadow: 0 16px 40px rgba(8, 10, 11, 0.24);
    }

    .gst-milpage .mil-feature-cell:hover .mil-feature-cap-desc {
        max-height: 6.5em;
        margin-top: 7px;
        opacity: 1;
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .gst-milpage .mil-feature-cell img {
        transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .gst-milpage .mil-feature-cell:hover img {
        transform: scale(1.06);
    }

    .gst-milpage .mil-feature-cap-desc {
        transition: max-height 0.45s ease, opacity 0.45s ease, margin-top 0.45s ease;
    }
}

@media (max-width: 900px) {
    .gst-milpage .mil-feature-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 180px;
        gap: 8px;
    }

    .gst-milpage .mil-feature-cell:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gst-milpage .mil-feature-cell:last-child {
        grid-column: span 2;
    }
}

/* --- pon / mfg splits (2-col text|photo) --- */
.gst-milpage .mil-pon-inner,
.gst-milpage .mil-mfg-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 5vw, 64px);
    align-items: center;
}

.gst-milpage .mil-pon-photo,
.gst-milpage .mil-mfg-photo {
    align-self: stretch;
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--gstl-radius-media);
    box-shadow: 0 18px 44px rgba(8, 10, 11, 0.16);
}

.gst-milpage .mil-pon-photo img,
.gst-milpage .mil-mfg-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gst-milpage .mil-pon-title,
.gst-milpage .mil-mfg-title {
    margin-bottom: 24px;
}

.gst-milpage .mil-pon-text p,
.gst-milpage .mil-mfg-text p {
    margin: 0 0 18px;
    font-size: var(--gstl-lead);
    line-height: 1.72;
    color: var(--gstl-body-c);
}

.gst-milpage .mil-pon-text p:last-child,
.gst-milpage .mil-mfg-text p:last-child {
    margin-bottom: 0;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .gst-milpage .mil-pon-photo img,
    .gst-milpage .mil-mfg-photo img {
        transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .gst-milpage .mil-pon-photo:hover img,
    .gst-milpage .mil-mfg-photo:hover img {
        transform: scale(1.05);
    }
}

@media (max-width: 900px) {
    .gst-milpage .mil-pon-inner,
    .gst-milpage .mil-mfg-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .gst-milpage .mil-pon-photo,
    .gst-milpage .mil-mfg-photo {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

/* --- utility photo cards (compact 4-up row) --- */
.gst-milpage .mil-utility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.2vw, 32px);
}

.gst-milpage .mil-utility-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border-radius: var(--gstl-radius-card);
    box-shadow: var(--gstl-shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gst-milpage .mil-utility-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.gst-milpage .mil-utility-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gst-milpage .mil-utility-body {
    padding: clamp(18px, 1.8vw, 24px) clamp(18px, 1.8vw, 24px) clamp(22px, 2vw, 28px);
}

.gst-milpage .mil-utility-body .gstl-h3 {
    margin-bottom: 10px;
}

.gst-milpage .mil-utility-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gstl-muted);
}

@media (hover: hover) {
    .gst-milpage .mil-utility-card:hover .gstl-h3 {
        color: var(--gstl-orange);
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .gst-milpage .mil-utility-card .gstl-h3 {
        transition: color 0.3s ease;
    }

    .gst-milpage .mil-utility-media img {
        transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .gst-milpage .mil-utility-card:hover {
        transform: translateY(-6px);
        box-shadow: 6px 8px 22px 4px rgba(0, 0, 0, 0.07);
    }

    .gst-milpage .mil-utility-card:hover .mil-utility-media img {
        transform: scale(1.06);
    }
}

@media (max-width: 1200px) {
    .gst-milpage .mil-utility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gst-milpage .mil-utility-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin-inline: auto;
    }
}

/* --- durability: centered feature cards (7 items, orphan-safe flex row) --- */
.gst-milpage .mil-durability-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.gst-milpage .mil-durability-grid > .gstl-feature {
    flex: 0 1 calc((100% - 64px) / 3);
    min-width: 0;
}

@media (max-width: 1200px) {
    .gst-milpage .mil-durability-grid > .gstl-feature {
        flex-basis: calc((100% - 32px) / 2);
    }
}

@media (max-width: 640px) {
    .gst-milpage .mil-durability-grid {
        gap: 20px;
    }

    .gst-milpage .mil-durability-grid > .gstl-feature {
        flex-basis: 100%;
        max-width: 420px;
    }
}

/* --- why: icon credential cards (label only) — layout handled by core
   .gstl-feature-grid; core also vertically centers the text-less cards --- */

/* --- faq --- */
.gst-milpage .mil-faq-list {
    max-width: 768px;
    margin-inline: auto;
}

/* --- final cta (light closing section, franchise-matched) --- */
.gst-milpage .mil-cta {
    background: var(--gstl-surface);
    text-align: center;
}

.gst-milpage .mil-cta-title {
    margin-bottom: 24px;
    color: var(--gstl-ink);
}

.gst-milpage .mil-cta-text {
    max-width: 720px;
    margin: 0 auto 40px;
    font-size: var(--gstl-lead);
    line-height: 1.75;
    color: var(--gstl-muted);
}

.gst-milpage .mil-cta-buttons {
    justify-content: center;
}


/* ============================================================================
   SCHOOL KITCHEN  (.gst-skpage / .gst-* / .case-* / .sk-* / .why-* / .testi-*)
   Institutional landing rebuilt to the v2 mock (fig 6589:20004): chip-headed
   sections, use-case/system cards that open detail popups, single-project
   photo gallery, photo stage cards, project cards and a flat FAQ. Built on
   the gstl core primitives above.
   ============================================================================ */

.gst-skpage,
.gst-skpage *,
.gst-skpage *::before,
.gst-skpage *::after {
  box-sizing: border-box;
}

.gst-skpage figure,
.gst-skpage ul,
.gst-skpage ol {
  margin: 0;
  padding: 0;
}

.gst-skpage {
  background: var(--gstl-page-bg);
}

/* orange highlight phrase inside section headings */
.gst-skpage .gstl-h1 b,
.gst-skpage .gstl-h2 b {
  color: var(--gstl-orange);
  font-weight: 700;
}

/* ─── BUTTONS (v2 mock): 60px tall, radius 20, Montserrat 600 18 ───
   The mock's primary CTAs are 330px-wide rounded rectangles, not pills. */
.gst-skpage .gstl-btn {
  border-radius: 20px;
  min-height: 60px;
  min-width: 330px;
  padding: 10px 32px;
  font-size: 18px;
}

.gst-skpage .gstl-btn--ghost,
.gst-skpage .gstl-btn--ghost-light {
  border-width: 1.5px;
}

/* medium buttons (case / FAQ / projects "view all"): radius 13, Bold 16 */
.gst-skpage .sk-btn-md {
  border-radius: 13px;
  min-height: 0;
  min-width: 0;
  padding: 13px 40px;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .gst-skpage .gstl-btn {
    min-width: 0;
  }
}

/* ─── SECTION BACKGROUNDS ───
   White card sections sit on the #fafafa page tone so the cards pop;
   photo/panel sections alternate white for contrast. */
.gst-skpage .gst-built       { background: #ffffff; }               /* photo use-case cards   */
.gst-skpage .case-section    { background: var(--gstl-page-bg); }   /* project gallery        */
.gst-skpage .why-section     { background: var(--gstl-page-bg); }   /* white split panel      */
.gst-skpage .infra-section   { background: var(--gstl-page-bg); }   /* white feature cards    */
.gst-skpage .testi-section   { background: var(--gstl-page-bg); }   /* white split panel      */
.gst-skpage .sk-projects     { background: var(--gstl-page-bg); }   /* project cards          */
.gst-skpage .final-cta       { background: var(--gstl-page-bg); }   /* CTA + stat band        */

/* stages + FAQ float in a white rounded card with a 20px side inset (fig
   6589:20438 / 6589:20555: x=20, width=1880 on the 1920 mock) */
.gst-skpage .process-section,
.gst-skpage .faq-section {
  background: #ffffff;
  border-radius: var(--gstl-radius-card);
  margin-inline: 20px;
}

/* section subtitles run the full container like the mock (core caps at 820) */
.gst-skpage .gstl-head-sub {
  max-width: none;
}

/* ─── SHARED: section chip + uppercase heading variant (v2 mock) ─── */
.gst-skpage .sk-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 30px;
  margin-bottom: 13px;
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 36px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  color: #7f7f7f;
}

.gst-skpage .sk-head-upper {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.gst-skpage .sk-head-upper b {
  font-weight: 400;
}

/* ─── HERO (full-bleed photo + dark left-to-right gradient) ─── */
.gst-skpage .gst-hero {
  position: relative;
  height: clamp(560px, 78vh, 900px);
  overflow: hidden;
  background: var(--gstl-hero-bg);
}

.gst-skpage .gst-hero-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.gst-skpage .gst-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 10, 11, 0.9) 0%, rgba(8, 10, 11, 0.66) 32%, rgba(8, 10, 11, 0.3) 50%, rgba(8, 10, 11, 0) 68%),
    linear-gradient(0deg, rgba(8, 10, 11, 0.45), rgba(8, 10, 11, 0) 45%);
}

.gst-skpage .gst-hero-overlay .gstl-container {
  width: 100%;
}

/* H1 runs the full 1430 container so the mock's two-line break holds */
.gst-skpage .gst-hero-content {
  max-width: none;
  width: 100%;
  pointer-events: auto;
}

.gst-skpage .gst-hero .gstl-h1 {
  font-size: clamp(30px, 1.6vw + 26px, 56px); /* fig 6589:20055 */
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6), 0 1px 4px rgba(0, 0, 0, 0.55);
}

.gst-skpage .gst-hero .gstl-h1 b {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.45);
}

.gst-skpage .gst-hero-sub {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(15px, 0.3vw + 14px, 18.8px); /* fig 6589:20057 */
  font-weight: 500;
  line-height: 1.45;
  max-width: 680px;
  margin: 0 0 20px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.6);
}


/* ─── BUILT — photo use-case cards (each opens its popup) ─── */
.gst-skpage .gst-built-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
}

.gst-skpage .gst-card {
  position: relative;
  aspect-ratio: 13 / 10;
  overflow: hidden;
  border-radius: var(--gstl-radius-media);
  box-shadow: 0 6px 22px rgba(8, 10, 11, 0.1);
}

.gst-skpage .gst-card:hover {
  box-shadow: 0 18px 44px rgba(8, 10, 11, 0.26);
}

.gst-skpage .gst-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* fig treatment: even dark grade over the whole photo, heavier at the base */
.gst-skpage .gst-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg,
      rgba(8, 10, 11, 0.9) 0%,
      rgba(8, 10, 11, 0.58) 34%,
      rgba(8, 10, 11, 0.32) 68%,
      rgba(8, 10, 11, 0.26) 100%);
}

.gst-skpage .gst-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.4vw, 32px) clamp(52px, 4vw, 60px);
}

.gst-skpage .gst-card-title {
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 0.3vw + 15px, 20px); /* 20 max: the longest title
     ("Culinary Education Programs") stays on one line like the fig */
  line-height: 1.2;
  letter-spacing: normal;
  color: #ffffff;
  margin: 0;
}

.gst-skpage .gst-card-desc {
  font-family: "Montserrat", sans-serif;
  font-size: var(--gstl-text);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 12px 0 0;
  min-height: 4.8em; /* reserve 3 lines so titles align across the row (fig) */
}

/* stretched popup trigger — "Learn more" pinned to the bottom-right corner */
.gst-skpage .gst-card-btn {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 22px 26px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.gst-skpage .gst-card-btn:focus-visible {
  outline: 2px solid var(--gstl-orange);
  outline-offset: -2px;
  border-radius: var(--gstl-radius-media);
}

/* ─── CASE — single-project gallery: photo slider + summary aside (fig
   6589:20168: photo 1003×537 + 30 gap + 397 text column) ─── */
.gst-skpage .case-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 397px);
  gap: 30px;
  align-items: center;
}

.gst-skpage .case-viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 1003 / 537;
  overflow: hidden;
  background: #111;
  border-radius: var(--gstl-radius-media);
}

/* edge darkening so the white arrows read on any photo (fig 6589:20170) */
.gst-skpage .case-viewer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.5) 100%);
}

.gst-skpage .case-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gst-skpage .case-slide.active {
  opacity: 1;
  pointer-events: all;
}

.gst-skpage .case-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* plain white chevrons pinned 2% from each photo edge (fig 6589:20171/72:
   43×23 stroke-3 vector rotated upright = 23×43) */
.gst-skpage .case-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 56px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.gst-skpage .case-arrow svg {
  width: 23px;
  height: 43px;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.5));
}

.gst-skpage .case-arrow:hover {
  opacity: 0.75;
}

.gst-skpage .case-arrow:focus-visible {
  outline: 2px solid var(--gstl-orange);
  outline-offset: 2px;
}

.gst-skpage .case-arrow--prev { left: 2%; }
.gst-skpage .case-arrow--next { right: 2%; }

.gst-skpage .case-asides {
  display: grid;
  align-items: center; /* every project summary sits dead-center of the photo
     column (stacked asides share one cell; shorter ones were top-pinned) */
}

.gst-skpage .case-aside {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gst-skpage .case-aside.active {
  opacity: 1;
  visibility: visible;
}

.gst-skpage .case-aside-title {
  font-family: "Montserrat", sans-serif;
  font-size: 24px; /* fig 6589:20175 */
  font-weight: 700;
  line-height: 1.25;
  color: var(--gstl-ink);
  margin: 0 0 20px;
}

.gst-skpage .case-aside-desc {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 0.4vw + 14px, 20px); /* fig 6589:20176 */
  line-height: 1.35;
  color: var(--gstl-muted);
  margin: 0 0 20px;
}

/* project tabs under the gallery: strip (2px idle / 6px orange active) with
   the project name below — active caption Bold (fig 6589:20180 + 20431) */
.gst-skpage .case-bar {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 50px;
}

.gst-skpage .case-bar-seg {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}

.gst-skpage .case-bar-line {
  display: block;
  width: 100%;
  height: 6px; /* fixed lane so the active thickening doesn't shift captions */
  position: relative;
}

.gst-skpage .case-bar-line::after {
  content: "";
  position: absolute;
  inset: 2px 0;
  border-radius: 2px;
  background: rgba(23, 27, 28, 0.18);
  transition: inset 0.3s ease, background 0.3s ease;
}

.gst-skpage .case-bar-seg:hover .case-bar-line::after {
  background: rgba(23, 27, 28, 0.35);
}

.gst-skpage .case-bar-seg.active .case-bar-line::after {
  inset: 0;
  background: var(--gstl-orange);
}

.gst-skpage .case-bar-cap {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gstl-ink);
}

.gst-skpage .case-bar-seg.active .case-bar-cap {
  font-weight: 700;
}

.gst-skpage .case-bar-seg:focus-visible {
  outline: 2px solid var(--gstl-orange);
  outline-offset: 2px;
}

/* the mobile swipe gallery only runs below 900px (desktop uses the duo) */
.gst-skpage .case-mwrap,
.gst-skpage .case-mpanel {
  display: none;
}

/* ─── WHY — white split panel: checklist left, photo right ─── */
.gst-skpage .why-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  background: #fff;
  border-radius: var(--gstl-radius-card);
  box-shadow: 0 1px 2.5px rgba(0, 0, 0, 0.1);
  padding: clamp(20px, 4.2vw, 60px) clamp(16px, 5.9vw, 85px);
}

.gst-skpage .why-title {
  font-size: clamp(22px, 1vw + 13px, 32px);
  text-align: left;
}

.gst-skpage .why-sub {
  font-size: var(--gstl-lead);
  line-height: 1.55;
  color: var(--gstl-muted);
  margin: 14px 0 0;
}

.gst-skpage .why-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.gst-skpage .why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gstl-ink);
}

.gst-skpage .why-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gstl-orange);
  color: #fff;
}

.gst-skpage .why-check svg {
  width: 11px;
  height: 11px;
}

.gst-skpage .why-actions {
  margin-top: 36px;
}

/* fig: two 295px buttons side by side inside the text column */
.gst-skpage .why-actions .gstl-btn {
  min-width: 0;
  flex: 1 1 0;
  max-width: 295px;
}

.gst-skpage .why-media {
  align-self: stretch;
  min-height: 320px;
}

.gst-skpage .why-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* ─── INFRA — feature cards with soft orange tiles + popup triggers
   (fig 6589:20129: white radius-30 shadow card, no border, 196 tall,
   #ffedda 48px tile radius 14, Montserrat 600 20 title, 5px stack gap) ─── */
.gst-skpage .sk-feature {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 196px;
  border: 0;
  box-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.1);
}

.gst-skpage .sk-feature .gstl-feature-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
}

.gst-skpage .sk-feature .gstl-feature-text {
  color: #7f7f7f;
}

.gst-skpage .sk-tile {
  background: #ffedda;
  border-radius: 14px;
}

.gst-skpage .sk-tile img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.gst-skpage .sk-more {
  margin-top: 5px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #8d8d8d;
  transition: color 0.2s ease;
}

.gst-skpage .sk-feature:hover .sk-more,
.gst-skpage .sk-more:hover {
  color: var(--gstl-orange);
}

.gst-skpage .sk-more:focus-visible {
  outline: 2px solid var(--gstl-orange);
  outline-offset: 2px;
}

/* ─── STAGES — photo cards with big number + uppercase title ─── */
.gst-skpage .sk-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(20px, 4.2vw, 60px);
  row-gap: clamp(20px, 3.1vw, 45px);
}

.gst-skpage .sk-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
  padding: 25px;
  border-radius: var(--gstl-radius-media);
  overflow: hidden;
  color: #fff;
}

.gst-skpage .sk-stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gst-skpage .sk-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0) 0%, rgba(30, 30, 30, 0.96) 112%);
}

.gst-skpage .sk-stage-num {
  position: relative;
  z-index: 1;
  font-family: "Unbounded", sans-serif;
  font-weight: 400;
  font-size: clamp(40px, 2vw + 26px, 60px);
  line-height: 1;
}

.gst-skpage .sk-stage-title {
  position: relative;
  z-index: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: clamp(17px, 0.5vw + 14px, 23px);
  line-height: 1.2;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* ─── TESTIMONIAL (white split panel: quote left, video right) ─── */
.gst-skpage .testi-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  background: #fff;
  border-radius: var(--gstl-radius-card);
  box-shadow: 0 1px 2.5px rgba(0, 0, 0, 0.1);
  padding: clamp(20px, 4.2vw, 60px) clamp(16px, 6vw, 85px);
}

.gst-skpage .testi-quote-col {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.gst-skpage .testi-quote-marks {
  display: block;
  width: 58px;
  height: 44px;
}

.gst-skpage .testi-quote {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(16px, 0.4vw + 14px, 20px);
  font-style: italic;
  line-height: 1.3;
  color: #7f7f7f;
}

.gst-skpage .testi-quote p {
  margin: 0;
}

.gst-skpage .testi-quote p + p {
  margin-top: 1em;
}

.gst-skpage .testi-author {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.gst-skpage .testi-author-name {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gstl-ink);
}

.gst-skpage .testi-author-role {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.25;
  color: var(--gstl-muted);
}

.gst-skpage .testi-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gstl-surface);
}

.gst-skpage .testi-video-link {
  position: absolute;
  inset: 0;
  display: block;
}

.gst-skpage .testi-video-link:focus-visible {
  outline: 2px solid var(--gstl-orange);
  outline-offset: 2px;
}

.gst-skpage .testi-video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gst-skpage .testi-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gst-skpage .testi-video-play svg {
  width: 28px;
  height: 28px;
  margin-left: 3px;
}

.gst-skpage .testi-video-link:hover .testi-video-play {
  background: rgba(0, 0, 0, 0.78);
  transform: translate(-50%, -50%) scale(1.06);
}

/* ─── PROJECTS — 3 cards: photo + size badge, chips, text, two buttons ─── */
.gst-skpage .sk-proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.6vw, 23px);
}

.gst-skpage .sk-proj {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 23px;
  overflow: hidden;
}

.gst-skpage .sk-proj-media {
  position: relative;
  aspect-ratio: 464 / 248;
  overflow: hidden;
}

/* absolute fill: immune to the global theme img { height: auto } override
   that let taller source photos stretch card 2 out of line */
.gst-skpage .sk-proj-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gst-skpage .sk-proj-size {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #fff;
  border: 1.8px solid #d9d9d9;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1f1f1f;
}

.gst-skpage .sk-proj-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 22px;
}

.gst-skpage .sk-proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.gst-skpage .sk-proj-chip {
  background: #fff;
  border: 1.8px solid #d9d9d9;
  border-radius: 10px;
  padding: 8px 15px;
  font-family: "Montserrat", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.32;
  color: #1f1f1f;
  white-space: nowrap;
}

.gst-skpage .sk-proj-title {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--gstl-ink);
  margin: 0;
}

.gst-skpage .sk-proj-desc {
  font-family: "Montserrat", sans-serif;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--gstl-muted);
  margin: 0;
  flex-grow: 1;
}

.gst-skpage .sk-proj-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.gst-skpage .sk-proj-btn {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.32;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gst-skpage .sk-proj-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.gst-skpage .sk-proj-btn--ghost {
  border: 1.8px solid var(--gstl-ink);
  color: var(--gstl-ink);
  background: transparent;
}

.gst-skpage .sk-proj-btn--ghost:hover {
  background: var(--gstl-ink);
  color: #fff;
}

.gst-skpage .sk-proj-btn--dark {
  background: var(--gstl-ink);
  color: #fff;
}

.gst-skpage .sk-proj-btn--dark:hover {
  background: #000;
  color: #fff;
}

.gst-skpage .sk-proj-btn:focus-visible {
  outline: 2px solid var(--gstl-orange);
  outline-offset: 2px;
}

.gst-skpage .sk-proj-all {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ─── FAQ — flat hairline list, open question turns orange ─── */
.gst-skpage .faq-section .gstl-faq-list {
  max-width: 768px;
  margin-inline: auto;
}

.gst-skpage .faq-section .gstl-faq-item {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gstl-line);
  border-radius: 0;
  box-shadow: none;
}

.gst-skpage .faq-section .gstl-faq-item summary {
  padding: 20px 44px 20px 0;
  font-size: 17px;
}

.gst-skpage .faq-section .gstl-faq-item summary::after {
  right: 8px;
}

.gst-skpage .faq-section .gstl-faq-item[open] summary {
  color: var(--gstl-orange);
}

.gst-skpage .faq-section .gstl-faq-a {
  padding: 0 0 22px;
}

.gst-skpage .sk-faq-actions {
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
}

.gst-skpage .sk-faq-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gstl-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.gst-skpage .sk-faq-all:hover {
  color: var(--gstl-orange);
}

/* ─── FINAL CTA + stat band (ink numbers per the v2 mock) ─── */
.gst-skpage .final-cta-actions {
  justify-content: center;
}

.gst-skpage .sk-stat-band {
  margin-top: var(--gstl-gap-block);
}

.gst-skpage .sk-stat-band .gstl-stat-num {
  color: var(--gstl-ink);
}

.gst-skpage .sk-stat-cap {
  font-weight: 400;
  color: var(--gstl-muted);
}

/* ─── POPUPS — photo left, title/text/buttons right ─── */
.gst-skpage .sk-popup-root {
  position: fixed;
  inset: 0;
  z-index: 1000000; /* the sticky site header sits at 999999 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 40px);
}

.gst-skpage .sk-popup-root[hidden],
.gst-skpage .sk-popup[hidden] {
  display: none;
}

.gst-skpage .sk-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 13, 0.6);
}

/* fig 6573:19669: 1400×644 card, radius 25, 530px photo column, 90px text
   inset, Montserrat 36/44 title + 22/27 body, 335px buttons */
.gst-skpage .sk-popup {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 530px) 1fr;
  width: min(1400px, 100%);
  height: min(644px, 90vh); /* fixed card height like the fig */
  background: #fff;
  border-radius: 25px;
  overflow: hidden;
}

/* absolute fill: the global img height:auto otherwise stretches the grid row
   past the card and pushes the text block off center */
.gst-skpage .sk-popup-media {
  position: relative;
  min-height: 0;
}

.gst-skpage .sk-popup-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gst-skpage .sk-popup-body {
  display: flex;
  flex-direction: column;
  justify-content: safe center; /* block vertically centered like the fig */
  padding: 40px 90px;
  overflow-y: auto;
}

@media (max-width: 1200px) {
  .gst-skpage .sk-popup-body {
    padding: 32px clamp(24px, 4vw, 90px);
  }
}

.gst-skpage .sk-popup-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(26px, 0.8vw + 22px, 36px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--gstl-ink);
  margin: 0 0 20px;
}

.gst-skpage .sk-popup-text {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(17px, 0.4vw + 15px, 22px);
  line-height: 1.23;
  color: var(--gstl-muted);
  margin: 0 0 40px;
}

/* the two buttons split the full text-column width (fig: 335 + 20 + 335 = 690) */
.gst-skpage .sk-popup-actions {
  width: 100%;
}

.gst-skpage .sk-popup-actions .gstl-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 11px 30px;
}

/* video dialog: bare 16:9 player, the close control sits on the black frame */
.gst-skpage .sk-popup--video {
  display: block;
  width: min(1100px, 100%);
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}

.gst-skpage .sk-popup-vframe {
  position: absolute;
  inset: 0;
}

.gst-skpage .sk-popup-vframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.gst-skpage .sk-popup--video .sk-popup-close {
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
}

.gst-skpage .sk-popup-close {
  position: absolute;
  top: clamp(18px, 2vw, 40px);
  right: clamp(18px, 2vw, 40px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--gstl-muted);
  transition: color 0.2s ease;
}

.gst-skpage .sk-popup-close svg {
  width: 26px;
  height: 26px;
}

.gst-skpage .sk-popup-close:hover {
  color: var(--gstl-ink);
}

.gst-skpage .sk-popup-close:focus-visible {
  outline: 2px solid var(--gstl-orange);
  outline-offset: 2px;
}

/* ─── MOTION (hover zoom on photo cards; reveal handled by core .gstl-reveal) ─── */
@media (prefers-reduced-motion: no-preference) {
  .gst-skpage .gst-card-img {
    transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
    will-change: transform;
  }

  .gst-skpage .gst-card:hover .gst-card-img {
    transform: scale(1.06);
  }
}

/* ─── RESPONSIVE — system breakpoints 1200 / 900 / 640 ─── */
@media (max-width: 1200px) {
  .gst-skpage .gst-built-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gst-skpage .sk-stage-grid,
  .gst-skpage .sk-proj-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gst-skpage .case-duo {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .gst-skpage .gst-hero {
    height: auto;
  }

  .gst-skpage .gst-hero-bg {
    height: clamp(220px, 42vh, 340px);
  }

  .gst-skpage .gst-hero-overlay {
    position: static;
    display: block;
    padding: 30px 0 44px;
    background: var(--gstl-hero-bg);
  }

  .gst-skpage .gst-hero-content {
    max-width: none;
  }

  .gst-skpage .gst-hero .gstl-h1 {
    margin-bottom: 14px;
  }

  .gst-skpage .gst-hero-sub {
    max-width: none;
    margin-bottom: 24px;
  }

  /* project gallery: swap the desktop duo for the swipe track */
  .gst-skpage .case-duo,
  .gst-skpage .case-bar {
    display: none;
  }

  .gst-skpage .case-mwrap {
    display: block;
    position: relative;
  }

  /* paging arrows over the swipe track */
  .gst-skpage .case-marrow {
    width: 44px;
    height: 56px;
    z-index: 3;
    touch-action: manipulation;
  }

  .gst-skpage .case-marrow svg {
    width: 18px;
    height: 34px;
  }

  .gst-skpage .case-marrow--prev { left: 6px; }
  .gst-skpage .case-marrow--next { right: 6px; }

  .gst-skpage .case-mobile {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 4px 0 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
  }

  .gst-skpage .case-mobile::-webkit-scrollbar {
    display: none;
  }

  .gst-skpage .case-mobile.is-dragging {
    cursor: grabbing;
  }

  .gst-skpage .case-mobile.is-dragging .case-mslide {
    pointer-events: none;
  }

  .gst-skpage .case-mslide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    aspect-ratio: 16 / 6;
    border-radius: var(--gstl-radius-media);
    overflow: hidden;
    background: #111;
  }

  .gst-skpage .case-mslide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .gst-skpage .case-mpanel {
    display: block;
    padding-top: 20px;
  }

  .gst-skpage .case-mbar {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .gst-skpage .case-mbar-seg {
    flex: 1 1 0;
    height: 2px;
    border-radius: 2px;
    background: rgba(23, 27, 28, 0.18);
    transition: height 0.3s ease, background 0.3s ease;
  }

  .gst-skpage .case-mbar-seg.active {
    height: 6px;
    background: var(--gstl-orange);
  }

  .gst-skpage .case-mcaptions {
    display: grid;
    margin-top: 20px;
  }

  .gst-skpage .case-mcap {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .gst-skpage .case-mcap.active {
    opacity: 1;
    visibility: visible;
  }

  .gst-skpage .case-mcap-title {
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gstl-ink);
    margin-bottom: 5px;
  }

  .gst-skpage .case-mcap-desc {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;
    color: var(--gstl-muted);
  }

  .gst-skpage .case-mbtn {
    margin-top: 22px;
  }

  .gst-skpage .why-panel {
    grid-template-columns: 1fr;
  }

  .gst-skpage .why-media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  /* testimonial stacks: video first, quote + author below */
  .gst-skpage .testi-panel {
    grid-template-columns: 1fr;
  }

  .gst-skpage .testi-video-wrap {
    order: -1;
  }

  .gst-skpage .testi-quote-col {
    gap: 16px;
  }

  .gst-skpage .sk-popup {
    grid-template-columns: 1fr;
    grid-template-rows: 220px 1fr;
    height: auto;
    max-height: 92vh;
    overflow-y: auto;
  }

  .gst-skpage .sk-popup-media {
    height: 220px;
  }

  .gst-skpage .sk-popup-close {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: var(--gstl-ink);
  }
}

@media (max-width: 640px) {
  .gst-skpage .gst-built-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 460px;
    margin-inline: auto;
  }

  .gst-skpage .sk-stage-grid,
  .gst-skpage .sk-proj-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }

  .gst-skpage .case-mobile {
    gap: 32px;
    margin: 0 calc(-1 * var(--gstl-gutter));
    padding: 4px var(--gstl-gutter) 14px;
  }

  .gst-skpage .case-mslide {
    aspect-ratio: 4 / 3;
  }

  .gst-skpage .sk-proj-actions {
    flex-direction: column;
  }

  .gst-skpage .sk-faq-actions {
    flex-direction: column;
  }

  .gst-skpage .why-actions .gstl-btn {
    max-width: none;
  }
}


/* ============================================================================
   CORPORATE  (.gst-corppage / .corp-*)
   Bulk/fleet food trailer orders landing (tpl-corporate.php), rebuilt on the
   gstl "Updated Blocks" canon (Figma GST | Website pages, node 826-134):
   black pill buttons, white hairline cards, orange as accent only.
   ========================================================================= */

.gst-corppage *,
.gst-corppage *::before,
.gst-corppage *::after {
    box-sizing: border-box;
}

/* --- shared: default line icons ship as <img> with orange strokes baked in --- */
.gst-corppage .corp-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- shared: white canon panel (split sections) --- */
.gst-corppage .corp-panel {
    background: #fff;
    border: 1px solid var(--gstl-line);
    border-radius: var(--gstl-radius-card);
    padding: clamp(24px, 3.4vw, 50px);
}

.gst-corppage .corp-panel-title {
    font-size: clamp(22px, 1vw + 13px, 32px);
    text-align: left;
}

.gst-corppage .corp-panel-sub {
    margin: 14px 0 0;
    font-size: var(--gstl-lead);
    line-height: 1.6;
    color: var(--gstl-muted);
}

/* --- shared: left head row with slider arrows on the right --- */
.gst-corppage .corp-row-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 var(--gstl-gap-block);
}

.gst-corppage .corp-slider-nav {
    display: flex;
    gap: 10px;
    flex: 0 0 auto;
}

.gst-corppage .corp-slider-nav[hidden] {
    display: none;
}

.gst-corppage .corp-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--gstl-radius-item);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gst-corppage .corp-arrow svg {
    width: 20px;
    height: 20px;
}

.gst-corppage .corp-arrow--prev {
    background: transparent;
    border: 1px solid var(--gstl-line);
    color: var(--gstl-ink);
}

.gst-corppage .corp-arrow--prev:hover {
    border-color: var(--gstl-ink);
}

.gst-corppage .corp-arrow--next {
    background: var(--gstl-ink);
    border: 0;
    color: #fff;
}

.gst-corppage .corp-arrow--next:hover {
    background: var(--gstl-orange);
}

.gst-corppage .corp-arrow:focus-visible {
    outline: 2px solid var(--gstl-orange);
    outline-offset: 2px;
}

/* --- shared: centered CTA under a section head / at a section end --- */
.gst-corppage .corp-head-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.gst-corppage .corp-section-cta {
    justify-content: center;
    margin-top: var(--gstl-gap-block);
}

/* ------------------------------------------------------------------ hero */
.gst-corppage .corp-hero {
    position: relative;
    background: var(--gstl-hero-bg);
    overflow: hidden;
}

.gst-corppage .corp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.gst-corppage .corp-hero-overlay {
    position: relative;
    background: linear-gradient(100deg, rgba(10, 12, 13, 0.72) 0%, rgba(10, 12, 13, 0.45) 55%, rgba(10, 12, 13, 0.22) 100%);
}

.gst-corppage .corp-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(32px, 4vw, 72px);
    padding-block: clamp(48px, 5.4vw, 90px);
}

.gst-corppage .corp-hero-title {
    color: #fff;
    margin: 0 0 20px;
}

.gst-corppage .corp-hero-sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(15px, 0.3vw + 14px, 18px);
    line-height: 1.55;
}

.gst-corppage .corp-hero-sub p {
    margin: 0 0 14px;
    color: inherit;
}

.gst-corppage .corp-hero-sub p:last-child {
    margin-bottom: 0;
}

.gst-corppage .corp-hero-buttons {
    margin-top: 36px;
}

/* --- hero: orange trust strip additions (rating + white stars) --- */
.gst-corppage .corp-trust-rating-num {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: 18px;
}

.gst-corppage .corp-trust-stars {
    display: inline-flex;
    gap: 4px;
}

.gst-corppage .corp-trust-stars svg {
    width: 15px;
    height: 15px;
}

/* --- hero: quote form card --- */
.gst-corppage .corp-form-card {
    background: #fff;
    border-radius: var(--gstl-radius-card);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.35);
    padding: clamp(28px, 2.6vw, 40px);
}

.gst-corppage .corp-form-head {
    text-align: center;
    margin-bottom: 22px;
}

.gst-corppage .corp-form-title {
    font-family: "Unbounded", sans-serif;
    font-size: clamp(22px, 0.6vw + 17px, 27px);
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.25;
    color: var(--gstl-ink);
    margin: 0 0 12px;
}

.gst-corppage .corp-form-subtitle {
    font-size: 15px;
    line-height: 1.5;
    color: var(--gstl-muted);
    margin: 0;
}

.gst-corppage .corp-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.gst-corppage .corp-form-row .wpcf7-form-control-wrap {
    flex: 1 1 0;
}

.gst-corppage .corp-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.gst-corppage .corp-form input[type="text"],
.gst-corppage .corp-form input[type="email"],
.gst-corppage .corp-form input[type="tel"],
.gst-corppage .corp-form select {
    display: block;
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    margin: 0 0 12px;
    background: #fff;
    border: 1px solid var(--gstl-line);
    border-radius: 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.25;
    color: var(--gstl-ink);
}

.gst-corppage .corp-form-row input {
    margin-bottom: 0;
}

.gst-corppage .corp-form input::placeholder {
    color: var(--gstl-muted);
    opacity: 1;
}

.gst-corppage .corp-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238d8d8d' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* placeholder look while nothing is chosen (JS toggles .corp-select-empty) */
.gst-corppage .corp-form select:disabled,
.gst-corppage .corp-form select.corp-select-empty {
    color: var(--gstl-muted);
}

.gst-corppage .corp-form input:focus-visible,
.gst-corppage .corp-form select:focus-visible {
    outline: 2px solid var(--gstl-orange);
    outline-offset: -1px;
}

/* submit = canon black pill */
.gst-corppage .corp-form input[type="submit"],
.gst-corppage .corp-form .corp-form-submit {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 6px;
    padding: 13px 24px;
    background: var(--gstl-ink);
    border: 0;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gst-corppage .corp-form input[type="submit"]:hover {
    background: #000;
}

.gst-corppage .corp-form-note {
    margin: 12px 0 0;
    font-size: 12px;
    text-align: center;
    color: var(--gstl-muted);
}

.gst-corppage .corp-form .wpcf7-not-valid-tip {
    font-size: 12px;
    margin: -6px 0 8px;
}

/* row fields have no bottom margin — keep the tip below the input, not over it */
.gst-corppage .corp-form-row .wpcf7-not-valid-tip {
    margin-top: 4px;
}

.gst-corppage .corp-form .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 14px;
}

/* CF7 keeps the idle spinner in the layout (visibility:hidden) — hide it
   completely so it doesn't reserve a row; show only while submitting */
.gst-corppage .corp-form .wpcf7-spinner {
    display: none;
}

.gst-corppage .corp-form form.submitting .wpcf7-spinner {
    display: block;
    margin: 8px auto 0;
}

/* --------------------------------------------------------------- clients */
.gst-corppage .corp-clients-panel {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: stretch;
}

.gst-corppage .corp-sector-list {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.gst-corppage .corp-sector {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.gst-corppage .corp-sector .gstl-icon-tile {
    width: 44px;
    height: 44px;
    margin: 0;
    flex: 0 0 auto;
}

.gst-corppage .corp-sector-title {
    display: block;
    font-weight: 700;
    font-size: 16px;
    color: var(--gstl-ink);
}

.gst-corppage .corp-sector-text {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--gstl-muted);
}

.gst-corppage .corp-clients-media {
    position: relative;
    min-height: 320px;
}

.gst-corppage .corp-clients-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--gstl-radius-media);
    display: block;
}

.gst-corppage .corp-clients-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gst-corppage .corp-clients-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gstl-orange);
    color: #fff;
}

.gst-corppage .corp-clients-badge-icon svg {
    width: 22px;
    height: 22px;
}

.gst-corppage .corp-clients-badge-title {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--gstl-ink);
}

.gst-corppage .corp-clients-badge-text {
    display: block;
    font-size: 13px;
    color: var(--gstl-muted);
}

/* ----------------------------------------------------------------- sizes */
.gst-corppage .corp-sizes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.2vw, 30px);
}

@media (max-width: 1100px) {
    .gst-corppage .corp-sizes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gst-corppage .corp-sizes-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
}

.gst-corppage .corp-size-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--gstl-line);
    border-radius: var(--gstl-radius-card);
    padding: 25px;
    padding-right: 70px;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .gst-corppage .corp-size-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(8, 10, 11, 0.06);
        border-color: #e2e2e2;
    }
}

.gst-corppage .corp-size-range {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 0.6vw + 17px, 27px);
    line-height: 1.15;
    color: var(--gstl-orange);
}

.gst-corppage .corp-size-use {
    font-weight: 700;
    font-size: 17px;
    color: var(--gstl-ink);
}

.gst-corppage .corp-size-capacity {
    font-size: 15px;
    color: var(--gstl-muted);
}

.gst-corppage .corp-size-arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--gstl-line);
    border-radius: 50%;
    color: var(--gstl-ink);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gst-corppage .corp-size-arrow svg {
    width: 18px;
    height: 18px;
}

.gst-corppage .corp-size-card:hover .corp-size-arrow {
    background: var(--gstl-orange);
    border-color: var(--gstl-orange);
    color: #fff;
}

/* ----------------------------------------------------------------- video */
.gst-corppage .corp-video-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

.gst-corppage .corp-checklist {
    list-style: none;
    margin: 24px 0 32px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.gst-corppage .corp-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--gstl-body-c);
}

.gst-corppage .corp-checklist-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(246, 153, 36, 0.14);
    color: var(--gstl-orange);
}

.gst-corppage .corp-checklist-icon svg {
    width: 12px;
    height: 12px;
}

.gst-corppage .corp-video-media {
    position: relative;
    border-radius: var(--gstl-radius-media);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-height: 300px;
    background: var(--gstl-ink);
}

.gst-corppage .corp-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gst-corppage .corp-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 50%;
    background: var(--gstl-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.gst-corppage .corp-video-play svg {
    width: 30px;
    height: 30px;
    margin-left: 4px;
}

.gst-corppage .corp-video-play:hover {
    background: var(--gstl-orange-hover);
}

@media (prefers-reduced-motion: no-preference) {
    .gst-corppage .corp-video-play:hover {
        transform: scale(1.05);
    }
}

.gst-corppage .corp-video-play:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.gst-corppage .corp-video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------------------------------------------------------- testimonials */
.gst-corppage .corp-testi-track {
    display: flex;
    gap: clamp(18px, 2.2vw, 30px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.gst-corppage .corp-testi-track::-webkit-scrollbar {
    display: none;
}

.gst-corppage .corp-testi-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 calc((100% - 2 * clamp(18px, 2.2vw, 30px)) / 3);
    min-width: 320px;
    scroll-snap-align: start;
    margin: 0;
    background: #fff;
    border: 1px solid var(--gstl-line);
    border-radius: var(--gstl-radius-card);
    padding: 28px;
}

@media (max-width: 640px) {
    .gst-corppage .corp-testi-card {
        flex-basis: 86%;
        min-width: 0;
    }
}

.gst-corppage .corp-testi-avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
}

.gst-corppage .corp-testi-stars {
    display: flex;
    gap: 6px;
    color: var(--gstl-orange);
    margin-bottom: 14px;
}

.gst-corppage .corp-testi-stars svg {
    width: 20px;
    height: 20px;
}

.gst-corppage .corp-testi-author {
    margin: 0;
}

.gst-corppage .corp-testi-name {
    display: block;
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: clamp(17px, 0.3vw + 15px, 20px);
    line-height: 1.25;
    color: var(--gstl-ink);
}

.gst-corppage .corp-testi-role {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--gstl-muted);
}

.gst-corppage .corp-testi-quote {
    margin: 12px 0 20px;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--gstl-muted);
    flex-grow: 1;
}

.gst-corppage .corp-testi-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    font-weight: 700;
    font-size: 15px;
    color: var(--gstl-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.gst-corppage .corp-testi-link svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.gst-corppage .corp-testi-link:hover {
    color: var(--gstl-orange);
}

/* -------------------------------------------------------------- projects */
.gst-corppage .corp-projects-list {
    display: grid;
    gap: clamp(20px, 2.4vw, 30px);
}

.gst-corppage .corp-project-card {
    display: grid;
    grid-template-columns: minmax(0, 44%) 1fr;
    gap: clamp(24px, 3.4vw, 48px);
    background: #fff;
    border: 1px solid var(--gstl-line);
    border-radius: var(--gstl-radius-card);
    padding: clamp(20px, 2.6vw, 40px);
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .gst-corppage a.corp-project-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(8, 10, 11, 0.06);
        border-color: #e2e2e2;
    }
}

.gst-corppage .corp-project-media {
    display: block;
    border-radius: var(--gstl-radius-media);
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.gst-corppage .corp-project-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gst-corppage .corp-project-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.gst-corppage .corp-project-loc {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gstl-orange);
    color: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 15px;
}

.gst-corppage .corp-project-loc svg {
    width: 16px;
    height: 16px;
}

.gst-corppage .corp-project-title {
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 0.8vw + 14px, 28px);
    line-height: 1.2;
    color: var(--gstl-ink);
}

.gst-corppage .corp-project-desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--gstl-muted);
}

.gst-corppage .corp-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gst-corppage .corp-project-chip {
    border: 1px solid #e4e4e4;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gstl-ink);
    background: #fff;
}

.gst-corppage .corp-project-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    align-self: flex-end;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--gstl-ink);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.gst-corppage .corp-project-more svg {
    width: 18px;
    height: 18px;
}

.gst-corppage .corp-project-card:hover .corp-project-more {
    background: #000;
}

/* --------------------------------------------------------------- builder */
.gst-corppage .corp-builder-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
    gap: clamp(24px, 3vw, 48px);
    align-items: center;
    background: var(--gstl-panel);
    border-radius: var(--gstl-radius-card);
    overflow: hidden;
    padding-left: clamp(24px, 4.8vw, 85px);
}

.gst-corppage .corp-builder-info {
    padding-block: clamp(28px, 4vw, 60px);
}

.gst-corppage .corp-builder-text {
    margin: 16px 0 28px;
    max-width: 640px;
    font-size: var(--gstl-lead);
    line-height: 1.6;
    color: var(--gstl-body-c);
}

.gst-corppage .corp-builder-media {
    align-self: end;
    justify-self: end;
}

.gst-corppage .corp-builder-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* --------------------------------------------------- contact (final CTA) */
.gst-corppage .corp-contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.2vw, 30px);
}

@media (max-width: 1100px) {
    .gst-corppage .corp-contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gst-corppage .corp-contact-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-inline: auto;
    }
}

.gst-corppage .corp-contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--gstl-line);
    border-radius: var(--gstl-radius-card);
    padding: 28px 25px;
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .gst-corppage .corp-contact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(8, 10, 11, 0.06);
        border-color: #e2e2e2;
    }
}

.gst-corppage .corp-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: var(--gstl-orange);
    color: #fff;
}

.gst-corppage .corp-contact-icon svg {
    width: 28px;
    height: 28px;
}

.gst-corppage .corp-contact-title {
    font-weight: 700;
    font-size: 17px;
    color: var(--gstl-ink);
}

.gst-corppage .corp-contact-value {
    margin-top: 4px;
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--gstl-muted);
    overflow-wrap: anywhere;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
    .gst-corppage .corp-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gst-corppage .corp-form-card {
        max-width: 560px;
        width: 100%;
        margin-inline: auto;
    }

    .gst-corppage .corp-clients-panel,
    .gst-corppage .corp-video-panel {
        grid-template-columns: 1fr;
    }

    .gst-corppage .corp-clients-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .gst-corppage .corp-video-media {
        min-height: 0;
    }

    .gst-corppage .corp-project-card {
        grid-template-columns: 1fr;
    }

    .gst-corppage .corp-project-media {
        aspect-ratio: 16 / 9;
    }

    .gst-corppage .corp-builder-panel {
        grid-template-columns: 1fr;
        padding-inline: clamp(20px, 4vw, 48px) 0;
    }

    .gst-corppage .corp-builder-info {
        padding-right: clamp(20px, 4vw, 48px);
        padding-bottom: 0;
    }

    .gst-corppage .corp-builder-media {
        width: min(500px, 92%);
    }
}

@media (max-width: 640px) {
    .gst-corppage .corp-row-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .gst-corppage .corp-form-card {
        padding: 24px 18px;
    }

    .gst-corppage .corp-form-row {
        flex-direction: column;
        gap: 12px;
    }

    .gst-corppage .corp-form-row input {
        margin-bottom: 0;
    }

    .gst-corppage .corp-panel {
        padding: 20px 16px;
    }

    .gst-corppage .corp-clients-badge {
        left: 12px;
        bottom: 12px;
        padding: 12px 14px;
    }

    .gst-corppage .corp-project-chip {
        padding: 8px 14px;
    }

    .gst-corppage .corp-project-more {
        align-self: stretch;
        justify-content: center;
    }
}
