/* =========================================================
   Beehag Built — Quality Carpentry & Joinery
   Premium residential aesthetic: cream + black + warm wood
   Inspired by modernhomes.sydney
   ========================================================= */

:root {
    /* Surfaces */
    --bb-cream: #F5F1EA;
    --bb-cream-soft: #FBFAF6;
    --bb-cream-deep: #ECE5D6;
    --bb-white: #FFFFFF;
    --bb-black: #0A0A0A;
    --bb-ink: #1A1A1A;
    --bb-charcoal: #2D2A26;

    /* Text */
    --bb-text: #1A1A1A;
    --bb-text-muted: #6B655C;
    --bb-text-light: #8C8579;

    /* Lines & borders */
    --bb-line: #E5DFCF;
    --bb-line-soft: #EDE8DA;

    /* Accents — used sparingly */
    --bb-yellow: #FFD400;
    --bb-yellow-dark: #E5BE00;
    --bb-wood: #C4A77D;
    --bb-wood-mid: #8E6B3F;
    --bb-wood-dark: #5C3F1F;

    /* Type */
    --bb-font-display: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
    --bb-font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

    /* Layout */
    --bb-container: 1240px;
    --bb-container-narrow: 800px;
    --bb-radius: 2px;
    --bb-shadow-sm: 0 1px 2px rgba(20, 16, 8, 0.04);
    --bb-shadow: 0 20px 50px rgba(20, 16, 8, 0.08);
    --bb-shadow-lg: 0 30px 80px rgba(20, 16, 8, 0.12);
    --bb-transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bb-cream);
    color: var(--bb-text);
    font-family: var(--bb-font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--bb-text);
    text-decoration: underline;
    text-decoration-color: var(--bb-line);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color var(--bb-transition), text-decoration-color var(--bb-transition);
}
a:hover {
    color: var(--bb-wood-dark);
    text-decoration-color: var(--bb-wood-mid);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bb-font-display);
    font-weight: 500;
    line-height: 1.1;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
    color: var(--bb-ink);
}

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }

.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 8px;
    background: var(--bb-ink); color: var(--bb-cream);
    padding: 8px 12px; z-index: 9999; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Layout ---------- */
.container {
    max-width: var(--bb-container);
    margin: 0 auto;
    padding: 0 32px;
}
.container--narrow { max-width: var(--bb-container-narrow); }

.section { padding: 120px 0; }
.section--tight { padding: 80px 0; }
.section--bg-cream  { background: var(--bb-cream); }
.section--bg-soft   { background: var(--bb-cream-soft); }
.section--bg-deep   { background: var(--bb-cream-deep); }
.section--bg-dark {
    background: var(--bb-black);
    color: #D4CFC4;
}
.section--bg-dark h1, .section--bg-dark h2, .section--bg-dark h3 { color: #FFFFFF; }
.section--center { text-align: center; }
.text-center { text-align: center; }

@media (max-width: 720px) {
    .section { padding: 80px 0; }
    .container { padding: 0 24px; }
}

/* ---------- Heading pair (eyebrow label + display title) ---------- */
.heading-pair { margin-bottom: 56px; max-width: 760px; }
.heading-pair--center { margin-left: auto; margin-right: auto; text-align: center; }

.heading-pair__label {
    display: inline-block;
    font-family: var(--bb-font-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bb-text-muted);
    margin: 0 0 18px;
    padding: 0;
}
.heading-pair__title {
    font-family: var(--bb-font-display);
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0;
    color: var(--bb-ink);
}
.heading-pair__title em {
    font-style: italic;
    color: var(--bb-wood-mid);
    font-weight: 400;
}

.section--bg-dark .heading-pair__label { color: var(--bb-yellow); }
.section--bg-dark .heading-pair__title { color: #FFFFFF; }
.section--bg-dark .heading-pair__title em { color: var(--bb-yellow); }

/* Legacy compatibility (back-compat for templates still using these) */
.eyebrow {
    display: inline-block;
    font-family: var(--bb-font-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bb-text-muted);
    margin: 0 0 18px;
}
.eyebrow--light { color: var(--bb-yellow); }

.display {
    font-family: var(--bb-font-display);
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 0.4em;
}
.lede {
    font-family: var(--bb-font-sans);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--bb-text-muted);
    max-width: 60ch;
    line-height: 1.7;
}
.section--bg-dark .lede { color: #B8B3A8; }

.section__head { margin-bottom: 56px; max-width: 760px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title {
    font-family: var(--bb-font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.1;
}
.section__title--light { color: #FFFFFF; }
.section__title--small { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.section__more { margin-top: 32px; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--bb-font-sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bb-ink);
    border-bottom: 1px solid var(--bb-ink);
    padding-bottom: 4px;
    transition: gap var(--bb-transition), color var(--bb-transition), border-color var(--bb-transition);
}
.link-arrow:hover { gap: 12px; color: var(--bb-wood-dark); border-color: var(--bb-wood-mid); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--bb-font-sans);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--bb-radius);
    cursor: pointer;
    transition: all var(--bb-transition);
    white-space: nowrap;
}
.btn + .btn { margin-left: 8px; }

.btn--primary {
    background: var(--bb-ink);
    color: var(--bb-cream-soft);
    border-color: var(--bb-ink);
}
.btn--primary:hover {
    background: transparent;
    color: var(--bb-ink);
}

.btn--ghost {
    background: transparent;
    color: var(--bb-ink);
    border-color: var(--bb-ink);
}
.btn--ghost:hover {
    background: var(--bb-ink);
    color: var(--bb-cream-soft);
}

.section--bg-dark .btn--primary {
    background: var(--bb-yellow);
    color: var(--bb-ink);
    border-color: var(--bb-yellow);
}
.section--bg-dark .btn--primary:hover {
    background: transparent;
    color: var(--bb-yellow);
}
.section--bg-dark .btn--ghost {
    color: #FFFFFF; border-color: rgba(255,255,255,0.4);
}
.section--bg-dark .btn--ghost:hover {
    background: var(--bb-yellow); color: var(--bb-ink); border-color: var(--bb-yellow);
}

.btn--small { padding: 10px 18px; font-size: 11px; }
.btn--large { padding: 20px 36px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245, 241, 234, 0.92);
    border-bottom: 1px solid var(--bb-line-soft);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 32px;
    max-width: var(--bb-container);
    margin: 0 auto;
}
.site-logo { display: inline-flex; text-decoration: none; }
.site-logo__img { height: 48px; width: auto; }
.custom-logo { max-height: 52px; width: auto; }

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 36px;
}
.primary-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0; padding: 0;
}
.primary-menu a {
    font-family: var(--bb-font-sans);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bb-ink);
    padding: 6px 0;
    position: relative;
    transition: color var(--bb-transition);
}
.primary-menu a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--bb-ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--bb-transition);
}
.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { white-space: nowrap; }

