/* ==========================================================================
   Katalyst Group — Global Stylesheet
   Author: Katalyst Group
   Description: Design system, layout and components for the Katalyst Group site.
   Sections: 1. Tokens  2. Reset  3. Typography  4. Layout  5. Buttons
             6. Header/Nav  7. Hero  8. Components  9. Forms 10. Footer
            11. Animation 12. Responsive
   ========================================================================== */

/* 1. DESIGN TOKENS ========================================================= */
:root {
    /* Brand palette */
    --espresso: #0F0B08;
    --background: #17130F;
    --surface-container: #241F1B;
    --surface-container-low: #1F1B17;
    --surface-container-lowest: #110D0A;
    --surface-variant: #393430;
    --sand: #C7B08A;
    --gold: #B99152;
    --bronze: #8D6B45;
    --ivory: #EFE7D8;
    --primary: #E4CBA4;
    --on-surface-variant: #CFC5B8;
    --outline: #988F84;

    /* Typography */
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

    --fs-display: clamp(2.25rem, 8vw, 5.25rem);   /* 36 → 84, scales safely on 320–480px */
    --fs-headline-lg: clamp(2rem, 4.5vw, 3rem);    /* 32 → 48 */
    --fs-headline-md: clamp(1.5rem, 3vw, 2rem);    /* 24 → 32 */
    --fs-body-lg: clamp(1.05rem, 1.6vw, 1.25rem);  /* 17 → 20 */
    --fs-body: 1rem;
    --fs-label: 0.75rem;

    /* Layout */
    --container: 1440px;
    --gutter: 2rem;
    --pad-x: clamp(1.5rem, 5vw, 5rem);             /* 24 → 80 */
    --section-y: clamp(5rem, 12vw, 10rem);          /* 80 → 160 */
    --nav-h: 88px;

    /* Effects */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --radius: 0.25rem;
}

/* 2. RESET ================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;          /* contain any stray wide element (scroll container is html) */
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.75;
    font-weight: 400;
    color: var(--ivory);
    background-color: var(--espresso);
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Visible keyboard focus (does not affect mouse users) */
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

::selection { background: var(--sand); color: var(--espresso); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--espresso); }
::-webkit-scrollbar-thumb { background: var(--surface-variant); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--sand); }

/* Material Symbols icon font */
.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
    vertical-align: middle;
    user-select: none;
}

/* 3. TYPOGRAPHY ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; overflow-wrap: break-word; }
p, li, a, span, dd, dt { overflow-wrap: break-word; }

.display { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.02em; }
.headline-lg { font-size: var(--fs-headline-lg); line-height: 1.15; }
.headline-md { font-size: var(--fs-headline-md); line-height: 1.25; }
.body-lg { font-size: var(--fs-body-lg); line-height: 1.6; font-weight: 300; }

.italic { font-style: italic; }
.text-primary { color: var(--primary); }
.text-sand { color: var(--sand); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--on-surface-variant); }
.text-outline { color: var(--outline); }

/* Eyebrow / caps label */
.eyebrow {
    display: inline-block;
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
}

.divider-line {
    height: 1px;
    width: 6rem;
    background: var(--sand);
}

.editorial-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--bronze), transparent);
}

/* 4. LAYOUT ================================================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

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

.section--tint { background: var(--surface-container-low); }
.section--deep { background: var(--espresso); }
.section--bordered { border-block: 1px solid rgba(141, 107, 69, 0.15); }

.lead { max-width: 42rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* Section heading block */
.section-head { margin-bottom: clamp(3rem, 6vw, 6rem); max-width: 36rem; }
.section-head h2 { margin-block: 0.75rem 1.25rem; }

