/* ================================================================
   DELTA COSTRUZIONI — Design System
   Aesthetic: Structural Precision
   Direction: Industrial authority — premium construction, not interior design
   DFII Score: 14 (Excellent)

   Differentiation Anchor:
   "Recognizable by the diagonal hero split, ghost oversized step
    numbers, and bold sans-serif structural typography on a cool
    concrete surface — not a luxury residential studio."
================================================================ */

/* ----------------------------------------------------------------
   DESIGN TOKENS
   Palette shift: warm cream → cool concrete // golden amber → industrial copper
---------------------------------------------------------------- */
:root {
    /* Color story — cool, structural, concrete */
    --ink:        #111110;      /* near black — structural iron */
    --steel:      #3A3A38;      /* dark structural gray */
    --cement:     #767672;      /* neutral concrete — muted text */
    --cement-lt:  #CECEC9;      /* cool divider lines */
    --amber:      #C46A1A;      /* industrial copper — construction, not jewelry */
    --amber-lt:   #D97B22;      /* hover state */
    --paper:      #F2F2F0;      /* cool concrete white — NO warm tint */
    --paper-dk:   #E6E6E3;      /* slightly darker surface */
    --void:       #CBCBC8;      /* light concrete gray — cleaner, more airy */

    /* Typography — bold sans primary, serif reserved for quotes only */
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans:  'DM Sans', system-ui, sans-serif;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --dur:  0.7s;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--void);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: hidden;
}

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

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

address { font-style: normal; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Grain removed — was adding luxury-magazine feel incompatible with construction aesthetic */

/* ----------------------------------------------------------------
   NAVIGATION
   Not a full-width opaque bar: starts transparent, scrolled = frosted
---------------------------------------------------------------- */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3.5rem;
    background: rgba(242, 238, 231, 0.96);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 1px 0 transparent;
    transition: background var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                padding var(--dur) var(--ease);
}

.site-nav.scrolled {
    box-shadow: 0 1px 0 var(--cement-lt);
    padding: 1rem 3.5rem;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
    letter-spacing: 0.12em;
    cursor: pointer;
}

.nav-brand-delta {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--ink);
    transition: color 0.3s;
}

.nav-brand-sub {
    font-size: 0.58rem;
    color: var(--amber);
    letter-spacing: 0.22em;
    margin-top: 3px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    transition: opacity 0.25s;
}

.nav-links a:hover { opacity: 1; }

.nav-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    cursor: pointer;
}

.nav-phone-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--cement);
    font-weight: 500;
}

.nav-phone-num {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s;
}

.nav-phone:hover .nav-phone-num { color: var(--amber); }

/* ----------------------------------------------------------------
   HERO — Split composition
   Anti-template move: NOT text-on-image overlay.
   Two panels: paper-background text left + full-bleed photo right,
   joined by a diagonal clip on the text panel edge.
   This IS the differentiator that makes it recognizable logo-removed.
---------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100svh;
    overflow: hidden;
}

/* --- LEFT panel --- */
.hero-left {
    background-color: var(--paper);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 9rem 4.5rem 5.5rem;
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 50%;
    z-index: 2;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 5; /* Above expanded panel */
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(100%);
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Diagonal right edge — hidden during GSAP expansion */
.hero-left::after {
    content: '';
    position: absolute;
    top: 0;
    right: -90px;
    width: 100px;
    height: 100%;
    background-color: var(--paper);
    clip-path: polygon(0 0, 0 100%, 100% 100%);
    z-index: 3;
    transition: opacity 0.3s;
}

/* Hide diagonal once panel is nearly full-width */
.hero-left--expanded::after {
    opacity: 0;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cement);
    margin-bottom: 2.5rem;
    /* Hero entrance sequence */
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--amber);
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--sans);
    font-size: clamp(2.6rem, 4.5vw, 5rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s var(--ease) 0.5s forwards;
}

/* em = copper accent, not italic — structural, not poetic */
.hero-title em {
    font-style: normal;
    color: var(--amber);
}

