/* ==========================================================================
   IMPRIMO — Custom theme styles
   Palette: black + grey + CMY accents (matches logo identity)
   ========================================================================== */

/* ------- Reset ------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black:       #0a0a0a;
    --ink:         #1a1a1a;
    --char:        #2c2c2c;
    --grey:        #6b6b6b;
    --grey-2:      #8a8a8a;
    --grey-3:      #b5b5b5;
    --line:        #e5e5e5;
    --paper:       #f7f6f3;
    --paper-2:     #efede8;
    --white:       #ffffff;
    --cyan:        #00aeef;
    --magenta:     #ec008c;
    --yellow:      #ffd200;
    --max:         1240px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    font-weight: 400;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--black);
}
p { color: var(--grey); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; height: auto; display: block; }

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

/* Skip link for accessibility */
.skip-link {
    position: absolute; left: -9999px; top: -9999px;
    background: var(--black); color: var(--white);
    padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }
.screen-reader-text {
    clip: rect(1px,1px,1px,1px); position: absolute !important;
    height: 1px; width: 1px; overflow: hidden;
}

/* ============ LOGO MARK ============ */
.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--black);
}
.logo-bracket {
    display: inline-block;
    width: 44px; height: 34px;
    position: relative;
}
.logo-bracket::before {
    content:'';
    position: absolute;
    inset: 0;
    border: 3px solid var(--grey);
    border-left: 0;
}
.logo-cmy {
    position: absolute;
    bottom: -3px; right: -3px;
    display: flex; gap: 2px;
}
.logo-cmy i {
    width: 6px; height: 6px;
    display: inline-block;
}
.logo-wordmark {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.025em;
    color: var(--black);
}
.logo-wordmark .logo-light {
    font-weight: 400;
    color: var(--grey);
    margin-left: 6px;
    letter-spacing: 0.02em;
    font-size: 13px;
    text-transform: uppercase;
    vertical-align: 3px;
}
.logo-mark--light .logo-wordmark { color: var(--white); }
.logo-mark--light .logo-wordmark .logo-light { color: rgba(255,255,255,0.6); }
.logo-mark--light .logo-bracket::before { border-color: rgba(255,255,255,0.4); }

/* CMY strip helper */
.cmy-strip {
    display: inline-flex;
    gap: 3px;
    vertical-align: middle;
}
.cmy-strip i { display: inline-block; }

/* ============ TOPBAR ============ */
.topbar {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    font-size: 12.5px;
    padding: 10px 0;
    letter-spacing: 0.03em;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar-contact { display: flex; gap: 26px; }
.topbar-left { display: flex; align-items: center; gap: 10px; }
.topbar-left .cmy-strip i { width: 7px; height: 7px; }
@media (max-width: 720px) { .topbar-contact { display: none; } }

/* ============ HEADER / NAV ============ */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    position: relative;
}
.logo-link {
    display: inline-flex;
    align-items: center;
}
/* WordPress's the_custom_logo() outputs its own <a class="custom-logo-link"><img class="custom-logo"></a> */
.site-header .nav { justify-content: flex-start; }
.site-header .nav .primary-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}
.site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.site-header .custom-logo {
    /* SVGs with only a viewBox (no intrinsic px width/height) can collapse to
       width:0 inside inline-flex when only the height is constrained. Set an
       explicit height + auto width + aspect-ratio hint matching the logo's
       300×104 viewBox so the browser always lays it out at ~162px wide. */
    height: 56px;
    width: auto;
    max-width: 200px;
    aspect-ratio: 300 / 104;
    display: block;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 34px;
    list-style: none;
    align-items: center;
}
.nav-links li { list-style: none; }
.nav-links a {
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links .current-menu-item a {
    border-bottom-color: var(--black);
}

.btn {
    display: inline-block;
    padding: 13px 26px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
    border-radius: 0;
    text-align: center;
}
.btn-nav { padding: 10px 20px; font-size: 12px; margin-left: 14px; }
.btn-primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-primary:hover { background: var(--char); border-color: var(--char); }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn-outline-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--black);
}

/* ============ HERO ============ */
.hero {
    background: var(--black);
    color: var(--white);
    padding: 120px 0 130px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content:'';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 85%);
            mask-image: linear-gradient(180deg, black 0%, transparent 85%);
    pointer-events: none;
}

.hero-bracket {
    position: absolute;
    top: 90px; right: 60px;
    width: 260px; height: 200px;
    border: 2px solid rgba(255,255,255,0.15);
    border-left: 0;
    z-index: 0;
}
.hero-bracket .logo-cmy {
    position: absolute;
    bottom: -2px; right: -2px;
    display: flex; gap: 4px;
}
@media (max-width: 900px) { .hero-bracket { display: none; } }

.hero-inner { position: relative; z-index: 1; max-width: 900px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}
.eyebrow .cmy-strip i { width: 8px; height: 8px; }

