/* ==========================================================================
   PEOPLE FOR YOU — Design Studio Inc.
   assets/css/style.css

   Brand: #fecc27 yellow · #342e30 charcoal · Efficient Elegance

   Contents
   01. Design tokens
   02. Base & typography
   03. Layout primitives
   04. Buttons & links
   05. Preloader
   06. Header & navigation
   07. Mobile menu
   08. Scroll-reveal system
   09. Media & image treatments
   10. Hero
   11. Cards (project, service, testimonial, team, stat, process)
   12. Filters
   13. Forms
   14. CTA band, footer, marquee, FABs
   15. Project detail page
   16. Motion preferences & print
   17. Brand accent sections
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {
    --brand-yellow: #fecc27;
    --brand-dark:   #342e30;

    --ivory:      #FAFAF8;
    --cream:      #F2F1EF;
    --stone:      #E4E2E0;
    --sand:       #B8B4B2;
    --clay:       #fecc27;
    --bronze:     #fecc27;
    --ink:        #342e30;
    --charcoal:   #342e30;
    --graphite:   #4A4446;
    --ash:        #6E686A;
    --mist:       #F5F4F2;

    --font-display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
    --font-sans:    "Outfit", "Avenir Next", "Segoe UI", sans-serif;
    --font-accent:  "Libre Baskerville", Georgia, serif;

    --ease:       cubic-bezier(0.16, 1, 0.3, 1);
    --dur:        0.65s;

    --header-h:   84px;
    --utility-h:  38px;
    --shadow-sm:  0 1px 2px rgba(52, 46, 48, 0.06);
    --shadow-md:  0 18px 50px -22px rgba(52, 46, 48, 0.32);
    --shadow-lg:  0 40px 90px -40px rgba(52, 46, 48, 0.45);
}


/* ==========================================================================
   02. BASE & TYPOGRAPHY
   ========================================================================== */

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

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-wrap: balance;
}

h1 { font-size: clamp(1.65rem, 2.4vw, 2.25rem); line-height: 1.2; }
h2 { font-size: clamp(1.35rem, 1.8vw, 1.85rem); line-height: 1.25; }
h3 { font-size: clamp(1.15rem, 1.35vw, 1.4rem); line-height: 1.3; }
h4 { font-size: clamp(1rem, 1.1vw, 1.2rem); line-height: 1.35; }

p { text-wrap: pretty; }

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

::selection { background: var(--stone); color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--bronze);
    outline-offset: 3px;
}

/* --- Refined, Elegant Architectural Display scale --- */
.display-1 { font-size: clamp(1.65rem, 2.4vw, 2.25rem);  line-height: 1.2; letter-spacing: -0.02em; }
.display-2 { font-size: clamp(1.35rem, 1.8vw, 1.85rem);   line-height: 1.25; letter-spacing: -0.015em; }
.display-3 { font-size: clamp(1.15rem, 1.35vw, 1.45rem);  line-height: 1.3; letter-spacing: -0.01em; }
.display-4 { font-size: clamp(1rem, 1.15vw, 1.2rem);    line-height: 1.35; }

.display-1 em, .display-2 em, .display-3 em { font-style: italic; font-weight: 500; color: var(--brand-yellow); }

/* --- Text helpers -------------------------------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--bronze);
    margin: 0;
}
.eyebrow::before {
    content: "";
    width: 2.75rem;
    height: 1px;
    background: currentColor;
    opacity: 0.55;
    flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--sand); }
.eyebrow--flush::before { display: none; }

.lead {
    font-size: clamp(1rem, 1.18vw, 1.15rem);
    line-height: 1.8;
    color: var(--ash);
    font-weight: 300;
}

.muted { color: var(--ash); }
.fineprint { font-size: 0.82rem; color: var(--ash); }

.link-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    color: inherit;
    transition: color 0.35s var(--ease);
}
.link-underline::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: currentColor;
    opacity: 0.4;
    transform-origin: right;
    transform: scaleX(1);
    transition: transform 0.5s var(--ease), opacity 0.4s;
}
.link-underline:hover { color: var(--bronze); }
.link-underline:hover::after { opacity: 1; transform-origin: left; animation: sweep 0.5s var(--ease); }

@keyframes sweep {
    0%   { transform: scaleX(1); transform-origin: right; }
    49%  { transform: scaleX(0); transform-origin: right; }
    50%  { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

/* Skip link */
.skip-link {
    position: fixed;
    top: -100px; left: 1rem;
    z-index: 200;
    background: var(--ink);
    color: var(--ivory);
    padding: 0.7rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; }


/* ==========================================================================
   03. LAYOUT PRIMITIVES
   ========================================================================== */

.shell {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 5vw, 4.5rem);
}
.shell--narrow { max-width: 1080px; }

.section       { padding-block: clamp(4.5rem, 8.5vw, 9rem); }
.section--tight{ padding-block: clamp(3.25rem, 5.5vw, 5.5rem); }
.section--flush-top { padding-top: 0; }
.section--mist  { background: var(--mist); }
.section--cream { background: var(--cream); }
.section--ink   { background: var(--ink); color: var(--stone); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--ivory); }

