/* ============================================================
   ONTARIO SOIL INC. — EDITORIAL-INDUSTRIAL DESIGN SYSTEM
   Aesthetic: architecture monograph × engineering report
   ============================================================ */

/* -- Design Tokens ------------------------------------------ */
:root {
    /* Palette */
    --ink:          #0F0F0E;
    --ink-soft:     #1C1C1A;
    --forest:       #1A3D2E;
    --forest-deep:  #0E2419;
    --forest-mid:   #25533F;
    --gold:         #C5972C;
    --gold-warm:    #D4A845;
    --gold-deep:    #9A7621;
    --bone:         #F4EFE6;
    --paper:        #FAF6EE;
    --stone:        #E5DED0;
    --stone-deep:   #CDC4B0;
    --muted:        #6B6A65;
    --rule:         #D6CFBE;
    --rule-dark:    rgba(255,255,255,0.12);

    /* Typography */
    --f-display:    'Fraunces', 'Playfair Display', Georgia, serif;
    --f-sans:       'Instrument Sans', 'Inter Tight', system-ui, sans-serif;
    --f-mono:       'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;

    /* Spacing */
    --gutter:       clamp(20px, 4vw, 48px);
    --container:    1440px;
    --section:      clamp(80px, 12vw, 160px);

    /* Motion */
    --ease:         cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth:  cubic-bezier(0.65, 0, 0.35, 1);

    /* Radii */
    --radius-sm:    4px;
    --radius-img:   8px;
    --radius-md:    12px;
    --radius-lg:    18px;

    /* Shadows */
    --shadow-card:  0 10px 40px -20px rgba(15,15,14,0.22);
    --shadow-lift:  0 24px 60px -24px rgba(15,15,14,0.32);
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-warm) 100%);
    z-index: 100;
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
    pointer-events: none;
}

