/*
Theme Name: LL Joinery
Theme URI: https://www.lljoinery.co.uk/
Author: LL Joinery
Author URI: https://www.lljoinery.co.uk/
Description: Custom WordPress theme for LL Joinery — bespoke joinery and carpentry business in Co. Antrim, Northern Ireland. Built with a "Refined Industrial Craftsman" aesthetic — dark heroes, bold red accents, clean white content. SEO-optimised for local Northern Ireland search with schema.org markup, Open Graph tags, and geo meta.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ll-joinery
Tags: business, portfolio, custom-menu, featured-images, threaded-comments, translation-ready, custom-logo
*/

/* ================================================================
   LL JOINERY — DESIGN SYSTEM
   Colour palette pulled from the brand logo (red / silver / black).
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,600&display=swap');

:root {
    /* Brand colours (from logo) */
    --color-black: #0a0a0a;
    --color-charcoal: #141414;
    --color-graphite: #1f1f1f;
    --color-red: #d32027;
    --color-red-bright: #e8212b;
    --color-red-dark: #9e1720;
    --color-silver: #c5c5c5;
    --color-silver-light: #e2e2e2;
    --color-off-white: #f7f6f3;
    --color-white: #ffffff;

    /* Functional */
    --color-text: #141414;
    --color-text-muted: #5a5a5a;
    --color-text-inverse: #f7f6f3;
    --color-border: rgba(20, 20, 20, 0.08);
    --color-border-dark: rgba(245, 245, 245, 0.08);

    /* Typography */
    --font-display: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 9rem;

    /* Layout */
    --container-max: 1280px;
    --container-narrow: 960px;
    --radius-sm: 4px;
    --radius-md: 8px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.18);
    --shadow-red: 0 10px 40px rgba(211, 32, 39, 0.25);
}

/* ================================================================
   RESET & BASE
   ================================================================ */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */

.display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.display--serif-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.02em;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.005em; }

h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.125rem; letter-spacing: 0.05em; }

p { font-size: 1.0625rem; color: var(--color-text-muted); line-height: 1.65; }
p.lead { font-size: 1.25rem; color: var(--color-text); line-height: 1.55; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-red);
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 1.5px;
    background: var(--color-red);
    display: inline-block;
}

/* ================================================================
   LAYOUT
   ================================================================ */

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 2rem; }

section { padding: var(--space-xl) 0; }
@media (min-width: 768px) { section { padding: var(--space-2xl) 0; } }

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1.05rem 1.85rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--color-red);
    color: var(--color-white);
}
.btn--primary:hover {
    background: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn--ghost {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover {
    background: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.btn--dark {
    background: var(--color-black);
    color: var(--color-white);
}
.btn--dark:hover {
    background: var(--color-red);
    transform: translateY(-2px);
}

.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ================================================================
   HEADER / NAV
   ================================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: var(--container-max);
    margin: 0 auto;
    gap: 2rem;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--color-white);
    flex-shrink: 0;
}
.site-header__brand img { height: 54px; width: auto; }

.site-header__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.site-header__brand-text .name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    color: var(--color-white);
}
.site-header__brand-text .tag {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.75rem;
    color: var(--color-red);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

.site-nav { display: flex; align-items: center; gap: 2.25rem; }

.site-nav__links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.site-nav__links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s;
}
.site-nav__links a:hover,
.site-nav__links a.active { color: var(--color-white); }
.site-nav__links a.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: -3px;
    height: 2px;
    background: var(--color-red);
}

.site-nav__cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
}
.site-nav__phone svg { color: var(--color-red); }

.nav-toggle {
    display: none;
    color: var(--color-white);
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
}

@media (max-width: 980px) {
    .site-nav__links,
    .site-nav__phone { display: none; }
    .nav-toggle { display: inline-flex; }
    .site-header__brand-text .tag { display: none; }
    .site-header__bar { padding: 0.75rem 1.25rem; }
    .site-header__brand img { height: 44px; }
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--color-black);
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__close {
    position: absolute;
    top: 1rem; right: 1rem;
    color: var(--color-white);
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
}
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a {
    display: block;
    padding: 1.15rem 0;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.mobile-menu a:hover { color: var(--color-red); }
.mobile-menu__phone {
    margin-top: auto;
    padding: 1rem 0;
    color: var(--color-red);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
    position: relative;
    background: var(--color-black);
    color: var(--color-white);
    padding: 7rem 0 8rem;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px circle at 90% 20%, rgba(211, 32, 39, 0.28), transparent 55%),
        radial-gradient(800px circle at 10% 80%, rgba(211, 32, 39, 0.08), transparent 60%);
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: -1;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero { padding: 4rem 0 5rem; }
}