/* 5. BUTTONS =============================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.5s var(--ease);
}

.btn--primary { background: var(--sand); color: var(--espresso); }
.btn--primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(185, 145, 82, 0.25); }

.btn--ghost { border: 1px solid var(--sand); color: var(--sand); }
.btn--ghost:hover { background: rgba(199, 176, 138, 0.1); }

.btn--block { width: 100%; }

.btn .material-symbols-outlined { font-size: 1.1rem; transition: transform 0.4s var(--ease); }
.btn:hover .material-symbols-outlined { transform: translateX(4px); }

/* 6. HEADER / NAV ========================================================== */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(15, 11, 8, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(141, 107, 69, 0.15);
    transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.25rem;
}

.site-header.scrolled { background: var(--espresso); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); }
.site-header.scrolled .nav { padding-block: 0.75rem; }

.nav__logo { flex-shrink: 0; }
.nav__logo img { height: 56px; width: auto; transition: height 0.4s var(--ease); }

/* Primary menu (WordPress wp_nav_menu compatible markup) */
.nav__menu { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.75rem); }
.nav__menu .menu-item { position: relative; }

.nav__link {
    position: relative;
    font-size: var(--fs-body);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    transition: color 0.4s var(--ease);
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--sand);
    transition: width 0.4s var(--ease);
}

.nav__link:hover { color: var(--primary); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.menu-item-has-children.is-active > .nav__link::after { width: 100%; }
.nav__link[aria-current="page"],
.menu-item-has-children.is-active > .nav__link { color: var(--primary); }

/* Dropdown (Services) — hover + keyboard focus, no JS required on desktop */
.nav__dropbtn { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav__dropbtn .material-symbols-outlined { font-size: 1.15rem; transition: transform 0.3s var(--ease); }
.menu-item-has-children:hover .nav__dropbtn .material-symbols-outlined,
.menu-item-has-children:focus-within .nav__dropbtn .material-symbols-outlined { transform: rotate(180deg); }

.nav__menu .sub-menu {
    position: absolute;
    top: 100%;
    left: -1rem;
    min-width: 270px;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: rgba(15, 11, 8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(141, 107, 69, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    z-index: 60;
}
.menu-item-has-children:hover .sub-menu,
.menu-item-has-children:focus-within .sub-menu,
.menu-item-has-children.open .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav__menu .sub-menu a {
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__menu .sub-menu a:hover,
.nav__menu .sub-menu a[aria-current="page"] { background: var(--surface-container); color: var(--primary); }

/* Hamburger */
.nav__toggle { display: none; color: var(--primary); }
.nav__toggle .material-symbols-outlined { font-size: 2.25rem; }

/* Mobile dropdown panel */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1.75rem;
    padding: 2rem var(--pad-x) 2.5rem;
    border-top: 1px solid rgba(141, 107, 69, 0.15);
    background: rgba(15, 11, 8, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-menu.open { display: flex; }

.mobile-menu .menu { display: flex; flex-direction: column; gap: 1.75rem; }
.mobile-menu .nav__link { font-size: 1.05rem; }
.mobile-menu .sub-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

/* 7. HERO ================================================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;          /* avoids mobile URL-bar overshoot */
    padding-top: var(--nav-h);
    overflow: hidden;
}

.hero--short { min-height: 88vh; min-height: 88svh; align-items: flex-end; padding-bottom: clamp(4rem, 8vw, 6rem); }

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0.4; }
.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--espresso) 0%, rgba(15, 11, 8, 0.6) 45%, transparent 100%);
}
.hero--center .hero__bg::after { background: linear-gradient(to bottom, rgba(15, 11, 8, 0.5), var(--espresso)); }

.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 56rem; }
.hero__content h1 { margin-block: 1.5rem; }
.hero__content .body-lg { margin-bottom: 2.5rem; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; }
.hero__scroll { display: flex; align-items: center; gap: 1.5rem; color: var(--on-surface-variant); }
.hero__scroll span:first-child { width: 4rem; height: 1px; background: rgba(141, 107, 69, 0.4); }

/* 8. COMPONENTS ============================================================ */

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.stat__value { font-family: var(--font-display); font-size: var(--fs-headline-lg); color: var(--sand); }
.stat__label { font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--outline); margin-top: 0.5rem; }