.nav-toggle {
    display: none;
    background: transparent; border: 0; cursor: pointer;
    padding: 10px; width: 44px; height: 44px;
}
.nav-toggle__bar {
    display: block;
    width: 22px; height: 1px;
    background: var(--bb-ink);
    margin: 6px 0;
    transition: transform var(--bb-transition), opacity var(--bb-transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .primary-navigation {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bb-cream);
        border-bottom: 1px solid var(--bb-line);
        padding: 16px 32px 28px;
    }
    .primary-navigation.is-open { display: flex; }
    .primary-menu { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
    .primary-menu li { width: 100%; border-bottom: 1px solid var(--bb-line-soft); }
    .primary-menu a { display: block; padding: 16px 0; }
    .nav-cta { margin-top: 16px; }
}

/* ---------- Hero (front page) ---------- */
.hero {
    position: relative;
    padding: 80px 0 0;
    background: var(--bb-cream);
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: end;
    position: relative;
}
.hero__copy {
    padding-bottom: 120px;
    max-width: 580px;
}
.hero__title {
    font-family: var(--bb-font-display);
    font-size: clamp(2.6rem, 5.8vw, 4.6rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin: 0 0 28px;
    color: var(--bb-ink);
}
.hero__title em {
    font-style: italic;
    color: var(--bb-wood-mid);
    font-weight: 400;
}
.hero__lede {
    font-size: 1.05rem;
    color: var(--bb-text-muted);
    max-width: 50ch;
    line-height: 1.7;
    margin: 0 0 36px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--bb-cream-deep);
    overflow: hidden;
}
.hero__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.18), transparent 60%),
        repeating-linear-gradient(95deg,
            #6e5037 0px,
            #5b3f29 2px,
            #7a5c3e 4px,
            #4a3220 6px,
            #6e5037 12px);
}
.hero__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0,0,0,0.12), transparent 50%);
}

.hero__stat {
    position: absolute;
    bottom: 32px; left: 32px;
    background: var(--bb-cream-soft);
    padding: 28px 32px;
    border: 1px solid var(--bb-line);
    z-index: 2;
    max-width: 240px;
}
.hero__stat-number {
    font-family: var(--bb-font-display);
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
    color: var(--bb-ink);
    letter-spacing: -0.03em;
}
.hero__stat-suffix {
    font-family: var(--bb-font-display);
    font-size: 2rem;
    color: var(--bb-wood-mid);
}
.hero__stat-label {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bb-text-muted);
    line-height: 1.4;
}