.hero-body {
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 380px;
    line-height: 1.75;
    opacity: 0;
    margin-bottom: 3rem;
    animation: fadeUp 0.9s var(--ease) 0.7s forwards;
    color: rgba(13,13,11,0.8);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: fadeUp 0.9s var(--ease) 0.9s forwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--amber);
    color: #fff;
    padding: 1.1rem 2.2rem;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 2px solid var(--amber);
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--amber-lt);
    border-color: var(--amber-lt);
    transform: translateY(-3px);
}

.btn-primary svg {
    transition: transform 0.3s var(--ease);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-note {
    font-size: 0.72rem;
    color: var(--cement);
    font-weight: 400;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--cement-lt);
    opacity: 0;
    animation: fadeUp 0.9s var(--ease) 1.1s forwards;
}

.proof-stars {
    color: var(--amber);
    letter-spacing: 2px;
}

.proof-label {
    font-size: 0.75rem;
    color: var(--cement);
    font-weight: 500;
}

/* --- RIGHT panel --- */
.hero-right {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 95% center;
    transform: scale(1.07);
    animation: slowZoom 10s var(--ease) forwards;
}

/* Blueprint stamp — low opacity, high memorability */
.blueprint-stamp {
    position: absolute;
    bottom: 3rem; right: 3rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1.2s var(--ease) 2s forwards;
}

.blueprint-stamp-word {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 4.5rem;
    color: rgba(255,255,255,0.1);
    letter-spacing: 0.4em;
    border: 2px solid rgba(255,255,255,0.08);
    padding: 0.5rem 1.5rem;
    line-height: 1;
}

.blueprint-stamp-year {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: calc(50% - 1px);
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s var(--ease) 2.5s forwards;
}

.scroll-hint-line {
    width: 1px; height: 64px;
    background: linear-gradient(to bottom, var(--ink), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-hint span {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cement);
    font-weight: 500;
}

/* ----------------------------------------------------------------
   MANIFESTO BAND
   Dark counterweight to the paper hero — jarring in the right way
---------------------------------------------------------------- */
.manifesto {
    background: var(--ink);
    padding: 6rem 3.5rem;
}

.manifesto-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.manifesto-quote {
    font-family: var(--sans);
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    flex: 1;
    border-left: 3px solid var(--amber);
    padding-left: 2rem;
}

.manifesto-divider {
    width: 1px; height: 80px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.manifesto-stat {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.manifesto-stat-num {
    font-family: var(--sans);
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    letter-spacing: -0.03em;
}

.manifesto-stat-desc {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
    margin-top: 0.5rem;
    text-align: right;
    line-height: 1.6;
}

/* ----------------------------------------------------------------
   ABOUT / CHI SIAMO
   Anti-template: not a centered headshot bio.
   Two-panel split: moodly dark photo left + editorial fact-sheet right.
   Ghost lettering anchors the image; dl/dt/dd creates the feel
   of a technical dossier — concrete, not corporate.
---------------------------------------------------------------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
}

.about-img-panel {
    position: relative;
    overflow: hidden;
    background: var(--ink);
}

.about-img-panel img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.6s, transform 1.2s var(--ease);
}

.about:hover .about-img-panel img {
    opacity: 0.82;
    transform: scale(1.04);
}

/* Ghost lettering — same language as the blueprint stamp in hero */
.about-ghost {
    position: absolute;
    bottom: 2.5rem;
    left: 2rem;
    font-family: var(--sans);
    font-size: 7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.06);
    letter-spacing: 0.35em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    border-bottom: 2px solid rgba(255,255,255,0.05);
    padding-bottom: 0.5rem;
}

.about-text-panel {
    background: var(--void);
    padding: 7rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-title {
    font-family: var(--sans);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 2rem;
}

.about-title em {
    font-style: normal;
    color: var(--amber);
}

.about-lead {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(13,13,11,0.68);
    max-width: 440px;
    margin-bottom: 3.5rem;
}

/* Stats anchored bottom of image panel */
.about-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(17,17,16,0.82);
    backdrop-filter: blur(8px);
    padding: 1.5rem 2.5rem;
    border-top: 2px solid var(--amber);
}

.about-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.about-stat-num {
    font-family: var(--sans);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
    letter-spacing: -0.03em;
}

.about-stat-label {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.45);
}

.about-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    margin: 0 2rem;
    flex-shrink: 0;
}