.hero__eyebrow {
    color: var(--color-red);
}

.hero__title {
    font-size: clamp(3rem, 7vw, 6.25rem);
    line-height: 0.95;
    margin: 1.5rem 0;
    color: var(--color-white);
}
.hero__title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--color-red);
}

.hero__lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    line-height: 1.55;
    margin-bottom: 2.25rem;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.hero__stat { color: var(--color-white); }
.hero__stat .num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}
.hero__stat .num em { color: var(--color-red); font-style: normal; }
.hero__stat .lbl {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 0.5rem;
    display: block;
}

/* Hero image stack */
.hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 520px;
    justify-self: end;
    width: 100%;
}
@media (max-width: 900px) { .hero__visual { justify-self: center; } }

.hero__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}
.hero__visual::before {
    content: "";
    position: absolute;
    top: -20px; left: -20px;
    width: 80px; height: 80px;
    border-top: 3px solid var(--color-red);
    border-left: 3px solid var(--color-red);
    z-index: 2;
}
.hero__visual::after {
    content: "";
    position: absolute;
    bottom: -20px; right: -20px;
    width: 80px; height: 80px;
    border-bottom: 3px solid var(--color-red);
    border-right: 3px solid var(--color-red);
    z-index: 2;
}

/* Ticker strip below hero */
.ticker {
    background: var(--color-graphite);
    color: var(--color-silver);
    padding: 1rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticker__track {
    display: flex;
    gap: 3rem;
    animation: tickerScroll 45s linear infinite;
    white-space: nowrap;
    padding-left: 3rem;
}
.ticker span {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}
.ticker span::before {
    content: "◆";
    color: var(--color-red);
    margin-right: 3rem;
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */

.section-head {
    max-width: 720px;
    margin-bottom: 3.5rem;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
    margin: 1rem 0 1.25rem;
}
.section-head h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    color: var(--color-red);
    letter-spacing: -0.02em;
}
.section-head p {
    font-size: 1.15rem;
    line-height: 1.6;
}

/* ================================================================
   SERVICES GRID
   ================================================================ */

.services {
    background: var(--color-off-white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 2px;
    border: 1px solid var(--color-border);
    position: relative;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black);
    color: var(--color-red);
    margin-bottom: 1.5rem;
    border-radius: 2px;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-black);
}
.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-red);
}

/* ================================================================
   SPLIT / FEATURE SECTION
   ================================================================ */

.split {
    background: var(--color-white);
}
.split__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
@media (max-width: 900px) {
    .split__grid { grid-template-columns: 1fr; gap: 3rem; }
}

.split__image {
    position: relative;
    aspect-ratio: 4 / 5;
}
.split__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.split__image .badge {
    position: absolute;
    bottom: -25px; left: -25px;
    background: var(--color-red);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: 2px;
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 1;
}
.split__image .badge .num { font-size: 2.5rem; font-weight: 700; }
.split__image .badge .lbl { font-size: 0.7rem; letter-spacing: 0.2em; margin-top: 0.5rem; display: block; }

.split__content h2 { margin-bottom: 1.5rem; }

.feature-list { list-style: none; margin-top: 2rem; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-list strong { font-size: 1.05rem; color: var(--color-black); display: block; margin-bottom: 0.15rem; }
.feature-list span { font-size: 0.95rem; color: var(--color-text-muted); }

/* ================================================================
   STATS BAND
   ================================================================ */

.stats-band {
    background: var(--color-black);
    color: var(--color-white);
    padding: 4rem 0;
    position: relative;
    isolation: isolate;
}
.stats-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at 20% 50%, rgba(211,32,39,0.15), transparent 60%);
    z-index: -1;
}
.stats-band__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stats-band__item .num {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
}
.stats-band__item .num em { color: var(--color-red); font-style: normal; }
.stats-band__item .lbl {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */

.testimonials { background: var(--color-off-white); }
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.testimonial {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 2px;
    border: 1px solid var(--color-border);
    position: relative;
}
.testimonial__quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    quotes: """ """ "'" "'";
}
.testimonial__quote::before {
    content: open-quote;
    font-size: 3rem;
    line-height: 0;
    position: relative;
    top: 0.3em;
    margin-right: 0.1em;
    color: var(--color-red);
}
.testimonial__who { font-weight: 700; color: var(--color-black); font-size: 0.95rem; }
.testimonial__where {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.15rem;
}
.testimonial__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
    color: var(--color-red);
}