/* Section header block */
.sec-head { max-width: 62ch; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head .display-2 { margin-top: 1.25rem; }
.sec-head .lead     { margin-top: 1.5rem; }

.sec-head--split {
    max-width: none;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    align-items: end;
}
@media (min-width: 900px) {
    .sec-head--split { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

.rule { height: 1px; background: var(--stone); border: 0; margin: 0; }
.rule--ink  { background: rgba(20, 20, 20, 0.14); }
.rule--light{ background: rgba(251, 249, 246, 0.16); }

/* Anchor targets clear the fixed header */
section[id], [id]:target { scroll-margin-top: 110px; }

/* Small label used above card titles */
.meta-label {
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash);
}


/* ==========================================================================
   04. BUTTONS & LINKS
   ========================================================================== */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.05rem 2.1rem;
    font-size: 0.71rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
    border: 1px solid transparent;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 0% 100%;
    cursor: pointer;
    transition:
        background-size var(--dur) var(--ease),
        color 0.4s var(--ease),
        border-color 0.4s var(--ease),
        transform 0.4s var(--ease);
}
.btn:hover { background-size: 100% 100%; }
.btn:active { transform: translateY(1px); }

.btn--sm { padding: 0.78rem 1.35rem; font-size: 0.65rem; letter-spacing: 0.16em; }
.btn--block { width: 100%; }

@media (max-width: 640px) {
    .btn {
        padding: 0.88rem 1.35rem;
        letter-spacing: 0.13em;
        font-size: 0.68rem;
    }
}

/* Primary — charcoal that floods with brand yellow */
.btn--primary {
    background-color: var(--ink);
    background-image: linear-gradient(var(--brand-yellow), var(--brand-yellow));
    color: var(--ivory);
    border-color: var(--ink);
}
.btn--primary:hover { color: var(--ink); border-color: var(--brand-yellow); }

/* Outline — transparent that floods with charcoal */
.btn--outline {
    color: var(--ink);
    border-color: rgba(52, 46, 48, 0.28);
    background-image: linear-gradient(var(--ink), var(--ink));
}
.btn--outline:hover { color: var(--ivory); border-color: var(--ink); }

/* Light — ivory that floods with yellow (used on dark bands) */
.btn--light {
    background-color: var(--ivory);
    background-image: linear-gradient(var(--brand-yellow), var(--brand-yellow));
    color: var(--ink);
    border-color: var(--ivory);
}
.btn--light:hover { color: var(--ink); border-color: var(--brand-yellow); }

/* Ghost light — outlined ivory on dark */
.btn--ghost-light {
    color: var(--ivory);
    border-color: rgba(250, 250, 248, 0.4);
    background-image: linear-gradient(var(--ivory), var(--ivory));
}
.btn--ghost-light:hover { color: var(--ink); border-color: var(--ivory); }

/* Brand yellow CTA */
.btn--yellow {
    background-color: var(--brand-yellow);
    background-image: linear-gradient(var(--ink), var(--ink));
    color: var(--ink);
    border-color: var(--brand-yellow);
}
.btn--yellow:hover { color: var(--brand-yellow); border-color: var(--ink); }

/* Luxury gold pill button */
.btn--gold {
    background: linear-gradient(135deg, #F0CA50 0%, #DFB235 50%, #C49824 100%);
    color: #111113 !important;
    font-weight: 700;
    letter-spacing: 0.14em;
    border-radius: 9999px;
    border: none;
    box-shadow: 0 4px 20px -2px rgba(223, 178, 53, 0.4);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px -2px rgba(223, 178, 53, 0.55);
    background: linear-gradient(135deg, #F5D262 0%, #E5B83B 50%, #CDA12C 100%);
    color: #000 !important;
}

/* Ghost light frosted button */
.btn--ghost-light {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FAFAF7 !important;
    border-radius: 9999px;
    letter-spacing: 0.14em;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #FFFFFF !important;
}

/* Before and After Interactive Slider */
.before-after-slider {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}
.before-after-slider #sliderHandle {
    transition: transform 0.04s linear;
}
.before-after-slider #beforeImageWrapper {
    will-change: width;
}

/* Service Bento Card */
.service-bento-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-bento-card:hover {
    transform: translateY(-4px);
}

/* Text link with sliding arrow */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 0.35rem;
    position: relative;
}
.arrow-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: currentColor;
    opacity: 0.3;
    transition: opacity 0.4s;
}
.arrow-link svg { transition: transform 0.5s var(--ease); }
.arrow-link:hover::after { opacity: 1; }
.arrow-link:hover svg { transform: translateX(6px); }
.arrow-link--light { color: var(--ivory); }
.arrow-link--clay  { color: var(--clay); }


/* ==========================================================================
   05. PRELOADER
   ========================================================================== */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    background: var(--ivory);
    transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__inner { display: grid; gap: 1.5rem; justify-items: center; }

.preloader__mark {
    font-family: var(--font-display);
    font-size: 1.9rem;
    letter-spacing: 0.42em;
    text-indent: 0.42em;
    color: var(--ink);
    opacity: 0;
    animation: loaderMark 1s var(--ease) 0.1s forwards;
}
@keyframes loaderMark {
    from { opacity: 0; letter-spacing: 0.6em; }
    to   { opacity: 1; letter-spacing: 0.42em; }
}

.preloader__bar {
    display: block;
    width: 168px;
    height: 1px;
    background: var(--stone);
    overflow: hidden;
}
.preloader__bar i {
    display: block;
    width: 100%; height: 100%;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    animation: loaderBar 1.15s var(--ease) 0.25s forwards;
}
@keyframes loaderBar { to { transform: scaleX(1); } }