.about-body {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(17,17,16,0.6);
    max-width: 440px;
    margin-bottom: 2.5rem;
}

/* Isolated statement — the line that stops the reader */
.about-statement {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--paper-dk);
    border-left: none;
}

.about-statement-bar {
    width: 3px;
    min-height: 100%;
    background: var(--amber);
    flex-shrink: 0;
    align-self: stretch;
}

.about-statement p {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--ink);
    letter-spacing: -0.01em;
}

/* Outline button variant */
.btn-outline {
    background: transparent !important;
    color: var(--ink) !important;
    border: 2px solid var(--ink) !important;
    align-self: flex-start;
}

.btn-outline:hover {
    background: var(--ink) !important;
    color: var(--paper) !important;
}

/* ----------------------------------------------------------------
   SERVICES GRID
   4 cards, 2×2 desktop — dark image cards, Ken Burns hover,
   reveal text slides up. CSS only, zero JS.
---------------------------------------------------------------- */
.services {
    background: var(--void);
    padding: 8rem 0 0;
}

.services-header {
    padding: 0 5rem 5rem;
    max-width: 700px;
}

.services-title {
    font-family: var(--sans);
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.services-title em {
    font-style: normal;
    color: var(--amber);
}

/* 2×2 grid — cleaner than 3+1 with 4 services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 480px);
    gap: 3px;
    background: var(--ink);
}

/* Card */
.svc-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--ink);
}

/* Ken Burns image */
.svc-card-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.svc-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
    will-change: transform, opacity;
}

.svc-card:hover .svc-card-img img {
    transform: scale(1.08);
    opacity: 0.75;
}

/* Dark gradient overlay */
.svc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(17,17,16,0.95) 0%,
        rgba(17,17,16,0.4) 50%,
        rgba(17,17,16,0.15) 100%
    );
    transition: background 0.4s ease;
}

.svc-card:hover .svc-card-overlay {
    background: linear-gradient(
        to top,
        rgba(17,17,16,0.92) 0%,
        rgba(17,17,16,0.55) 60%,
        rgba(17,17,16,0.2) 100%
    );
}

/* Card content layout */
.svc-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
}

/* Number — top left */
.svc-num {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--amber);
    text-transform: uppercase;
    border: 1px solid var(--amber);
    padding: 0.3rem 0.6rem;
    display: inline-block;
}

/* Bottom area */
.svc-card-bottom {
    display: flex;
    flex-direction: column;
}

.svc-card-bottom h3 {
    font-family: var(--sans);
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 0;
    transition: margin-bottom 0.4s ease;
}

.svc-card:hover .svc-card-bottom h3 {
    margin-bottom: 1rem;
}

/* Reveal block — hidden by default, slides up on hover */
.svc-card-reveal {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease,
                opacity 0.35s ease 0.05s;
}

.svc-card:hover .svc-card-reveal {
    max-height: 120px;
    opacity: 1;
}

.svc-card-reveal p {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
    max-width: 280px;
    margin: 0;
}

.svc-arrow {
    font-size: 1.5rem;
    color: var(--amber);
    flex-shrink: 0;
    transform: translateX(0);
    transition: transform 0.3s ease;
    display: block;
    padding-bottom: 0.1rem;
}

.svc-card:hover .svc-arrow {
    transform: translateX(6px);
}

/* ----------------------------------------------------------------
   SECTION EYEBROW
---------------------------------------------------------------- */
.section-eyebrow {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--amber);
    display: block;
    margin-bottom: 1.5rem;
}

.section-eyebrow--light { color: var(--cement); }

/* ----------------------------------------------------------------
   METHOD — Numbered editorial steps
   Anti-template: not 3 equal cards in a row.
   Large ghost numbers create visual rhythm + depth.
   Alternating layout breaks symmetry.
---------------------------------------------------------------- */
.method {
    position: relative;
    height: 100svh;
    overflow: hidden;
    padding: 0;
}

