/* ===============================================
   ASLAN — REDESIGN SKIN  (/redesign/* preview)
   Loaded AFTER /style.css by header.php when redesign.php runs a page.
   style.css keeps the layout; this file replaces the Matrix look with the
   brand of the social posts (aslan-marketing): paper, ink, one dark green.

   Provenance
     paper  #f6f5f1  the warm-paper stock every post is printed on
     ink    #121614  the headline black on that paper
     accent #007f2a  green, the posts' light-paper accent (slide.css --art-accent) —
                     the second headline line. The live site (aslanbuilt.com).
                     The /redesign/ preview swaps it for steel blue #2a5878 in
                     redesign-blue.css (the original colour, before 9018336).
     type   Manrope 800, tracked tight (-0.05em) — the post headline face
     mark   BankGothic caps + the black lion — the post letterhead
   Components read semantic tokens only. Raw values live in the first block.
   =============================================== */

@font-face { font-family: 'Manrope'; src: url('manrope-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('manrope-600.ttf') format('truetype'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('manrope-800.ttf') format('truetype'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'BankGothic'; src: url('bankgothic-medium.ttf') format('truetype'); font-weight: 400; font-display: swap; }

/* -----------------------------------------------
   PRIMITIVES
   ----------------------------------------------- */
:root {
    --p-paper: #f6f5f1;
    --p-paper-deep: #edebe4;
    --p-white: #fdfdfb;
    --p-ink: #121614;
    --p-ink-2: #353b38;
    --p-ink-3: #5a605c;
    --p-ink-4: #858a86;
    --p-line: #dedbd2;
    --p-line-2: #cbc7bc;
    --p-accent: #007f2a;
    --p-accent-deep: #00661f;
    --p-accent-ink: #0f2b19;
    --p-accent-wash: #e3efe5;
    --p-accent-mist: rgba(0, 127, 42, 0.08);
    --p-on-accent: #f3f7f3;
    --p-on-accent-2: rgba(243, 247, 243, 0.74);
}

/* -----------------------------------------------
   SEMANTIC — remaps style.css's own tokens so every
   rule that already reads var(--…) turns over at once.
   (Names are style.css's: "--accent-green" is just "the accent".)
   ----------------------------------------------- */
:root {
    --color-bg: var(--p-paper);
    --color-surface: var(--p-white);
    --color-surface-alt: var(--p-white);
    --color-text: var(--p-ink);
    --color-text-2: var(--p-ink-2);
    --color-text-3: var(--p-ink-3);
    --color-line: var(--p-line);
    --color-accent: var(--p-accent);
    --color-accent-strong: var(--p-accent-deep);
    --color-accent-wash: var(--p-accent-mist);
    --color-band: var(--p-accent);
    --color-footer: var(--p-accent-ink);

    --primary-blue: var(--color-accent);
    --primary-blue-dark: var(--color-accent-strong);
    --primary-blue-light: var(--color-accent);
    --accent-green: var(--color-accent);
    --accent-green-dark: var(--color-accent-strong);
    --accent-green-light: var(--color-accent);

    --text-dark: var(--color-text);
    --text-secondary: var(--color-text-2);
    --text-muted: var(--color-text-3);
    --text-light: var(--p-ink-4);
    --white: #ffffff;
    --background-light: var(--color-surface-alt);
    --background-subtle: var(--p-paper-deep);
    --border-light: var(--color-line);
    --border-medium: var(--p-line-2);

    --bg-darkest: var(--color-bg);
    --bg-dark: var(--p-paper-deep);
    --bg-card: var(--color-surface);

    --shadow-sm: 0 1px 2px rgba(18, 22, 20, 0.05);
    --shadow-md: 0 6px 18px -8px rgba(18, 22, 20, 0.16);
    --shadow-lg: 0 22px 44px -22px rgba(18, 22, 20, 0.28);
    --shadow-xl: 0 30px 60px -28px rgba(18, 22, 20, 0.32);
    --glow: none;

    --font-heading: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
    --font-mark: 'BankGothic', 'Manrope', sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;

    --tracking-display: -0.055em;
    --tracking-head: -0.04em;
    --tracking-body: -0.01em;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -----------------------------------------------
   BASE
   ----------------------------------------------- */
::selection { background: var(--color-accent); color: var(--p-on-accent); }

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 1.0625rem;
    letter-spacing: var(--tracking-body);
    line-height: 1.6;
}

/* Paper grain — the post stock, not a flat fill. Fixed so it doesn't scroll-shimmer. */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.33 0 0 0 0 0.28 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer { position: relative; z-index: 1; }

a { color: var(--color-accent); }
a:hover { color: var(--color-accent-strong); }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: var(--tracking-head);
    line-height: 1.08;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.25rem); letter-spacing: var(--tracking-display); line-height: 1.0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: var(--tracking-display); line-height: 1.04; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.25rem); letter-spacing: -0.03em; }