/* ==========================================================================
   06. HEADER & NAVIGATION
   ========================================================================== */

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 120;
    color: var(--ivory);
    transition: color 0.5s var(--ease);
}
.header__bar {
    position: relative;
    height: var(--header-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: height 0.5s var(--ease);
}

/* --- Overlay variant: transparent over a dark hero ----------------------- */
.header--overlay { color: var(--ivory); }
.header--overlay .header__utility {
    border-bottom: 1px solid rgba(251, 249, 246, 0.14);
    background: rgba(20, 20, 20, 0.16);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.header--overlay .header__bar { border-bottom-color: transparent; }

/* --- Solid variant -------------------------------------------------------- */
.header--solid { background: var(--ivory); }
.header--solid .header__utility { background: var(--ink); color: var(--ivory); }
.header--solid .header__bar { border-bottom-color: var(--stone); }

/* --- Scrolled state (applied by main.js) --------------------------------- */
.header.is-scrolled { color: var(--ivory); }
.header.is-scrolled .header__bar {
    height: 72px;
    background: rgba(18, 18, 20, 0.94);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}
.header.is-scrolled .header__utility {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom-color: transparent;
    transition: max-height 0.45s var(--ease), opacity 0.3s;
}
.header__utility { transition: max-height 0.5s var(--ease), opacity 0.4s; max-height: 60px; }
.header:not(.is-scrolled) .header__utility { transition: max-height 0.6s var(--ease), opacity 0.5s 0.1s; }

@media (max-width: 1023px) {
    :root { --header-h: 70px; }
    .header__utility { display: none; }
}

/* --- Utility bar ---------------------------------------------------------- */
.utility-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}
.utility-link:hover { opacity: 0.6; }

/* --- Logo ----------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 0.8rem; }
.logo__mark {
    width: 34px; height: 34px;
    color: currentColor;
    transition: transform 0.7s var(--ease);
    flex: none;
}
.logo:hover .logo__mark { transform: rotate(180deg) scale(1.06); }
.logo__text { display: grid; line-height: 1; }
.logo__name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: #FAFAF7 !important;
}
.logo__sub {
    margin-top: 0.2rem;
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brand-yellow) !important;
    opacity: 1;
}
@media (max-width: 400px) {
    .logo__sub { display: none; }
}

/* --- Primary navigation --------------------------------------------------- */
.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.4rem); }
.nav__link {
    position: relative;
    display: inline-block;
    padding-block: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 250, 247, 0.9) !important;
    transition: color 0.3s var(--ease), opacity 0.3s;
}
.nav__underline {
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 2px;
    background: var(--brand-yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: #ffffff !important; opacity: 1; }
.nav__link:hover .nav__underline { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--brand-yellow) !important; font-weight: 600; opacity: 1; }
.nav__link.is-active .nav__underline { transform: scaleX(1); }

/* --- Hamburger (High-Contrast Mobile Friendly) --------------------------- */
.menu-toggle {
    width: 44px; height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FAFAF7 !important;
    background: rgba(18, 18, 20, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    transition: opacity 0.3s, color 0.3s, border-color 0.3s, background-color 0.3s;
}
.menu-toggle:hover {
    color: #DFB235 !important;
    border-color: #DFB235;
    background: rgba(223, 178, 53, 0.15);
}
.menu-toggle__bars { display: grid; gap: 5px; width: 20px; }
.menu-toggle__bars i {
    display: block;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 0.45s var(--ease), opacity 0.3s;
}
.menu-toggle__bars i:nth-child(1) { transform: translateX(0); }
.menu-toggle__bars i:nth-child(3) { transform: translateX(0); }
.menu-toggle[aria-expanded="true"] { opacity: 1; border-color: #DFB235; }
.menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
    .header--overlay:not(.is-scrolled) .menu-toggle { color: #FAFAF7 !important; border-color: rgba(255,255,255,0.3); }
}


/* ==========================================================================
   07. MOBILE MENU
   ========================================================================== */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(0, 0, 0, 0.78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }

.mobile-menu__panel {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(390px, 92vw);
    background: #141416;
    color: #FAFAF7;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.75rem 1.5rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.6);
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }

.mobile-menu__list { list-style: none; margin: 0; padding: 0; }

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(250, 250, 247, 0.85);
    opacity: 0;
    transform: translateY(14px);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.mobile-menu.is-open .mobile-menu__link {
    animation: menuItemIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(0.08s + var(--i, 0) * 0.04s);
}
@keyframes menuItemIn { to { opacity: 1; transform: translateY(0); } }

.mobile-menu__index {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: #DFB235;
    font-family: monospace;
    flex: none;
}
.mobile-menu__label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.2;
    flex: 1;
    transition: transform 0.3s var(--ease), color 0.3s ease;
}
.mobile-menu__arrow {
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s var(--ease);
}
.mobile-menu__link:hover .mobile-menu__label,
.mobile-menu__link.is-active .mobile-menu__label {
    transform: translateX(4px);
    color: #DFB235;
}
.mobile-menu__link.is-active .mobile-menu__arrow,
.mobile-menu__link:hover .mobile-menu__arrow {
    opacity: 1;
    color: #DFB235;
    transform: translate(2px, -2px);
}

.mobile-menu__foot { padding-top: 1.5rem; }
.mobile-menu__meta {
    display: grid;
    gap: 0.4rem;
    margin-top: 1.75rem;
    font-size: 0.88rem;
    color: var(--graphite);
}


/* ==========================================================================
   08. SCROLL-REVEAL SYSTEM
   ========================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.95s var(--ease),
        transform 0.95s var(--ease);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="fade"]  { transform: none; }

[data-reveal].is-visible { opacity: 1; transform: none; }

/* Line that draws itself once revealed */
[data-reveal="line"] { opacity: 1; transform: none; overflow: hidden; }
[data-reveal="line"] > span {
    display: block;
    height: 1px;
    background: var(--stone);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.2s var(--ease);
}
[data-reveal="line"].is-visible > span { transform: scaleX(1); }


/* ==========================================================================
   09. MEDIA & IMAGE TREATMENTS
   ========================================================================== */

.media {
    position: relative;
    overflow: hidden;
    background: var(--stone);
    display: block;
}
.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.25s var(--ease), filter 0.6s var(--ease);
}
.media--tall  { aspect-ratio: 3 / 4; }
.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }
.media--landscape { aspect-ratio: 16 / 10; }
.media--wide   { aspect-ratio: 16 / 9; }
.media--panorama { aspect-ratio: 21 / 9; }

.group:hover .media img,
.media:hover img { transform: scale(1.055); }

/* Image that crops in on reveal (used in hero-adjacent sections) */
/* Descendant, not child, selectors: pic() may wrap the image in a <picture>
   for WebP, which would otherwise break the absolute positioning here. */
.clip { position: relative; overflow: hidden; }
.clip img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.14);
    opacity: 0.35;
    transition: transform 1.6s var(--ease), opacity 1.2s var(--ease);
}
.clip.is-visible img { transform: scale(1); opacity: 1; }

/* Faint caption under editorial imagery */
.caption {
    margin-top: 0.9rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--ash);
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.caption::before { content: ""; width: 1.5rem; height: 1px; background: var(--sand); flex: none; }

/* Floating framed image that overlaps its neighbour */
.frame-offset { position: relative; }
@media (min-width: 1024px) {
    .frame-offset--right { margin-right: -5.5rem; }
    .frame-offset--left  { margin-left: -5.5rem; }
}

/* Small vertical label pinned to an image edge */
.vertical-label {
    position: absolute;
    top: 50%;
    left: -2.15rem;
    transform: rotate(180deg) translateY(50%);
    writing-mode: vertical-rl;
    font-size: 0.6rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--ash);
    white-space: nowrap;
}
@media (max-width: 1279px) { .vertical-label { display: none; } }


/* ==========================================================================
   10. HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--header-h) + 4rem);
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
    overflow: hidden;
    isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: heroDrift 30s ease-in-out infinite alternate;
}
@keyframes heroDrift {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to   { transform: scale(1.14) translate3d(-1.5%, -1.2%, 0); }
}
.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(to top, rgba(15, 14, 13, 0.86) 0%, rgba(15, 14, 13, 0.34) 42%, rgba(15, 14, 13, 0.42) 100%),
        linear-gradient(to right, rgba(15, 14, 13, 0.5), transparent 62%);
}
.hero__inner { position: relative; width: 100%; color: var(--ivory); }
.hero__title { color: var(--ivory); }
.hero__title em { color: var(--stone); }

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

/* Page (sub-page) hero: shorter, still image-led */
.page-hero {
    position: relative;
    min-height: clamp(58vh, 72vh, 78vh);
    display: flex;
    align-items: flex-end;
    padding-top: calc(var(--header-h) + var(--utility-h) + 3rem);
    padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
    overflow: hidden;
    isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero__scrim { background: linear-gradient(to top, rgba(15,14,13,0.82), rgba(15,14,13,0.3) 60%, rgba(15,14,13,0.5)); }
.page-hero__inner { color: var(--ivory); width: 100%; }
.page-hero__title { color: var(--ivory); }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--stone);
}
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--ivory); }
.breadcrumb li { list-style: none; display: flex; align-items: center; gap: 0.6rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; opacity: 0.5; }