.hero h1 {
    color: var(--white);
    font-size: clamp(40px, 6.2vw, 76px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 32px;
}
.hero h1 .thin {
    font-weight: 300;
    color: rgba(255,255,255,0.72);
}

.hero p.lead {
    font-size: clamp(16px, 1.3vw, 18px);
    color: rgba(255,255,255,0.72);
    max-width: 660px;
    margin-bottom: 48px;
    line-height: 1.7;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }
.hero-cta .btn-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.hero-cta .btn-primary:hover {
    background: transparent;
    color: var(--white);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 40px;
}
.stat { padding: 0 28px; border-left: 1px solid rgba(255,255,255,0.15); }
.stat:first-child { padding-left: 0; border-left: none; }
.stat .num {
    font-size: 40px;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.stat .label {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ============ SECTION DEFAULTS ============ */
section { padding: 110px 0; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 24px;
}
.section-eyebrow .cmy-strip i { width: 7px; height: 7px; }
.section-header { max-width: 820px; margin-bottom: 76px; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center .section-eyebrow { justify-content: center; }
.section-header h2 {
    font-size: clamp(32px, 4vw, 52px);
    margin-bottom: 22px;
    font-weight: 600;
    line-height: 1.1;
}
.section-header p {
    font-size: 17px;
    color: var(--grey);
    max-width: 680px;
    line-height: 1.7;
}
.section-header.center p { margin-left: auto; margin-right: auto; }

/* ============ ABOUT ============ */
.about { background: var(--paper); }
.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 90px;
    align-items: start;
}
.about-text h2 { font-size: clamp(30px,3.8vw,48px); margin-bottom: 28px; }
.about-text p { margin-bottom: 18px; font-size: 16.5px; line-height: 1.78; }
.about-text p.large {
    font-size: 22px;
    color: var(--black);
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.about-pillars { border-top: 2px solid var(--black); }
.pillar {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}
.pillar:last-child { border-bottom: 2px solid var(--black); }
.pillar .num {
    font-size: 13px; font-weight: 600;
    color: var(--black); letter-spacing: 0.1em;
    padding-top: 4px;
}
.pillar h3 { font-size: 19px; margin-bottom: 8px; font-weight: 600; }
.pillar p { color: var(--grey); font-size: 14.5px; line-height: 1.6; }

/* ============ BRANDS ============ */
.brands { background: var(--white); }
.brand-intro {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 56px;
}
.brand-intro .section-header { margin-bottom: 0; max-width: none; }
.brand-intro .note {
    font-size: 15px;
    color: var(--grey);
    padding-left: 24px;
    border-left: 2px solid var(--black);
    line-height: 1.7;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.brand-card {
    padding: 36px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
    transition: background 0.25s;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    position: relative;
}
.brand-card:hover { background: var(--paper); }
.brand-card::before {
    content:'';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--black);
    transition: width 0.3s ease;
}
.brand-card:hover::before { width: 100%; }
.brand-card--cta { cursor: default; }

.brand-number {
    font-size: 12px; font-weight: 600;
    color: var(--grey-2);
    letter-spacing: 0.14em;
    margin-bottom: 18px;
    display: flex; align-items: center; gap: 10px;
}
.brand-number .dot {
    width: 6px; height: 6px;
    background: var(--black);
    display: inline-block;
}
.brand-card h3 { font-size: 21px; margin-bottom: 10px; color: var(--black); font-weight: 600; }
.brand-card p { font-size: 14px; color: var(--grey); flex-grow: 1; line-height: 1.6; }
.brand-link {
    margin-top: 20px;
    font-size: 12px; font-weight: 600;
    color: var(--black);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center; gap: 8px;
}
.brand-link::after { content:'→'; transition: transform 0.2s; font-size: 14px; }
.brand-card:hover .brand-link::after { transform: translateX(4px); }

/* ============ CAPABILITIES ============ */
.capabilities { background: var(--paper); }
.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.cap-card {
    padding: 48px 36px;
    background: var(--white);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s;
    position: relative;
}
.cap-card::before {
    content:'';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--black);
}
.cap-card:hover { background: var(--paper); }
.cap-card .roman {
    font-size: 13px; font-weight: 600;
    color: var(--grey-2);
    letter-spacing: 0.16em;
    margin-bottom: 22px;
}
.cap-card h3 { font-size: 22px; margin-bottom: 14px; font-weight: 600; }
.cap-card p { font-size: 15px; color: var(--grey); line-height: 1.65; }

/* ============ COMMITMENT ============ */
.commitment {
    background: var(--black);
    color: var(--white);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}
.commitment::before {
    content:'';
    position: absolute;
    top: 50%; right: -60px;
    transform: translateY(-50%);
    width: 340px; height: 260px;
    border: 2px solid rgba(255,255,255,0.1);
    border-left: 0;
}
.commitment .container {
    max-width: 960px;
    text-align: center;
    position: relative;
}
.cmy-top { margin-bottom: 40px; }
.commitment blockquote {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 400;
    line-height: 1.4;
    color: var(--white);
    margin-bottom: 36px;
    letter-spacing: -0.015em;
}
.commitment cite {
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    display: inline-block;
}

/* ============ INDUSTRIES ============ */
.industries { background: var(--white); }
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.ind-item {
    padding: 28px 26px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    font-weight: 500;
    color: var(--black);
    font-size: 15.5px;
    display: flex; align-items: center; gap: 14px;
    transition: background 0.2s;
}
.ind-item:hover { background: var(--paper); }
.ind-item::before {
    content:'';
    width: 10px; height: 10px;
    background: var(--black);
    flex-shrink: 0;
}
.ind-item:nth-child(5n+1)::before { background: var(--cyan); }
.ind-item:nth-child(5n+2)::before { background: var(--magenta); }
.ind-item:nth-child(5n+3)::before { background: var(--yellow); }
.ind-title { flex: 1; }
.ind-arrow {
    color: var(--grey-2);
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}
a.ind-item--linked {
    text-decoration: none;
    cursor: pointer;
    color: var(--black);
}
a.ind-item--linked:hover { background: var(--paper); }
a.ind-item--linked:hover .ind-arrow {
    transform: translateX(4px);
    color: var(--black);
}

/* ============ CONTACT FORM SECTION (replaces CTA banner) ============ */
.contact-form-section {
    background: var(--black);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.contact-form-section::before {
    content:'';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 90%);
            mask-image: linear-gradient(180deg, black 0%, transparent 90%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left copy column */
.contact-copy .eyebrow {
    color: rgba(255,255,255,0.85);
    margin-bottom: 26px;
}
.contact-copy h2 {
    color: var(--white);
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}
.contact-copy .motion-bar {
    display: block;
    width: 100px;
    height: 2px;
    background: var(--white);
    margin-bottom: 32px;
}
.contact-copy .lead {
    color: rgba(255,255,255,0.78);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}
.contact-copy .phone-note {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    line-height: 1.6;
    max-width: 440px;
}
.contact-copy .phone-note strong { color: var(--white); }

/* Right form card */
.form-card {
    background: var(--white);
    color: var(--ink);
    padding: 44px 40px;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg,
        var(--cyan) 0%, var(--cyan) 33.33%,
        var(--yellow) 33.33%, var(--yellow) 66.66%,
        var(--magenta) 66.66%, var(--magenta) 100%) 1;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}

.form-card .label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey);
    margin: 14px 0 6px;
}
.form-card .label:first-child { margin-top: 0; }

.form-card .field {
    width: 100%;
    padding: 13px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 0;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.form-card .field:focus {
    outline: none;
    border-color: var(--black);
}
.form-card textarea.field {
    resize: vertical;
    min-height: 96px;
    line-height: 1.5;
}
.form-card select.field {
    background-image:
        linear-gradient(45deg, transparent 50%, var(--ink) 50%),
        linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position:
        calc(100% - 16px) calc(50% - 2px),
        calc(100% - 10px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 36px;
    cursor: pointer;
}
.form-card select.field option[disabled] {
    color: var(--grey-2);
    font-weight: 600;
}

.form-card .form-submit {
    display: block;
    width: 100%;
    padding: 18px;
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    background: var(--black);
    color: var(--white);
    border: 1.5px solid var(--black);
    transition: background 0.2s ease;
}
.form-card .form-submit:hover {
    background: var(--char);
}

.form-card .fine {
    font-size: 12px;
    color: var(--grey);
    margin-top: 16px;
    text-align: center;
    line-height: 1.5;
}

/* Honeypot - hidden anti-spam field */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Form feedback after submit */
.form-feedback {
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 3px solid var(--black);
    background: var(--paper);
    color: var(--ink);
}
.form-feedback--success {
    border-left-color: var(--cyan);
    background: #eaf8fc;
}
.form-feedback--error {
    border-left-color: var(--magenta);
    background: #fdeaf3;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .form-card { padding: 32px 24px; }
}

/* ============ BRAND PAGES ============ */

/* --- Brand page hero (full-bleed background image with text overlay) --- */
.brand-hero {
    position: relative;
    background-color: var(--paper);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    padding: 130px 0 140px;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

/* Gradient overlay ensures text legibility regardless of image content */
.brand-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(247, 246, 243, 0.96) 0%,
        rgba(247, 246, 243, 0.88) 25%,
        rgba(247, 246, 243, 0.55) 45%,
        rgba(247, 246, 243, 0.15) 60%,
        rgba(247, 246, 243, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* No image — clean centered layout */
.brand-hero--no-image {
    text-align: center;
    background-color: var(--paper);
    min-height: 480px;
}
.brand-hero--no-image .brand-hero-copy { max-width: 800px; margin: 0 auto; }
.brand-hero--no-image .brand-hero-cta { justify-content: center; }
.brand-hero--no-image .section-eyebrow { justify-content: center; }
.brand-hero--no-image .brand-hero-overlay { display: none; }

.brand-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.brand-hero-copy {
    max-width: 580px;
}
.brand-hero-copy .section-eyebrow { margin-bottom: 22px; }

.brand-hero-title {
    font-size: clamp(48px, 7.2vw, 92px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.035em;
    margin-bottom: 26px;
    color: var(--black);
}

.brand-hero-tagline {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 40px;
    max-width: 520px;
    font-weight: 400;
}

.brand-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- About section --- */
.brand-about {
    background: var(--white);
    padding: 100px 0;
}
.brand-about-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 70px;
    max-width: 1080px;
    margin: 0 auto;
}
.brand-about-side .section-eyebrow {
    position: sticky;
    top: 120px;
}

/* Brand logo in the About sidebar */
.brand-about-logo {
    display: block;
    margin-top: 32px;
    max-width: 220px;
    transition: opacity 0.25s ease, transform 0.25s ease;
    text-decoration: none;
}
.brand-about-logo img {
    width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
    display: block;
}
a.brand-about-logo:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}
.brand-about-logo--static { cursor: default; }
.brand-about-logo--static:hover { opacity: 1; transform: none; }
@media (max-width: 980px) {
    .brand-about-logo { margin-top: 16px; margin-bottom: 8px; }
}
.brand-about-content { font-size: 17px; line-height: 1.8; color: var(--ink); }
.brand-about-content p { margin-bottom: 20px; color: var(--ink); }
.brand-about-content h2 { font-size: 28px; margin: 40px 0 14px; }
.brand-about-content h3 { font-size: 22px; margin: 28px 0 12px; }
.brand-about-content ul, .brand-about-content ol { padding-left: 26px; margin-bottom: 22px; }
.brand-about-content li { margin-bottom: 8px; }
.brand-about-content a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.brand-about-content figure { margin: 30px 0; }

/* --- Services section --- */
.brand-services {
    background: var(--paper);
    padding: 100px 0;
}
.brand-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.svc-item {
    padding: 40px 32px;
    background: var(--white);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s;
    position: relative;
}
.svc-item::before {
    content:'';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--black);
}
.svc-item:hover { background: var(--paper); }
.svc-num {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-2);
    letter-spacing: 0.16em;
    margin-bottom: 16px;
}
.svc-item h3 { font-size: 20px; margin-bottom: 10px; font-weight: 600; }
.svc-item p { font-size: 14.5px; color: var(--grey); line-height: 1.65; }

/* Linked service tile — entire card is clickable, links to brand's product page */
a.svc-item--linked {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
    padding-bottom: 56px;  /* room for the arrow */
}
a.svc-item--linked h3 { color: var(--black); }
a.svc-item--linked .svc-link-arrow {
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-size: 22px;
    line-height: 1;
    color: var(--grey-2);
    transition: transform 0.25s ease, color 0.25s ease;
    font-weight: 500;
}
a.svc-item--linked:hover {
    background: var(--white);
}
a.svc-item--linked:hover h3 {
    color: var(--black);
}
a.svc-item--linked:hover .svc-link-arrow {
    transform: translateX(6px);
    color: var(--black);
}

/* --- Gallery --- */
.brand-gallery {
    background: var(--white);
    padding: 100px 0;
}
.brand-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--paper);
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.04); }