h6 { letter-spacing: 0.12em; }

p { color: var(--color-text-2); }
.lead { font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.45; letter-spacing: -0.02em; color: var(--color-text-2); }
strong, b { font-weight: 800; }

/* The signature: a headline's second thought, in green. No glow. */
.highlight, .accent { color: var(--color-accent); text-shadow: none; }

/* -----------------------------------------------
   SECTIONS — paper, white, green. That's the palette.
   ----------------------------------------------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-alt {
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}
.section-dark { background: var(--p-ink); }

.section-blue {
    background: var(--color-band);
    border: 0;
    color: var(--p-on-accent);
    position: relative;
    overflow: hidden;
}
/* The band carries the lion as a watermark, the way the dark posts carry theirs. */
.section-blue::after {
    content: '';
    position: absolute;
    right: -6%;
    top: 50%;
    width: min(46vw, 560px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    background: url('../brand/aslan-lion-800.png') center / contain no-repeat;
    opacity: 0.07;
    pointer-events: none;
}
.section-blue > .container { position: relative; z-index: 1; }
.section-blue h1, .section-blue h2, .section-blue h3, .section-blue h4 { color: #fff; text-shadow: none; }
.section-blue p { color: var(--p-on-accent-2); }
.section-blue a:not(.btn) { color: #fff; }

.section-header { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header p { font-size: 1.125rem; color: var(--color-text-3); }

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: var(--space-md);
}
.section-tag::before { content: ''; width: 8px; height: 8px; background: currentColor; }
.section-blue .section-tag { color: var(--p-on-accent); }

/* -----------------------------------------------
   HEADER
   ----------------------------------------------- */
.header {
    background: rgba(246, 245, 241, 0.88);
    border-bottom: 1px solid var(--color-line);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
}
.header.scrolled { box-shadow: 0 10px 30px -24px rgba(18, 22, 20, 0.4); }
.header-inner { height: 76px; }

.logo {
    font-family: var(--font-mark);
    font-weight: 400;
    font-size: 1.55rem;
    letter-spacing: 0.14em;
    color: var(--color-text);
    gap: 0.7rem;
}
.logo:hover { color: var(--color-text); text-shadow: none; }
.logo-icon {
    width: 42px;
    height: 42px;
    background-image: url('../brand/aslan-lion.png');
    filter: none;
    mix-blend-mode: multiply;
}

.nav { gap: var(--space-xl); }
.nav-links { gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text-2);
}
.nav-links a::after { background-color: var(--color-accent); height: 2px; }
.nav-links a:hover, .nav-links a.active { color: var(--color-text); text-shadow: none; }

.mobile-menu-btn, .mobile-close { color: var(--color-text); }
.mobile-menu { background: var(--color-bg); gap: var(--space-lg); }
/* style.css colours every .mobile-menu link green, and that rule outranks .btn-primary,
   so the menu's Book a call button had green text on a green fill. */
.mobile-menu a.btn-primary, .mobile-menu a.btn-primary:hover { color: #fff; }
.mobile-menu a:not(.btn) {
    color: var(--color-text);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: var(--tracking-head);
}

@media (max-width: 1100px) and (min-width: 769px) {
    .nav-links { gap: 0.8rem; }
    .nav-links a { font-size: 0.8125rem; }
}

/* -----------------------------------------------
   BUTTONS — green fill, ink outline. Flat, no glow.
   ----------------------------------------------- */
.btn {
    font-weight: 800;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    border-radius: var(--radius-md);
    border-width: 2px;
    padding: 0.9rem 1.5rem;
    transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out),
                border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.0625rem; }
.btn-sm { padding: 0.6rem 1rem; font-size: 0.8125rem; }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--color-accent-strong);
    border-color: var(--color-accent-strong);
    color: #fff;
    box-shadow: none;
    transform: translateY(-1px);
}
.btn-secondary, .btn-outline {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}
.btn-secondary:hover, .btn-outline:hover {
    background-color: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-bg);
}
.btn-white {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-accent-strong);
}
.btn-white:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
    box-shadow: none;
}
/* Outline buttons that sit on the green band (index.php inlines a white border). */
.section-blue .btn-outline, .section-blue .btn-secondary {
    border-color: rgba(255, 255, 255, 0.6) !important;
    color: #fff !important;
}
.section-blue .btn-outline:hover, .section-blue .btn-secondary:hover {
    background: #fff;
    color: var(--color-accent-strong) !important;
}