/* Entrance choreography for the hero */
.hero__reveal { opacity: 0; transform: translateY(30px); }
.hero__reveal.is-in {
    animation: heroIn 1.15s var(--ease) forwards;
    animation-delay: var(--d, 0s);
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

.hero__rule {
    display: block;
    height: 1px;
    background: rgba(251, 249, 246, 0.45);
    transform: scaleX(0);
    transform-origin: left;
}
.hero__reveal.is-in .hero__rule { animation: heroRule 1.4s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes heroRule { to { transform: scaleX(1); } }

.hero__scroll {
    position: absolute;
    right: clamp(1.25rem, 5vw, 4.5rem);
    bottom: clamp(3rem, 6vw, 5.5rem);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--ivory);
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.hero__scroll i {
    display: block;
    width: 1px;
    height: 60px;
    background: rgba(251, 249, 246, 0.4);
    position: relative;
    overflow: hidden;
}
.hero__scroll i::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 40%;
    background: var(--ivory);
    animation: scrollHint 2.4s var(--ease) infinite;
}
@keyframes scrollHint {
    0%   { transform: translateY(-100%); }
    60%  { transform: translateY(250%); }
    100% { transform: translateY(250%); }
}
@media (max-width: 767px) { .hero__scroll { display: none; } }


/* ==========================================================================
   11. CARDS
   ========================================================================== */

/* --- Project card --------------------------------------------------------- */
.project-card { position: relative; display: block; }
.project-card__media { aspect-ratio: 4 / 5; }
.project-card__body { padding-top: 1.4rem; }
.project-card__title {
    font-size: clamp(1.25rem, 1.6vw, 1.55rem);
    line-height: 1.2;
    transition: color 0.4s var(--ease);
}
.project-card__meta {
    margin-top: 0.55rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--ash);
}
.project-card__meta span:not(:last-child)::after {
    content: "Â·";
    margin-left: 0.85rem;
    opacity: 0.5;
}
.project-card:hover .project-card__title { color: var(--bronze); }

/* Dark scrim + "View" affordance on hover */
.project-card__veil {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.4);
    opacity: 0;
    transition: opacity 0.6s var(--ease);
    display: grid;
    place-items: center;
    pointer-events: none;
}
.project-card:hover .project-card__veil,
.project-card:focus-visible .project-card__veil { opacity: 1; }
.project-card__veil span {
    color: var(--ivory);
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    border: 1px solid rgba(251, 249, 246, 0.6);
    padding: 0.8rem 1.5rem;
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.6s var(--ease) 0.05s, opacity 0.6s var(--ease) 0.05s;
}
.project-card:hover .project-card__veil span,
.project-card:focus-visible .project-card__veil span { transform: translateY(0); opacity: 1; }

/* Index badge (used on the projects grid) */
.project-card__index {
    position: absolute;
    top: 1rem; left: 1rem;
    z-index: 2;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: var(--ivory);
    background: rgba(20, 20, 20, 0.4);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding: 0.35rem 0.7rem;
}

/* --- Service card --------------------------------------------------------- */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 2.25rem 1.75rem 2.5rem;
    background: var(--ivory);
    border: 1px solid var(--stone);
    height: 100%;
    transition: border-color 0.5s var(--ease), background-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.service-card::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--bronze);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease);
}
.service-card:hover {
    border-color: var(--sand);
    background: #fff;
    transform: translateY(-6px);
}
.service-card:hover::after { transform: scaleX(1); }

.service-card__icon {
    width: 46px; height: 46px;
    display: grid;
    place-items: center;
    color: var(--bronze);
    border: 1px solid var(--stone);
    transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s;
}
.service-card:hover .service-card__icon {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--ivory);
}
.service-card__title { font-size: 1.42rem; line-height: 1.22; }
.service-card__text { color: var(--ash); font-size: 0.94rem; }
.service-card__link {
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--graphite);
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.service-card__link svg { transition: transform 0.5s var(--ease); }
.service-card:hover .service-card__link { color: var(--bronze); }
.service-card:hover .service-card__link svg { transform: translateX(5px); }

/* Numbered editorial list (used for services + process on mobile) */
.service-card__num {
    position: absolute;
    top: 1.75rem; right: 1.75rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--stone);
    line-height: 1;
}

/* --- Process -------------------------------------------------------------- */
.process-step { position: relative; padding-top: 2rem; }
.process-step::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: var(--stone);
}
.process-step__num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1;
    color: var(--sand);
    transition: color 0.5s var(--ease);
}
.process-step:hover .process-step__num { color: var(--bronze); }
.process-step__title { margin-top: 1rem; font-size: 1.4rem; }
.process-step__text  { margin-top: 0.85rem; color: var(--ash); font-size: 0.95rem; }

/* --- Statistics ----------------------------------------------------------- */
.stat { position: relative; padding: 2.5rem 1.25rem; }
.stat + .stat::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 1px;
    background: rgba(251, 249, 246, 0.14);
}
.stat__value {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5.4vw, 4.75rem);
    line-height: 1;
    color: var(--ivory);
    letter-spacing: -0.02em;
}
.stat__label {
    margin-top: 1.1rem;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand);
}
.stat__note { margin-top: 0.5rem; font-size: 0.85rem; color: rgba(251, 249, 246, 0.5); }
@media (max-width: 639px) {
    .stat { text-align: center; }
    .stat + .stat::before { top: 0; left: 25%; right: 25%; bottom: auto; width: auto; height: 1px; }
}

/* --- Testimonial ---------------------------------------------------------- */
.quote-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.75rem 2.25rem;
    background: var(--ivory);
    border: 1px solid var(--stone);
    transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.quote-card:hover { border-color: var(--sand); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-card__mark { color: var(--stone); }
.quote-card__text {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    line-height: 1.5;
    color: var(--graphite);
    flex: 1;
}
.quote-card__author { display: flex; align-items: center; gap: 0.9rem; padding-top: 1.25rem; border-top: 1px solid var(--stone); }
.quote-card__initials {
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--ivory);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    flex: none;
}
.quote-card__name { font-size: 0.95rem; font-family: var(--font-display); letter-spacing: 0.02em; }
.quote-card__role { font-size: 0.78rem; color: var(--ash); }
.stars { display: flex; gap: 0.2rem; color: var(--clay); }

/* --- Team ----------------------------------------------------------------- */
.team-card { position: relative; }
.team-card__media { aspect-ratio: 3 / 4; filter: grayscale(1); transition: filter 0.7s var(--ease); }
.team-card:hover .team-card__media { filter: grayscale(0); }
.team-card__name { margin-top: 1.25rem; font-size: 1.32rem; }
.team-card__role { margin-top: 0.3rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }
.team-card__bio  { margin-top: 0.85rem; font-size: 0.92rem; color: var(--ash); }

/* --- Value / why-us list -------------------------------------------------- */
.value-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    padding: 1.75rem 0;
    border-top: 1px solid var(--stone);
}
.value-item__num { font-family: var(--font-display); font-size: 1.5rem; color: var(--clay); line-height: 1.2; }
.value-item__title { font-size: 1.28rem; }
.value-item__text  { margin-top: 0.6rem; color: var(--ash); font-size: 0.95rem; }

/* --- Philosophy pull-quote ------------------------------------------------ */
.pullquote {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.6vw, 3.1rem);
    line-height: 1.22;
    color: var(--ivory);
    font-weight: 300;
}