/* --- Stats (brand page) --- */
.brand-stats {
    background: var(--black);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}
.brand-stats .section-eyebrow {
    color: rgba(255,255,255,0.85);
    justify-content: center;
    margin-bottom: 50px;
}
.brand-stats .center-eyebrow { justify-content: center; }
.brand-stats-grid {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 50px 0;
}
.brand-stats-grid.stats-1 { grid-template-columns: 1fr; }
.brand-stats-grid.stats-2 { grid-template-columns: repeat(2, 1fr); }
.brand-stats-grid.stats-3 { grid-template-columns: repeat(3, 1fr); }
.brand-stats-grid.stats-4 { grid-template-columns: repeat(4, 1fr); }
.brand-stat {
    padding: 0 24px;
    border-left: 1px solid rgba(255,255,255,0.15);
}
.brand-stat:first-child { border-left: none; }
.brand-stat .num {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.brand-stat .label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* --- Testimonial (brand page) --- */
.brand-testimonial {
    background: var(--paper);
    padding: 110px 0;
    text-align: center;
}
.brand-testimonial .container {
    max-width: 880px;
}
.brand-testimonial .cmy-top { margin-bottom: 36px; }
.brand-testimonial blockquote {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 400;
    line-height: 1.45;
    color: var(--black);
    margin-bottom: 30px;
    letter-spacing: -0.015em;
}
.brand-testimonial cite {
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey);
}

/* --- Cross-sell --- */
.brand-cross-sell {
    background: var(--white);
    padding: 100px 0;
}

/* --- Brand CTA (bottom) --- */
.brand-cta {
    background: var(--paper-2);
    padding: 100px 0;
}
.brand-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.brand-cta-inner .section-eyebrow {
    justify-content: center;
    margin-bottom: 22px;
}
.brand-cta-inner h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 32px;
}
.brand-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Brands archive page --- */
.brands-archive-hero {
    background: var(--black);
    color: var(--white);
    padding: 110px 0 100px;
}
.brands-archive-hero .section-eyebrow {
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
}
.brands-archive-hero h1 {
    color: var(--white);
    font-size: clamp(40px, 5.5vw, 70px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
    max-width: 900px;
}
.brands-archive-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
    line-height: 1.7;
    max-width: 700px;
}
.brands-archive-section { padding: 100px 0; background: var(--white); }

/* ============ CONTACT PAGE ============ */
.contact-page-hero {
    background: var(--black);
    color: var(--white);
    padding: 130px 0 110px;
    position: relative;
    overflow: hidden;
}
.contact-page-hero::before {
    content:'';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 85%);
            mask-image: linear-gradient(180deg, black 0%, transparent 85%);
    pointer-events: none;
}
.contact-page-hero .container { position: relative; z-index: 1; max-width: 920px; }
.contact-page-hero .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.contact-page-hero h1 {
    color: var(--white);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}