/* -- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--f-sans);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    font-feature-settings: "ss01", "ss02", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }

/* Image load fade-in (JS toggles .img-loaded after load event) */
.has-js img[loading="lazy"] {
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.7s var(--ease-out), transform 1s var(--ease-out);
}
.has-js img[loading="lazy"].img-loaded {
    opacity: 1;
    transform: scale(1);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

/* -- Typography -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-display);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
    font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}
h1 { font-size: clamp(2.75rem, 7vw, 6rem); }
h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.015em; }
h4 { font-size: 1.25rem; font-family: var(--f-sans); font-weight: 600; letter-spacing: -0.01em; }

p { max-width: 65ch; }

.eyebrow {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--bone { color: rgba(244,239,230,0.65); }

.mono { font-family: var(--f-mono); letter-spacing: 0.02em; }

/* -- Container --------------------------------------------- */
.wrap {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.wrap--wide { max-width: 1680px; }

/* -- Rule Lines -------------------------------------------- */
.rule { height: 1px; background: var(--rule); width: 100%; }
.rule--dark { background: var(--rule-dark); }
.rule--gold { background: var(--gold); height: 2px; width: 44px; }
.rule--vert { width: 1px; height: 100%; background: var(--rule); }

/* -- Buttons ----------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-family: var(--f-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    line-height: 1;
    isolation: isolate;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
    transition: left 0.7s var(--ease-out);
    pointer-events: none;
    z-index: 1;
}
.btn:hover::before { left: 140%; }
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
    mix-blend-mode: multiply;
}
.btn:hover::after { opacity: 0.08; }
.btn svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold {
    background: var(--gold);
    color: var(--ink);
}
.btn--gold:hover { background: var(--gold-warm); }

.btn--ink {
    background: var(--ink);
    color: var(--bone);
}
.btn--ink:hover { background: var(--forest); }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn--ghost-light {
    background: transparent;
    color: var(--bone);
    border: 1px solid rgba(244,239,230,0.4);
}
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); }

/* -- Link with underline reveal ---------------------------- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    position: relative;
    padding-bottom: 4px;
}
.link-arrow::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform-origin: right center;
    transform: scaleX(0.15);
    transition: transform 0.4s var(--ease);
}
.link-arrow:hover::before {
    transform-origin: left center;
    transform: scaleX(1);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

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

/* ============================================================
   TOP STRIP (DATASTRIP)
   ============================================================ */
.datastrip {
    background: var(--ink);
    color: rgba(244,239,230,0.72);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.datastrip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 24px;
    flex-wrap: wrap;
}
.datastrip a { color: inherit; transition: color 0.2s; }
.datastrip a:hover { color: var(--gold); }
.datastrip__left { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.datastrip__right { display: flex; gap: 24px; align-items: center; }
.datastrip__divider {
    width: 1px; height: 12px; background: rgba(244,239,230,0.2);
}
@media (max-width: 640px) {
    .datastrip__right { display: none; }
}

/* ============================================================
   MAIN NAV
   ============================================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--paper);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled {
    border-color: var(--rule);
    background: rgba(250,246,238,0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.nav__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 20px 0;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}
.nav__logo img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}
.nav__logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.nav__logo-text strong {
    font-family: var(--f-display);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.nav__logo-text span {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
}

.nav__list {
    display: flex;
    justify-content: center;
    gap: 36px;
}
.nav__list a {
    font-family: var(--f-sans);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s;
}
.nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.active::after { transform: scaleX(1); }
.nav__list a.active { color: var(--forest); }

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: var(--ink);
    color: var(--bone) !important;
    font-family: var(--f-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.3s var(--ease);
}
.nav__cta:hover { background: var(--forest); }
.nav__cta::after { display: none !important; }

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 60;
}
.hamburger span {
    display: block;
    position: absolute;
    height: 1.5px;
    width: 24px;
    background: var(--ink);
    left: 10px;
    transition: all 0.3s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
    .nav__inner { grid-template-columns: auto 1fr auto; gap: 16px; }
    .nav__list {
        position: fixed;
        top: 0; right: 0;
        width: min(380px, 85vw);
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        background: var(--ink);
        padding: 80px 48px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        z-index: 55;
    }
    .nav__list a { color: var(--bone); font-size: 1.5rem; font-family: var(--f-display); }
    .nav__list.active { transform: translateX(0); }
    .hamburger { display: block; }
    .nav__cta { display: none; }
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,15,14,0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 40;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    background: var(--forest-deep);
    color: var(--bone);
    overflow: hidden;
    min-height: clamp(640px, 92vh, 960px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10,28,20,0.72) 0%, rgba(14,36,25,0.85) 55%, rgba(14,36,25,0.95) 100%),
        linear-gradient(100deg, rgba(26,61,46,0.4) 0%, transparent 60%),
        url('../images/stock/hero.jpg') center/cover no-repeat;
    background-blend-mode: normal, normal, normal;
    transform: scale(1);
    transition: transform 10s linear;
}
.hero:hover .hero__bg { transform: scale(1.04); }
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244,239,230,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,239,230,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}
.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: end;
}
.hero__headline {
    max-width: 1200px;
}
.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}
.hero__eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
    display: inline-block;
}
.hero__title {
    font-size: clamp(3rem, 9vw, 8.5rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
    color: var(--bone);
    font-weight: 300;
    font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}
.hero__title em {
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
    font-variation-settings: "SOFT" 30, "WONK" 1, "opsz" 144;
}
.hero__sub {
    margin-top: 40px;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.6;
    max-width: 560px;
    color: rgba(244,239,230,0.78);
    font-weight: 400;
}
.hero__actions {
    margin-top: 48px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.hero__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 4px;
    padding-left: 20px;
    border-left: 1px solid rgba(244,239,230,0.2);
    font-family: var(--f-mono);
    font-size: 0.88rem;
    color: rgba(244,239,230,0.85);
    letter-spacing: 0.06em;
    transition: color 0.2s;
}
.hero__phone:hover { color: var(--gold); }

.hero__datasheet {
    border-left: 1px solid rgba(244,239,230,0.15);
    padding-left: 32px;
    min-width: 240px;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244,239,230,0.6);
}
.hero__datasheet dt { margin-top: 20px; font-size: 0.68rem; color: rgba(244,239,230,0.45); }
.hero__datasheet dt:first-child { margin-top: 0; }
.hero__datasheet dd { color: var(--bone); font-size: 0.82rem; margin-top: 6px; letter-spacing: 0.06em; }
.hero__datasheet dd.gold { color: var(--gold); }

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: var(--gutter);
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(244,239,230,0.5);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
}
.hero__scroll::after {
    content: '';
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    animation: scroll-line 2.4s var(--ease) infinite;
}
@keyframes scroll-line {
    0% { transform-origin: left; transform: scaleX(0); }
    50% { transform-origin: left; transform: scaleX(1); }
    50.01% { transform-origin: right; }
    100% { transform-origin: right; transform: scaleX(0); }
}

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__datasheet { border-left: 0; padding-left: 0; border-top: 1px solid rgba(244,239,230,0.15); padding-top: 24px; }
}

/* ============================================================
   MARQUEE / TICKER
   ============================================================ */
.marquee {
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    background: var(--bone);
    overflow: hidden;
    white-space: nowrap;
    padding: 22px 0;
}
.marquee__track {
    display: inline-flex;
    gap: 60px;
    animation: marquee 48s linear infinite;
    padding-right: 60px;
}
.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 60px;
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 300;
    font-style: italic;
    color: var(--ink);
    letter-spacing: -0.01em;
}
.marquee__item::before {
    content: '●';
    color: var(--gold);
    font-size: 0.5em;
    font-style: normal;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: var(--section) 0;
    position: relative;
}
.section--ink { background: var(--ink); color: var(--bone); }
.section--forest { background: var(--forest); color: var(--bone); }
.section--forest-deep { background: var(--forest-deep); color: var(--bone); }
.section--bone { background: var(--bone); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }

.section-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 80px;
}
.section-header__meta { display: flex; flex-direction: column; gap: 14px; }
.section-header__index {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.section-header__title {
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 300;
}
.section-header__title em {
    font-style: italic;
    color: var(--gold);
}
.section-header__sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 60ch;
    margin-top: 18px;
}
.section--ink .section-header__sub,
.section--forest .section-header__sub,
.section--forest-deep .section-header__sub { color: rgba(244,239,230,0.7); }
.section--ink .section-header__index,
.section--forest .section-header__index,
.section--forest-deep .section-header__index { color: rgba(244,239,230,0.55); }

@media (max-width: 900px) {
    .section-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
}

/* ============================================================
   INTRO / ABOUT SNAPSHOT
   ============================================================ */
.intro {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}
.intro__label {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}
.intro__num {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    text-transform: uppercase;
}
.intro__lead {
    font-family: var(--f-display);
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 300;
    font-variation-settings: "SOFT" 50, "opsz" 144;
    color: var(--ink);
    max-width: none;
}
.intro__lead em {
    font-style: italic;
    color: var(--gold-deep);
}
.intro__body {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.intro__body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-soft);
}
.intro__cta { margin-top: 40px; }
@media (max-width: 900px) {
    .intro { grid-template-columns: 1fr; gap: 32px; }
    .intro__body { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   PHOTO PLATE — editorial figure block
   ============================================================ */
.photo-plate {
    position: relative;
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 var(--gutter);
}
.photo-plate__frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: var(--stone);
}
.photo-plate__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s var(--ease);
}
.photo-plate:hover .photo-plate__frame img { transform: scale(1.03); }
.photo-plate__tag {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bone);
    background: rgba(15,15,14,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 14px;
}
.photo-plate__caption {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    align-items: center;
}
.photo-plate__caption strong { color: var(--ink); font-weight: 500; }
.photo-plate__caption em {
    font-style: normal;
    color: var(--gold-deep);
    letter-spacing: 0.1em;
}
@media (max-width: 700px) {
    .photo-plate__caption { grid-template-columns: 1fr; gap: 10px; }
}

/* ============================================================
   SERVICES — NUMBERED EDITORIAL LIST
   ============================================================ */
.services {
    border-top: 1px solid var(--rule);
}
.service-row {
    display: grid;
    grid-template-columns: 80px 1fr 2fr 80px;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--rule);
    align-items: center;
    color: var(--ink);
    transition: padding 0.4s var(--ease), background 0.4s var(--ease);
    position: relative;
}
.service-row::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 0;
    height: 100%;
    background: var(--ink);
    transition: width 0.5s var(--ease);
    z-index: 0;
}
.service-row:hover { padding-left: 24px; padding-right: 24px; }
.service-row:hover::before { width: 100%; }
.service-row:hover > * { color: var(--bone); position: relative; z-index: 1; }
.service-row:hover .service-row__num { color: var(--gold); }
.service-row:hover .service-row__arrow { background: var(--gold); color: var(--ink); }