/* Two-column intro (heading + paragraph) */
.split { display: grid; gap: 2rem; align-items: baseline; }

/* Pillar grid — asymmetric editorial layout */
.pillars {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--gutter) 2rem;
}

.pillar {
    position: relative;
    overflow: hidden;
    background: var(--surface-container);
    min-height: 520px;
    transition: transform 0.6s var(--ease);
}
.pillar:hover { transform: translateY(-8px); }

.pillar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.55;
    transition: transform 1s var(--ease), opacity 0.6s var(--ease);
}
.pillar:hover img { transform: scale(1.08); opacity: 0.75; }

.pillar__body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.5rem;
    background: linear-gradient(to top, var(--espresso) 10%, transparent);
    z-index: 1;
}
.pillar__num { display: block; margin-bottom: 0.75rem; }
.pillar__body h3 { margin-bottom: 0.75rem; color: var(--ivory); }
.pillar__body p { color: var(--on-surface-variant); max-width: 28rem; }

/* Asymmetric placement (desktop only) */
.pillar--a { grid-column: 1 / 8; }
.pillar--b { grid-column: 8 / 13; margin-top: 6rem; }
.pillar--c { grid-column: 2 / 6; margin-top: -3rem; }
.pillar--d { grid-column: 7 / 12; }

/* Uniform card grid (recruitment pillars) */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 3 / 4;
    min-height: fit-content;
    padding: 2rem;
    background: var(--surface-container);
    border: 1px solid rgba(141, 107, 69, 0.1);
    transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-8px); }
.card__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.2; overflow: hidden; transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.card__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.card:hover .card__bg { opacity: 0.4; transform: scale(1.08); }
.card > * { position: relative; z-index: 1; }
.card h3 { color: var(--primary); margin-block: 0.75rem; }
.card__reveal { transition: opacity 0.5s var(--ease); }
.card__reveal p { color: var(--on-surface-variant); margin-bottom: 1rem; }

/* Domain table (specialised verticals) */
.domains { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(141, 107, 69, 0.2); }
.domain { padding: clamp(2rem, 4vw, 3rem); transition: background 0.5s var(--ease); }
.domain:not(:last-child) { border-bottom: 1px solid rgba(141, 107, 69, 0.2); }
.domain:hover { background: var(--surface-container-low); }
.domain .material-symbols-outlined { font-size: 2.25rem; color: var(--gold); margin-bottom: 1.5rem; }
.domain h3 { color: var(--primary); margin-bottom: 1rem; }
.domain p { color: var(--on-surface-variant); margin-bottom: 1.5rem; }
.domain li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; padding-block: 0.4rem; }
.domain li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* Feature / case-study list */
.feature-grid { display: grid; gap: 4rem; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; }
.feature { display: flex; gap: 1.5rem; }
.feature .material-symbols-outlined { color: var(--gold); margin-top: 0.25rem; }
.feature h4 { font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); margin-bottom: 0.25rem; }
.feature p { color: var(--on-surface-variant); }

.case {
    border-left: 2px solid rgba(141, 107, 69, 0.3);
    padding: 0.5rem 0 0.5rem 2rem;
    transition: border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.case + .case { margin-top: 3rem; }
.case:hover { border-color: var(--sand); background: rgba(199, 176, 138, 0.05); }
.case h3 { color: var(--ivory); margin-bottom: 0.5rem; }
.case p { color: var(--on-surface-variant); margin-bottom: 1rem; }
.case a { font-size: var(--fs-label); letter-spacing: 0.15em; text-transform: uppercase; color: var(--sand); display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s var(--ease); }
.case a:hover { gap: 1rem; color: var(--gold); }

/* Bento image pair */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.bento figure { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-variant); }
.bento figure:nth-child(2) { margin-top: 4rem; }
.bento img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.bento figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--espresso), transparent); opacity: 0.6; }