.method-header {
    position: absolute;
    top: 5rem;
    left: 5rem;
    z-index: 20;
    max-width: 680px;
}

.method-title {
    font-family: var(--sans);
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.method-title em {
    font-style: normal;
    color: var(--amber);
}

/* Each step is a full-width row */
.step {
    display: flex;
    align-items: center;
    padding: 5rem;
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(100%);
    background: var(--void);
    z-index: 1;
}

.step:hover { background: var(--paper-dk); }

/* Ghost number — screened-back, structural decoration, Differentiator #2 */
.step-ghost-num {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--serif);
    font-size: 10rem;
    font-weight: 600;
    color: var(--cement-lt);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.4s;
    z-index: 0;
}

.step:hover .step-ghost-num {
    color: rgba(184, 134, 11, 0.12);
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-left: 100px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Flip layout for step 02 */
.step--flip .step-content {
    direction: rtl;
}

.step--flip .step-content > * {
    direction: ltr;
}

.step-img {
    overflow: hidden;
    height: 350px;
}

.step-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.step:hover .step-img img {
    transform: scale(1.07);
}

.step-text h3 {
    font-family: var(--sans);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.step-text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(13,13,11,0.65);
    max-width: 380px;
}

/* Reveal animation for steps */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------------
   TESTIMONIALS — Typographic pull quotes
   Anti-template: not a carousel or 2-column quote cards.
   Full-page editorial pulls, staggered offset.
   Quote mark becomes decorative architecture.
---------------------------------------------------------------- */
.testimonials {
    background: var(--ink);
    padding: 12rem 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Blueprint lines scaffolding */
.testi-blueprint-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.t-line {
    position: absolute;
    background-image: linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 20px 100%;
}

.t-line--h {
    top: 25%; left: 0; right: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255,255,255,0.08) 2px, transparent 2px);
    background-size: 40px 1px;
}

.t-line--v {
    left: 15%; top: 0; bottom: 0;
    width: 1px;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.08) 2px, transparent 2px);
    background-size: 1px 40px;
}

.testi-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testi-header {
    margin-bottom: 10rem;
}

.testi-main-title {
    font-family: var(--sans);
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 700;
    color: white;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-top: 1.5rem;
}

.testi-main-title em {
    font-style: normal;
    color: var(--amber);
}

.testi-flow {
    display: flex;
    flex-direction: column;
    gap: 15rem;
}

.testi-entry {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    position: relative;
}

.testi-entry--alt {
    align-self: flex-end;
    flex-direction: row-reverse;
    text-align: right;
    max-width: 800px;
}

.testi-num {
    font-family: var(--sans);
    font-size: 8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.03);
    line-height: 0.8;
    letter-spacing: -0.05em;
    user-select: none;
}

.testi-body {
    max-width: 600px;
    position: relative;
}

.testi-text p {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.35;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
}

.testi-text p strong {
    color: var(--amber);
    font-weight: 500;
}

.testi-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.testi-author {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
}

.testi-rating {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--cement);
    font-weight: 500;
}