.service-row__num {
    font-family: var(--f-mono);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    transition: color 0.3s;
    position: relative;
    z-index: 1;
}
.service-row__title {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}
.service-row__desc {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--muted);
    transition: color 0.3s;
    position: relative;
    z-index: 1;
    max-width: 52ch;
}
.service-row__arrow {
    width: 52px;
    height: 52px;
    border: 1px solid var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    transition: all 0.4s var(--ease);
    position: relative;
    z-index: 1;
}
.service-row__arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.service-row:hover .service-row__arrow svg { transform: translateX(4px); }

@media (max-width: 900px) {
    .service-row { grid-template-columns: 60px 1fr 44px; gap: 20px; padding: 28px 0; }
    .service-row__desc { grid-column: 1 / -1; padding-left: 76px; }
    .service-row:hover { padding-left: 16px; padding-right: 16px; }
}

/* ============================================================
   WHY CHOOSE US — Editorial numbered credos on dark
   ============================================================ */
.credos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 48px;
    border-top: 1px solid rgba(244,239,230,0.14);
    border-bottom: 1px solid rgba(244,239,230,0.14);
}
.credo {
    position: relative;
    padding: 64px 32px 56px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    transition: background 0.6s var(--ease);
}
.credo + .credo {
    border-left: 1px solid rgba(244,239,230,0.14);
}
/* Top gold accent bar — extends on hover */
.credo::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 32px;
    width: 44px;
    height: 2px;
    background: var(--gold);
    transition: width 0.55s var(--ease);
    z-index: 2;
}
.credo:hover { background: rgba(197,151,44,0.045); }
.credo:hover::before { width: 96px; }

.credo__num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: clamp(3.75rem, 5.5vw, 5.5rem);
    font-weight: 300;
    line-height: 0.88;
    letter-spacing: -0.03em;
    color: var(--gold);
    margin-bottom: 36px;
    display: block;
    font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
    transition: transform 0.6s var(--ease), color 0.3s var(--ease);
    transform-origin: left bottom;
}
.credo:hover .credo__num { transform: scale(1.04); color: var(--gold-warm); }

.credo__title {
    font-family: var(--f-display);
    font-size: clamp(1.35rem, 1.9vw, 1.7rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--bone);
    font-variation-settings: "SOFT" 30, "opsz" 144;
}
.credo__title em {
    font-style: italic;
    color: var(--gold);
    font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
}
.credo__desc {
    font-size: 0.95rem;
    line-height: 1.72;
    color: rgba(244,239,230,0.62);
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid rgba(244,239,230,0.08);
    padding-top: 20px;
}

@media (max-width: 1100px) {
    .credos { grid-template-columns: repeat(2, 1fr); }
    .credo + .credo { border-left: 0; }
    .credo:nth-child(n+2) { border-left: 1px solid rgba(244,239,230,0.14); }
    .credo:nth-child(2n+1) { border-left: 0; }
    .credo:nth-child(-n+2) { border-bottom: 1px solid rgba(244,239,230,0.14); }
    .credo { min-height: 340px; }
}
@media (max-width: 640px) {
    .credos { grid-template-columns: 1fr; }
    .credo { border-left: 0 !important; border-bottom: 1px solid rgba(244,239,230,0.14); padding: 48px 0 40px; min-height: 0; }
    .credo:last-child { border-bottom: 0; }
    .credo::before { left: 0; }
}

/* ============================================================
   PROJECTS / FEATURED WORK
   ============================================================ */