.contact-page-hero .lead {
    color: rgba(255,255,255,0.78);
    font-size: clamp(17px, 1.4vw, 19px);
    max-width: 680px;
    line-height: 1.7;
}

.contact-methods { background: var(--paper); padding: 80px 0; border-bottom: 1px solid var(--line); }
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: var(--white);
}
.contact-method {
    padding: 36px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s;
    position: relative;
}
.contact-method::before {
    content:'';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--black);
}
.contact-method:hover { background: var(--paper); }
.contact-method-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 14px;
}
.contact-method-value {
    display: block;
    font-size: 19px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 10px;
    transition: color 0.2s;
}
a.contact-method-value:hover { color: var(--magenta); }
.contact-method-meta {
    font-size: 13px;
    color: var(--grey);
}

@media (max-width: 980px) {
    .contact-methods-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .contact-methods-grid { grid-template-columns: 1fr; }
}

/* ============ ABOUT US PAGE ============ */
.about-page-hero {
    background: var(--black);
    color: var(--white);
    padding: 130px 0 110px;
    position: relative;
    overflow: hidden;
}
.about-page-hero::before {
    content:'';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 85%);
            mask-image: linear-gradient(180deg, black 0%, transparent 85%);
    pointer-events: none;
}
.about-page-hero .container { position: relative; z-index: 1; max-width: 920px; }
.about-page-hero .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.about-page-hero h1 {
    color: var(--white);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}
.about-page-hero .lead {
    color: rgba(255,255,255,0.78);
    font-size: clamp(17px, 1.4vw, 19px);
    max-width: 720px;
    line-height: 1.7;
}

/* The Story / How We Operate / Team — shared two-column layout */
.about-story,
.about-how,
.about-team {
    background: var(--white);
    padding: 100px 0;
    border-bottom: 1px solid var(--line);
}
.about-how { background: var(--paper); border-bottom: 1px solid var(--line); }
.about-team { background: var(--white); }

.about-story-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 70px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
}
.about-story-side .section-eyebrow {
    position: sticky;
    top: 120px;
}
.about-story-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink);
}
.about-story-content p { margin-bottom: 22px; color: var(--ink); }
.about-story-content p.lead-para {
    font-size: 21px;
    line-height: 1.55;
    color: var(--black);
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 26px;
}

/* Beliefs section */
.about-beliefs {
    background: var(--paper);
    padding: 110px 0;
    border-bottom: 1px solid var(--line);
}
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 2px solid var(--black);
}
.belief {
    padding: 38px 38px 38px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.belief:nth-child(odd) { padding-right: 50px; border-right: 1px solid var(--line); }
.belief:nth-child(even) { padding-left: 50px; }
.belief:nth-last-child(-n+2) { border-bottom: 2px solid var(--black); }
.belief-num {
    font-size: 13px;
    font-weight: 700;
    color: var(--magenta);
    letter-spacing: 0.18em;
    margin-bottom: 16px;
}
.belief h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.2;
    color: var(--black);
}
.belief p {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--grey);
    margin: 0;
}

/* By the numbers section */
.about-numbers {
    background: var(--black);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}
.about-numbers .section-eyebrow { color: rgba(255,255,255,0.85); justify-content: center; margin-bottom: 50px; }
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding: 50px 0;
}
.about-stat {
    padding: 0 24px;
    border-left: 1px solid rgba(255,255,255,0.15);
}
.about-stat:first-child { border-left: none; }
.about-stat .num {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.about-stat .label {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Brands section */
.about-brands {
    background: var(--paper);
    padding: 100px 0;
}
.about-brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 920px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 980px) {
    .about-story-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-story-side .section-eyebrow { position: static; }
    .beliefs-grid { grid-template-columns: 1fr; border-top: 2px solid var(--black); }
    .belief,
    .belief:nth-child(odd),
    .belief:nth-child(even) {
        padding: 30px 0;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }
    .belief:last-child { border-bottom: 2px solid var(--black); }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .about-stat:nth-child(odd) { border-left: none; }
}
@media (max-width: 560px) {
    .about-stats-grid { grid-template-columns: 1fr; row-gap: 32px; }
    .about-stat { border-left: none; }
}

/* ============ RESOURCES HUB ============ */
.resources-hero {
    background: var(--black);
    color: var(--white);
    padding: 130px 0 110px;
    position: relative;
    overflow: hidden;
}
.resources-hero::before {
    content:'';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 85%);
            mask-image: linear-gradient(180deg, black 0%, transparent 85%);
    pointer-events: none;
}
.resources-hero .container { position: relative; z-index: 1; max-width: 920px; }
.resources-hero .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.resources-hero h1 {
    color: var(--white);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}
.resources-hero .lead {
    color: rgba(255,255,255,0.78);
    font-size: clamp(17px, 1.4vw, 19px);
    max-width: 680px;
    line-height: 1.7;
}

/* Resource categories grid */
.resources-categories { background: var(--white); padding: 100px 0; }
.resources-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.resources-cat {
    padding: 44px 36px;
    background: var(--white);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background 0.25s;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    position: relative;
}
.resources-cat::before {
    content:'';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--black);
    transition: width 0.3s;
}
.resources-cat:hover { background: var(--paper); }
.resources-cat:hover::before { width: 100%; }
.resources-cat-num {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-2);
    letter-spacing: 0.16em;
    margin-bottom: 18px;
}
.resources-cat h3 { font-size: 22px; margin-bottom: 14px; color: var(--black); }
.resources-cat p { font-size: 14.5px; color: var(--grey); line-height: 1.65; flex-grow: 1; margin-bottom: 18px; }
.resources-cat-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
}

/* Latest insights on hub */
.resources-latest { background: var(--paper); padding: 110px 0; }

/* Insights grid (cards) - reused on archive and hub */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.insight-card {
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
}
.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
}
.insight-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--paper-2);
}
.insight-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.insight-card-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.insight-card-img--placeholder .cmy-strip i { width: 14px; height: 14px; }
.insight-card-body { padding: 26px 24px 28px; flex-grow: 1; display: flex; flex-direction: column; }
.insight-card-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 12px;
}
.insight-card h3 {
    font-size: 19px;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: 10px;
    font-weight: 600;
}
.insight-card p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 14px;
}
.insight-card-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
}
.insights-archive-section { background: var(--white); padding: 100px 0; }

/* ============ SINGLE INSIGHT (article) ============ */
.insight-hero {
    background: var(--paper);
    padding: 60px 0 50px;
    border-bottom: 1px solid var(--line);
}
.insight-hero .container { max-width: 820px; }
.insight-hero-back {
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.insight-hero-back a { color: var(--grey); text-decoration: none; transition: color 0.2s; }
.insight-hero-back a:hover { color: var(--black); }

.insight-hero-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.insight-hero-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--magenta);
    text-decoration: none;
    border-bottom: 1px solid var(--magenta);
    padding-bottom: 2px;
}