/* --- Feature list (used on services + project detail) -------------------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.96rem;
    color: var(--graphite);
}
.feature-list li svg { color: var(--bronze); flex: none; margin-top: 0.35rem; }
.feature-list--light li { color: rgba(251, 249, 246, 0.82); }
.feature-list--light li svg { color: var(--sand); }

/* --- FAQ accordion -------------------------------------------------------- */
.faq-item { border-top: 1px solid var(--stone); }
.faq-item:last-child { border-bottom: 1px solid var(--stone); }
.faq-item__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 0;
    text-align: left;
    background: none;
    cursor: pointer;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.6vw, 1.4rem);
    line-height: 1.3;
    transition: color 0.4s var(--ease);
}
.faq-item__btn:hover { color: var(--bronze); }
.faq-item__sign { position: relative; width: 15px; height: 15px; flex: none; }
.faq-item__sign::before, .faq-item__sign::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto 0;
    height: 1px;
    background: currentColor;
    transition: transform 0.5s var(--ease);
}
.faq-item__sign::after { transform: rotate(90deg); }
.faq-item.is-open .faq-item__sign::after { transform: rotate(0deg); }

.faq-item__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s var(--ease);
}
.faq-item.is-open .faq-item__panel { grid-template-rows: 1fr; }
.faq-item__panel > div { overflow: hidden; }
.faq-item__panel p { padding-bottom: 1.75rem; color: var(--ash); max-width: 68ch; }


/* ==========================================================================
   12. FILTERS
   ========================================================================== */

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.filter-btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--graphite);
    background: transparent;
    border: 1px solid var(--stone);
    cursor: pointer;
    transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.filter-btn:hover { border-color: var(--bronze); color: var(--bronze); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.filter-btn__count { opacity: 0.5; margin-left: 0.4rem; }

/* Filtering transitions */
.filter-item {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
    transition-delay: var(--d, 0s);
}
.filter-item.is-visible { opacity: 1; transform: none; }
.filter-item.is-hidden { display: none; }

.filter-empty {
    display: none;
    padding: 4rem 1rem;
    text-align: center;
    color: var(--ash);
}
.filter-empty.is-visible { display: block; }


/* ==========================================================================
   13. FORMS
   ========================================================================== */

.form-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }

.field { position: relative; display: grid; gap: 0.5rem; }

.field__label {
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ash);
}
.field__label .req { color: var(--clay); }

.input,
.textarea,
.select {
    width: 100%;
    padding: 0.95rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--sand);
    color: var(--ink);
    font-size: 1rem;
    font-family: inherit;
    font-weight: 300;
    transition: border-color 0.4s var(--ease);
    appearance: none;
}
.textarea { min-height: 130px; resize: vertical; }

.select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A7873' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 18px;
    padding-right: 2rem;
    cursor: pointer;
}
.select option { color: var(--ink); }

.input::placeholder, .textarea::placeholder { color: #B4B0A9; }

.input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-bottom-color: var(--bronze);
}