.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.project {
    display: block;
    position: relative;
    color: inherit;
}
.project:nth-child(2) { transform: translateY(48px); }
.project__frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--stone);
    margin-bottom: 24px;
}
.project__frame img,
.project__frame .placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}
.project:hover .project__frame img,
.project:hover .project__frame .placeholder { transform: scale(1.04); }
.project__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15,15,14,0.5) 100%);
    pointer-events: none;
}
.project__code {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--bone);
    background: rgba(15,15,14,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 10px;
    z-index: 2;
    text-transform: uppercase;
}
.project__meta {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.project__title {
    font-family: var(--f-display);
    font-size: 1.6rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--ink);
}
.project__desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--muted);
}
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.placeholder--1 { background: linear-gradient(135deg, #2d4a3c 0%, #1a3d2e 60%, #0e2419 100%); }
.placeholder--2 { background: linear-gradient(135deg, #a69070 0%, #7d6b4f 60%, #5a4d38 100%); }
.placeholder--3 { background: linear-gradient(135deg, #5b6d7d 0%, #3d5162 60%, #273846 100%); }
.placeholder span {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    color: rgba(244,239,230,0.35);
    text-transform: uppercase;
}
@media (max-width: 900px) {
    .projects { grid-template-columns: 1fr; gap: 32px; }
    .project:nth-child(2) { transform: none; }
}

/* ============================================================
   TESTIMONIAL / EDITORIAL PULL QUOTE
   ============================================================ */
.pullquote {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 80px 20px;
}
.pullquote__mark {
    font-family: var(--f-display);
    font-size: clamp(8rem, 16vw, 16rem);
    line-height: 1;
    color: var(--gold);
    opacity: 0.18;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-style: italic;
    font-weight: 300;
    pointer-events: none;
    user-select: none;
}
.pullquote__text {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.5rem, 3.2vw, 2.4rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--ink);
    position: relative;
    z-index: 1;
    font-variation-settings: "SOFT" 50, "opsz" 144;
}
.pullquote__attr {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: var(--f-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.pullquote__attr::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.pullquote__dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 48px;
}
.pullquote__dot {
    width: 24px;
    height: 1px;
    background: var(--stone-deep);
    transition: background 0.3s;
    cursor: pointer;
    padding: 0;
    border: 0;
}
.pullquote__dot.active { background: var(--ink); height: 2px; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
    max-width: 960px;
    margin: 0 auto;
}
.faq-item {
    border-top: 1px solid var(--rule);
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-item__question {
    width: 100%;
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    gap: 24px;
    padding: 28px 8px;
    align-items: center;
    text-align: left;
    font-family: var(--f-display);
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ink);
    transition: color 0.3s;
}
.faq-item__question:hover { color: var(--forest); }
.faq-item__num {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--muted);
}
.faq-item__icon {
    width: 32px;
    height: 32px;
    position: relative;
    border: 1px solid var(--ink);
    border-radius: 50%;
    justify-self: end;
}
.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background: var(--ink);
    top: 50%;
    left: 50%;
    transition: transform 0.3s var(--ease);
}
.faq-item__icon::before {
    width: 10px;
    height: 1px;
    transform: translate(-50%, -50%);
}
.faq-item__icon::after {
    width: 1px;
    height: 10px;
    transform: translate(-50%, -50%);
}
.faq-item.active .faq-item__icon { background: var(--ink); }
.faq-item.active .faq-item__icon::before { background: var(--bone); }
.faq-item.active .faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); background: var(--bone); }
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease);
}
.faq-item__answer-inner {
    padding: 0 40px 32px 84px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 72ch;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 14vw, 160px) 0;
    background: var(--ink);
    color: var(--bone);
    isolation: isolate;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(197,151,44,0.18) 0%, transparent 50%);
    z-index: 0;
}
.cta-strip__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: end;
}
.cta-strip__title {
    font-size: clamp(2.5rem, 6.5vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 300;
}
.cta-strip__title em { font-style: italic; color: var(--gold); }
.cta-strip__meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 12px;
}
.cta-strip__phone {
    font-family: var(--f-display);
    font-size: 2.25rem;
    font-weight: 300;
    color: var(--bone);
    letter-spacing: -0.02em;
    transition: color 0.3s;
}
.cta-strip__phone:hover { color: var(--gold); }
.cta-strip__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}
@media (max-width: 900px) {
    .cta-strip__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ink);
    color: rgba(244,239,230,0.65);
    padding-top: 96px;
    padding-bottom: 32px;
    position: relative;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--rule-dark);
}
.footer__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 138px;
    height: 134px;
    /* Organic pebble shape — curvy, asymmetric */
    border-radius: 62% 38% 52% 48% / 44% 56% 42% 58%;
    background:
        radial-gradient(ellipse at 30% 26%, #ffffff 0%, #faf6ee 55%, #efe7d3 100%);
    margin-bottom: 28px;
    padding: 10px;
    position: relative;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -14px 26px -14px rgba(197,151,44,0.18),
        0 0 0 1px rgba(197,151,44,0.28),
        0 0 48px rgba(197,151,44,0.22),
        0 18px 44px -14px rgba(0,0,0,0.55);
    isolation: isolate;
    transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out), border-radius 1.2s var(--ease-out);
    animation: pebbleMorph 14s ease-in-out infinite alternate;
}
.footer__brand-mark::before {
    /* Outer soft halo — same organic shape */
    content: '';
    position: absolute;
    inset: -22px;
    border-radius: inherit;
    background: radial-gradient(ellipse, rgba(197,151,44,0.22) 0%, rgba(197,151,44,0.08) 45%, transparent 72%);
    z-index: -1;
    filter: blur(10px);
    pointer-events: none;
}
@keyframes pebbleMorph {
    0%   { border-radius: 62% 38% 52% 48% / 44% 56% 42% 58%; }
    50%  { border-radius: 48% 52% 60% 40% / 56% 40% 60% 44%; }
    100% { border-radius: 56% 44% 46% 54% / 40% 60% 50% 50%; }
}
.footer__brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0 !important;
    opacity: 1 !important;
    transform: none !important;
}
.footer__brand:hover .footer__brand-mark {
    transform: translateY(-3px) rotate(-2deg);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        inset 0 -14px 26px -14px rgba(197,151,44,0.22),
        0 0 0 1px rgba(197,151,44,0.36),
        0 0 64px rgba(197,151,44,0.32),
        0 22px 54px -14px rgba(0,0,0,0.6);
}
.footer__name {
    font-family: var(--f-display);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: -0.015em;
    color: var(--bone);
    margin-bottom: 4px;
    line-height: 1;
}
.footer__tagline {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 300;
}
.footer__social {
    display: flex;
    gap: 10px;
}
.footer__social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--rule-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    color: rgba(244,239,230,0.7);
}
.footer__social a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}
.footer__col h4 {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 500;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
    color: rgba(244,239,230,0.65);
    font-size: 0.95rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer__col a:hover { color: var(--gold); }
.footer__col a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}
.footer__col a:hover::before { width: 12px; }

.footer__contact li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 12px;
    align-items: start;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(244,239,230,0.75);
    margin-bottom: 14px;
}
.footer__contact svg {
    width: 14px;
    height: 14px;
    margin-top: 4px;
    color: var(--gold);
}

.footer__bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244,239,230,0.4);
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 900px) {
    .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
    .footer__top { grid-template-columns: 1fr; gap: 36px; }
    .footer__bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   SERVICES PAGE — detail blocks
   ============================================================ */
.service-index {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin-bottom: var(--section);
}
.service-index a {
    padding: 22px 18px;
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
    border-right: 1px solid var(--rule);
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.service-index a:last-child { border-right: 0; }
.service-index a:nth-child(4n) { border-right: 0; }
.service-index a:nth-child(n+5) { border-top: 1px solid var(--rule); }
.service-index a:hover { background: var(--ink); color: var(--gold); }
.service-index a strong {
    color: var(--ink);
    font-family: var(--f-display);
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    font-weight: 400;
    text-transform: none;
}
.service-index a:hover strong { color: var(--bone); }
@media (max-width: 900px) {
    .service-index { grid-template-columns: repeat(2, 1fr); }
    .service-index a:nth-child(2n) { border-right: 0; }
    .service-index a:nth-child(2n+1) { border-right: 1px solid var(--rule); }
    .service-index a:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
    .service-index { grid-template-columns: 1fr; }
    .service-index a { border-right: 0 !important; }
    .service-index a + a { border-top: 1px solid var(--rule) !important; }
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
    padding: clamp(60px, 9vw, 120px) 0;
    border-top: 1px solid var(--rule);
}
.service-detail--reverse .service-detail__media { order: 2; }
.service-detail__media {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--stone);
}
.service-detail__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
    display: block;
}
.service-detail:hover .service-detail__media img { transform: scale(1.04); }
.service-detail__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(15,15,14,0.25) 100%);
    pointer-events: none;
}
.service-detail__tag {
    position: absolute;
    top: 24px;
    left: 24px;
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bone);
    background: rgba(15,15,14,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 12px;
    z-index: 2;
}
.service-detail__num {
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}
.service-detail__title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    font-weight: 300;
    margin-bottom: 26px;
    color: var(--ink);
}
.service-detail__title em {
    font-style: italic;
    color: var(--gold-deep);
    font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
}
.service-detail__body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 16px;
    max-width: 58ch;
}
.service-detail__list {
    list-style: none;
    margin: 32px 0 36px;
    padding: 0;
    counter-reset: cap;
}
.service-detail__list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    font-size: 0.96rem;
    line-height: 1.55;
    color: var(--ink-soft);
    padding: 14px 0;
    border-top: 1px solid var(--rule);
}
.service-detail__list li:last-child { border-bottom: 1px solid var(--rule); }
.service-detail__list li::before {
    content: counter(cap, decimal-leading-zero);
    counter-increment: cap;
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: var(--gold);
    padding-top: 2px;
    font-weight: 500;
}
@media (max-width: 900px) {
    .service-detail { grid-template-columns: 1fr; gap: 40px; padding: 56px 0; }
    .service-detail--reverse .service-detail__media { order: 0; }
    .service-detail__media { aspect-ratio: 3 / 2; }
}