/* ================================================================
   CTA BAND
   ================================================================ */

.cta-band {
    background: var(--color-red);
    color: var(--color-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 25px, rgba(255,255,255,0.03) 25px, rgba(255,255,255,0.03) 50px);
    z-index: -1;
}
.cta-band__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    flex-wrap: wrap;
}
.cta-band h2 {
    color: var(--color-white);
    max-width: 640px;
}
.cta-band h2 em { font-family: var(--font-serif); font-style: italic; text-transform: none; font-weight: 400; letter-spacing: -0.02em; }
.cta-band .btn--primary {
    background: var(--color-black);
    color: var(--color-white);
}
.cta-band .btn--primary:hover { background: var(--color-white); color: var(--color-black); }

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
    background: var(--color-black);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}
@media (max-width: 800px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
    color: var(--color-white);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
}
.site-footer__brand img { height: 70px; margin-bottom: 1rem; }
.site-footer__brand p { color: rgba(255,255,255,0.55); font-size: 0.95rem; max-width: 320px; }

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.65rem; }
.site-footer a { color: rgba(255,255,255,0.6); font-size: 0.95rem; transition: color 0.2s; }
.site-footer a:hover { color: var(--color-red); }

.site-footer__contact li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
}
.site-footer__contact svg { color: var(--color-red); flex-shrink: 0; margin-top: 3px; }

.site-footer__bottom {
    max-width: var(--container-max);
    margin: 3rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ================================================================
   PAGE HERO (interior pages)
   ================================================================ */

.page-hero {
    background: var(--color-black);
    color: var(--color-white);
    padding: 5rem 0 4rem;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(900px circle at 70% 50%, rgba(211,32,39,0.22), transparent 55%);
    z-index: -1;
}
.page-hero__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}
.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}
.breadcrumbs a:hover { color: var(--color-red); }
.breadcrumbs .sep { color: var(--color-red); }

.page-hero h1 {
    color: var(--color-white);
    font-size: clamp(2.75rem, 6vw, 5rem);
    max-width: 900px;
}
.page-hero h1 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    color: var(--color-red);
    letter-spacing: -0.02em;
}
.page-hero p {
    color: rgba(255,255,255,0.7);
    max-width: 640px;
    margin-top: 1.25rem;
    font-size: 1.15rem;
}

/* ================================================================
   GALLERY GRID
   ================================================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
    grid-auto-rows: 200px;
}
@media (max-width: 700px) {
    .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 450px) {
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    background: var(--color-black);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__label {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--color-white);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item__label { opacity: 1; }
.gallery-item__label h4 {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}
.gallery-item__label p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* Gallery span classes — desktop grid layout */
.gallery-item.wide    { grid-column: span 8; grid-row: span 2; }
.gallery-item.tall    { grid-column: span 4; grid-row: span 2; }
.gallery-item.square  { grid-column: span 4; grid-row: span 2; }
.gallery-item.normal  { grid-column: span 4; grid-row: span 1; }
.gallery-item.wide-s  { grid-column: span 6; grid-row: span 2; }

@media (max-width: 700px) {
    .gallery-item.wide    { grid-column: span 6; grid-row: span 2; }
    .gallery-item.tall    { grid-column: span 3; grid-row: span 2; }
    .gallery-item.square  { grid-column: span 3; grid-row: span 1; }
    .gallery-item.normal  { grid-column: span 3; grid-row: span 1; }
    .gallery-item.wide-s  { grid-column: span 6; grid-row: span 1; }
}
@media (max-width: 450px) {
    .gallery-item { grid-column: 1 !important; grid-row: auto !important; }
}

/* ================================================================
   LIGHTBOX
   ================================================================ */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.96);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; object-fit: contain; }
.lightbox__close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 48px; height: 48px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.lightbox__close:hover { background: var(--color-red); }
.lightbox__caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.1rem;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.contact-info h3 { margin-bottom: 0.5rem; font-size: 1.4rem; }
.contact-info .eyebrow { margin-bottom: 1rem; }
.contact-info__item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
}
.contact-info__item:last-of-type { border-bottom: none; }
.contact-info__icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    background: var(--color-black);
    color: var(--color-red);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}
.contact-info__item h4 { font-size: 0.8rem; letter-spacing: 0.15em; margin-bottom: 0.35rem; color: var(--color-black); }
.contact-info__item p, .contact-info__item a {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.5;
}
.contact-info__item a:hover { color: var(--color-red); }