/* Floating label variant */
.input--float { padding-top: 1.5rem; }
.input--float + .field__float-label {
    position: absolute;
    left: 0; top: 1.65rem;
    font-size: 1rem;
    color: #B4B0A9;
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.input--float:focus + .field__float-label,
.input--float:not(:placeholder-shown) + .field__float-label {
    transform: translateY(-1.05rem) scale(0.72);
    color: var(--bronze);
}

/* Validation states */
.field.is-invalid .input,
.field.is-invalid .textarea,
.field.is-invalid .select { border-bottom-color: #B4553F; }
.field__error {
    display: none;
    font-size: 0.74rem;
    color: #B4553F;
    letter-spacing: 0.02em;
}
.field.is-invalid .field__error { display: block; }

.form-note { font-size: 0.78rem; color: var(--ash); }

.form-status {
    display: none;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border: 1px solid var(--sand);
    background: var(--cream);
    font-size: 0.9rem;
}
.form-status.is-visible { display: flex; }
.form-status.is-success { border-color: var(--clay); background: #F3F1EA; }
.form-status.is-error   { border-color: #B4553F; background: #FBF2EF; }


/* ==========================================================================
   14. CTA BAND, FOOTER, MARQUEE, FABS
   ========================================================================== */

.section-cta {
    padding-block: clamp(4.5rem, 7vw, 7rem);
    background: var(--ink);
    background-image:
        linear-gradient(120deg, rgba(20,20,20,0.94), rgba(32,30,27,0.88)),
        url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1800&q=70');
    background-size: cover;
    background-position: center;
}
.cta-band { max-width: 60rem; }

/* --- Footer --------------------------------------------------------------- */
.footer {
    background: var(--ink);
    color: rgba(251, 249, 246, 0.62);
    padding-top: clamp(3.5rem, 6vw, 5.5rem);
    font-size: 0.92rem;
}
.footer__grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 0.8fr 1fr 1.5fr; gap: 3.5rem; } }

.footer .logo__name { color: var(--ivory); }
.footer .logo__mark { color: var(--ivory); }
.footer__about { margin-top: 1.6rem; max-width: 38ch; font-size: 0.9rem; line-height: 1.8; }

.footer__heading {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ivory);
    margin-bottom: 1.5rem;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.footer__list a {
    font-size: 0.9rem;
    transition: color 0.35s var(--ease), padding-left 0.45s var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer__list a:hover { color: var(--ivory); padding-left: 6px; }
.footer__list a.is-active { color: var(--ivory); }
.footer__list a.is-accent { color: var(--clay); }

.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
.footer__contact li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9rem; }
.footer__contact svg { color: var(--clay); margin-top: 0.2rem; }
.footer__contact a { transition: color 0.35s; }
.footer__contact a:hover { color: var(--ivory); }

/* Newsletter */
.newsletter { margin-top: 2.25rem; }
.newsletter__field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(251, 249, 246, 0.24);
    transition: border-color 0.4s var(--ease);
}
.newsletter__field:focus-within { border-bottom-color: var(--clay); }
.newsletter__field input {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 0;
    background: transparent;
    border: 0;
    color: var(--ivory);
    font-size: 0.92rem;
    font-family: inherit;
    font-weight: 300;
}
.newsletter__field input::placeholder { color: rgba(251, 249, 246, 0.4); }
.newsletter__field input:focus { outline: none; }
.newsletter__field button {
    color: var(--ivory);
    padding: 0.6rem;
    transition: transform 0.45s var(--ease), color 0.35s;
}
.newsletter__field button:hover { color: var(--clay); transform: translateX(4px); }
.newsletter__status { margin-top: 0.65rem; font-size: 0.76rem; min-height: 1.1em; color: var(--sand); }

/* Social */
.social { display: flex; gap: 0.6rem; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.social a {
    width: 38px; height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(251, 249, 246, 0.22);
    color: rgba(251, 249, 246, 0.7);
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.social a:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.social--light a { border-color: rgba(251, 249, 246, 0.22); color: rgba(251, 249, 246, 0.7); }
.social--light a:hover { background: var(--ivory); color: var(--ink); }

/* Marquee */
.footer__marquee {
    margin-top: clamp(3rem, 5vw, 4.5rem);
    padding-block: 1.75rem;
    border-top: 1px solid rgba(251, 249, 246, 0.12);
    border-bottom: 1px solid rgba(251, 249, 246, 0.12);
    overflow: hidden;
}
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee__track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: none;
    min-width: 100%;
    white-space: nowrap;
    animation: marqueeX 42s linear infinite;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    color: rgba(251, 249, 246, 0.24);
}
.marquee__track i { color: var(--clay); font-style: normal; }
@keyframes marqueeX { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.footer:hover .marquee__track { animation-play-state: paused; }

/* Legal */
.footer__legal {
    margin-top: 2rem;
    padding-block: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer__legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.75rem; }
.footer__legal .link-underline { font-size: 0.8rem; }
.footer .link-underline:hover { color: var(--ivory); }

/* --- Floating action buttons ---------------------------------------------- */
.fab {
    position: fixed;
    right: clamp(1rem, 2.5vw, 2rem);
    z-index: 110;
    width: 48px; height: 48px;
    display: grid;
    place-items: center;
    color: var(--ivory);
    transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.45s var(--ease), opacity 0.4s;
}
.fab--whatsapp {
    bottom: 5.5rem;
    background: #1F7A54;
    color: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}
.fab--whatsapp:hover { background: #18603f; transform: translateY(-3px) scale(1.04); }

.fab--top {
    bottom: 1.5rem;
    background: var(--ink);
    border: 1px solid rgba(251, 249, 246, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}
.fab--top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fab--top:hover { background: var(--bronze); transform: translateY(-3px); }
@media (max-width: 640px) {
    .fab { width: 44px; height: 44px; }
    .fab--whatsapp { bottom: 5rem; }
}


/* ==========================================================================
   15. PROJECT DETAIL PAGE
   ========================================================================== */

/* Decorative street grid behind the contact map block */
.map-grid {
    background-image:
        linear-gradient(to right, rgba(251, 249, 246, 0.35) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(251, 249, 246, 0.35) 1px, transparent 1px);
    background-size: 56px 56px;
}

.pd-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
}
@media (min-width: 768px) { .pd-meta { grid-template-columns: repeat(4, 1fr); } }
.pd-meta__item { padding-top: 1.15rem; border-top: 1px solid var(--stone); }
.pd-meta__label { font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ash); }
.pd-meta__value { margin-top: 0.4rem; font-family: var(--font-display); font-size: 1.28rem; line-height: 1.2; }

.gallery-grid { display: grid; gap: clamp(0.75rem, 1.5vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid__item--wide { grid-column: 1 / -1; }
.gallery-grid__item--tall { aspect-ratio: 3 / 4; }
.gallery-grid__item--wide .media { aspect-ratio: 16 / 9; }

/* Filterable gallery lightbox hook */
.gallery-grid__item { position: relative; cursor: pointer; }
.gallery-grid__item::after {
    content: "+";
    position: absolute;
    right: 1rem; top: 1rem;
    width: 34px; height: 34px;
    display: grid;
    place-items: center;
    background: rgba(251, 249, 246, 0.9);
    color: var(--ink);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-grid__item:hover::after { opacity: 1; transform: translateY(0); }

.prose p { color: var(--graphite); }
.prose p + p { margin-top: 1.4rem; }
.prose strong { font-weight: 500; color: var(--ink); }

/* Next / previous project pager */
.pager { display: grid; gap: 1px; background: var(--stone); }
@media (min-width: 768px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager__item { background: var(--ivory); padding: 2.25rem 1.75rem; transition: background-color 0.5s var(--ease); }
.pager__item:hover { background: var(--cream); }
.pager__title { font-size: clamp(1.3rem, 2vw, 1.8rem); margin-top: 0.85rem; }
.pager__item--next { text-align: right; }


/* ==========================================================================
   16. MOTION PREFERENCES & PRINT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .hero__reveal { opacity: 1 !important; transform: none !important; }
    .hero__media img { animation: none; }
    .mobile-menu__link { opacity: 1 !important; transform: none !important; }
    .marquee__track { animation: none; }
}

@media print {
    .header, .footer, .mobile-menu, .fab, .section-cta, .preloader, .hero__scroll { display: none !important; }
    body { background: #fff; color: #000; }
    .page-hero, .hero { min-height: auto; padding: 2rem 0; }
}


/* ==========================================================================
   17. BRAND + HOMEPAGE LAYOUT — People for You
   ========================================================================== */

.section--yellow {
    background: var(--brand-yellow);
    color: var(--ink);
}
.section--yellow h1,
.section--yellow h2,
.section--yellow h3 { color: var(--ink); }
.section--yellow .eyebrow { color: var(--ink); }
.section--yellow .lead { color: rgba(52, 46, 48, 0.72); }
.section--yellow em { color: var(--ink) !important; font-style: italic; }

.brand-rule {
    display: block;
    width: 4.5rem;
    height: 3px;
    background: var(--brand-yellow);
}
.brand-rule--dark { background: var(--ink); }
.brand-rule--center { margin-inline: auto; }

.corner-tri {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    pointer-events: none;
}
.corner-tri--br {
    right: 0; bottom: 0;
    border-width: 0 0 4.5rem 4.5rem;
    border-color: transparent transparent var(--brand-yellow) transparent;
}
.corner-tri--tr {
    right: 0; top: 0;
    border-width: 0 3.5rem 3.5rem 0;
    border-color: transparent var(--brand-yellow) transparent transparent;
}

.preloader { background: var(--ink); }
.preloader__mark {
    color: #fff;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
}
.preloader__bar { background: rgba(255,255,255,0.15); }
.preloader__bar i { background: var(--brand-yellow); }

.logo__mark {
    width: 2.75rem;
    height: 2.75rem;
    display: grid;
    place-items: center;
    flex: none;
    overflow: hidden;
    background: transparent;
}
.logo__mark img,
.logo__mark svg { width: 100%; height: 100%; display: block; }
.logo__sub { letter-spacing: 0.18em; }


/* ---------- 17a. HOME HERO (yellow geometric) ---------- */

.home-hero {
    position: relative;
    background: var(--brand-yellow);
    color: var(--ink);
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.home-hero__tri {
    position: absolute;
    z-index: 5;
    width: 0; height: 0;
    border-style: solid;
    pointer-events: none;
}
.home-hero__tri--tl {
    top: 0; left: 0;
    border-width: 5rem 5rem 0 0;
    border-color: var(--ink) transparent transparent transparent;
}
.home-hero__tri--br {
    right: 0; bottom: 0;
    border-width: 0 0 6rem 6rem;
    border-color: transparent transparent var(--ink) transparent;
}

.home-hero__grid {
    position: relative;
    z-index: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: calc(var(--header-h) + 1.5rem) clamp(1.25rem, 4vw, 3rem) 3rem;
}
@media (min-width: 960px) {
    .home-hero__grid {
        grid-template-columns: 0.85fr 1.15fr 0.95fr;
        padding-block: calc(var(--header-h) + 2rem) 2.5rem;
        align-items: stretch;
        min-height: calc(100vh - 0px);
    }
}

.home-hero__left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}
.home-hero__slats {
    position: relative;
    flex: 1;
    min-height: 14rem;
    overflow: hidden;
    /* vertical slat mask */
    -webkit-mask-image: repeating-linear-gradient(
        90deg,
        #000 0 14px,
        transparent 14px 22px
    );
    mask-image: repeating-linear-gradient(
        90deg,
        #000 0 14px,
        transparent 14px 22px
    );
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}
.home-hero__slats-photo {
    position: absolute;
    inset: 0;
    filter: saturate(0.85) contrast(1.05);
}
.home-hero__slats-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-hero__contact {
    font-size: 0.72rem;
    line-height: 1.65;
    color: var(--ink);
    max-width: 28ch;
}
.home-hero__mini-logo {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}
.home-hero__studio {
    font-weight: 600;
    margin: 0 0 0.35rem;
    letter-spacing: 0.02em;
}
.home-hero__web {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    border-bottom: 1px solid rgba(52, 46, 48, 0.35);
}

/* Diamonds */
.home-hero__diamonds {
    position: relative;
    min-height: 20rem;
    margin: 1rem 0;
}
@media (min-width: 960px) {
    .home-hero__diamonds { min-height: auto; margin: 0; }
}
.home-diamond {
    position: absolute;
    width: clamp(7.5rem, 18vw, 13rem);
    aspect-ratio: 1;
    overflow: hidden;
    transform: rotate(45deg);
    box-shadow: 0 20px 50px -20px rgba(52, 46, 48, 0.45);
    background: var(--ink);
}
.home-diamond img,
.home-diamond picture {
    position: absolute;
    inset: -22%;
    width: 144%;
    height: 144%;
}
.home-diamond img {
    object-fit: cover;
    transform: rotate(-45deg) scale(1.12);
    filter: grayscale(1) contrast(1.1);
}
.home-diamond--a { top: 6%; left: 8%; z-index: 1; }
.home-diamond--b {
    top: 28%;
    left: 36%;
    z-index: 3;
    width: clamp(9.5rem, 22vw, 15.5rem);
}
.home-diamond--c { top: 52%; left: 12%; z-index: 2; }
@media (min-width: 960px) {
    .home-diamond--a { top: 4%; left: 10%; }
    .home-diamond--b { top: 26%; left: 38%; }
    .home-diamond--c { bottom: 8%; left: 8%; top: auto; }
}

.home-hero__right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 0.5rem;
}
.home-hero__forus {
    font-size: 0.95rem;
    margin: 0 0 0.35rem;
    color: var(--ink);
}
.home-hero__tagline h1 {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.home-hero__line-bold {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.65rem, 3.4vw, 2.65rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.home-hero__line-light {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.home-hero__underline {
    display: block;
    width: 7rem;
    height: 2px;
    background: var(--ink);
    margin-top: 1rem;
}
.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.home-hero__logo-block {
    align-self: flex-end;
}
.home-hero__logo {
    width: clamp(7.5rem, 14vw, 10.5rem);
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(52, 46, 48, 0.28));
}


/* ---------- 17b. TOUCH OF BLACK ---------- */

.home-black {
    position: relative;
    display: grid;
    background: var(--ink);
    overflow: hidden;
    min-height: clamp(26rem, 68vh, 38rem);
}
.home-black__slash {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        linear-gradient(112deg, var(--ink) 44.5%, transparent 44.6%),
        linear-gradient(112deg, transparent 44%, var(--brand-yellow) 44%, var(--brand-yellow) 44.55%, transparent 44.55%);
}
.home-black__copy {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
}
.home-black__top {
    font-family: var(--font-accent);
    font-size: clamp(0.7rem, 1vw, 0.82rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin: 0;
}
.home-black__word {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(4.2rem, 13vw, 8.5rem);
    line-height: 0.88;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0.4rem 0 0.55rem;
    text-transform: uppercase;
}
.home-black__bottom {
    font-family: var(--font-accent);
    font-size: clamp(0.7rem, 1vw, 0.82rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin: 0;
}
.home-black__bottom span {
    display: block;
    margin-top: 0.45rem;
    color: #fff;
    font-size: 1.08em;
    letter-spacing: 0.14em;
}
.home-black__rule {
    display: block;
    width: 4rem;
    height: 3px;
    background: var(--brand-yellow);
    margin-top: 1.75rem;
}
.home-black__collage {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    min-height: 18rem;
}
.home-black__img { overflow: hidden; }
.home-black__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.05);
}
@media (min-width: 900px) {
    .home-black { grid-template-columns: 0.92fr 1.08fr; }
    .home-black__slash { display: block; }
    .home-black__collage { min-height: auto; }
}


/* ---------- 17c. WHO WE ARE ---------- */

.home-who {
    display: grid;
    background: var(--brand-yellow);
    color: var(--ink);
}
@media (min-width: 1000px) {
    .home-who { grid-template-columns: 1.05fr 0.95fr 0.9fr; }
}
.home-who__panel {
    position: relative;
    padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.5rem, 3.5vw, 3rem);
}
.home-who__panel--visual {
    padding: 0;
    background: var(--ink);
    min-height: 22rem;
}
.home-who__photo {
    position: absolute;
    inset: 0;
}
.home-who__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.85) contrast(1.15);
}
.home-who__badge {
    position: absolute;
    right: 8%;
    bottom: 10%;
    z-index: 2;
    width: clamp(7rem, 12vw, 9.5rem);
    aspect-ratio: 1;
    border: 2px solid #fff;
    color: #fff;
    display: grid;
    place-content: center;
    text-align: center;
    background: rgba(52, 46, 48, 0.35);
    backdrop-filter: blur(2px);
}
.home-who__badge-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1;
}
.home-who__badge-label {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 0.35rem;
}
.home-who__body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(52, 46, 48, 0.78);
    max-width: 42ch;
}
.home-who__panel--values {
    background: var(--ink);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.home-who__values-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 2rem;
    color: #fff;
}
.home-who__values {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}
.home-who__values li {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.72);
    padding-left: 1.1rem;
    position: relative;
}
.home-who__values li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.4rem;
    height: 0.4rem;
    background: var(--brand-yellow);
}


/* ---------- 17d. WHAT WE DO ---------- */

.home-do {
    padding-block: clamp(4rem, 8vw, 7.5rem);
    background: var(--ivory);
}
.home-do__layout {
    display: grid;
    gap: 3.5rem;
}
@media (min-width: 960px) {
    .home-do__layout {
        grid-template-columns: 1fr 1.05fr;
        gap: 5rem;
        align-items: start;
    }
}
.home-do__quote {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0;
    max-width: 16ch;
}
.home-do__quote strong { font-weight: 800; }
.home-do__figure {
    overflow: hidden;
}
.home-do__figure img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(0.15);
}
.home-do__columns {
    display: grid;
    gap: 2rem;
    margin-top: 2.5rem;
}
@media (min-width: 640px) {
    .home-do__columns { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}
.home-do__col h3 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--brand-yellow);
}
.home-do__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.55rem;
}
.home-do__col li {
    font-size: 0.88rem;
    color: var(--ash);
    line-height: 1.45;
}