/* ============================================================
   PAGE HERO (secondary pages)
   ============================================================ */
.page-hero {
    position: relative;
    background: var(--forest-deep);
    color: var(--bone);
    padding: clamp(120px, 18vw, 220px) 0 clamp(60px, 10vw, 120px);
    overflow: hidden;
}
.page-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: end;
}
.page-hero__index {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 24px;
}
.page-hero__title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-weight: 300;
}
.page-hero__title em { font-style: italic; color: var(--gold); }
.page-hero__breadcrumb {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(244,239,230,0.5);
    padding-bottom: 10px;
}
.page-hero__breadcrumb a { color: var(--gold); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.mission-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin-top: 32px;
}
.mission-card {
    padding: 56px 40px;
    border-right: 1px solid var(--rule);
    position: relative;
}
.mission-card:last-child { border-right: 0; }
.mission-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 40px;
    width: 44px;
    height: 2px;
    background: var(--gold);
}
.mission-card__label {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 28px;
}
.mission-card__text {
    font-family: var(--f-display);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
    font-weight: 300;
    color: var(--ink);
    font-variation-settings: "SOFT" 30, "opsz" 144;
}
@media (max-width: 700px) {
    .mission-split { grid-template-columns: 1fr; }
    .mission-card { border-right: 0; border-bottom: 1px solid var(--rule); padding: 40px 0; }
    .mission-card:last-child { border-bottom: 0; }
    .mission-card::before { left: 0; }
}

.team-rows {
    margin-top: 40px;
    border-top: 1px solid var(--rule);
}
.team-row {
    display: grid;
    grid-template-columns: 80px 1.2fr 1fr;
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--rule);
    align-items: center;
}
.team-row__num {
    font-family: var(--f-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    color: var(--muted);
}
.team-row__title {
    font-family: var(--f-display);
    font-size: clamp(1.25rem, 1.9vw, 1.7rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.team-row__spec {
    font-family: var(--f-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-deep);
}
@media (max-width: 760px) {
    .team-row { grid-template-columns: 60px 1fr; gap: 16px; padding: 24px 0; }
    .team-row__spec { grid-column: 1 / -1; padding-left: 76px; margin-top: 4px; }
}

.cert-list {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid var(--rule);
}
.cert-list li {
    display: grid;
    grid-template-columns: 60px 1fr 24px;
    gap: 16px;
    padding: 24px 20px;
    font-size: 1rem;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    align-items: center;
    transition: background 0.3s var(--ease);
}
.cert-list li:nth-child(odd) { border-right: 1px solid var(--rule); }
.cert-list li:hover { background: var(--bone); }
.cert-list__num {
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    color: var(--gold);
}
.cert-list__check { width: 18px; height: 18px; color: var(--gold); }
@media (max-width: 700px) {
    .cert-list { grid-template-columns: 1fr; }
    .cert-list li:nth-child(odd) { border-right: 0; }
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.projects-full {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px 48px;
    margin-top: 40px;
}
.project-full {
    display: block;
    color: inherit;
}
.project-full:nth-child(4n+2) { transform: translateY(60px); }
.project-full:nth-child(4n+3) { transform: translateY(-20px); }
.project-full__frame {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--stone);
    margin-bottom: 28px;
}
.project-full__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.project-full:hover .project-full__frame img { transform: scale(1.04); }
.project-full__frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15,15,14,0.35) 100%);
    pointer-events: none;
}
.project-full__meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}
.project-full__category { color: var(--gold-deep); }
.project-full__loc::before { content: '·'; margin-right: 14px; color: var(--stone-deep); }
.project-full__title {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 12px;
    transition: color 0.3s var(--ease);
}
.project-full:hover .project-full__title { color: var(--gold-deep); }
.project-full__desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--muted);
    max-width: 52ch;
}
@media (max-width: 900px) {
    .projects-full { grid-template-columns: 1fr; gap: 48px; }
    .project-full:nth-child(n) { transform: none; }
}

/* ============================================================
   GALLERY PAGE — MASONRY
   ============================================================ */
.gallery-masonry {
    column-count: 3;
    column-gap: 24px;
    margin-top: 32px;
}
.gallery-tile {
    break-inside: avoid;
    margin: 0 0 24px;
    position: relative;
    overflow: hidden;
    background: var(--stone);
    cursor: pointer;
}
.gallery-tile img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1s var(--ease), filter 0.5s var(--ease);
}
.gallery-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15,15,14,0.75) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile:hover::after { opacity: 1; }
.gallery-tile figcaption {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    color: var(--bone);
    font-family: var(--f-mono);
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
    z-index: 2;
}
.gallery-tile:hover figcaption { transform: translateY(0); opacity: 1; }
@media (max-width: 900px) {
    .gallery-masonry { column-count: 2; }
}
@media (max-width: 560px) {
    .gallery-masonry { column-count: 1; }
}

/* ============================================================
   EMPTY STATES & ARTICLE LIST (news)
   ============================================================ */
.empty-state {
    max-width: 640px;
    margin: 40px auto;
    text-align: center;
    padding: 56px 24px;
    border: 1px solid var(--rule);
    background: var(--paper);
}
.empty-state__num {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 16px;
    line-height: 1;
}
.empty-state__title {
    font-family: var(--f-display);
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin-bottom: 14px;
}
.empty-state__title em { font-style: italic; color: var(--gold-deep); }
.empty-state__body {
    color: var(--muted);
    margin: 0 auto 24px;
    max-width: 50ch;
    font-size: 0.98rem;
    line-height: 1.65;
}