.insight-title {
    font-size: clamp(36px, 5.4vw, 60px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--black);
    margin-bottom: 22px;
}
.insight-meta {
    font-size: 14px;
    color: var(--grey);
}

.insight-feature-image { background: var(--paper); padding: 40px 0; }
.insight-feature-image .container { max-width: 1080px; }
.insight-feature-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, var(--cyan) 0% 33.33%, var(--yellow) 33.33% 66.66%, var(--magenta) 66.66% 100%) 1;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.2);
}

.insight-body { background: var(--white); padding: 80px 0; }
.insight-body .container { max-width: 760px; }
.insight-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--ink);
}
.insight-content p { margin-bottom: 22px; color: var(--ink); }
.insight-content h2 {
    font-size: 30px;
    margin: 50px 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--black);
    color: var(--black);
}
.insight-content h3 { font-size: 22px; margin: 36px 0 14px; }
.insight-content ul, .insight-content ol { padding-left: 26px; margin-bottom: 22px; }
.insight-content li { margin-bottom: 10px; line-height: 1.7; }
.insight-content a { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }
.insight-content blockquote {
    border-left: 4px solid var(--black);
    padding: 12px 0 12px 26px;
    margin: 30px 0;
    font-size: 21px;
    line-height: 1.5;
    color: var(--char);
    font-style: italic;
}
.insight-content em { font-style: italic; }

.insight-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.insight-tags-label {
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-right: 12px;
}
.insight-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
    margin-right: 6px;
    font-size: 12px;
    transition: all 0.2s;
}
.insight-tag:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.insight-related { background: var(--paper); padding: 100px 0; }

/* ============ FILE PREP SPECS PAGE ============ */
.file-prep-toc { background: var(--paper); padding: 60px 0 0; }
.file-prep-toc-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 30px 36px;
    border-top: 3px solid var(--black);
    max-width: 820px;
    margin: 0 auto;
}
.file-prep-toc-card h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 18px;
}
.file-prep-toc-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.file-prep-toc-card li a {
    display: block;
    padding: 8px 0;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s, padding-left 0.2s;
}
.file-prep-toc-card li a:hover { color: var(--magenta); padding-left: 8px; }

.file-prep-sections { background: var(--paper); padding: 60px 0 110px; }
.file-prep-sections .container { max-width: 900px; }
.fp-section {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 40px 38px;
    margin-bottom: 24px;
    scroll-margin-top: 100px;
}
.fp-section h2 {
    font-size: 28px;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--black);
    color: var(--black);
}
.fp-section-intro { color: var(--grey); margin-bottom: 22px; font-size: 15.5px; line-height: 1.7; }
.fp-spec-table { display: flex; flex-direction: column; }
.fp-spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.fp-spec-row:last-child { border-bottom: none; }
.fp-spec-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    letter-spacing: 0.04em;
}
.fp-spec-value { font-size: 14.5px; line-height: 1.6; color: var(--ink); }

.fp-help {
    margin-top: 50px;
    padding: 40px 36px;
    background: var(--black);
    color: var(--white);
    text-align: center;
}
.fp-help h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 14px;
}
.fp-help p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 24px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.fp-help .btn-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.fp-help .btn-primary:hover { background: transparent; color: var(--white); }

/* ============ FAQs PAGE ============ */
.faqs-toc { background: var(--paper); padding: 60px 0 0; }
.faqs-toc-card { /* reuses file-prep-toc-card styles */
    background: var(--white);
    border: 1px solid var(--line);
    padding: 30px 36px;
    border-top: 3px solid var(--black);
    max-width: 820px;
    margin: 0 auto;
}
.faqs-toc-card h3 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 18px;
}
.faqs-toc-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.faqs-toc-card li a {
    display: block;
    padding: 8px 0;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
    transition: color 0.2s, padding-left 0.2s;
}
.faqs-toc-card li a:hover { color: var(--magenta); padding-left: 8px; }

.faqs-sections { background: var(--paper); padding: 60px 0 110px; }
.faqs-sections .container { max-width: 900px; }
.faq-section {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 40px 38px;
    margin-bottom: 24px;
    scroll-margin-top: 100px;
}
.faq-section h2 {
    font-size: 26px;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--black);
    color: var(--black);
}

.faq-list { display: flex; flex-direction: column; }
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
    cursor: pointer;
    font-size: 16.5px;
    font-weight: 600;
    color: var(--black);
    list-style: none;
    padding-right: 36px;
    position: relative;
    line-height: 1.5;
    transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    line-height: 1;
    font-weight: 400;
    color: var(--grey-2);
    transition: transform 0.25s, color 0.25s;
}
.faq-item[open] .faq-q::after {
    content: '−';
    color: var(--black);
}
.faq-item[open] .faq-q { color: var(--magenta); }
.faq-q:hover { color: var(--magenta); }
.faq-a {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    padding-right: 36px;
}
.faq-a a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }
.faq-a p:not(:last-child) { margin-bottom: 12px; }

/* Responsive */
@media (max-width: 980px) {
    .resources-cat-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; gap: 22px; }
    .file-prep-toc-card ul, .faqs-toc-card ul { grid-template-columns: 1fr; }
    .fp-spec-row { grid-template-columns: 1fr; gap: 6px; }
    .fp-spec-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }
    .fp-section, .faq-section { padding: 30px 22px; }
    .insight-content h2 { font-size: 26px; }
    .insight-body { padding: 60px 0; }
}

/* ============ SINGLE CAPABILITY PAGE ============ */
.capability-hero {
    background: var(--paper);
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--line);
}
.capability-hero .container { max-width: 920px; }
.capability-hero-back {
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.capability-hero-back a { color: var(--grey); text-decoration: none; transition: color 0.2s; }
.capability-hero-back a:hover { color: var(--black); }
.capability-hero .section-eyebrow { margin-bottom: 22px; }
.capability-hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--black);
    margin-bottom: 22px;
}
.capability-hero-tagline {
    font-size: clamp(17px, 1.6vw, 21px);
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 36px;
    max-width: 720px;
}
.capability-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.capability-body {
    background: var(--white);
    padding: 90px 0;
}

/* Other capabilities cross-sell */
.capability-other {
    background: var(--paper);
    padding: 100px 0;
}
.capability-other-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.capability-card {
    padding: 32px 28px;
    background: var(--white);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background 0.25s;
    display: flex;
    flex-direction: column;
    min-height: 200px;
    position: relative;
}
.capability-card::before {
    content:'';
    position: absolute;
    top: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.3s ease;
}
.capability-card:hover { background: var(--paper); }
.capability-card:hover::before { width: 100%; }
.capability-card-roman {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-2);
    letter-spacing: 0.16em;
    margin-bottom: 14px;
}
.capability-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--black); font-weight: 600; }
.capability-card p { font-size: 14px; color: var(--grey); flex-grow: 1; line-height: 1.6; margin: 0 0 14px; }
.capability-card-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
}
@media (max-width: 980px) {
    .capability-other-grid { grid-template-columns: 1fr; }
}