/* ---------- 17e. SPACE PLANNING SPLIT ---------- */

.home-plan {
    display: grid;
}
@media (min-width: 960px) {
    .home-plan { grid-template-columns: 1.05fr 0.95fr; }
}
.home-plan__light {
    background: var(--ivory);
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem);
}
.home-plan__copy {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ash);
    max-width: 52ch;
}
.home-plan__thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2.5rem;
    max-width: 28rem;
}
.home-plan__thumb {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ink);
}
.home-plan__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-plan__thumb--accent { background: var(--brand-yellow); }
.home-plan__dark {
    background: var(--ink);
    color: #fff;
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem);
    background-image:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 40px,
            rgba(254, 204, 39, 0.035) 40px,
            rgba(254, 204, 39, 0.035) 41px
        );
}
.home-plan__spirit {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.35rem, 2.6vw, 1.95rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    margin: 0 0 2.5rem;
    max-width: 22ch;
}
.home-plan__steps {
    display: grid;
    gap: 1.75rem;
}
@media (min-width: 640px) {
    .home-plan__steps { grid-template-columns: 1fr 1fr; gap: 2rem 2.25rem; }
}
.home-plan__step h3 {
    color: var(--brand-yellow);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 0.5rem;
}
.home-plan__step p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}


/* ---------- 17f. LIVING SPACES ---------- */