/* -----------------------------------------------
   HERO — the post, at page size.
   ----------------------------------------------- */
.hero {
    background: transparent;
    padding: calc(76px + clamp(3.5rem, 8vw, 7rem)) 0 clamp(3.5rem, 8vw, 6.5rem);
}
.hero::before {
    /* A single hairline rule under the hero, like the post footer rule. */
    background: none;
    top: auto;
    left: var(--space-lg);
    right: var(--space-lg);
    bottom: 0;
    height: 1px;
    max-width: calc(var(--container-max) - 2 * var(--space-lg));
    margin: 0 auto;
    background-color: var(--color-line);
}
.hero-content { max-width: 880px; }
.hero h1 { margin-bottom: var(--space-xl); }
.hero .lead { max-width: 36ch; margin-left: auto; margin-right: auto; margin-bottom: var(--space-2xl); color: var(--color-text); }
.hero-with-lion .hero .lead, .hero-with-lion .lead { margin-left: 0; }
.hero h1 .highlight { display: block; }

.hero-badge {
    background: transparent;
    color: var(--color-text-2);
    border: 1px solid var(--color-line-2, var(--p-line-2));
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    padding: 0.5rem 0.9rem;
}

.hero-with-lion .hero-split { grid-template-columns: 1.35fr 0.65fr; }
.hero-lion {
    /* The 800px lion: the 256px one stretched to 380 CSS px pixelates. */
    background: url('../brand/aslan-lion-800.png') center / contain no-repeat;
    mix-blend-mode: multiply;
    aspect-ratio: 1;
    width: 100%;
    max-width: 380px;
    justify-self: end;
}
.hero-lion img { visibility: hidden; filter: none; animation: none; }

/* One orchestrated load: headline, then the line, then the buttons. */
@media (prefers-reduced-motion: no-preference) {
    .hero .hero-badge, .hero h1, .hero .lead, .hero .hero-buttons, .hero-lion {
        animation: rd-rise 700ms var(--ease-out) both;
    }
    .hero h1 { animation-delay: 60ms; }
    .hero .lead { animation-delay: 160ms; }
    .hero .hero-buttons { animation-delay: 260ms; }
    .hero-lion { animation: rd-fade 1100ms var(--ease-out) 200ms both; }
}
@keyframes rd-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rd-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up { animation: none; opacity: 1 !important; }
}

.hero-dark { background: var(--p-ink); }
.hero-blue { background: var(--color-band); }

/* -----------------------------------------------
   CARDS — white stock on paper, hairline edge.
   ----------------------------------------------- */