.article-list {
    margin-top: 40px;
    border-top: 1px solid var(--rule);
}
.article-row {
    display: grid;
    grid-template-columns: 80px 1.4fr 1fr;
    gap: 40px;
    padding: 48px 0;
    border-bottom: 1px solid var(--rule);
    transition: background 0.4s var(--ease);
}
.article-row:hover { background: var(--paper); }
.article-row__num {
    font-family: var(--f-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    color: var(--muted);
}
.article-row__meta {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 14px;
}
.article-row__title {
    font-family: var(--f-display);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin-bottom: 14px;
}
.article-row__title a { color: var(--ink); transition: color 0.3s; }
.article-row__title a:hover { color: var(--gold-deep); }
.article-row__excerpt {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 20px;
    max-width: 58ch;
}
.article-row__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.article-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.article-row:hover .article-row__media img { transform: scale(1.04); }
@media (max-width: 900px) {
    .article-row { grid-template-columns: 60px 1fr; gap: 20px; padding: 36px 0; }
    .article-row__media { grid-column: 1 / -1; margin-top: 16px; }
}

/* ============================================================
   NEWS-ARTICLE PAGE
   ============================================================ */
.article {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.article__figure {
    margin-bottom: 48px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.article__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article__body {
    font-family: var(--f-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--ink-soft);
}
.article__body p { margin-bottom: 22px; max-width: none; }
.article__footer {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 64px;
    align-items: start;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

.contact-header { margin-bottom: 40px; }
.contact-header__title {
    font-family: var(--f-display);
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-weight: 300;
    margin: 14px 0 16px;
    color: var(--ink);
}
.contact-header__title em { font-style: italic; color: var(--gold-deep); }
.contact-header__sub {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 56ch;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-field label {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
}
.form-field .req { color: var(--gold); margin-left: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--ink);
    padding: 12px 0;
    font-size: 1rem;
    font-family: var(--f-sans);
    color: var(--ink);
    outline: none;
    transition: border-color 0.3s var(--ease);
    border-radius: 0;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-bottom-color: var(--gold);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--stone-deep); }
.form-field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230F0F0E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 24px; }

.btn--full { width: 100%; justify-content: center; padding: 20px; font-size: 0.95rem; }

.form-alert {
    padding: 16px 20px;
    border-left: 3px solid var(--gold);
    background: rgba(197,151,44,0.08);
    color: var(--ink);
    font-size: 0.95rem;
    font-family: var(--f-sans);
}
.form-alert--error { border-left-color: #b43a3a; background: rgba(180,58,58,0.06); }

.form-success {
    text-align: center;
    padding: 60px 20px;
    border: 1px solid var(--rule);
    background: var(--paper);
}
.form-success__mark {
    width: 72px;
    height: 72px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: var(--gold);
}
.form-success__mark svg { width: 32px; height: 32px; }
.form-success h3 {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--ink);
}
.form-success p {
    color: var(--muted);
    margin: 0 auto 28px;
    max-width: 50ch;
    line-height: 1.65;
}

.contact-info {
    background: var(--ink);
    color: var(--bone);
    padding: 48px 40px;
    position: relative;
}
.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 48px;
    height: 2px;
    background: var(--gold);
}
.contact-info__title {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 16px 0 32px;
    color: var(--bone);
}
.contact-info__title em { font-style: italic; color: var(--gold); }
.contact-info__list { margin: 0; padding: 0; }
.contact-info__list dt {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 24px;
    margin-bottom: 8px;
}
.contact-info__list dt:first-child { margin-top: 0; }
.contact-info__list dd {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--bone);
    margin: 0;
    font-family: var(--f-display);
    font-weight: 300;
    font-size: 1.1rem;
}
.contact-info__list dd a { color: var(--bone); transition: color 0.2s; }
.contact-info__list dd a:hover { color: var(--gold); }

.map-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--rule);
}
.map-frame__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 14px;
    background: rgba(15,15,14,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--bone);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    z-index: 2;
}
.map-frame iframe { display: block; filter: grayscale(0.15) contrast(1.02); }

/* ============================================================
   UTILITIES & ANIMATIONS
   ============================================================ */
/* Reveal animations — gated on .has-js so content is visible without JS */
.has-js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.has-js .reveal.animated {
    opacity: 1;
    transform: translateY(0);
}
.has-js .reveal-stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.has-js .reveal-stagger.animated > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.animated > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.animated > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.animated > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.animated > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.animated > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.animated > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.animated > *:nth-child(7) { transition-delay: 0.47s; }
.reveal-stagger.animated > *:nth-child(8) { transition-delay: 0.54s; }

/* Hero entry animation */
.hero-reveal > * {
    opacity: 0;
    transform: translateY(30px);
    animation: heroIn 0.9s var(--ease) forwards;
}
.hero-reveal > *:nth-child(1) { animation-delay: 0.1s; }
.hero-reveal > *:nth-child(2) { animation-delay: 0.2s; }
.hero-reveal > *:nth-child(3) { animation-delay: 0.35s; }
.hero-reveal > *:nth-child(4) { animation-delay: 0.5s; }
@keyframes heroIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Backwards-compat classes (from old main.js) — also JS-gated */
.has-js .animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.has-js .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.has-js .stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.has-js .stagger-children.animated > * {
    opacity: 1;
    transform: translateY(0);
}
.stagger-children.animated > *:nth-child(n) { transition-delay: calc(0.06s * var(--i, 1)); }

/* Old selectors still in header/footer — provide backward-compat */
#siteHeader { /* legacy id still used by main.js sticky handler */ }

/* ============================================================
   GLOBAL IMAGE RADIUS + ENHANCED HOVER + MEDIA REVEAL
   ============================================================ */

/* Border radius on all image frames */
.project__frame,
.project-full__frame,
.photo-plate__frame,
.service-detail__media,
.gallery-tile,
.article-row__media,
.article__figure,
.map-frame,
.team-row__media {
    border-radius: var(--radius-md);
    overflow: hidden;
}

/* Smaller radius on in-content images */
.contact-info,
.form-success,
.empty-state,
.mission-card,
.photo-plate__caption,
.form-alert {
    border-radius: var(--radius-sm);
}

/* Card hover lift */
.project,
.project-full,
.article-row,
.gallery-tile,
.credo,
.faq-item {
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
    will-change: transform;
}
.project-full:hover {
    /* Keep existing offsets via combined transform */
    z-index: 2;
}