.hero__dots {
    position: absolute;
    top: 80px; right: -40px;
    width: 200px; height: 200px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52' width='60' height='52'%3E%3Cg fill='none' stroke='%231a1a1a' stroke-width='1'%3E%3Cpath d='M15 2 L30 2 L37.5 13 L30 24 L15 24 L7.5 13 Z'/%3E%3Cpath d='M45 28 L60 28 L67.5 39 L60 50 L45 50 L37.5 39 Z'/%3E%3Cpath d='M-15 28 L0 28 L7.5 39 L0 50 L-15 50 L-22.5 39 Z'/%3E%3C/g%3E%3C/svg%3E");
        background-size: 60px 52px;
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; align-items: stretch; }
    .hero__copy { padding-bottom: 0; }
    .hero__visual { aspect-ratio: 4/3; }
    .hero__dots { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: var(--bb-cream);
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--bb-line);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    top: 40px; right: -60px;
    width: 220px; height: 220px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52' width='60' height='52'%3E%3Cg fill='none' stroke='%231a1a1a' stroke-width='1'%3E%3Cpath d='M15 2 L30 2 L37.5 13 L30 24 L15 24 L7.5 13 Z'/%3E%3Cpath d='M45 28 L60 28 L67.5 39 L60 50 L45 50 L37.5 39 Z'/%3E%3Cpath d='M-15 28 L0 28 L7.5 39 L0 50 L-15 50 L-22.5 39 Z'/%3E%3C/g%3E%3C/svg%3E");
        background-size: 60px 52px;
    opacity: 0.15;
    pointer-events: none;
}
.page-hero__title {
    font-family: var(--bb-font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 22ch;
    color: var(--bb-ink);
}
.page-hero__title em {
    font-style: italic; color: var(--bb-wood-mid); font-weight: 400;
}
.page-hero__lede {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--bb-text-muted);
    max-width: 60ch;
    line-height: 1.7;
    margin: 0;
}