/* ============ CAPABILITIES LANDING PAGE ============ */

.capabilities-hero {
    background: var(--black);
    color: var(--white);
    padding: 130px 0 120px;
    position: relative;
    overflow: hidden;
}
.capabilities-hero::before {
    content:'';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 85%);
            mask-image: linear-gradient(180deg, black 0%, transparent 85%);
    pointer-events: none;
}
.capabilities-hero .container {
    position: relative;
    z-index: 1;
    max-width: 920px;
}
.capabilities-hero .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.capabilities-hero h1 {
    color: var(--white);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}
.capabilities-hero .lead {
    color: rgba(255,255,255,0.78);
    font-size: clamp(17px, 1.4vw, 19px);
    max-width: 680px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.capabilities-hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Optional intro from page content */
.capabilities-intro {
    background: var(--paper);
    padding: 70px 0;
    text-align: center;
}
.capabilities-intro-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink);
}

/* Capability sections (alternating bg) */
.cap-section { padding: 110px 0; }
.cap-section--white { background: var(--white); }
.cap-section--paper { background: var(--paper); }

.cap-section-header {
    max-width: 1080px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 0 40px;
    border-bottom: 2px solid var(--black);
}
.cap-roman {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey-2);
    margin-bottom: 18px;
}
.cap-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    color: var(--black);
}
.cap-tagline {
    font-size: clamp(17px, 1.4vw, 20px);
    color: var(--grey);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 400;
}

.cap-section-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 70px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
}

.cap-description {
    font-size: 16.5px;
    line-height: 1.8;
    color: var(--ink);
}
.cap-description p { margin-bottom: 18px; color: var(--ink); }
.cap-description p:last-child { margin-bottom: 0; }

.cap-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cap-block-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.cap-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.cap-services-list li {
    font-size: 14px;
    color: var(--ink);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.cap-services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 2px;
    background: var(--black);
}
.cap-services-list li:nth-child(7n+1)::before { background: var(--cyan); }
.cap-services-list li:nth-child(7n+3)::before { background: var(--magenta); }
.cap-services-list li:nth-child(7n+5)::before { background: var(--yellow); }

.cap-brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.cap-brand-tag {
    display: inline-block;
    padding: 9px 16px;
    background: var(--white);
    border: 1.5px solid var(--line);
    color: var(--black);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.cap-section--white .cap-brand-tag { background: var(--paper); }
.cap-brand-tag:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
    transform: translateY(-2px);
}

.cap-section-cta {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 980px) {
    .cap-section-body { grid-template-columns: 1fr; gap: 40px; }
    .cap-section { padding: 80px 0; }
}

/* ============ CAREERS PAGES ============ */

/* --- Careers landing hero --- */
.careers-hero {
    background: var(--black);
    color: var(--white);
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}
/* On the dark careers hero, `.btn-primary` (black-on-black) is invisible.
   Override to a white-on-transparent treatment that pops against the
   black background and pairs visually with `.btn-outline-light`. */
.careers-hero .btn-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}
.careers-hero .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.careers-hero::before {
    content:'';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 85%);
            mask-image: linear-gradient(180deg, black 0%, transparent 85%);
    pointer-events: none;
}
.careers-hero .container { position: relative; z-index: 1; max-width: 920px; }
.careers-hero .eyebrow { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.careers-hero h1 {
    color: var(--white);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
}
.careers-hero .lead {
    color: rgba(255,255,255,0.78);
    font-size: clamp(17px, 1.4vw, 19px);
    max-width: 680px;
    margin-bottom: 40px;
    line-height: 1.7;
}
.careers-hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Why Imprimo (value prop) --- */
.careers-why {
    background: var(--white);
    padding: 110px 0;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.why-card {
    padding: 44px 36px;
    background: var(--white);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s;
    position: relative;
}
.why-card::before {
    content:'';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--black);
}
.why-card:hover { background: var(--paper); }
.why-num {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-2);
    letter-spacing: 0.16em;
    margin-bottom: 18px;
}
.why-card h3 { font-size: 22px; margin-bottom: 12px; font-weight: 600; }
.why-card p { font-size: 15.5px; color: var(--grey); line-height: 1.7; }

/* --- Open positions list --- */
.careers-openings {
    background: var(--paper);
    padding: 110px 0;
}
.careers-dept {
    margin-bottom: 50px;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}
.careers-dept:last-child { margin-bottom: 0; }
.dept-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--black);
    border-bottom: 2px solid var(--black);
    padding-bottom: 12px;
    margin-bottom: 4px;
}
.job-list {
    display: flex;
    flex-direction: column;
    max-width: 1080px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}
.job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, padding-left 0.2s ease;
    position: relative;
}
.job-row-excerpt {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--grey);
    margin: 10px 0 0;
    max-width: 720px;
}
.job-row::before {
    content:'';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 0;
    background: var(--black);
    transition: width 0.2s ease;
}
.job-row:hover {
    background: var(--paper-2);
    padding-left: 36px;
}
.job-row:hover::before { width: 4px; }
.job-row-main { flex: 1; min-width: 0; }
.job-title {
    font-size: 19px;
    margin: 0 0 6px;
    font-weight: 600;
    color: var(--black);
}
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13.5px;
    color: var(--grey);
}
.job-meta-item { position: relative; }
.job-meta-item:not(:last-child)::after {
    content: '·';
    position: absolute;
    right: -12px;
    color: var(--grey-3);
}
.job-row-arrow {
    color: var(--grey-2);
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s, color 0.2s;
    flex-shrink: 0;
}
.job-row:hover .job-row-arrow {
    transform: translateX(4px);
    color: var(--black);
}
.careers-empty {
    text-align: center;
    padding: 60px 0;
    color: var(--grey);
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto;
}

/* --- Application form section --- */
.careers-application {
    background: var(--black);
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.careers-application::before {
    content:'';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 90%);
            mask-image: linear-gradient(180deg, black 0%, transparent 90%);
    pointer-events: none;
}
.careers-application .contact-grid { position: relative; z-index: 1; }