.home-live {
    display: grid;
    background: var(--ink);
    color: #fff;
}
@media (min-width: 960px) {
    .home-live { grid-template-columns: 0.85fr 1.15fr; }
}
.home-live__prompts {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
}
.home-live__line {
    font-family: var(--font-display);
    font-weight: 650;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin: 0;
    max-width: 28ch;
}

.home-live__mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 22rem;
}
.home-live__cell {
    position: relative;
    overflow: hidden;
    min-height: 10rem;
}
.home-live__cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.25) contrast(1.05);
}
.home-live__cell--wide {
    grid-column: 1 / -1;
}
.home-live__cell--note {
    background: var(--ink);
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
}
.home-live__cell--note p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    max-width: 28ch;
}


/* ---------- 17g. WORKPLACE / PROJECTS ---------- */

.home-work {
    padding-block: clamp(4rem, 8vw, 7.5rem);
    background: var(--mist);
}
.home-work__head {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (min-width: 800px) {
    .home-work__head {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: end;
        gap: 3rem;
    }
}
.home-work__feature {
    position: relative;
    display: grid;
    gap: 0;
}
@media (min-width: 800px) {
    .home-work__feature {
        grid-template-columns: 1.4fr 0.6fr;
        align-items: stretch;
    }
}
.home-work__feature-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ink);
}
.home-work__feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-work__pull {
    margin: 0;
    background: var(--ink);
    color: #fff;
    padding: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}
.home-work__pull span {
    color: var(--brand-yellow);
    font-size: 2.5rem;
    line-height: 1;
}
.home-work__grid {
    display: grid;
    gap: 2rem 1.5rem;
}
@media (min-width: 640px) {
    .home-work__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .home-work__grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.75rem; }
}


/* ---------- 17h. STATS + CTA ---------- */

.home-stats {
    background: var(--brand-yellow);
    padding-block: clamp(3rem, 5.5vw, 4.5rem);
    color: var(--ink);
}
.home-stats__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
}
@media (min-width: 900px) {
    .home-stats__row { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.home-stats__num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0;
}
.home-stats__label {
    margin: 0.75rem 0 0;
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
}
.home-stats__note {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: rgba(52, 46, 48, 0.55);
}

.home-cta {
    position: relative;
    min-height: clamp(28rem, 70vh, 38rem);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.home-cta__media {
    position: absolute;
    inset: 0;
}
.home-cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3) brightness(0.7);
}
.home-cta__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(52, 46, 48, 0.92) 0%,
        rgba(52, 46, 48, 0.7) 50%,
        rgba(52, 46, 48, 0.4) 100%
    );
}
.home-cta__inner {
    position: relative;
    z-index: 2;
    padding-block: clamp(4rem, 10vw, 7rem);
    max-width: 40rem;
}
.home-cta__brand {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin: 0;
}
.home-cta__inner h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #fff;
    margin: 1rem 0 0;
}
.home-cta__text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 36ch;
    margin: 0;
}
.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.25rem;
}

/* Header over dark hero — crisp ivory and gold styling */
.page-home .header--overlay:not(.is-scrolled) {
    color: var(--ivory);
}
.page-home .header--overlay:not(.is-scrolled) .logo__name {
    color: #FAFAF7;
}
.page-home .header--overlay:not(.is-scrolled) .logo__sub {
    color: var(--brand-yellow);
}
.page-home .header--overlay:not(.is-scrolled) .nav__link {
    color: rgba(250, 250, 247, 0.85);
}
.page-home .header--overlay:not(.is-scrolled) .nav__link:hover,
.page-home .header--overlay:not(.is-scrolled) .nav__link.is-active {
    color: #ffffff;
}
.page-home .header--overlay:not(.is-scrolled) .menu-toggle {
    color: var(--ivory);
}
.page-home .header--overlay:not(.is-scrolled) .header__utility {
    color: rgba(250, 250, 247, 0.8);
    background: rgba(10, 10, 12, 0.45);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero timeline progress animation */
.hero-timeline-bar {
    position: relative;
    overflow: hidden;
}
.hero-timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #DFB235;
    transition: width 0.1s linear;
}
.hero-timeline-btn.is-active .hero-timeline-progress {
    /* controlled via JS animation frame */
}

/* Material sample card hover */
.material-card {
    transition: transform 0.4s var(--silk), border-color 0.4s ease, box-shadow 0.4s ease;
}
.material-card:hover {
    transform: translateY(-4px);
    border-color: #DFB235;
    box-shadow: 0 15px 30px -10px rgba(223, 178, 53, 0.2);
}