/* Floating "Verified" stamp — memorability anchor */
.testi-stamp {
    position: absolute;
    top: -2rem; right: -4rem;
    width: 100px; height: 100px;
    border: 1px dashed var(--amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: 0.2em;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.testi-footer {
    margin-top: 12rem;
    padding-top: 5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.testi-summary {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.t-sum-val {
    font-family: var(--sans);
    font-size: 6rem;
    font-weight: 700;
    color: var(--amber);
    line-height: 1;
}

.t-sum-label {
    font-size: 0.8rem;
    max-width: 200px;
    line-height: 1.6;
    color: var(--cement);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ----------------------------------------------------------------
   TERRITORY — Full-width bleed image, text on top
   Anti-template: not 2-col text+image side by side.
   Photo bleeds edge to edge, text anchored bottom-right.
---------------------------------------------------------------- */
.territory {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
}

.territory-img-wrap {
    position: relative;
    overflow: hidden;
}

.territory-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.territory:hover .territory-img-wrap img {
    transform: scale(1.04);
}

.territory-text {
    background: var(--paper-dk);
    padding: 7rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.territory-text h2 {
    font-family: var(--sans);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.territory-text h2 em {
    font-style: normal;
    color: var(--amber);
}

.territory-text p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(13,13,11,0.68);
    max-width: 420px;
    margin-bottom: 3rem;
}

.territory-addr {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(13,13,11,0.55);
    padding-top: 2.5rem;
    border-top: 1px solid var(--cement-lt);
}

.territory-addr svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--amber);
}

/* ----------------------------------------------------------------
   CLOSING CTA — Phone number as the hero element
   Anti-template: not a colored banner with a button in the center.
   Split grid: massive editorial headline on left, 
   giant underlined phone as the only interactive element.
   The number IS the CTA.
---------------------------------------------------------------- */
.contact {
    background: var(--paper-dk);
    padding: 12rem 3.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Blueprint Texture */
.contact-blueprint-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image: 
        linear-gradient(rgba(22,28,30,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22,28,30,0.5) 1px, transparent 1px);
    background-size: 40px 40px;
}

.contact-matrix--centered {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-intro {
    margin-bottom: 7rem;
}

.contact-title {
    font-family: var(--sans);
    font-size: clamp(3.5rem, 9vw, 9rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: var(--ink);
    margin: 2rem 0;
}

.contact-title em {
    font-style: normal;
    color: var(--amber);
}

.contact-lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: rgba(22, 28, 30, 0.6);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    width: 100%;
}

/* Contact Engine - The Interactive Module */
.contact-engine {
    background: white;
    border: 1px solid rgba(22, 28, 30, 0.08);
    padding: 3.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.5s var(--ease);
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.contact-engine--primary {
    background: transparent; /* Background handled by pseudo-element */
    border-color: transparent;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 6rem 0;
    box-shadow: none;
    transform: translateY(-5px);
    position: relative;
    z-index: 1;
}

/* The Full-Width Black Strip Background */
.contact-engine--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: var(--ink);
    z-index: -1;
    pointer-events: none;
}

.contact-engine:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.06);
}

.contact-engine--primary:hover {
    transform: translateY(-8px);
}

/* Specific hover for the primary background */
.contact-engine--primary:hover::before {
    background: #1a2225;
}

.engine-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.engine-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 700;
    color: var(--amber);
}

.contact-engine:not(.contact-engine--primary) .engine-tag {
    color: rgba(22, 28, 30, 0.4);
}

.engine-status {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4ade80;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.engine-status::before {
    content: '';
    width: 6px; height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.engine-content {
    margin-bottom: 2rem;
}

.engine-value {
    font-family: var(--sans);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.02em;
}

.contact-engine--primary .engine-value {
    color: var(--amber);
    font-size: clamp(3rem, 10vw, 8.5rem);
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.engine-footer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 400px;
    margin: 0 auto;
}

.contact-engine--secondary .engine-value {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
}

.contact-details {
    margin-top: 8rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(22, 28, 30, 0.05);
    width: 100%;
}

.detail-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(22, 28, 30, 0.3);
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink);
    font-style: normal;
}

/* Contact mobile handled in main @media blocks below */

/* ----------------------------------------------------------------
   FOOTER
---------------------------------------------------------------- */
.site-footer {
    background: var(--ink);
    padding: 3.5rem 5rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-logo {
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: var(--paper);
    display: block;
    margin-bottom: 0.4rem;
}

.footer-tagline {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    font-weight: 300;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
}

.footer-meta nav {
    display: flex;
    gap: 1.5rem;
}

.footer-meta a {
    transition: color 0.25s;
}

.footer-meta a:hover { color: var(--paper); }

/* ----------------------------------------------------------------
   KEYFRAME ANIMATIONS — One strong entrance, sparse micro-states
---------------------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slowZoom {
    from { transform: scale(1.07); }
    to   { transform: scale(1); }
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50%       { transform: scaleY(0.6); opacity: 0.3; }
}

/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 1200px) {
    .step-content { gap: 4rem; }
    .method-header { padding: 0 3rem; }
    .step { padding: 4rem 3rem; }
    .step-ghost-num { font-size: 7rem; left: 1rem; }
}

@media (max-width: 1024px) {
    /* Hero: stack vertically */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        padding: 9rem 2.5rem 4rem;
        min-height: 60vh;
    }

    .hero-left::after { display: none; }

    .hero-right { height: 55vw; min-height: 300px; }
    .blueprint-stamp { display: none; }
    .scroll-hint { display: none; }

    /* About */
    .about { grid-template-columns: 1fr; }
    .about-img-panel { height: 50vw; min-height: 320px; }
    .about-ghost { font-size: 4rem; }
    .about-text-panel { padding: 5rem 2.5rem; }
    .about-stats { padding: 1.25rem 2rem; }
    .about-stat-num { font-size: 1.7rem; }

    /* Manifesto */
    .manifesto { padding: 5rem 2.5rem; }
    .manifesto-inner { flex-direction: column; gap: 3rem; }
    .manifesto-divider { display: none; }
    .manifesto-stat { align-items: flex-start; }

    /* Services */
    .services { padding: 6rem 0 0; }
    .services-header { padding: 0 2.5rem 4rem; }
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 300px);
    }

    /* Method */
    .method { padding: 7rem 0 5rem; }
    .method-header { padding: 0 2.5rem; margin-bottom: 4rem; }
    .step { padding: 3.5rem 2.5rem; flex-direction: column; }
    .step-ghost-num { display: none; }
    .step-content { grid-template-columns: 1fr; gap: 2rem; margin-left: 0; }
    .step--flip .step-content { direction: ltr; }
    .step-img { height: 260px; }
    .step-text p { max-width: 100%; }

    /* Testimonials */
    .testimonials { padding: 7rem 2.5rem; }
    .testi-flow { gap: 8rem; }
    .testi-entry, .testi-entry--alt { flex-direction: column; align-items: flex-start; text-align: left; }
    .testi-num { font-size: 5rem; margin-bottom: -1rem; }
    .testi-stamp { display: none; }

    /* Territory */
    .territory { grid-template-columns: 1fr; }
    .territory-img-wrap { height: 45vw; min-height: 250px; }
    .territory-text { padding: 5rem 2.5rem; }

    /* Contact */
    .contact { padding: 8rem 0; }
    .contact-matrix--centered { padding: 0 2.5rem; }
    .contact-engine { max-width: 100%; padding: 3rem 2rem; }
    .contact-engine--primary { padding: 5rem 2rem; }

    /* Nav + Footer */
    .site-nav { padding: 1.25rem 2rem; }
    .site-nav.scrolled { padding: 0.9rem 2rem; }
    .nav-links { display: none; }
    .site-footer { padding: 3rem 2.5rem; }
    .footer-inner { flex-direction: column; gap: 2rem; align-items: flex-start; }
}