/* File input styling */
.form-card .field-file {
    padding: 12px 14px;
    cursor: pointer;
    background: var(--paper);
}
.form-card .field-file::-webkit-file-upload-button {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    margin-right: 14px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.form-card .field-help {
    font-size: 12px;
    color: var(--grey);
    margin-top: 4px;
    margin-bottom: 4px;
}

/* --- Single job page hero --- */
.job-hero {
    background: var(--paper);
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--line);
}
.job-hero-back {
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.job-hero-back a {
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s;
}
.job-hero-back a:hover { color: var(--black); }
.job-hero .section-eyebrow { margin-bottom: 24px; }
.job-hero-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--black);
    margin-bottom: 32px;
}
.job-hero-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
}
.job-hero-meta-item {
    padding: 20px 22px;
    border-left: 1px solid var(--line);
}
.job-hero-meta-item:first-child { border-left: none; padding-left: 0; }
.job-hero-meta-item .meta-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-2);
    margin-bottom: 6px;
}
.job-hero-meta-item .meta-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
}
.job-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Single job content --- */
.job-content {
    background: var(--white);
    padding: 100px 0;
}
.job-content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 70px;
    max-width: 1080px;
    margin: 0 auto;
}
.job-side-card {
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 28px 26px;
    border-top: 3px solid var(--black);
    position: sticky;
    top: 110px;
}
.job-side-card h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 16px;
}
.job-side-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.5;
}
.job-side-card ul li strong { color: var(--black); }
.btn-side-cta { width: 100%; text-align: center; }
.job-content-main { font-size: 16.5px; line-height: 1.8; color: var(--ink); }
.job-content-main h2 {
    font-size: 24px;
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--black);
}
.job-content-main h2:first-child { margin-top: 0; }
.job-content-main h3 { font-size: 20px; margin: 26px 0 12px; }
.job-content-main p { margin-bottom: 18px; color: var(--ink); }
.job-content-main ul, .job-content-main ol { padding-left: 24px; margin-bottom: 22px; }
.job-content-main li { margin-bottom: 10px; }

/* --- Other roles section --- */
.careers-other-roles {
    background: var(--paper);
    padding: 100px 0;
}
.careers-other-roles .job-list { max-width: 1080px; margin: 0 auto; }

/* --- Careers responsive --- */
@media (max-width: 980px) {
    .why-grid { grid-template-columns: 1fr; }
    .job-content-grid { grid-template-columns: 1fr; }
    .job-side-card { position: static; }
    .job-hero-meta { grid-template-columns: repeat(2, 1fr); }
    .job-hero-meta-item:nth-child(odd) { border-left: none; padding-left: 0; }
    .job-hero-meta-item:nth-child(3),
    .job-hero-meta-item:nth-child(4) { border-top: 1px solid var(--line); }
    .job-row { padding: 20px 22px; }
    .job-row:hover { padding-left: 28px; }
}
@media (max-width: 560px) {
    .job-hero-meta { grid-template-columns: 1fr; }
    .job-hero-meta-item { border-left: none; padding-left: 0; border-top: 1px solid var(--line); }
    .job-hero-meta-item:first-child { border-top: none; }
    .job-meta { gap: 8px; flex-direction: column; }
    .job-meta-item:not(:last-child)::after { display: none; }
}

/* ============ INDUSTRY PAGES ============ */

/* --- Industry hero (mirrors brand hero pattern) --- */
.industry-hero {
    background: var(--paper);
    padding: 100px 0 110px;
    border-bottom: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.industry-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.industry-hero-grid--solo {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.industry-hero-grid--solo .industry-hero-cta { justify-content: center; }
.industry-hero-grid--solo .section-eyebrow { justify-content: center; }
.industry-hero-copy .section-eyebrow { margin-bottom: 22px; }
.industry-hero-title {
    font-size: clamp(40px, 5.6vw, 70px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
    color: var(--black);
}
.industry-hero-tagline {
    font-size: clamp(18px, 1.6vw, 22px);
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 36px;
    max-width: 540px;
    font-weight: 400;
}
.industry-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.industry-hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg,
        var(--cyan) 0%, var(--cyan) 33.33%,
        var(--yellow) 33.33%, var(--yellow) 66.66%,
        var(--magenta) 66.66%, var(--magenta) 100%) 1;
    box-shadow: 0 30px 70px -20px rgba(0,0,0,0.3);
    display: block;
}

/* --- Industry overview --- */
.industry-overview {
    background: var(--white);
    padding: 100px 0;
}
.industry-overview-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 70px;
    max-width: 1080px;
    margin: 0 auto;
}
.industry-overview-side .section-eyebrow {
    position: sticky;
    top: 120px;
}
.industry-overview-content { font-size: 17px; line-height: 1.8; color: var(--ink); }
.industry-overview-content p { margin-bottom: 20px; color: var(--ink); }
.industry-overview-content a {
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* --- Solutions grid --- */
.industry-solutions {
    background: var(--paper);
    padding: 100px 0;
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.solution-item {
    padding: 36px 32px;
    background: var(--white);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.25s;
    position: relative;
}
.solution-item::before {
    content:'';
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 2px;
    background: var(--black);
}
.solution-item:hover { background: var(--paper); }
.solution-num {
    font-size: 12px;
    font-weight: 600;
    color: var(--grey-2);
    letter-spacing: 0.16em;
    margin-bottom: 14px;
}
.solution-item h3 { font-size: 21px; margin-bottom: 10px; font-weight: 600; }
.solution-item p { font-size: 14.5px; color: var(--grey); line-height: 1.65; margin-bottom: 14px; }
.solution-brand-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
    padding-bottom: 2px;
    transition: color 0.2s;
}
.solution-brand-link:hover {
    color: var(--magenta);
    border-bottom-color: var(--magenta);
}

/* --- Use cases (programs) --- */
.industry-use-cases {
    background: var(--white);
    padding: 100px 0;
}
.use-cases-list {
    display: flex;
    flex-direction: column;
    border-top: 2px solid var(--black);
    max-width: 1000px;
    margin: 0 auto;
}
.use-case {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.use-case:last-child { border-bottom: 2px solid var(--black); }
.uc-marker .uc-num {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--magenta);
    display: inline-block;
    padding-top: 4px;
}
.uc-body h3 { font-size: 22px; margin-bottom: 10px; font-weight: 600; }
.uc-body p { color: var(--grey); font-size: 15.5px; line-height: 1.7; }

/* --- Industry stats — reuse brand-stats styling --- */
.industry-stats {
    background: var(--black);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}
.industry-stats .section-eyebrow {
    color: rgba(255,255,255,0.85);
    justify-content: center;
    margin-bottom: 50px;
}

/* --- Industry recommended brands --- */
.industry-brands {
    background: var(--paper);
    padding: 100px 0;
}

/* --- Brand & Industry pages responsive --- */
@media (max-width: 980px) {
    /* Brand hero: shift image to bottom on mobile, stack copy above */
    .brand-hero {
        padding: 80px 0 380px;
        min-height: 0;
        align-items: flex-start;
        background-position: center bottom;
        background-size: 130% auto;
    }
    .brand-hero-overlay {
        background: linear-gradient(180deg,
            rgba(247, 246, 243, 0.95) 0%,
            rgba(247, 246, 243, 0.95) 30%,
            rgba(247, 246, 243, 0.55) 55%,
            rgba(247, 246, 243, 0) 80%);
    }
    .industry-hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .brand-about-grid,
    .industry-overview-grid { grid-template-columns: 1fr; gap: 30px; }
    .brand-about-side .section-eyebrow,
    .industry-overview-side .section-eyebrow { position: static; }
    .brand-services-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: 1fr; }
    .brand-stats-grid.stats-3,
    .brand-stats-grid.stats-4 { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .brand-stat:nth-child(odd) { border-left: none; }
    .use-case { grid-template-columns: 60px 1fr; gap: 18px; }
}
@media (max-width: 560px) {
    .brand-services-grid { grid-template-columns: 1fr; }
    .brand-gallery-grid { grid-template-columns: 1fr; }
    .brand-stats-grid.stats-2,
    .brand-stats-grid.stats-3,
    .brand-stats-grid.stats-4 { grid-template-columns: 1fr; row-gap: 32px; }
    .brand-stat { border-left: none; }
}

/* ============ PAGE TEMPLATES ============ */
.page-hero {
    background: var(--paper);
    padding: 100px 0 60px;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 600;
    margin-top: 12px;
}
.page-content {
    padding: 80px 0 100px;
}
.page-content .prose,
.page-content .entry-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink);
}
.page-content h2 { font-size: 28px; margin: 36px 0 14px; }
.page-content h3 { font-size: 22px; margin: 28px 0 12px; }
.page-content p { margin-bottom: 18px; color: var(--ink); }
.page-content ul, .page-content ol { padding-left: 26px; margin-bottom: 18px; }
.page-content li { margin-bottom: 8px; }
.page-content a { color: var(--black); text-decoration: underline; text-underline-offset: 4px; }