.contact-form {
    background: var(--color-white);
    padding: 3rem;
    border: 1px solid var(--color-border);
    border-radius: 2px;
}
@media (max-width: 500px) { .contact-form { padding: 2rem 1.5rem; } }

.contact-form h2 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.contact-form > p { margin-bottom: 2rem; font-size: 0.95rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.form-field label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.9rem 1rem;
    background: var(--color-off-white);
    border: 1.5px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-text);
    transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-red);
    background: var(--color-white);
}
.form-field textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }

.form-submit { width: 100%; justify-content: center; }

.form-consent {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

/* Areas we serve list */
.areas-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.areas-list li {
    list-style: none;
    padding: 0.45rem 0.9rem;
    background: var(--color-off-white);
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    color: var(--color-text-muted);
}

/* ================================================================
   ABOUT PAGE — process steps
   ================================================================ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.process-step {
    position: relative;
    padding: 2.5rem 2rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 2px;
}
.process-step__num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-red);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.9;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.process-step p { font-size: 0.95rem; }

/* Values / principles */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.value {
    padding: 2rem;
    border-left: 3px solid var(--color-red);
    background: var(--color-off-white);
}
.value h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* ================================================================
   SERVICES PAGE — detailed cards
   ================================================================ */

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}
.service-detail:last-of-type { border-bottom: none; }
.service-detail:nth-child(even) .service-detail__image { order: 2; }
@media (max-width: 800px) {
    .service-detail { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
    .service-detail:nth-child(even) .service-detail__image { order: 0; }
}
.service-detail__image {
    aspect-ratio: 4/3;
    background: var(--color-graphite);
    border-radius: 2px;
    overflow: hidden;
}
.service-detail__image img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__num {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-red);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.service-detail h2 { font-size: 2.25rem; margin-bottom: 1.25rem; }
.service-detail ul { list-style: none; margin-top: 1.5rem; }
.service-detail ul li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.98rem;
    color: var(--color-text-muted);
}
.service-detail ul li::before {
    content: "";
    position: absolute;
    left: 0; top: 0.95rem;
    width: 14px; height: 2px;
    background: var(--color-red);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   UTILITIES
   ================================================================ */

.red-text { color: var(--color-red); }
.no-wrap { white-space: nowrap; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ================================================================
   FORM STATUS MESSAGES (added for WordPress contact handler)
   ================================================================ */
.form-msg {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    border-left: 4px solid;
}
.form-msg--success {
    background: #ecf8ef;
    color: #1e6b38;
    border-color: #2e9a52;
}
.form-msg--error {
    background: #fdecec;
    color: #8a1b1b;
    border-color: var(--color-red, #d32027);
}





/* ===== FINAL HERO (ISOLATED) ===== */
.llh-hero {
    position: relative;
    height: 92vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* BACKGROUND IMAGE (MATCHED STYLE) */
.llh-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1615874959474-d609969a20ed?w=2000&auto=format&fit=crop&q=100') no-repeat center right;
    background-size: cover;
    z-index: 1;
}

/* LEFT FADE (KEY FIX) */
.llh-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.98) 0%,
        rgba(255,255,255,0.95) 30%,
        rgba(255,255,255,0.7) 55%,
        rgba(255,255,255,0.2) 75%,
        transparent 90%
    );
    z-index: 2;
}

/* CONTENT */
.llh-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

.llh-eyebrow {
    color: #e30613;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.llh-title {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1px;
    color: #111;
    margin: 0;
    max-width: 650px;
}

.llh-title span {
    color: #e30613;
}

.llh-text {
    margin-top: 20px;
    font-size: 18px;
    color: #555;
    max-width: 520px;
}

/* BUTTONS */
.llh-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.llh-btn-primary {
    background: #e30613;
    color: #fff;
    padding: 16px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}

.llh-btn-secondary {
    border: 2px solid #ccc;
    padding: 16px 28px;
    border-radius: 6px;
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

/* FLOATING STATS */
.llh-stats {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 22px 45px;
    border-radius: 14px;
    display: flex;
    gap: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    z-index: 4;
}

.llh-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.llh-stat strong {
    font-size: 20px;
}

.llh-stat span {
    font-size: 14px;
    color: #666;
}

/* MOBILE */
@media (max-width: 768px) {
    .llh-title {
        font-size: 38px;
    }

    .llh-hero {
        height: auto;
        padding: 80px 0;
    }

    .llh-stats {
        position: static;
        transform: none;
        margin-top: 30px;
        flex-direction: column;
        gap: 20px;
    }

    .llh-hero-bg {
        background-position: center;
    }
}