/* ---------- About-with-image (overlapping cards) ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-grid__visual {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--bb-cream-deep);
    overflow: hidden;
}
.about-grid__visual::before {
    content: '';
    position: absolute; inset: 0;
    background:
        repeating-linear-gradient(110deg,
            #c4a77d 0,
            #b59669 4px,
            #d4b88d 8px,
            #a98a5a 14px);
    opacity: 0.95;
}
.about-grid__visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.15), transparent 70%);
}
.about-grid__visual-overlay {
    position: absolute;
    bottom: -32px; right: -32px;
    width: 65%; aspect-ratio: 1;
    background: var(--bb-cream-soft);
    border: 1px solid var(--bb-line);
    padding: 24px;
    z-index: 2;
    display: grid;
    align-content: center;
}
.about-grid__visual-overlay::before {
    content: '';
    width: 100%; aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bb-ink), var(--bb-charcoal));
}
.about-grid__copy p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--bb-text-muted);
    margin-bottom: 1.2em;
    max-width: 56ch;
}

@media (max-width: 960px) {
    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .about-grid__visual { max-width: 480px; aspect-ratio: 4/3; }
}

/* ---------- Why choose us (checklist) ---------- */
.why {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}
.why__visual {
    aspect-ratio: 1/1;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.08), transparent 60%),
        var(--bb-cream-deep);
    position: relative;
    overflow: hidden;
}
.why__visual::before {
    content: '';
    position: absolute; inset: 12% 8% 8% 12%;
    background:
        repeating-linear-gradient(125deg,
            #826047 0,
            #6e4c33 5px,
            #997258 10px,
            #5e3d22 16px);
    box-shadow: var(--bb-shadow);
}
.why__visual::after {
    content: '';
    position: absolute;
    bottom: 24px; left: 24px;
    width: 90px; height: 100px;
    background: var(--bb-yellow);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    z-index: 2;
}
.why__copy { max-width: 520px; }
.checklist {
    list-style: none;
    margin: 32px 0 36px;
    padding: 0;
    display: grid; gap: 18px;
}
.checklist li {
    position: relative;
    padding: 0 0 0 36px;
    font-size: 1rem;
    color: var(--bb-text);
    line-height: 1.6;
}
.checklist li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 22px; height: 24px;
    background: var(--bb-yellow);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.checklist li::after {
    content: '';
    position: absolute;
    left: 6px; top: 11px;
    width: 10px; height: 10px;
    border-bottom: 1.5px solid var(--bb-ink);
    border-right: 1.5px solid var(--bb-ink);
    transform: rotate(45deg);
}

@media (max-width: 960px) {
    .why { grid-template-columns: 1fr; gap: 56px; }
    .why__visual { max-width: 420px; }
}

/* ---------- Services (numbered cards) ---------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    border-top: 1px solid var(--bb-line);
}
.svc-grid__item {
    background: transparent;
    padding: 48px 36px;
    border-bottom: 1px solid var(--bb-line);
    border-right: 1px solid var(--bb-line);
    position: relative;
    transition: background var(--bb-transition);
}
.svc-grid__item:last-child { border-right: 1px solid var(--bb-line); }
.svc-grid__item:hover { background: var(--bb-cream-soft); }
.svc-grid__num {
    font-family: var(--bb-font-display);
    font-size: 0.9rem;
    color: var(--bb-text-light);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}
.svc-grid__title {
    font-family: var(--bb-font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}
.svc-grid__desc {
    font-size: 0.95rem;
    color: var(--bb-text-muted);
    line-height: 1.65;
    margin: 0 0 24px;
}
.svc-grid__link {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bb-ink);
    border-bottom: 1px solid var(--bb-ink);
    padding-bottom: 3px;
}

/* ---------- Project gallery (asymmetric) ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 140px;
    gap: 20px;
}
.gallery__item {
    position: relative;
    overflow: hidden;
    background: var(--bb-cream-deep);
    cursor: pointer;
    transition: transform var(--bb-transition);
}
.gallery__item::before {
    content: '';
    position: absolute; inset: 0;
    background-color: var(--bb-cream-deep);
}
.gallery__item--a::before { background: repeating-linear-gradient(105deg, #6e5037 0, #5b3f29 3px, #7a5c3e 6px, #4a3220 10px); }
.gallery__item--b::before { background: repeating-linear-gradient(85deg, #c4a77d 0, #b59669 4px, #d4b88d 8px, #a98a5a 14px); }
.gallery__item--c::before { background: linear-gradient(135deg, #2a2520, #4a3a2a); }
.gallery__item--d::before { background: repeating-linear-gradient(115deg, #8a6a48 0, #755836 4px, #9a7a58 8px, #6a4a28 14px); }
.gallery__item--e::before { background: linear-gradient(160deg, var(--bb-cream-deep), var(--bb-wood)); }
.gallery__item--f::before { background: repeating-linear-gradient(95deg, #44342a 0, #2e221a 3px, #5a4838 6px, #1f1610 10px); }

.gallery__item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent 50%);
    opacity: 0.7;
    transition: opacity var(--bb-transition);
}
.gallery__item:hover::after { opacity: 0.9; }
.gallery__item:hover { transform: scale(1.01); }
.gallery__caption {
    position: absolute;
    bottom: 24px; left: 24px; right: 24px;
    z-index: 2;
    color: #FFFFFF;
}
.gallery__category {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bb-yellow);
    margin-bottom: 6px;
    font-weight: 500;
}
.gallery__title {
    font-family: var(--bb-font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* spans */
.gallery__item--span1 { grid-column: span 4; grid-row: span 2; }
.gallery__item--span2 { grid-column: span 4; grid-row: span 3; }
.gallery__item--span3 { grid-column: span 4; grid-row: span 2; }
.gallery__item--span4 { grid-column: span 6; grid-row: span 2; }
.gallery__item--span5 { grid-column: span 3; grid-row: span 2; }
.gallery__item--span6 { grid-column: span 3; grid-row: span 2; }

@media (max-width: 960px) {
    .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
    .gallery__item--span1, .gallery__item--span3, .gallery__item--span5, .gallery__item--span6 { grid-column: span 3; grid-row: span 2; }
    .gallery__item--span2 { grid-column: span 6; grid-row: span 3; }
    .gallery__item--span4 { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 560px) {
    .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .gallery__item, .gallery__item--span1, .gallery__item--span2, .gallery__item--span3,
    .gallery__item--span4, .gallery__item--span5, .gallery__item--span6 {
        grid-column: 1 / -1; grid-row: span 1;
    }
}

/* ---------- Skills bars ---------- */
.skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.skills__visual {
    aspect-ratio: 4/5;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.15), transparent 60%),
        repeating-linear-gradient(95deg, #5c3f1f 0, #4a3119 3px, #6e4f2c 6px, #3d2914 10px);
    position: relative;
    overflow: hidden;
}
.skills__visual::after {
    content: '';
    position: absolute;
    bottom: -10%; right: -10%;
    width: 60%; aspect-ratio: 1;
    background: var(--bb-yellow);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    opacity: 0.95;
}
.skill-bar { margin-bottom: 28px; }
.skill-bar__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.skill-bar__label {
    font-family: var(--bb-font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--bb-ink);
}
.skill-bar__pct {
    font-family: var(--bb-font-sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--bb-text-muted);
    letter-spacing: 0.05em;
}
.skill-bar__track {
    width: 100%;
    height: 2px;
    background: var(--bb-line);
    overflow: hidden;
    position: relative;
}
.skill-bar__fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: var(--bb-ink);
    width: 0;
    transition: width 1200ms cubic-bezier(0.65, 0, 0.35, 1);
}
.is-visible .skill-bar__fill { width: var(--bb-fill, 80%); }