/* Call-to-action panel */
.cta { position: relative; overflow: hidden; }
.cta__glow { position: absolute; top: 50%; left: 50%; width: min(800px, 100%); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(199, 176, 138, 0.08), transparent 70%); pointer-events: none; }
.cta__inner { position: relative; z-index: 1; max-width: 56rem; }
.cta__inner h2 { margin-block: 1.5rem 2.5rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }

/* 9. FORMS ================================================================= */
.form { max-width: 28rem; display: flex; flex-direction: column; gap: 2.5rem; }
.form input,
.form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--bronze);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    padding: 0.85rem 0;
    transition: border-color 0.3s var(--ease);
    resize: vertical;
}
.form input::placeholder,
.form textarea::placeholder { color: var(--outline); }
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--gold); }
.form__note { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--outline); }

/* 10. FOOTER =============================================================== */
.site-footer { padding-block: var(--section-y) 2.5rem; background: var(--espresso); border-top: 1px solid rgba(141, 107, 69, 0.15); }
.footer-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.footer-brand { grid-column: span 5; }
.footer-brand img { height: 96px; width: auto; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--outline); max-width: 24rem; }
.footer-social { display: flex; gap: 1.5rem; margin-top: 2rem; }
.footer-social a { color: var(--on-surface-variant); transition: color 0.3s var(--ease), transform 0.3s var(--ease); }
.footer-social a:hover { color: var(--primary); transform: translateY(-3px); }

.footer-col { grid-column: span 2; }
.footer-col:nth-of-type(1) { grid-column: 6 / 9; }
.footer-col:nth-of-type(2) { grid-column: 9 / 11; }
.footer-col:nth-of-type(3) { grid-column: 11 / 13; }
.footer-col h5 { font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.5rem; }
.footer-col li { margin-bottom: 1rem; }
.footer-col a { color: var(--outline); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    grid-column: span 12;
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(141, 107, 69, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    color: var(--outline);
    font-size: var(--fs-label);
    letter-spacing: 0.1em;
}
.footer-bottom .locations { display: flex; gap: 2rem; text-transform: uppercase; }

/* 11. ANIMATION ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}

/* 12. RESPONSIVE =========================================================== */
@media (max-width: 1024px) {
    .pillar--a, .pillar--b, .pillar--c, .pillar--d { grid-column: 1 / -1; margin-top: 0; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { gap: 3rem; }
}

@media (max-width: 768px) {
    :root { --nav-h: 72px; }

    .nav__menu,
    .nav > .nav__cta { display: none; }
    .nav__toggle { display: inline-flex; align-items: center; }
    .nav__logo img { height: 48px; }

    .stats { gap: 2rem 1.5rem; }
    .split { grid-template-columns: 1fr !important; }
    .pillars { grid-template-columns: 1fr; }
    .pillar { min-height: 440px; }

    /* Hover-revealed text must be visible on touch devices */
    .pillar__body p,
    .card__reveal { opacity: 1 !important; }

    .feature-grid { grid-template-columns: 1fr; }
    .bento figure:nth-child(2) { margin-top: 0; }

    .domains { grid-template-columns: 1fr; }
    .domain:not(:last-child) { border-bottom: 1px solid rgba(141, 107, 69, 0.2); }

    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-col,
    .footer-col:nth-of-type(1),
    .footer-col:nth-of-type(2),
    .footer-col:nth-of-type(3) { grid-column: span 1; }
    .footer-bottom { grid-column: 1 / -1; justify-content: center; text-align: center; }
    .footer-bottom .locations { gap: 1.25rem; }

    .hero__scroll { display: none; }
}

@media (min-width: 769px) {
    .stats { grid-template-columns: repeat(4, 1fr); }
    .split { grid-template-columns: 5fr 7fr; }
    .feature-grid { grid-template-columns: 5fr 7fr; }
}

@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr; }
    .card { aspect-ratio: auto; min-height: 340px; }
    .bento { gap: 1rem; }
    .hero__actions .btn { width: 100%; }
}

/* 13. INTERIOR PAGE COMPONENTS ============================================= */