.card, .case-study-card, .industry-card, .testimonial {
    background: var(--color-surface);
    border: 1px solid var(--color-line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.card:hover, .industry-card:hover, .case-study-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}
.card-flat:hover { transform: none; box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.card h3 { font-size: 1.3rem; letter-spacing: -0.035em; }
.card p { color: var(--color-text-3); }

.card-icon, .card-icon.blue, .card-icon.green {
    background-color: var(--color-accent-wash);
    color: var(--color-accent);
    border-radius: 10px;
    width: 48px;
    height: 48px;
}
.card-featured { border: 2px solid var(--color-accent); }
.card-featured::before { background: var(--color-accent); color: #fff; letter-spacing: 0.12em; }

.industry-icon { background-color: var(--color-accent-wash); color: var(--color-accent); }
.industry-card { color: var(--color-text); }
.industry-card h4 { color: var(--color-text); }

.case-study-image { background: var(--p-accent-wash); color: var(--color-accent); }
.case-study-tag { background-color: var(--color-accent-wash); color: var(--color-accent); letter-spacing: 0.12em; }
.metric-value { color: var(--color-accent); font-weight: 800; letter-spacing: -0.04em; }

.testimonial-quote::before { color: var(--color-accent); }

/* -----------------------------------------------
   PROCESS / STATS
   ----------------------------------------------- */
.step-number {
    background-color: var(--color-accent);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--color-surface);
}
.section:not(.section-alt) .step-number { box-shadow: 0 0 0 6px var(--color-bg); }
.process-step::after { background: var(--color-line-2, var(--p-line-2)); height: 1px; top: 28px; }

.stat-number {
    color: var(--color-accent);
    font-weight: 800;
    font-size: clamp(2.8rem, 5vw, 4rem);
    letter-spacing: -0.06em;
}
.stat-label { color: var(--color-text-3); font-weight: 600; }

/* -----------------------------------------------
   TRUSTED BY
   ----------------------------------------------- */
.trusted-by { background: var(--color-surface); border-color: var(--color-line); }
.client-name { color: var(--color-text-3); font-weight: 800; letter-spacing: -0.02em; }
.client-logo:hover .client-name { color: var(--color-accent); text-shadow: none; }
.client-logo img { filter: grayscale(100%) contrast(1.1); opacity: 0.65; }

/* -----------------------------------------------
   FORMS
   ----------------------------------------------- */
.form-label { color: var(--color-text); font-weight: 800; letter-spacing: -0.01em; }
.form-control {
    color: var(--color-text);
    background-color: #fff;
    border: 1px solid var(--p-line-2);
    border-radius: var(--radius-md);
    font-size: 1rem;
}
.form-control:focus { border-color: var(--color-accent); box-shadow: 0 0 0 4px var(--color-accent-wash); }
/* ai-training.php paints its form dark inline. */
form[action*="contact_form_handler"][style] {
    background: var(--color-surface) !important;
    border-color: var(--color-line) !important;
    box-shadow: var(--shadow-md);
}

/* -----------------------------------------------
   FOOTER — deep green.
   ----------------------------------------------- */
.footer {
    background-color: var(--color-footer);
    color: var(--p-on-accent);
    border-top: 0;
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.footer-brand .logo { color: #fff; }
.footer .logo-icon { filter: none; mix-blend-mode: normal; }
.footer-brand p, .footer-links a, .footer-contact p, .footer-contact a { color: var(--p-on-accent-2); }
.footer-heading { color: #fff; font-weight: 800; letter-spacing: 0.14em; font-size: 0.75rem; }
.footer-links a:hover, .footer-contact a:hover, .footer-legal a:hover { color: #fff; }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.14); }
.footer-bottom p, .footer-legal a { color: rgba(244, 247, 249, 0.55); }

/* -----------------------------------------------
   /work — board, tiles, story dialog
   ----------------------------------------------- */
.work-tile { background: var(--color-surface); border-color: var(--color-line); }
.work-tile::after { box-shadow: var(--shadow-md); }
.work-glyph-frame { background: var(--color-accent-wash); border-color: transparent; color: var(--color-accent); }
.work-tile-btn:hover h3 { color: var(--color-accent); }
.work-chip[aria-pressed="true"] { color: #fff; background: var(--color-accent); border-color: var(--color-accent); }
@media (hover: hover) {
    .work-tile:hover, .work-tile:focus-within { border-color: var(--color-accent); }
    .work-tile:hover .work-glyph-frame, .work-tile:focus-within .work-glyph-frame {
        color: #fff; border-color: var(--color-accent); background: var(--color-accent);
    }
    .work-tile::before { display: none; }
}
.work-story::backdrop { background: rgba(18, 22, 20, 0.55); }
.work-panel { background: var(--color-surface); border-color: var(--color-line); box-shadow: var(--shadow-xl); }
.work-story-close:hover, .work-story-nav:hover { color: var(--color-accent); border-color: var(--color-accent); }
.work-story-pips > i { background: rgba(18, 22, 20, 0.15); }
.work-story-pips > i::after { background: var(--color-accent); }
.work-glyph-lg { color: var(--color-accent); border-color: transparent; background: var(--color-accent-wash); }
.work-story-nav { color: var(--color-text); background: rgba(255, 255, 255, 0.94); border-color: var(--color-line); }
@media (max-width: 768px) {
    .work-story-nav-wrap { background: var(--color-surface); }
    .work-story-nav { background: var(--color-bg); }
}

/* -----------------------------------------------
   PAGE-SPECIFIC INLINE STYLES (book-a-call, custom-software, contact)
   Those pages ship their own <style> with the old neon values.
   ----------------------------------------------- */
/* Page <style> blocks print after this file, so these carry body.redesign for weight. */
body.redesign .lp-hero h1 { color: var(--color-text); font-weight: 800; letter-spacing: var(--tracking-display); line-height: 1.0; font-size: clamp(2.6rem, 6vw, 4.75rem); }
body.redesign .lp-hero .lead { color: var(--color-text-2); }
body.redesign .lp-cta, body.redesign .lp-cta:link, body.redesign .lp-cta:visited {
    background-color: var(--color-accent); border-color: var(--color-accent); color: #fff; box-shadow: none;
}
body.redesign .lp-cta:hover, body.redesign .lp-cta:focus {
    background-color: var(--color-accent-strong); border-color: var(--color-accent-strong); color: #fff; box-shadow: none;
}
body.redesign .lp-thanks { background: var(--color-accent-wash); }
body.redesign .lp-err { color: #9b2c2c; background: #fbeaea; border-color: #e2a3a3; }
body.redesign .contact-flash.is-err { color: #9b2c2c; background: #fbeaea; border-color: #e2a3a3; }
.contact-flash.is-ok { background: var(--color-accent-wash); border-color: var(--color-accent); color: var(--color-text); }

/* -----------------------------------------------
   PREVIEW MARKER — not part of the design; tells a
   visitor they are on the preview, not the live page.
   ----------------------------------------------- */
.redesign-bar {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 2000;
    max-width: calc(100vw - 32px);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: var(--p-ink);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.redesign-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* -----------------------------------------------
   RESPONSIVE
   ----------------------------------------------- */
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .hero { padding: calc(76px + 2.5rem) 0 3rem; }
    .hero-with-lion .hero-split { grid-template-columns: 1fr; }
    .hero-with-lion .hero-content { text-align: left; }
    .hero-with-lion .hero-buttons { justify-content: flex-start; }
    .hero-lion { max-width: 120px; justify-self: start; margin-bottom: 0; }
    .hero-buttons { align-items: stretch; }
    .hero-buttons .btn { max-width: none; }
    .section-header { text-align: left; }
    .section-blue::after { width: 90vw; right: -30%; }
}

/* Five footer columns on one row (style.css lays out four and wraps Contact). */
@media (min-width: 1025px) {
    .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
}
/* The lion stays in the hero at every size (2026-10-09): on a phone it is the
   120px mark above the headline (see the 768px block above). */
@media (max-width: 768px) {
    .hero-with-lion .hero-split { gap: 1.25rem; }
    .hero-with-lion .hero-lion { order: -1; }
}

/* /work keeps its own compact hero (style.css .hero-work): the list, not the
   headline, is the page. The general .hero rules above would re-inflate it —
   big top pad, centred 36ch lead, a hairline — so put its values back. */
.hero.hero-work { padding: calc(76px + 2.5rem) 0 1rem; }
.hero.hero-work::before { display: none; }
.hero-work .hero-content { max-width: 54rem; margin: 0; text-align: left; }
.hero-work h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 0.75rem; }
.hero-work .lead { font-size: 1.125rem; max-width: 54rem; margin: 0; color: var(--color-text-2); }
.section.section-work { padding-top: var(--space-xl); }

/* Home hero: the green line rotates through phrases (index.php). It must never
   wrap, so the headline is sized off its own column: the longest phrase,
   "With No Subscription", measures 9.38em in Manrope 800 at this tracking,
   and 10.4cqi keeps 9.4em inside 100% of the column at every width. */
.hero-with-lion .hero-content { container-type: inline-size; }
.hero-with-lion h1 { font-size: min(5.25rem, 10.4cqi); }
.hero-with-lion .rotating-text { white-space: nowrap; }