@media (max-width: 960px) {
    .skills { grid-template-columns: 1fr; gap: 56px; }
    .skills__visual { max-width: 480px; aspect-ratio: 4/3; }
}

/* ---------- Process ---------- */
.process {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0;
    border-top: 1px solid var(--bb-line);
}
.process__step {
    background: transparent;
    padding: 40px 32px;
    border-bottom: 1px solid var(--bb-line);
    border-right: 1px solid var(--bb-line);
    transition: background var(--bb-transition);
}
.process__step:last-child { border-right: 1px solid var(--bb-line); }
.process__step:hover { background: var(--bb-cream-soft); }
.process__num {
    font-family: var(--bb-font-display);
    font-size: 0.85rem;
    color: var(--bb-text-light);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
    background: transparent;
    padding: 0;
}
.process__step h3 {
    font-family: var(--bb-font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0 0 12px;
}
.process__step p { font-size: 0.95rem; color: var(--bb-text-muted); margin: 0; }

/* ---------- Team ---------- */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.team-card {
    background: transparent;
    border: 0;
    padding: 0;
    text-align: left;
}
.team-card__avatar {
    width: 100%;
    aspect-ratio: 4/5;
    margin-bottom: 20px;
    background:
        linear-gradient(135deg, rgba(0,0,0,0.12), transparent 60%),
        var(--bb-cream-deep);
    color: var(--bb-wood-mid);
    display: grid; place-items: center;
    font-family: var(--bb-font-display);
    font-weight: 400;
    font-size: 4rem;
    letter-spacing: 0.04em;
    border-radius: 0;
    transition: transform var(--bb-transition);
}
.team-card:hover .team-card__avatar { transform: scale(1.01); }
.team-card__name {
    font-family: var(--bb-font-display);
    font-weight: 500;
    margin: 0 0 4px;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
}
.team-card__role {
    color: var(--bb-text-muted);
    font-family: var(--bb-font-sans);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.team-card p { font-size: 0.95rem; color: var(--bb-text-muted); margin: 0; line-height: 1.65; }

/* ---------- Values list ---------- */
.values { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; }
.values__list {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 0;
}
.values__list li {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
    line-height: 1.6;
    color: #C4BFB4;
}
.values__list li:last-child { border-bottom: 0; }
.values__list strong { color: var(--bb-yellow); font-weight: 500; font-family: var(--bb-font-display); font-size: 1.1rem; display: block; margin-bottom: 4px; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- Service cards (inner page) ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    border-top: 1px solid var(--bb-line);
    border-left: 1px solid var(--bb-line);
}
.service-card {
    background: var(--bb-cream-soft);
    border-right: 1px solid var(--bb-line);
    border-bottom: 1px solid var(--bb-line);
    padding: 48px 40px;
    transition: background var(--bb-transition);
    position: relative;
}
.service-card:hover { background: var(--bb-white); }
.service-card::before { display: none; }
.service-card__icon {
    width: 48px; height: 48px;
    border-radius: 0;
    background: transparent;
    color: var(--bb-ink);
    display: grid; place-items: start;
    margin-bottom: 24px;
}
.service-card__title {
    font-family: var(--bb-font-display);
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
.service-card p { color: var(--bb-text-muted); font-size: 0.97rem; line-height: 1.65; }
.service-card__bullets { margin: 18px 0; padding-left: 0; list-style: none; }
.service-card__bullets li {
    padding-left: 22px; position: relative; margin-bottom: 8px;
    font-size: 14px; color: var(--bb-text-muted);
}
.service-card__bullets li::before {
    content: ''; position: absolute; left: 0; top: 9px;
    width: 8px; height: 1px; background: var(--bb-ink);
}
.service-card__price {
    margin-top: 24px; padding-top: 16px;
    border-top: 1px solid var(--bb-line);
    font-family: var(--bb-font-display);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--bb-ink);
    letter-spacing: -0.01em;
}

/* ---------- Testimonials ---------- */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.testimonial {
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 32px 0 0;
    margin: 0;
}
.testimonial blockquote {
    margin: 0 0 24px;
    font-family: var(--bb-font-display);
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.4;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    font-weight: 400;
}
.testimonial figcaption {
    color: var(--bb-yellow);
    font-family: var(--bb-font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ---------- CTA band ---------- */
.cta-band {
    padding: 96px 0;
    background: var(--bb-black);
    color: var(--bb-cream-soft);
}
.cta-band__inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 48px;
}
.cta-band .section__title {
    color: #FFFFFF;
    font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}
.cta-band p { color: #B8B3A8; margin: 12px 0 0; max-width: 50ch; }
.cta-band__action { text-align: right; margin: 0; }
.cta-band .btn--primary {
    background: var(--bb-yellow);
    color: var(--bb-ink);
    border-color: var(--bb-yellow);
}
.cta-band .btn--primary:hover {
    background: transparent;
    color: var(--bb-yellow);
    border-color: var(--bb-yellow);
}
@media (max-width: 720px) {
    .cta-band__inner { grid-template-columns: 1fr; gap: 24px; }
    .cta-band__action { text-align: left; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 860px; border-top: 1px solid var(--bb-line); }
.faq__item {
    border-bottom: 1px solid var(--bb-line);
    padding: 0 4px;
}
.faq__item summary {
    cursor: pointer;
    font-family: var(--bb-font-display);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 24px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--bb-ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    font-family: var(--bb-font-sans);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--bb-text-muted);
    transition: transform var(--bb-transition);
}
.faq__item[open] summary::after { content: '−'; }
.faq__item p { margin: 0 0 24px; color: var(--bb-text-muted); padding-right: 40px; }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

.contact-info p { color: var(--bb-text-muted); }
.contact-info__heading {
    margin-top: 32px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bb-text-muted);
    font-family: var(--bb-font-sans);
}

.contact-form-wrap {
    background: var(--bb-cream-soft);
    border: 1px solid var(--bb-line);
    border-radius: var(--bb-radius);
    padding: 40px;
}
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 8px; }
.form-row--two { grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row--two { grid-template-columns: 1fr; } }
.form-row label {
    font-family: var(--bb-font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bb-text-muted);
}
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--bb-line);
    font: inherit;
    color: var(--bb-ink);
    background: transparent;
    border-radius: 0;
    transition: border-color var(--bb-transition);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 0;
    border-bottom-color: var(--bb-ink);
    box-shadow: none;
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-fineprint { font-size: 12px; color: var(--bb-text-light); margin: 0; letter-spacing: 0.04em; }

.form-notice {
    border: 1px solid var(--bb-line);
    border-radius: var(--bb-radius);
    padding: 16px 18px;
    margin-bottom: 20px;
    background: var(--bb-cream);
}
.form-notice--success { border-left: 3px solid var(--bb-ink); }
.form-notice--error   { border-left: 3px solid #B7392B; }
.form-notice strong { display: block; margin-bottom: 4px; font-family: var(--bb-font-display); font-size: 1.05rem; }
.form-notice p { margin: 0; font-size: 14px; color: var(--bb-text-muted); }

/* ---------- Posts (blog fallback) ---------- */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.post-card {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--bb-line);
    padding-top: 24px;
}
.post-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; margin-bottom: 16px; background: var(--bb-cream-deep); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 0; }
.post-card__title { font-family: var(--bb-font-display); font-size: 1.4rem; font-weight: 500; margin: 0 0 8px; }
.post-card__title a { text-decoration: none; }
.post-card__meta { font-size: 11px; color: var(--bb-text-light); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- Prose ---------- */
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote {
    border-left: 1px solid var(--bb-ink);
    padding-left: 24px;
    margin: 1.6em 0;
    font-style: italic;
    font-family: var(--bb-font-display);
    font-size: 1.3rem;
    color: var(--bb-ink);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bb-black);
    color: #B8B3A8;
    padding: 96px 0 0;
    margin-top: 0;
}
.site-footer a { color: #FFFFFF; text-decoration-color: rgba(255,255,255,0.2); }
.site-footer a:hover { color: var(--bb-yellow); text-decoration-color: var(--bb-yellow); }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 56px;
    padding-bottom: 64px;
}
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__title {
    color: #FFFFFF;
    font-family: var(--bb-font-sans);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin: 0 0 20px;
    font-weight: 500;
}
.site-footer__col p, .site-footer__col address { margin: 0 0 8px; font-style: normal; }
.site-footer__muted { color: #80796D; font-size: 14px; }
.site-footer__hours { color: #80796D; font-size: 14px; }
.footer-menu, .site-footer .primary-menu {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 10px;
    flex-direction: column; align-items: flex-start;
}
.footer-menu a, .site-footer .primary-menu a {
    color: #B8B3A8;
    text-decoration: none;
    font-family: var(--bb-font-sans);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 0;
}
.footer-menu a::after, .site-footer .primary-menu a::after { display: none; }
.footer-menu a:hover, .site-footer .primary-menu a:hover { color: var(--bb-yellow); }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 28px 0;
}
.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #80796D;
    letter-spacing: 0.06em;
}
.site-footer__bottom-inner p { margin: 0; }
.site-footer__credit { color: var(--bb-yellow); }