/* Shorter hero for interior pages */
.hero--page { min-height: 80vh; min-height: 80svh; }
.hero--page .hero__content h1 { margin-block: 1.25rem; }

/* Breadcrumb */
.breadcrumb { font-size: var(--fs-label); letter-spacing: 0.15em; text-transform: uppercase; color: var(--outline); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--sand); }
.breadcrumb a:hover { color: var(--gold); }

/* Tile grid — icon + heading + copy (industries, values, capabilities) */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tile {
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: var(--surface-container);
    border: 1px solid rgba(141, 107, 69, 0.12);
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.tile:hover { transform: translateY(-6px); border-color: rgba(199, 176, 138, 0.4); }
.tile .material-symbols-outlined { font-size: 2.25rem; color: var(--gold); margin-bottom: 1.25rem; }
.tile h3 { color: var(--primary); margin-bottom: 0.75rem; }
.tile p { color: var(--on-surface-variant); }
.tile__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.tile__tags span { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); border: 1px solid rgba(141, 107, 69, 0.3); padding: 0.3rem 0.7rem; border-radius: var(--radius); }

/* Lifecycle / process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; padding-top: 2.5rem; border-top: 1px solid rgba(141, 107, 69, 0.25); }
.step__num { font-family: var(--font-display); font-size: var(--fs-headline-md); color: var(--sand); display: block; margin-bottom: 1rem; }
.step h3 { color: var(--primary); margin-bottom: 0.75rem; }
.step p { color: var(--on-surface-variant); }

/* Contact funnel — info + form */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.contact-info h2 { margin-block: 1rem 1.5rem; }
.contact-info .detail { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; }
.contact-info .detail .material-symbols-outlined { color: var(--gold); margin-top: 0.2rem; }
.contact-info .detail h4 { font-family: var(--font-body); font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); margin-bottom: 0.25rem; }
.contact-info .detail p { color: var(--on-surface-variant); }
.contact-info .detail a { color: var(--sand); }

/* Form: full width inside funnel, labels + select */
.form--funnel { max-width: none; padding: clamp(2rem, 4vw, 3rem); background: var(--surface-container-low); border: 1px solid rgba(141, 107, 69, 0.15); }
.form .field { display: flex; flex-direction: column; gap: 0.5rem; }
.form label { font-size: var(--fs-label); letter-spacing: 0.15em; text-transform: uppercase; color: var(--sand); }
.form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--bronze);
    color: var(--ivory);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    padding: 0.85rem 0;
    transition: border-color 0.3s var(--ease);
}
.form select:focus { outline: none; border-color: var(--gold); }
.form select option { background: var(--espresso); color: var(--ivory); }

/* Testimonials — anonymous client quotes */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testimonial {
    padding: clamp(2rem, 4vw, 3rem);
    background: var(--surface-container);
    border: 1px solid rgba(141, 107, 69, 0.15);
    border-left: 2px solid var(--gold);
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.testimonial:hover { transform: translateY(-6px); border-color: rgba(199, 176, 138, 0.4); }
.testimonial .material-symbols-outlined { font-size: 2rem; color: var(--gold); opacity: 0.6; margin-bottom: 1rem; }
.testimonial p { font-family: var(--font-display); font-style: italic; font-size: var(--fs-body-lg); line-height: 1.5; color: var(--ivory); }
.testimonial cite { display: block; margin-top: 1.5rem; font-family: var(--font-body); font-style: normal; font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sand); }

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

/* Manifesto / large pull quote */
.manifesto { max-width: 52rem; }
.manifesto p { font-family: var(--font-display); font-size: var(--fs-headline-md); line-height: 1.4; color: var(--ivory); font-style: italic; }
.manifesto cite { display: block; margin-top: 1.5rem; font-family: var(--font-body); font-style: normal; font-size: var(--fs-label); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

@media (min-width: 769px) {
    .contact-grid { grid-template-columns: 5fr 6fr; }
}

@media (max-width: 1024px) {
    .tile-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .tile-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
}