@media (max-width: 640px) {
    .hero-left { padding: 7rem 1.5rem 3.5rem; }
    .hero-right { height: 70vw; }
    .testimonials { padding: 5rem 1.5rem; }
    .pull-wrap, .pull-wrap--right { text-align: left; }
    .pull-quote p { font-size: clamp(1.6rem, 7vw, 2.4rem); }
    .about-text-panel { padding: 4rem 1.5rem; }
    .about-fact { grid-template-columns: 1fr; gap: 0.25rem; }
    .territory-text { padding: 4rem 1.5rem; }
    .contact { padding: 6rem 0; }
    .contact-matrix--centered { padding: 0 1.5rem; }
    .contact-title { font-size: clamp(2.8rem, 10vw, 4.5rem); }
    .contact-lead { font-size: 1.1rem; }
    .contact-engine { padding: 2.5rem 1.5rem; min-height: 44px; }
    .contact-engine--primary { padding: 4rem 1.5rem; }
    .contact-engine--primary .engine-value { font-size: clamp(2.2rem, 9vw, 3.5rem); }
    .contact-engine--secondary .engine-value { font-size: clamp(1rem, 4.5vw, 1.5rem); }
    .site-footer { padding: 2.5rem 1.5rem; }
    .manifesto { padding: 4rem 1.5rem; }
    .method-header { padding: 0 1.5rem; }
    .step { padding: 3rem 1.5rem; }
}

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