/* ---------- WordPress core helpers ---------- */
.alignwide  { max-width: 100%; }
.alignfull  { max-width: 100%; margin-left: auto; margin-right: auto; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.wp-caption-text { font-size: 13px; color: var(--bb-text-light); }

.pagination { margin-top: 56px; display: flex; justify-content: center; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 10px 16px;
    border: 1px solid var(--bb-line);
    border-radius: var(--bb-radius);
    text-decoration: none;
    color: var(--bb-ink);
    font-size: 14px;
}
.pagination .current { background: var(--bb-ink); color: var(--bb-cream-soft); border-color: var(--bb-ink); }

/* =========================================================
   v4 — Lean home page components (photo-driven)
   ========================================================= */

/* ---------- Hero with full-bleed photo ---------- */
.hero-photo {
    position: relative;
    min-height: clamp(560px, 88vh, 820px);
    background-color: var(--bb-charcoal); /* fallback while photo loads */
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.hero-photo__hex {
    position: absolute;
    top: 80px; right: -80px;
    width: 280px; height: 280px;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52' width='60' height='52'%3E%3Cg fill='none' stroke='%23FFD400' stroke-width='1.2'%3E%3Cpath d='M15 2 L30 2 L37.5 13 L30 24 L15 24 L7.5 13 Z'/%3E%3Cpath d='M45 28 L60 28 L67.5 39 L60 50 L45 50 L37.5 39 Z'/%3E%3Cpath d='M-15 28 L0 28 L7.5 39 L0 50 L-15 50 L-22.5 39 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 56px 48px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}
.hero-photo__inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: end;
    padding: 140px 32px 100px;
    gap: 40px;
    position: relative;
    z-index: 2;
}
.hero-photo__copy { max-width: 740px; }
.hero-photo__label {
    font-family: var(--bb-font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--bb-yellow);
    margin: 0 0 24px;
}
.hero-photo__title {
    font-family: var(--bb-font-display);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin: 0 0 28px;
    max-width: 16ch;
}
.hero-photo__title em {
    font-style: italic;
    color: var(--bb-yellow);
    font-weight: 400;
}
.hero-photo__lede {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: rgba(255,255,255,0.85);
    max-width: 50ch;
    line-height: 1.6;
    margin: 0 0 36px;
}
.hero-photo__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo .btn--ghost { color: #FFFFFF; border-color: rgba(255,255,255,0.5); }
.hero-photo .btn--ghost:hover { background: #FFFFFF; color: var(--bb-ink); border-color: #FFFFFF; }

.hero-photo__badge {
    background: rgba(245, 241, 234, 0.96);
    color: var(--bb-ink);
    padding: 32px 28px;
    text-align: left;
    border-bottom: 4px solid var(--bb-yellow);
    max-width: 240px;
    justify-self: end;
    backdrop-filter: blur(8px);
}
.hero-photo__badge-num {
    display: block;
    font-family: var(--bb-font-display);
    font-size: 5rem;
    font-weight: 500;
    color: var(--bb-ink);
    line-height: 0.9;
    letter-spacing: -0.04em;
}
.hero-photo__badge-num small {
    font-size: 2.4rem;
    color: var(--bb-wood-mid);
}
.hero-photo__badge-label {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bb-text-muted);
    line-height: 1.4;
}

.hero-photo__scroll {
    position: absolute;
    bottom: 32px; left: 32px;
    color: rgba(255,255,255,0.7);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-photo__scroll-line {
    width: 60px; height: 1px;
    background: rgba(255,255,255,0.4);
    position: relative;
    overflow: hidden;
}
.hero-photo__scroll-line::after {
    content: '';
    position: absolute; top: 0; left: -60%;
    width: 60%; height: 100%;
    background: var(--bb-yellow);
    animation: bb-scroll-line 2.4s ease-in-out infinite;
}
@keyframes bb-scroll-line {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(167%); }
    100% { transform: translateX(0); }
}

@media (max-width: 960px) {
    .hero-photo__inner { grid-template-columns: 1fr; align-items: end; padding: 120px 24px 80px; }
    .hero-photo__badge { justify-self: start; max-width: 100%; }
    .hero-photo__hex { width: 200px; height: 200px; opacity: 0.22; }
    .hero-photo__scroll { display: none; }
}

/* ---------- Brand statement ---------- */
.statement { padding: 120px 0; }
.statement__body {
    font-family: var(--bb-font-display);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1.35;
    color: var(--bb-ink);
    letter-spacing: -0.015em;
    margin: 32px 0 36px;
    max-width: 26ch;
    margin-left: auto; margin-right: auto;
}
.statement__body em {
    font-style: italic;
    color: var(--bb-wood-mid);
}
.statement__cta { margin: 0; }
@media (max-width: 720px) { .statement { padding: 80px 0; } }

/* ---------- Section head row (heading + side link) ---------- */
.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 32px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}
.section-head-row .heading-pair { margin-bottom: 0; }
.section-head-row__link { white-space: nowrap; }

/* ---------- Service photo cards (4-up) ---------- */
.svc-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .svc-cards { grid-template-columns: 1fr; } }