/* ============ FOOTER ============ */
.site-footer {
    background: var(--black);
    color: rgba(255,255,255,0.7);
    padding: 100px 0 32px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-about .logo-mark { margin-bottom: 22px; }

/* Footer logo (uploaded version) */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 22px;
    line-height: 0;
}
.footer-custom-logo {
    max-height: 56px;
    width: auto;
    display: block;
}
/* Auto-invert the site logo when no dedicated footer logo is uploaded.
   Works perfectly for solid black logos on transparent backgrounds. */
.footer-logo-inverted .footer-custom-logo {
    filter: brightness(0) invert(1);
}

.footer-about p {
    color: rgba(255,255,255,0.6);
    max-width: 380px;
    line-height: 1.75;
    font-size: 14px;
}
.site-footer h4 {
    color: var(--white);
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links li { list-style: none; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
    font-size: 13.5px;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: rgba(255,255,255,0.45);
    align-items: center;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal-links {
    display: flex; gap: 22px;
    list-style: none;
}
.footer-legal-links li { list-style: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .brand-intro { grid-template-columns: 1fr; gap: 30px; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .cap-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .stat { border-left: none; padding: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 26px 32px;
        gap: 20px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    }
    .nav-links.open { display: flex; }
    .mobile-toggle { display: inline-block; }
    .btn-nav { display: none; }
}
@media (max-width: 560px) {
    .brands-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    section { padding: 80px 0; }
    .hero { padding: 90px 0 100px; }
}

/* ============================================================
   CAREERS DETAIL POLISH (added 2026-06-06)
   Tightens layout, replaces the metadata grid with inline pill
   tags, adds an "Other Open Roles" section, and softens the body
   heading style. Lives at the bottom so it overrides older rules.
   ============================================================ */

/* Hero: tighten padding, add eyebrow rhythm */
.job-hero {
    padding: 56px 0 64px;
    background:
        linear-gradient(180deg, rgba(247,244,238,0) 0%, rgba(247,244,238,0.6) 100%),
        var(--paper);
}
.job-hero-eyebrow {
    margin-bottom: 18px;
    margin-top: 4px;
}
.job-hero-back { margin-bottom: 22px; }
.job-hero-title {
    font-size: clamp(34px, 4.6vw, 54px);
    margin-bottom: 18px;
}
.job-hero-excerpt {
    font-size: 18px;
    line-height: 1.55;
    color: var(--grey);
    max-width: 720px;
    margin-bottom: 28px;
}

/* Inline pill tags (replaces the 4-col metadata grid) */
.job-hero-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.job-hero-tags li {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.2;
}
.job-hero-tags .tag-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey-2, var(--grey));
}

/* Bigger primary CTA + secondary text link */
.btn-lg {
    padding: 18px 30px;
    font-size: 14.5px;
    letter-spacing: 0.12em;
}
.btn-link {
    background: transparent;
    color: var(--grey);
    padding: 18px 0;
    border: none;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    transition: color 0.2s;
}
.btn-link:hover { color: var(--black); }

/* Body: tighten + refined heading underline */
.job-content {
    padding: 70px 0;
}
.job-content-main h2 {
    font-size: 26px;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: none;
    position: relative;
}
.job-content-main h2:first-child { margin-top: 0; }
.job-content-main h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: var(--black);
}

/* Sidebar: refresh — no longer duplicates hero meta, focuses on CTA */
.job-side-card {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 32px 28px;
    border-top: 3px solid var(--black);
    position: sticky;
    top: 110px;
    box-shadow: 0 12px 24px -16px rgba(0,0,0,0.15);
}
.job-side-card h4 {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 12px;
}
.job-side-blurb {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--grey);
    margin-bottom: 20px;
}
.job-side-card .btn-side-cta {
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
}
.job-side-meta {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--grey);
}
.job-side-meta p { margin-bottom: 14px; }
.job-side-meta p:last-child { margin-bottom: 0; }
.job-side-meta strong {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--grey-2, var(--grey));
    margin-bottom: 3px;
}

/* Other open roles section */
.careers-other-roles {
    background: var(--paper);
    padding: 80px 0;
    border-top: 1px solid var(--line);
}
.careers-other-roles .section-header {
    text-align: center;
    margin-bottom: 48px;
}
.careers-other-roles .section-header h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: -0.015em;
    margin-top: 12px;
}
.other-roles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}
.other-role-card {
    display: flex;
    flex-direction: column;
    padding: 30px 28px;
    background: var(--white);
    border: 1px solid var(--line);
    text-decoration: none;
    color: var(--black);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.other-role-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -22px rgba(0,0,0,0.25);
    border-color: var(--black);
}
.other-role-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 14px;
}
.other-role-meta span:not(:last-child)::after {
    content: " ·";
    margin-left: 2px;
}
.other-role-card h3 {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--black);
}
.other-role-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--grey);
    margin-bottom: 18px;
    flex-grow: 1;
}
.other-role-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
    transition: gap 0.2s;
}

/* Apply section: trim the giant headline on job pages */
.careers-application .contact-copy h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 16px;
}

/* Careers detail responsive */
@media (max-width: 980px) {
    .other-roles-list { grid-template-columns: 1fr; gap: 18px; }
    .job-side-card { position: static; }
    .job-content { padding: 50px 0; }
}
@media (max-width: 560px) {
    .job-hero { padding: 40px 0 48px; }
    .job-hero-tags li { padding: 8px 14px; font-size: 13px; }
}