/* Media reveal — image scales/fades in on scroll */
.has-js .project__frame img,
.has-js .project-full__frame img,
.has-js .photo-plate__frame img,
.has-js .service-detail__media img,
.has-js .gallery-tile img,
.has-js .article-row__media img,
.has-js .article__figure img {
    transition: transform 1.5s var(--ease-out), opacity 0.9s var(--ease-out), filter 1s var(--ease-out);
}
.has-js .reveal .project-full__frame img,
.has-js .reveal .project__frame img,
.has-js .reveal .photo-plate__frame img,
.has-js .reveal .service-detail__media img,
.has-js .reveal .article-row__media img,
.has-js .reveal .article__figure img {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(6px);
}
.has-js .reveal.animated .project-full__frame img,
.has-js .reveal.animated .project__frame img,
.has-js .reveal.animated .photo-plate__frame img,
.has-js .reveal.animated .service-detail__media img,
.has-js .reveal.animated .article-row__media img,
.has-js .reveal.animated .article__figure img {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    transition-delay: 0.15s;
}
.has-js .reveal-stagger .project-full__frame img,
.has-js .reveal-stagger .project__frame img,
.has-js .reveal-stagger .gallery-tile img {
    opacity: 0;
    transform: scale(1.08);
    filter: blur(6px);
}
.has-js .reveal-stagger.animated .project-full__frame img,
.has-js .reveal-stagger.animated .project__frame img,
.has-js .reveal-stagger.animated .gallery-tile img {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Card lift on hover (subtle) */
.project:hover,
.article-row:hover,
.gallery-tile:hover {
    box-shadow: var(--shadow-lift);
}

/* Link arrow SVG animation enhancement */
.link-arrow svg { transition: transform 0.5s var(--ease-out); }

/* Page hero: subtle parallax feel via slow zoom on bg */
.page-hero {
    background-attachment: scroll;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(244,239,230,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244,239,230,0.025) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
    pointer-events: none;
}

/* Enhanced hero bg zoom on page load */
.hero__bg {
    animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

/* Hero entry animation — richer */
@keyframes heroIn {
    0% { opacity: 0; transform: translateY(36px); filter: blur(6px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Heading line reveal (used on .page-hero__title and .hero__title) */
.has-js .page-hero__title,
.has-js .section-header__title {
    overflow: hidden;
}
.has-js .page-hero__title {
    opacity: 0;
    transform: translateY(40px);
    animation: titleIn 1s var(--ease-out) 0.15s forwards;
}
@keyframes titleIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Anchor drop on FAQ + hover color transitions smoother */
.faq-item__question { transition: color 0.4s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   MOBILE RESPONSIVE POLISH
   ============================================================ */

/* Prevent long words from overflowing on narrow screens */
h1, h2, h3, .hero__title, .page-hero__title, .section-header__title {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ---- Tablet & below ---- */
@media (max-width: 900px) {
    /* Page hero: stack columns (CRITICAL fix — was 1.3fr/1fr) */
    .page-hero {
        padding: clamp(110px, 20vw, 180px) 0 clamp(56px, 10vw, 96px);
    }
    .page-hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: start;
    }
    .page-hero__breadcrumb {
        padding-bottom: 0;
        order: -1;
    }
    .page-hero__title {
        font-size: clamp(2.5rem, 8.5vw, 5rem);
    }

    /* Photo plate — taller on tablet */
    .photo-plate__frame {
        aspect-ratio: 16 / 10;
    }

    /* Map iframe — shorter */
    .map-frame iframe {
        height: 360px;
    }
}

/* ---- Phone ---- */
@media (max-width: 640px) {
    /* Hero */
    .hero {
        min-height: auto;
        padding: 110px 0 56px;
    }
    .hero__inner { gap: 36px; }
    .hero__eyebrow {
        font-size: 0.66rem;
        margin-bottom: 22px;
        gap: 10px;
    }
    .hero__eyebrow::before { width: 22px; }
    .hero__title {
        font-size: clamp(2.5rem, 11vw, 4.25rem);
        line-height: 1;
        letter-spacing: -0.025em;
    }
    .hero__sub {
        font-size: 1rem;
        margin-top: 28px;
    }
    .hero__actions {
        margin-top: 32px;
        gap: 12px;
    }
    .hero__phone {
        border-left: 0;
        padding-left: 0;
        margin-left: 0;
        margin-top: 4px;
        width: 100%;
    }
    .hero__datasheet {
        min-width: 0;
        padding-top: 20px;
        font-size: 0.68rem;
    }
    .hero__datasheet dd { font-size: 0.78rem; }
    .hero__scroll { display: none; }

    /* Nav */
    .nav__inner { padding: 14px 0; gap: 16px; }
    .nav__logo img { width: 56px; height: 56px; }
    .nav__logo-text strong { font-size: 1.05rem; }
    .nav__logo-text span { display: none; }

    /* Datastrip */
    .datastrip__inner {
        justify-content: center;
        padding: 9px 0;
    }
    .datastrip__left {
        font-size: 0.66rem;
        gap: 14px;
        justify-content: center;
    }
    .datastrip__divider { height: 10px; }

    /* Section spacing */
    .section { padding: 72px 0; }
    .section-header {
        margin-bottom: 44px;
        gap: 20px;
    }
    .section-header__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    .section-header__sub { font-size: 0.98rem; }

    /* Marquee — slightly smaller */
    .marquee { padding: 16px 0; }
    .marquee__item { font-size: 1.4rem; gap: 40px; }
    .marquee__track { gap: 40px; padding-right: 40px; }

    /* Intro */
    .intro__lead {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.2;
    }
    .intro__body { margin-top: 24px; }
    .intro__body p { font-size: 0.98rem; }

    /* Photo plate — 4:3 on phone */
    .photo-plate { padding: 0 var(--gutter); }
    .photo-plate__frame { aspect-ratio: 4 / 3; }
    .photo-plate__tag {
        top: 14px; left: 14px;
        font-size: 0.64rem;
        padding: 6px 10px;
    }
    .photo-plate__caption {
        gap: 10px;
        font-size: 0.68rem;
        margin-top: 18px;
        padding-top: 18px;
    }

    /* Services list rows */
    .service-row {
        grid-template-columns: 48px 1fr 36px;
        gap: 14px;
        padding: 26px 0;
    }
    .service-row__num { font-size: 0.72rem; }
    .service-row__title { font-size: 1.25rem; }
    .service-row__desc {
        padding-left: 62px;
        font-size: 0.92rem;
        line-height: 1.6;
    }
    .service-row__arrow {
        width: 40px; height: 40px;
    }
    .service-row__arrow svg { width: 14px; height: 14px; }
    .service-row:hover { padding-left: 10px; padding-right: 10px; }

    /* Credos */
    .credo { padding: 44px 0 36px; }
    .credo__num { font-size: 3.4rem; margin-bottom: 24px; }
    .credo__title { font-size: 1.3rem; }

    /* Featured projects */
    .projects { gap: 28px; }

    /* Portfolio grid */
    .projects-full { gap: 44px; }
    .project-full__title { font-size: 1.5rem; }

    /* Pullquote */
    .pullquote { padding: 60px 10px; }
    .pullquote__mark { font-size: clamp(6rem, 22vw, 10rem); }
    .pullquote__text {
        font-size: clamp(1.3rem, 5.5vw, 1.8rem);
    }

    /* FAQ */
    .faq-item__question {
        grid-template-columns: 40px 1fr 28px;
        gap: 14px;
        font-size: 1.05rem;
        padding: 22px 4px;
    }
    .faq-item__num { font-size: 0.72rem; }
    .faq-item__icon { width: 28px; height: 28px; }
    .faq-item__answer-inner {
        padding: 0 12px 24px 54px;
        font-size: 0.95rem;
    }

    /* CTA Strip */
    .cta-strip { padding: 80px 0; }
    .cta-strip__title { font-size: clamp(2rem, 8.5vw, 3.25rem); }
    .cta-strip__phone { font-size: clamp(1.5rem, 7vw, 2rem); }
    .cta-strip__meta { gap: 14px; }
    .cta-strip__actions { gap: 10px; }

    /* Footer */
    .footer { padding-top: 64px; padding-bottom: 28px; }
    .footer__top { padding-bottom: 40px; gap: 32px; }
    .footer__name { font-size: 1.5rem; }
    .footer__tagline { font-size: 1rem; }

    /* About — mission */
    .mission-card { padding: 36px 24px; }
    .mission-card::before { left: 24px; }
    .mission-card__text { font-size: 1.2rem; line-height: 1.3; }

    /* About — team rows */
    .team-row { padding: 22px 0; gap: 14px; }
    .team-row__title { font-size: 1.15rem; }
    .team-row__spec { padding-left: 74px; font-size: 0.72rem; }

    /* About — cert list */
    .cert-list li {
        padding: 18px 14px;
        grid-template-columns: 44px 1fr 18px;
        gap: 12px;
        font-size: 0.95rem;
    }

    /* Services page — detail */
    .service-detail { padding: 48px 0; gap: 32px; }
    .service-detail__title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    .service-detail__body p { font-size: 0.95rem; }
    .service-detail__list { margin: 24px 0 28px; }
    .service-detail__list li {
        padding: 12px 0;
        grid-template-columns: 40px 1fr;
        gap: 10px;
        font-size: 0.92rem;
    }
    .service-detail__tag {
        top: 14px; left: 14px;
        font-size: 0.64rem;
        padding: 6px 10px;
    }

    /* News / Careers — article & service rows on mobile */
    .article-row { padding: 28px 0; gap: 14px; }
    .article-row__title { font-size: 1.4rem; }
    .article-row__excerpt { font-size: 0.94rem; }

    /* Empty state */
    .empty-state { padding: 44px 20px; }
    .empty-state__title { font-size: 1.5rem; }

    /* Contact */
    .contact-grid { gap: 36px; }
    .contact-header__title { font-size: clamp(1.7rem, 7vw, 2.35rem); }
    .contact-info { padding: 36px 26px; }
    .contact-info::before { left: 26px; }
    .contact-info__title { font-size: 1.5rem; }
    .contact-info__list dd { font-size: 1rem; }
    .map-frame iframe { height: 300px; }
    .map-frame__tag {
        top: 12px; left: 12px;
        font-size: 0.64rem;
        padding: 6px 10px;
    }

    /* Article (news-article) */
    .article { padding: 0 var(--gutter); }
    .article__body { font-size: 1rem; }

    /* Footer brand-mark — slightly smaller on phones */
    .footer__brand-mark {
        width: 120px;
        height: 116px;
    }

    /* Service index nav tiles */
    .service-index a { padding: 18px 14px; }
    .service-index a strong { font-size: 1rem; }
}

/* ---- Very narrow (< 400px) ---- */
@media (max-width: 400px) {
    :root { --gutter: 18px; }
    .nav__inner { gap: 12px; }
    .nav__logo img { width: 48px; height: 48px; }
    .hero__title { font-size: 2.4rem; }
    .page-hero__title { font-size: 2.1rem; }
    .section-header__title { font-size: 1.85rem; }
    .cta-strip__title { font-size: 1.9rem; }
    .pullquote__text { font-size: 1.25rem; }
    .service-row__title { font-size: 1.1rem; }
    .service-row__desc { padding-left: 54px; font-size: 0.88rem; }
    .credo__num { font-size: 3rem; }
    .intro__lead { font-size: 1.4rem; }
}

/* ---- Touch device adjustments ---- */
@media (hover: none) {
    /* Disable hover lift on passive elements */
    .btn:hover { transform: none; box-shadow: none; }
    .project:hover,
    .article-row:hover,
    .gallery-tile:hover,
    .project-full:hover { box-shadow: none; }
    .footer__brand:hover .footer__brand-mark { transform: none; }

    /* Service rows — trigger the "black fill" animation on tap (:active) */
    .service-row { transition: padding 0.35s var(--ease), background 0.35s var(--ease); }
    .service-row:active {
        padding-left: 20px;
        padding-right: 20px;
    }
    .service-row:active::before { width: 100%; }
    .service-row:active > * { color: var(--bone); position: relative; z-index: 1; }
    .service-row:active .service-row__num { color: var(--gold); }
    .service-row:active .service-row__desc { color: rgba(244,239,230,0.75); }
    .service-row:active .service-row__arrow {
        background: var(--gold);
        color: var(--ink);
        border-color: var(--gold);
    }

    /* Service-detail & service-index — subtle tap feedback */
    .service-index a:active { background: var(--ink); color: var(--gold); }
    .service-index a:active strong { color: var(--bone); }

    /* Project / article cards — subtle active feedback */
    .project:active .project__frame img,
    .project-full:active .project-full__frame img,
    .article-row:active .article-row__media img {
        transform: scale(1.04);
    }
    .project-full:active .project-full__title,
    .article-row:active .article-row__title a {
        color: var(--gold-deep);
    }

    /* Credo cards — tap to highlight */
    .credo:active {
        background: rgba(197,151,44,0.06);
    }
    .credo:active::before { width: 96px; }
    .credo:active .credo__num {
        transform: scale(1.04);
        color: var(--gold-warm);
    }
}