.svc-card {
    text-decoration: none;
    color: inherit;
    background: var(--bb-cream-soft);
    border: 1px solid var(--bb-line-soft);
    transition: transform var(--bb-transition), border-color var(--bb-transition), box-shadow var(--bb-transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.svc-card:hover {
    transform: translateY(-4px);
    border-color: var(--bb-line);
    box-shadow: var(--bb-shadow);
}
.svc-card__media {
    aspect-ratio: 4/3;
    background-color: var(--bb-cream-deep);
    background-size: cover;
    background-position: center;
    transition: transform 600ms ease;
}
.svc-card:hover .svc-card__media { transform: scale(1.03); }
.svc-card__body { padding: 24px 22px 26px; }
.svc-card__num {
    display: block;
    font-family: var(--bb-font-display);
    font-size: 0.85rem;
    color: var(--bb-text-light);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.svc-card__title {
    font-family: var(--bb-font-display);
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0 0 8px;
    letter-spacing: -0.015em;
    color: var(--bb-ink);
}
.svc-card p {
    font-size: 0.92rem;
    color: var(--bb-text-muted);
    line-height: 1.55;
    margin: 0;
}

/* ---------- Featured project (full-bleed photo overlay) ---------- */
.featured {
    position: relative;
    min-height: clamp(560px, 80vh, 760px);
    background-color: var(--bb-charcoal);
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.featured__inner {
    width: 100%;
    padding: 120px 32px;
}
.featured__copy { max-width: 580px; }
.featured__title {
    font-family: var(--bb-font-display);
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #FFFFFF;
    margin: 24px 0 24px;
}
.featured__title em { font-style: italic; color: var(--bb-yellow); }
.featured__lede {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.65;
    margin: 0 0 32px;
    max-width: 52ch;
}
.featured__meta {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.18);
}
.featured__meta li {
    flex: 1 1 160px;
    padding: 18px 24px 18px 0;
    border-right: 1px solid rgba(255,255,255,0.12);
}
.featured__meta li:last-child { border-right: 0; }
.featured__meta span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}
.featured__meta strong {
    display: block;
    font-family: var(--bb-font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: #FFFFFF;
}
.featured .btn--primary {
    background: var(--bb-yellow);
    color: var(--bb-ink);
    border-color: var(--bb-yellow);
}
.featured .btn--primary:hover {
    background: transparent;
    color: var(--bb-yellow);
    border-color: var(--bb-yellow);
}

@media (max-width: 720px) {
    .featured__inner { padding: 80px 24px; }
    .featured__meta li { flex-basis: 100%; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-right: 0; }
    .featured__meta li:last-child { border-bottom: 0; }
}

/* ---------- Why us with photo + numbered list ---------- */
.why-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.why-photo__media {
    aspect-ratio: 4/5;
    background-color: var(--bb-cream-deep);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.why-photo__hex {
    position: absolute;
    bottom: -30px; right: -30px;
    width: 140px; height: 158px;
    background: var(--bb-yellow);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    z-index: 2;
}
.why-photo__copy { max-width: 520px; padding-top: 8px; }

.numbered-list {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    gap: 0;
}
.numbered-list li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 4px 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--bb-line);
}
.numbered-list li:first-child { border-top: 1px solid var(--bb-line); }
.numbered-list__num {
    grid-row: span 2;
    font-family: var(--bb-font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--bb-wood-mid);
    line-height: 1.2;
    letter-spacing: -0.02em;
    padding-top: 4px;
}
.numbered-list__title {
    margin: 0;
    font-family: var(--bb-font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bb-ink);
    letter-spacing: -0.01em;
}
.numbered-list li p {
    margin: 6px 0 0;
    font-size: 0.95rem;
    color: var(--bb-text-muted);
    line-height: 1.6;
}

@media (max-width: 960px) {
    .why-photo { grid-template-columns: 1fr; gap: 56px; }
    .why-photo__media { max-width: 480px; aspect-ratio: 4/3; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-stagger.is-visible > * {
    animation: bb-fade-up 700ms cubic-bezier(0.4, 0, 0.2, 1) backwards;
}
.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0ms; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 90ms; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 180ms; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 270ms; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: 360ms; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: 450ms; }

@keyframes bb-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .skill-bar__fill { transition: none; }
}
