/* ============================================================
   Constructive: Build — site.css
   Tokens, base components, page-specific blocks. Used by every
   page on constructivebuild.net.
   ============================================================ */

:root {
    --deep-ocean: #0D273D;
    --steel-teal: #3E6985;
    --pewter-blue: #8AA7BC;
    --pastel-blue: #A6BED1;
    --columbia-mist: #CDD7DF;
    --charcoal-stone: #4A4A4A;
    --warm-graphite: #6C6663;
    --urban-greige: #9A9186;
    --soft-sand: #CBB79A;
    --alabaster: #E6E2DA;
    --paper: #F5F3EE;
    --display: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
    --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--body);
    color: var(--deep-ocean);
    background: var(--paper);
    font-weight: 300;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ============== NAV ============== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 24px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: padding 0.3s ease, background 0.3s ease, border 0.3s ease;
}
.nav__toggle {
    display: none;
    background: transparent;
    border: 1px solid currentColor;
    color: var(--columbia-mist);
    width: 44px; height: 44px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: color 0.3s ease;
    /* iOS: ensure reliable tap registration */
    z-index: 101;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-appearance: none;
    appearance: none;
    font: inherit;
}
.nav.nav--solid .nav__toggle,
.nav.scrolled .nav__toggle { color: var(--deep-ocean); }
.nav__toggle::before,
.nav__toggle::after {
    content: '';
    position: absolute;
    left: 11px; right: 11px;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
    /* Pseudo-elements should not eat the tap on iOS */
    pointer-events: none;
}
.nav__toggle::before { top: 16px; }
.nav__toggle::after { bottom: 16px; }
.nav.nav--open .nav__toggle::before {
    top: 21px;
    transform: rotate(45deg);
}
.nav.nav--open .nav__toggle::after {
    bottom: 22px;
    transform: rotate(-45deg);
}
.nav.nav--solid {
    background: var(--paper);
    border-bottom: 1px solid rgba(13, 39, 61, 0.06);
}
.nav.scrolled,
.nav.nav--solid {
    backdrop-filter: blur(12px);
    background: rgba(245, 243, 238, 0.92);
    padding: 16px 48px;
    border-bottom: 1px solid rgba(13, 39, 61, 0.06);
}
.nav__logo {
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--paper);
    text-decoration: none;
    transition: color 0.4s ease;
}
.nav.nav--solid .nav__logo,
.nav.scrolled .nav__logo { color: var(--deep-ocean); }
.nav__logo span { color: var(--pewter-blue); }
.nav.nav--solid .nav__logo span,
.nav.scrolled .nav__logo span { color: var(--steel-teal); }

.nav__links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}
.nav__links a {
    font-family: var(--mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    color: var(--columbia-mist);
    transition: color 0.3s ease;
}
.nav.nav--solid .nav__links a,
.nav.scrolled .nav__links a { color: var(--charcoal-stone); }
.nav__links a:hover { color: var(--paper); }
.nav.nav--solid .nav__links a:hover,
.nav.scrolled .nav__links a:hover { color: var(--deep-ocean); }
.nav__cta {
    border: 1px solid var(--pewter-blue);
    padding: 10px 18px;
    color: var(--paper) !important;
}
.nav.nav--solid .nav__cta,
.nav.scrolled .nav__cta {
    border-color: var(--deep-ocean);
    color: var(--deep-ocean) !important;
}

/* ============== HERO (homepage) ============== */
.hero {
    min-height: 100vh;
    background: var(--deep-ocean);
    color: var(--paper);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 48px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(166, 190, 209, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 190, 209, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(62, 105, 133, 0.4), transparent 60%);
    pointer-events: none;
}

.bracket {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid var(--pewter-blue);
    opacity: 0.4;
    pointer-events: none;
}
.bracket--tl { top: 100px; left: 48px; border-right: none; border-bottom: none; }
.bracket--tr { top: 100px; right: 48px; border-left: none; border-bottom: none; }
.bracket--bl { bottom: 48px; left: 48px; border-right: none; border-top: none; }
.bracket--br { bottom: 48px; right: 48px; border-left: none; border-top: none; }

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    padding: 120px 0 100px;
}
.hero__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pewter-blue);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero__eyebrow::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--pewter-blue);
}
.hero__title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(64px, 9vw, 144px);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 0;
}
.hero__title strong { font-weight: 600; color: var(--paper); }
.hero__title em { font-style: normal; color: var(--pewter-blue); }
.hero__sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--columbia-mist);
    max-width: 460px;
    margin-bottom: 40px;
    font-weight: 300;
}
.hero__meta {
    border-top: 1px solid rgba(166, 190, 209, 0.2);
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.hero__meta-item {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pewter-blue);
}
.hero__meta-item strong {
    display: block;
    font-family: var(--display);
    font-size: 22px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--paper);
    margin-top: 6px;
}

.hero__indicator {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--pewter-blue);
    z-index: 2;
    text-align: center;
}
.hero__indicator-line {
    width: 1px;
    height: 40px;
    background: var(--pewter-blue);
    margin: 12px auto 0;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.6;
}
@keyframes pulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(0.6); opacity: 1; }
}

/* ============== SECTION DEFAULTS ============== */
section { padding: 140px 48px; position: relative; }
.container { max-width: 1400px; margin: 0 auto; }

.section-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--steel-teal);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::before { content: '—'; color: var(--pewter-blue); }

.section-title {
    font-family: var(--display);
    font-weight: 300;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--deep-ocean);
    max-width: 900px;
}
.section-title strong { font-weight: 600; }

/* ============== INTRO (homepage about) ============== */
.intro { background: var(--paper); }
.intro__grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 100px;
    align-items: start;
}
.intro__title-wrap { position: sticky; top: 120px; }
.intro__body { padding-top: 12px; }
.intro__lead {
    font-family: var(--display);
    font-size: 28px;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 32px;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
}
.intro__body p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    margin-bottom: 20px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid rgba(13, 39, 61, 0.1);
}
.stat__num {
    font-family: var(--display);
    font-size: 56px;
    font-weight: 300;
    color: var(--steel-teal);
    letter-spacing: -0.03em;
    line-height: 1;
}
.stat__label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--charcoal-stone);
    margin-top: 12px;
}

/* ============== CAPABILITIES (homepage) ============== */
.cap { background: var(--alabaster); }
.cap__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 80px;
}
.cap__intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    max-width: 480px;
}
.cap__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(13, 39, 61, 0.15);
    border-left: 1px solid rgba(13, 39, 61, 0.15);
}
.cap__item {
    padding: 40px 32px 48px;
    border-right: 1px solid rgba(13, 39, 61, 0.15);
    border-bottom: 1px solid rgba(13, 39, 61, 0.15);
    background: var(--alabaster);
    transition: background 0.4s ease;
    position: relative;
}
.cap__item:hover { background: var(--paper); }
.cap__num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--steel-teal);
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}
.cap__title {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 500;
    color: var(--deep-ocean);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}
.cap__desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--charcoal-stone);
    margin-bottom: 28px;
}
.cap__list {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid rgba(13, 39, 61, 0.1);
}
.cap__list li {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-graphite);
    padding: 8px 0;
}
.cap__grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ============== WORK (homepage selected projects) ============== */
.work { background: var(--paper); padding-bottom: 0; }
.work__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 80px;
}
.work__view-all {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
    text-decoration: none;
    border-bottom: 1px solid var(--steel-teal);
    padding-bottom: 4px;
    transition: gap 0.3s ease;
}
.work__view-all:hover { color: var(--deep-ocean); border-color: var(--deep-ocean); }

.project {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    margin-bottom: 140px;
    align-items: center;
}
.project:nth-child(even) { grid-template-columns: 7fr 5fr; }
.project:nth-child(even) .project__visual { order: -1; }

.project__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--columbia-mist);
}
.project__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 39, 61, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 39, 61, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}
.project__visual--1 {
    background:
        linear-gradient(135deg, rgba(13, 39, 61, 0.7), rgba(62, 105, 133, 0.4)),
        linear-gradient(45deg, var(--steel-teal) 0%, var(--pewter-blue) 100%);
}
.project__visual--2 {
    background:
        linear-gradient(180deg, rgba(13, 39, 61, 0.2), rgba(13, 39, 61, 0.6)),
        linear-gradient(135deg, var(--soft-sand) 0%, var(--urban-greige) 100%);
}
.project__visual--3 {
    background:
        linear-gradient(135deg, rgba(13, 39, 61, 0.5), rgba(74, 74, 74, 0.4)),
        linear-gradient(45deg, var(--charcoal-stone) 0%, var(--warm-graphite) 100%);
}

.project__visual-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--paper);
}
.project__visual-tag {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    align-self: flex-start;
    border: 1px solid rgba(245, 243, 238, 0.4);
    padding: 6px 10px;
}
.project__visual-meta {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(245, 243, 238, 0.7);
    align-self: flex-end;
}

.project__visual::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    bottom: 32px;
    left: 32px;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(245, 243, 238, 0.15),
        rgba(245, 243, 238, 0.15) 1px,
        transparent 1px,
        transparent 8px
    );
    z-index: 1;
}

.project__num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--pewter-blue);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.project__name {
    font-family: var(--display);
    font-size: 44px;
    font-weight: 400;
    color: var(--deep-ocean);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.project__location {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--steel-teal);
    margin-bottom: 28px;
}
.project__desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    margin-bottom: 32px;
    max-width: 460px;
}
.project__specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(13, 39, 61, 0.15);
    padding-top: 24px;
    max-width: 460px;
}
.project__spec-label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-graphite);
}
.project__spec-val {
    font-family: var(--display);
    font-size: 18px;
    color: var(--deep-ocean);
    margin-top: 6px;
    font-weight: 400;
}
.project__cta {
    display: inline-block;
    margin-top: 32px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
    text-decoration: none;
    border-bottom: 1px solid var(--steel-teal);
    padding-bottom: 4px;
}
.project__cta:hover { color: var(--deep-ocean); border-color: var(--deep-ocean); }

/* ============== HOMEPAGE WORK CARD GRID (compact) ============== */
.work__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.work__card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}
.work__card:hover { transform: translateY(-4px); }
.work__card-visual {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    background: var(--columbia-mist);
}
.work__card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.work__card:hover .work__card-visual img { transform: scale(1.04); }
.work__card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(13, 39, 61, 0.5));
    pointer-events: none;
}
.work__card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--paper);
    border: 1px solid rgba(245, 243, 238, 0.4);
    padding: 6px 10px;
    z-index: 2;
}
.work__card-num {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
    margin-bottom: 8px;
}
.work__card-name {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 500;
    color: var(--deep-ocean);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.work__card-loc {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--steel-teal);
    margin-bottom: 12px;
}
.work__card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--charcoal-stone);
    margin-bottom: 16px;
}
.work__card-cta {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
    border-bottom: 1px solid var(--steel-teal);
    padding-bottom: 4px;
    display: inline-block;
}
.work__card:hover .work__card-cta { color: var(--deep-ocean); border-color: var(--deep-ocean); }

/* ============== HOMEPAGE ARTICLES PREVIEW ============== */
.notes { background: var(--alabaster); padding: 120px 48px; }
.notes__container { max-width: 1400px; margin: 0 auto; }
.notes__header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 56px;
    gap: 32px;
    flex-wrap: wrap;
}
.notes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.notes__card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}
.notes__card:hover { transform: translateY(-4px); }
.notes__card-visual {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--columbia-mist);
}
.notes__card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.notes__card:hover .notes__card-visual img { transform: scale(1.04); }
.notes__card-meta {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.notes__card-title {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    color: var(--deep-ocean);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.notes__card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--charcoal-stone);
}

/* ============== PROCESS (homepage) ============== */
.process { background: var(--deep-ocean); color: var(--paper); }
.process .section-label { color: var(--pewter-blue); }
.process .section-title { color: var(--paper); }
.process__intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--columbia-mist);
    max-width: 600px;
    margin-top: 24px;
    margin-bottom: 100px;
}
.process__timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.process__timeline::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 0; right: 0;
    height: 1px;
    background: rgba(166, 190, 209, 0.3);
}
.process__step { position: relative; padding-top: 0; }
.process__dot {
    width: 12px;
    height: 12px;
    border: 1px solid var(--pewter-blue);
    background: var(--deep-ocean);
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.process__step--active .process__dot { background: var(--pewter-blue); }
.process__num {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--pewter-blue);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}
.process__title {
    font-family: var(--display);
    font-size: 22px;
    color: var(--paper);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    font-weight: 500;
}
.process__desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--columbia-mist);
}
.process__duration {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pewter-blue);
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(166, 190, 209, 0.2);
}

/* ============== STUDIO (homepage team) ============== */
.studio { background: var(--paper); }
.studio__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}
.studio__visual {
    aspect-ratio: 3 / 4;
    background:
        linear-gradient(180deg, rgba(13, 39, 61, 0.1), rgba(13, 39, 61, 0.5)),
        linear-gradient(135deg, var(--pewter-blue) 0%, var(--steel-teal) 100%);
    position: relative;
    overflow: hidden;
}
.studio__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 243, 238, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 243, 238, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}
.studio__visual-label {
    position: absolute;
    bottom: 32px;
    left: 32px;
    color: var(--paper);
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    z-index: 2;
}
.studio__visual-label strong {
    display: block;
    font-family: var(--display);
    font-size: 28px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.01em;
    margin-top: 8px;
    color: var(--paper);
}
.studio__body { padding-top: 12px; }
.studio__lead {
    font-family: var(--display);
    font-size: 30px;
    line-height: 1.35;
    font-weight: 300;
    color: var(--deep-ocean);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}
.studio__body p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    margin-bottom: 20px;
}
.team-meta {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(13, 39, 61, 0.15);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.team-meta__label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--warm-graphite);
    margin-bottom: 8px;
}
.team-meta__val {
    font-family: var(--display);
    font-size: 18px;
    color: var(--deep-ocean);
    font-weight: 400;
}

/* ============== QUOTE / CTA / FOOTER ============== */
.quote { background: var(--alabaster); padding: 160px 48px; text-align: left; }
.quote__container { max-width: 1100px; margin: 0 auto; }
.quote__mark {
    font-family: var(--display);
    font-size: 80px;
    color: var(--pewter-blue);
    line-height: 0.5;
    margin-bottom: 32px;
    font-weight: 300;
}
.quote__text {
    font-family: var(--display);
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.3;
    font-weight: 300;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
    margin-bottom: 48px;
}
.quote__attr {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
}
.quote__attr-name {
    font-family: var(--display);
    font-size: 18px;
    color: var(--deep-ocean);
    text-transform: none;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    font-weight: 500;
    display: block;
}

.cta {
    background: var(--deep-ocean);
    color: var(--paper);
    padding: 160px 48px;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(166, 190, 209, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 190, 209, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.cta__container { position: relative; max-width: 1100px; margin: 0 auto; text-align: center; }
.cta__eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--pewter-blue);
    margin-bottom: 32px;
}
.cta__title {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 96px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 48px;
}
.cta__title strong { font-weight: 600; }
.cta__sub {
    font-size: 18px;
    color: var(--columbia-mist);
    max-width: 560px;
    margin: 0 auto 64px;
    line-height: 1.6;
}
.cta__btn {
    display: inline-block;
    background: var(--paper);
    color: var(--deep-ocean);
    padding: 20px 40px;
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--paper);
}
.cta__btn:hover { background: transparent; color: var(--paper); }
.cta__btn-arrow { margin-left: 12px; display: inline-block; transition: transform 0.3s ease; }
.cta__btn:hover .cta__btn-arrow { transform: translateX(6px); }

.footer {
    background: var(--deep-ocean);
    color: var(--columbia-mist);
    padding: 80px 48px 32px;
    border-top: 1px solid rgba(166, 190, 209, 0.15);
}
.footer__grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 80px;
}
.footer__logo {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 600;
    color: var(--paper);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    text-decoration: none;
    display: block;
}
.footer__logo span { color: var(--pewter-blue); }
.footer__tag {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pewter-blue);
}
.footer__col-title {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--pewter-blue);
    margin-bottom: 24px;
}
.footer__list { list-style: none; }
.footer__list li { margin-bottom: 12px; font-size: 14px; }
.footer__list a {
    color: var(--columbia-mist);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer__list a:hover { color: var(--paper); }
.footer__bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(166, 190, 209, 0.15);
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pewter-blue);
}
.footer__credit {
    max-width: 1400px;
    margin: 16px auto 0;
    text-align: center;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pewter-blue);
    opacity: 0.55;
    transition: opacity 0.3s ease;
}
.footer__credit:hover { opacity: 0.9; }
.footer__credit a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 1px;
}

/* ============== PROJECT PAGE ============== */
.proj-hero {
    background: var(--deep-ocean);
    color: var(--paper);
    padding: 180px 48px 100px;
    position: relative;
    overflow: hidden;
}
.proj-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(166, 190, 209, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 190, 209, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.proj-hero__container { position: relative; max-width: 1400px; margin: 0 auto; }
.proj-hero__breadcrumb {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--pewter-blue);
    margin-bottom: 32px;
}
.proj-hero__breadcrumb a { color: var(--pewter-blue); text-decoration: none; }
.proj-hero__breadcrumb a:hover { color: var(--paper); }
.proj-hero__title {
    font-family: var(--display);
    font-size: clamp(48px, 7vw, 96px);
    line-height: 1.0;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 980px;
}
.proj-hero__title strong { font-weight: 600; color: var(--paper); }
.proj-hero__location {
    font-family: var(--mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pastel-blue);
    margin-bottom: 64px;
}
.proj-hero__facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    border-top: 1px solid rgba(166, 190, 209, 0.2);
    padding-top: 32px;
}
.proj-hero__fact-label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pewter-blue);
    margin-bottom: 10px;
}
.proj-hero__fact-val {
    font-family: var(--display);
    font-size: 20px;
    color: var(--paper);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.proj-body { background: var(--paper); padding: 140px 48px; }
.proj-body__container { max-width: 1100px; margin: 0 auto; }
.proj-body__lead {
    font-family: var(--display);
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.4;
    font-weight: 300;
    color: var(--deep-ocean);
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}
.proj-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--charcoal-stone);
    margin-bottom: 22px;
    max-width: 720px;
}
.proj-body h3 {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 500;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
    margin-top: 56px;
    margin-bottom: 20px;
}
.proj-body ul {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}
.proj-body li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    padding: 6px 0 6px 22px;
    position: relative;
}
.proj-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 12px;
    height: 1px;
    background: var(--steel-teal);
}

.proj-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel-teal);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.proj-eyebrow::before { content: '—'; color: var(--pewter-blue); }

/* ============== BEFORE & AFTER ============== */
.ba { background: var(--alabaster); padding: 140px 48px; }
.ba__container { max-width: 1400px; margin: 0 auto; }
.ba__header { margin-bottom: 64px; max-width: 720px; }
.ba__title {
    font-family: var(--display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    color: var(--deep-ocean);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.ba__title strong { font-weight: 600; }
.ba__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.ba__panel {
    background: var(--paper);
    border: 1px solid rgba(13, 39, 61, 0.1);
    overflow: hidden;
}
.ba__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(13, 39, 61, 0.5), rgba(74, 74, 74, 0.4)),
        linear-gradient(45deg, var(--charcoal-stone) 0%, var(--warm-graphite) 100%);
    overflow: hidden;
}
.ba__visual--after {
    background:
        linear-gradient(135deg, rgba(13, 39, 61, 0.5), rgba(62, 105, 133, 0.3)),
        linear-gradient(45deg, var(--steel-teal) 0%, var(--pewter-blue) 100%);
}
.ba__visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 243, 238, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 243, 238, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
}
.ba__visual-tag {
    position: absolute;
    top: 20px; left: 20px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--paper);
    border: 1px solid rgba(245, 243, 238, 0.4);
    padding: 6px 10px;
    background: rgba(13, 39, 61, 0.4);
    z-index: 2;
}
.ba__visual-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(245, 243, 238, 0.55);
    z-index: 2;
    text-align: center;
    padding: 0 32px;
    line-height: 1.6;
}
.ba__caption {
    padding: 20px 24px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--warm-graphite);
    border-top: 1px solid rgba(13, 39, 61, 0.08);
    background: var(--paper);
}

/* ============== TESTIMONIAL BLOCK ============== */
.testimonial {
    background: var(--paper);
    padding: 140px 48px;
    border-top: 1px solid rgba(13, 39, 61, 0.08);
}
.testimonial--inverse {
    background: var(--deep-ocean);
    color: var(--paper);
    border-top: none;
}
.testimonial__container {
    max-width: 1000px;
    margin: 0 auto;
}
.testimonial__mark {
    font-family: var(--display);
    font-size: 80px;
    color: var(--pewter-blue);
    line-height: 0.5;
    margin-bottom: 32px;
    font-weight: 300;
}
.testimonial__text {
    font-family: var(--display);
    font-size: clamp(24px, 2.8vw, 36px);
    line-height: 1.35;
    font-weight: 300;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
    margin-bottom: 48px;
}
.testimonial--inverse .testimonial__text { color: var(--paper); }
.testimonial__attr {
    border-top: 1px solid rgba(13, 39, 61, 0.15);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.testimonial--inverse .testimonial__attr {
    border-color: rgba(166, 190, 209, 0.2);
}
.testimonial__attr-name {
    font-family: var(--display);
    font-size: 18px;
    color: var(--deep-ocean);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.testimonial--inverse .testimonial__attr-name { color: var(--paper); }
.testimonial__attr-role {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
}
.testimonial--inverse .testimonial__attr-role { color: var(--pewter-blue); }

/* ============== PROJECT INDEX ============== */
.idx-hero {
    background: var(--deep-ocean);
    color: var(--paper);
    padding: 180px 48px 80px;
    position: relative;
    overflow: hidden;
}
.idx-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(166, 190, 209, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 190, 209, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}
.idx-hero__container { position: relative; max-width: 1400px; margin: 0 auto; }
.idx-hero__title {
    font-family: var(--display);
    font-size: clamp(56px, 7vw, 112px);
    line-height: 1.0;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.idx-hero__title strong { font-weight: 600; }
.idx-hero__sub {
    font-size: 18px;
    color: var(--columbia-mist);
    max-width: 580px;
    line-height: 1.6;
}
.idx { background: var(--paper); padding: 100px 48px 140px; }
.idx__container { max-width: 1400px; margin: 0 auto; }
.idx__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}
.idx__card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}
.idx__card:hover { transform: translateY(-4px); }
.idx__card-visual {
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    background:
        linear-gradient(135deg, rgba(13, 39, 61, 0.5), rgba(62, 105, 133, 0.4)),
        linear-gradient(45deg, var(--steel-teal) 0%, var(--pewter-blue) 100%);
}
.idx__card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 243, 238, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 243, 238, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}
.idx__card-visual--alt {
    background:
        linear-gradient(135deg, rgba(13, 39, 61, 0.4), rgba(13, 39, 61, 0.6)),
        linear-gradient(135deg, var(--soft-sand) 0%, var(--urban-greige) 100%);
}
.idx__card-tag {
    position: absolute;
    top: 24px; left: 24px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--paper);
    border: 1px solid rgba(245, 243, 238, 0.4);
    padding: 6px 10px;
    z-index: 2;
}
.idx__card-status {
    position: absolute;
    bottom: 24px; left: 24px;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--paper);
    z-index: 2;
}
.idx__card-num {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pewter-blue);
    margin-bottom: 12px;
}
.idx__card-name {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 400;
    color: var(--deep-ocean);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.idx__card-loc {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--steel-teal);
    margin-bottom: 16px;
}
.idx__card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--charcoal-stone);
    max-width: 480px;
}

/* ============== CONTACT PAGE ============== */
.contact-hero {
    background: var(--deep-ocean);
    color: var(--paper);
    padding: 180px 48px 80px;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(166, 190, 209, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 190, 209, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}
.contact-hero__container { position: relative; max-width: 1100px; margin: 0 auto; }
.contact-hero__title {
    font-family: var(--display);
    font-size: clamp(48px, 6vw, 88px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.contact-hero__title strong { font-weight: 600; }
.contact-hero__sub {
    font-size: 18px;
    color: var(--columbia-mist);
    max-width: 560px;
    line-height: 1.6;
}

.contact-body {
    background: var(--paper);
    padding: 100px 48px 140px;
}
.contact-body__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}
.contact-card {
    border-top: 1px solid rgba(13, 39, 61, 0.15);
    padding-top: 32px;
}
.contact-card__label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel-teal);
    margin-bottom: 16px;
}
.contact-card__val {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 400;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    word-break: break-word;
}
.contact-card__val a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(13, 39, 61, 0.25); }
.contact-card__val a:hover { border-color: var(--deep-ocean); }
.contact-card__note {
    font-size: 14px;
    line-height: 1.65;
    color: var(--charcoal-stone);
    max-width: 380px;
}

/* ============== HERO/SECTION BACKGROUND IMAGES ============== */
.hero--image,
.proj-hero--image,
.idx-hero--image {
    background-size: cover;
    background-position: center;
}
.hero--image::after,
.proj-hero--image::after,
.idx-hero--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 39, 61, 0.55) 0%, rgba(13, 39, 61, 0.88) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero--image > *,
.proj-hero--image > .proj-hero__container,
.idx-hero--image > .idx-hero__container { position: relative; z-index: 2; }

/* Generic helper: a real <img> element used as a section background.
   Worker rewrites src on <img> tags but not URLs inside inline styles,
   so we use this in place of inline background-image: url(). */
.bg-cover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
    pointer-events: none;
}
/* Push direct text content above the bg-cover-img + ::after overlay */
.hero .bracket,
.hero .hero__content,
.hero .hero__indicator,
.proj-hero .proj-hero__container,
.idx-hero .idx-hero__container,
.article-hero .article-hero__container,
.studio__visual .studio__visual-label { z-index: 2; }

/* ============== HOMEPAGE WORK CARDS WITH REAL IMAGES ============== */
.project__visual--photo {
    background-size: cover;
    background-position: center;
}
.project__visual--photo::before { opacity: 0.15; }
.project__visual--photo::after { opacity: 0.35; }

/* When using an <img> element instead of background-image */
.project__visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}
.project__visual:has(.project__visual-img)::before { opacity: 0.15; z-index: 1; }
.project__visual:has(.project__visual-img)::after { opacity: 0.35; z-index: 1; }

/* ============== PROJECT THUMB STRIP (homepage Selected Work) ============== */
.project__visuals { display: flex; flex-direction: column; gap: 8px; }
.project__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.project__thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    background: var(--columbia-mist);
    display: block;
}
.project__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}
.project__thumb:hover img { transform: scale(1.04); }
.project__thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(13, 39, 61, 0.25));
    pointer-events: none;
}

/* ============== COOKIE / CONSENT BANNER ============== */
.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 9000;
    background: var(--deep-ocean);
    color: var(--paper);
    border: 1px solid rgba(166, 190, 209, 0.2);
    box-shadow: 0 16px 48px rgba(13, 39, 61, 0.35);
    padding: 24px 28px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.3s ease;
    pointer-events: none;
}
.cookie-banner.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-banner__container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}
.cookie-banner strong {
    display: block;
    font-family: var(--display);
    font-weight: 500;
    font-size: 16px;
    color: var(--paper);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.cookie-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--columbia-mist);
    max-width: 680px;
}
.cookie-banner a {
    color: var(--pewter-blue);
    border-bottom: 1px solid rgba(166, 190, 209, 0.4);
    text-decoration: none;
}
.cookie-banner a:hover { color: var(--paper); border-color: var(--paper); }
.cookie-banner__actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.cookie-banner__btn {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 12px 18px;
    border: 1px solid var(--pewter-blue);
    background: transparent;
    color: var(--pewter-blue);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.cookie-banner__btn:hover {
    color: var(--paper);
    border-color: var(--paper);
}
.cookie-banner__btn--accept {
    background: var(--paper);
    color: var(--deep-ocean);
    border-color: var(--paper);
}
.cookie-banner__btn--accept:hover {
    background: var(--columbia-mist);
    color: var(--deep-ocean);
    border-color: var(--columbia-mist);
}
@media (max-width: 700px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 18px; }
    .cookie-banner__container { grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
    .cookie-banner__actions { justify-content: stretch; }
    .cookie-banner__btn { flex: 1; padding: 14px 16px; }
}

/* Footer "Cookie preferences" tiny link */
.cookie-prefs-link {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}
.cookie-prefs-link:hover { color: var(--paper); }

/* ============== VERTICAL PROCESS TIMELINE (used on /precast/) ============== */
.process__timeline--vertical {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    max-width: 760px;
    margin-left: 0;
}
.process__timeline--vertical::before {
    left: 5px !important;
    right: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 1px !important;
    height: auto !important;
    background: rgba(13, 39, 61, 0.18) !important;
}
.process__timeline--vertical .process__step {
    padding-left: 36px;
    position: relative;
}
.process__timeline--vertical .process__dot {
    position: absolute;
    left: -1px;
    top: 6px;
    margin-bottom: 0;
    background: var(--paper);
    border-color: var(--steel-teal);
}
.process__timeline--vertical .process__step--active .process__dot {
    background: var(--steel-teal);
}
.process__timeline--vertical .process__num {
    color: var(--steel-teal);
    margin-bottom: 8px;
}
.process__timeline--vertical .process__title {
    color: var(--deep-ocean);
    font-size: 22px !important;
    margin-bottom: 8px;
}
.process__timeline--vertical .process__desc {
    color: var(--charcoal-stone);
    font-size: 15px;
    max-width: 600px;
}
.process__timeline--vertical .process__duration {
    color: var(--steel-teal);
    border-top-color: rgba(13, 39, 61, 0.12);
    margin-top: 14px;
    padding-top: 10px;
    display: inline-block;
    border-top: 1px solid rgba(13, 39, 61, 0.12);
    padding-right: 24px;
}

/* ============== ARTICLES (blog) ============== */
.articles-hero {
    background: var(--deep-ocean);
    color: var(--paper);
    padding: 180px 48px 80px;
    position: relative;
    overflow: hidden;
}
.articles-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(166, 190, 209, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 190, 209, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}
.articles-hero__container { position: relative; max-width: 1400px; margin: 0 auto; }
.articles-hero__title {
    font-family: var(--display);
    font-size: clamp(56px, 7vw, 112px);
    line-height: 1.0;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.articles-hero__title strong { font-weight: 600; }
.articles-hero__sub {
    font-size: 18px;
    color: var(--columbia-mist);
    max-width: 640px;
    line-height: 1.6;
}

.articles-list {
    background: var(--paper);
    padding: 100px 48px 140px;
}
.articles-list__container { max-width: 1100px; margin: 0 auto; }

.article-card {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
    padding: 48px 0;
    border-bottom: 1px solid rgba(13, 39, 61, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}
.article-card:first-child { padding-top: 0; }
.article-card:hover { transform: translateY(-2px); }
.article-card__visual {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--columbia-mist);
    position: relative;
}
.article-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.article-card:hover .article-card__visual img { transform: scale(1.04); }
.article-card__meta {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}
.article-card__meta::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--steel-teal);
}
.article-card__title {
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    color: var(--deep-ocean);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 16px;
}
.article-card__excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    max-width: 520px;
    margin-bottom: 16px;
}
.article-card__readtime {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--warm-graphite);
}

/* Single article body */
.article-hero {
    background: var(--deep-ocean);
    color: var(--paper);
    padding: 180px 48px 80px;
    position: relative;
    overflow: hidden;
}
.article-hero--image {
    background-size: cover;
    background-position: center;
}
.article-hero--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 39, 61, 0.55), rgba(13, 39, 61, 0.85));
    z-index: 1;
}
.article-hero__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.article-hero__meta {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--pewter-blue);
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.article-hero__title {
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
.article-hero__title strong { font-weight: 600; }
.article-hero__excerpt {
    font-size: 18px;
    line-height: 1.55;
    color: var(--columbia-mist);
    max-width: 720px;
}
.article-body {
    background: var(--paper);
    padding: 100px 48px 140px;
}
.article-body__container {
    max-width: 760px;
    margin: 0 auto;
}
.article-body__lead {
    font-family: var(--display);
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.4;
    font-weight: 300;
    color: var(--deep-ocean);
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}
.article-body p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    margin-bottom: 22px;
}
.article-body h2 {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 500;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
    margin-top: 56px;
    margin-bottom: 16px;
}
.article-body h3 {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
    margin-top: 36px;
    margin-bottom: 12px;
}
.article-body ul, .article-body ol {
    margin: 0 0 22px;
    padding-left: 22px;
}
.article-body li {
    font-size: 17px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    margin-bottom: 8px;
}
.article-body a {
    color: var(--steel-teal);
    border-bottom: 1px solid rgba(62, 105, 133, 0.4);
    text-decoration: none;
}
.article-body a:hover { border-bottom-color: var(--steel-teal); }
.article-body blockquote {
    margin: 36px 0;
    padding: 24px 28px;
    border-left: 2px solid var(--steel-teal);
    background: var(--alabaster);
    font-family: var(--display);
    font-size: 20px;
    line-height: 1.5;
    font-weight: 300;
    color: var(--deep-ocean);
}
.article-body__author {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(13, 39, 61, 0.12);
    display: flex;
    align-items: center;
    gap: 16px;
}
.article-body__author-line {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
}
.article-body__author-name {
    font-family: var(--display);
    font-size: 16px;
    color: var(--deep-ocean);
    font-weight: 500;
}

/* ============== TEAM PAGE ============== */
.team-hero { padding: 180px 48px 80px; background: var(--deep-ocean); color: var(--paper); position: relative; overflow: hidden; }
.team-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(166, 190, 209, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(166, 190, 209, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}
.team-hero__container { position: relative; max-width: 1400px; margin: 0 auto; }
.team-hero__title {
    font-family: var(--display);
    font-size: clamp(56px, 7vw, 112px);
    line-height: 1.0;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.team-hero__title strong { font-weight: 600; }
.team-hero__sub {
    font-size: 18px;
    color: var(--columbia-mist);
    max-width: 640px;
    line-height: 1.6;
}

.team-featured { background: var(--paper); padding: 100px 48px; }
.team-featured__container { max-width: 1400px; margin: 0 auto; }
.team-featured__grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
}
.team-featured__portrait {
    width: 280px;
    height: 360px;
    overflow: hidden;
    background: var(--columbia-mist);
    position: relative;
}
.team-featured__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.02);
}
.team-featured__portrait::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px;
    width: 28px; height: 28px;
    border-top: 1px solid var(--steel-teal);
    border-left: 1px solid var(--steel-teal);
}
.team-featured__portrait::after {
    content: '';
    position: absolute;
    bottom: -10px; right: -10px;
    width: 28px; height: 28px;
    border-bottom: 1px solid var(--steel-teal);
    border-right: 1px solid var(--steel-teal);
}
.team-featured__portrait--monogram {
    background: var(--deep-ocean);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 96px;
    font-weight: 300;
    letter-spacing: -0.04em;
}
.team-featured__role {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel-teal);
    margin-bottom: 16px;
}
.team-featured__name {
    font-family: var(--display);
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.05;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--deep-ocean);
    margin-bottom: 16px;
}
.team-featured__name strong { font-weight: 600; }
.team-featured__title {
    font-family: var(--display);
    font-size: 18px;
    color: var(--steel-teal);
    margin-bottom: 32px;
    font-weight: 400;
}
.team-featured__lead {
    font-family: var(--display);
    font-size: 22px;
    line-height: 1.45;
    font-weight: 300;
    color: var(--deep-ocean);
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}
.team-featured p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    margin-bottom: 18px;
}
.team-featured ul {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}
.team-featured li {
    font-size: 15px;
    line-height: 1.65;
    color: var(--charcoal-stone);
    padding: 6px 0 6px 22px;
    position: relative;
}
.team-featured li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 12px;
    height: 1px;
    background: var(--steel-teal);
}
.team-featured__qual {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(13, 39, 61, 0.12);
}
.team-featured__qual-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel-teal);
    margin-bottom: 16px;
}
.team-featured__qual-note {
    font-style: italic;
    color: var(--warm-graphite);
}

/* Team grid (smaller cards) */
.team-grid-section { background: var(--alabaster); padding: 100px 48px; }
.team-grid-section__container { max-width: 1400px; margin: 0 auto; }
.team-grid-section__header { margin-bottom: 56px; max-width: 720px; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.team-card {
    background: var(--paper);
    padding: 24px;
    transition: transform 0.3s ease;
}
.team-card:hover { transform: translateY(-4px); }
.team-card__portrait {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--columbia-mist);
    margin-bottom: 20px;
    position: relative;
}
.team-card__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(10%) contrast(1.02);
}
.team-card__portrait--monogram {
    background: var(--steel-teal);
    color: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 64px;
    font-weight: 300;
    letter-spacing: -0.04em;
}
.team-card__role {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--steel-teal);
    margin-bottom: 8px;
}
.team-card__name {
    font-family: var(--display);
    font-size: 22px;
    font-weight: 500;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.team-card__title {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--warm-graphite);
    margin-bottom: 16px;
}
.team-card__bio {
    font-size: 14px;
    line-height: 1.65;
    color: var(--charcoal-stone);
}

/* ============== PROJECT INDEX CARDS WITH REAL IMAGES ============== */
.idx__card-visual--photo {
    background-size: cover;
    background-position: center;
}
.idx__card-visual--photo::before { opacity: 0.4; }

/* When using <img> instead of background-image */
.idx__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}
.idx__card-visual:has(.idx__card-img)::before { opacity: 0.25; z-index: 1; }
.idx__card-visual:has(.idx__card-img) .idx__card-tag,
.idx__card-visual:has(.idx__card-img) .idx__card-status { z-index: 2; }
.idx__card-visual:has(.idx__card-img) {
    background: linear-gradient(180deg, transparent 60%, rgba(13, 39, 61, 0.6));
}

/* ============== IMAGE GALLERY ============== */
.gallery {
    background: var(--paper);
    padding: 100px 48px 140px;
}
.gallery--inverse { background: var(--deep-ocean); color: var(--paper); }
.gallery__container { max-width: 1400px; margin: 0 auto; }
.gallery__header { margin-bottom: 56px; max-width: 720px; }
.gallery__title {
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    color: var(--deep-ocean);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.gallery--inverse .gallery__title { color: var(--paper); }
.gallery__title strong { font-weight: 600; }
.gallery__intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    margin-top: 20px;
    max-width: 640px;
}
.gallery--inverse .gallery__intro { color: var(--columbia-mist); }

.gallery__grid {
    display: grid;
    gap: 16px;
}
.gallery__grid--2 { grid-template-columns: 1fr 1fr; }
.gallery__grid--3 { grid-template-columns: repeat(3, 1fr); }
.gallery__grid--feature {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    aspect-ratio: 16 / 9;
}
.gallery__grid--feature .gallery__item:first-child {
    grid-row: span 2;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    background: var(--columbia-mist);
    aspect-ratio: 4 / 3;
}
.gallery__grid--feature .gallery__item { aspect-ratio: auto; }
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery__item:hover img { transform: scale(1.03); }

.gallery__caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 24px 20px;
    background: linear-gradient(180deg, transparent, rgba(13, 39, 61, 0.85));
    color: var(--paper);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    pointer-events: none;
}
.gallery__caption strong {
    display: block;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    color: var(--paper);
}

/* ============== PORTRAIT TESTIMONIAL ============== */
.testimonial--with-portrait .testimonial__container {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 56px;
    align-items: start;
    max-width: 1100px;
}
.testimonial__portrait {
    width: 200px;
    height: 200px;
    border-radius: 0;
    overflow: hidden;
    background: var(--columbia-mist);
    position: relative;
}
.testimonial__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(15%) contrast(1.02);
}
.testimonial__portrait::before {
    content: '';
    position: absolute;
    top: -8px; left: -8px;
    width: 24px; height: 24px;
    border-top: 1px solid var(--steel-teal);
    border-left: 1px solid var(--steel-teal);
    pointer-events: none;
}
.testimonial__portrait::after {
    content: '';
    position: absolute;
    bottom: -8px; right: -8px;
    width: 24px; height: 24px;
    border-bottom: 1px solid var(--steel-teal);
    border-right: 1px solid var(--steel-teal);
    pointer-events: none;
}
.testimonial--with-portrait .testimonial__mark { margin-top: -16px; }
.testimonial--inverse.testimonial--with-portrait .testimonial__portrait::before,
.testimonial--inverse.testimonial--with-portrait .testimonial__portrait::after {
    border-color: var(--pewter-blue);
}

/* Initial-monogram fallback when no portrait image */
.testimonial__portrait--monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--steel-teal);
    color: var(--paper);
    font-family: var(--display);
    font-size: 64px;
    font-weight: 300;
    letter-spacing: -0.04em;
}

/* ============== MASTER PLAN ============== */
.master-plan {
    background: var(--alabaster);
    padding: 140px 48px;
    position: relative;
    overflow: hidden;
}
.master-plan::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(13, 39, 61, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 39, 61, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.master-plan__container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}
.master-plan__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 56px;
}
.master-plan__title {
    font-family: var(--display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    color: var(--deep-ocean);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.master-plan__title strong { font-weight: 600; }
.master-plan__intro {
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal-stone);
    max-width: 480px;
}
.master-plan__frame {
    background: var(--paper);
    padding: 32px;
    border: 1px solid rgba(13, 39, 61, 0.12);
    position: relative;
}
.master-plan__frame::before,
.master-plan__frame::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    pointer-events: none;
}
.master-plan__frame::before {
    top: -1px; left: -1px;
    border-top: 1px solid var(--steel-teal);
    border-left: 1px solid var(--steel-teal);
}
.master-plan__frame::after {
    bottom: -1px; right: -1px;
    border-bottom: 1px solid var(--steel-teal);
    border-right: 1px solid var(--steel-teal);
}
.master-plan__img {
    width: 100%;
    height: auto;
    display: block;
}
.master-plan__legend {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(13, 39, 61, 0.1);
}
.master-plan__legend-item {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--warm-graphite);
}
.master-plan__legend-item strong {
    display: block;
    font-family: var(--display);
    font-size: 16px;
    font-weight: 500;
    color: var(--deep-ocean);
    text-transform: none;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

/* ============== SCOPE TABLE (KAHLI etc.) ============== */
.scope {
    background: var(--paper);
    padding: 120px 48px;
}
.scope__container { max-width: 1400px; margin: 0 auto; }
.scope__header { margin-bottom: 56px; max-width: 720px; }
.scope__title {
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 300;
    color: var(--deep-ocean);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.scope__title strong { font-weight: 600; }
.scope__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(13, 39, 61, 0.15);
    border-left: 1px solid rgba(13, 39, 61, 0.15);
}
.scope__item {
    padding: 32px 24px;
    border-right: 1px solid rgba(13, 39, 61, 0.15);
    border-bottom: 1px solid rgba(13, 39, 61, 0.15);
    background: var(--paper);
    transition: background 0.4s ease;
}
.scope__item:hover { background: var(--alabaster); }
.scope__item-num {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel-teal);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.scope__item-num::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    border: 1px solid var(--steel-teal);
    background: transparent;
}
.scope__item-status--active .scope__item-num::before { background: var(--steel-teal); }
.scope__item-count {
    font-family: var(--display);
    font-size: 56px;
    font-weight: 300;
    color: var(--deep-ocean);
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 8px;
}
.scope__item-count-unit {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--steel-teal);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 16px;
}
.scope__item-name {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 500;
    color: var(--deep-ocean);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.scope__item-note {
    font-size: 13px;
    line-height: 1.6;
    color: var(--charcoal-stone);
}

/* ============== DECORATIVE — DIMENSION DIVIDER ============== */
.divider-rule {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
}
.divider-rule__line {
    height: 1px;
    background: rgba(13, 39, 61, 0.15);
    position: relative;
}
.divider-rule__line::before,
.divider-rule__line::after {
    content: '';
    position: absolute;
    top: -4px;
    width: 1px;
    height: 9px;
    background: rgba(13, 39, 61, 0.4);
}
.divider-rule__line::before { left: 0; }
.divider-rule__line::after { right: 0; }
.divider-rule__label {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--steel-teal);
}
.divider-rule--inverse .divider-rule__line { background: rgba(166, 190, 209, 0.2); }
.divider-rule--inverse .divider-rule__line::before,
.divider-rule--inverse .divider-rule__line::after { background: var(--pewter-blue); }
.divider-rule--inverse .divider-rule__label { color: var(--pewter-blue); }

/* ============== DECORATIVE — DRAWN LINE ANIMATION ============== */
@keyframes draw-line {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}
.drawn-line {
    width: 100%;
    max-width: 240px;
    height: 24px;
    overflow: visible;
}
.drawn-line__path {
    fill: none;
    stroke: var(--steel-teal);
    stroke-width: 1.5;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: draw-line 1.2s ease-out forwards;
}
.drawn-line__tick {
    fill: none;
    stroke: var(--steel-teal);
    stroke-width: 1.5;
    opacity: 0;
    animation: fade-in 0.4s ease 1s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

/* ============== DECORATIVE — CIRCUITS / MARGIN MARKS ============== */
.tech-margin {
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    font-family: var(--mono);
    font-size: 9px;
    color: var(--pewter-blue);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform-origin: 0 50%;
    transform: rotate(180deg);
    opacity: 0.5;
    pointer-events: none;
}

/* ============== DECORATIVE — STAT WITH PROGRESS BAR ============== */
.stat__progress {
    height: 2px;
    background: rgba(13, 39, 61, 0.1);
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}
.stat__progress::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--steel-teal);
    transform-origin: left;
    transform: scaleX(var(--progress, 1));
    transition: transform 1.2s ease-out;
}

/* ============== INLINE SVG ICONS (capabilities) ============== */
.cap__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 24px;
    color: var(--steel-teal);
}
.cap__icon svg { width: 100%; height: 100%; display: block; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
    section, .nav, .hero, .quote, .cta, .footer,
    .proj-hero, .proj-body, .ba, .testimonial, .idx-hero, .idx,
    .contact-hero, .contact-body, .gallery, .master-plan, .scope {
        padding-left: 32px; padding-right: 32px;
    }
    .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer__grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
    section, .nav, .hero, .quote, .cta, .footer,
    .proj-hero, .proj-body, .ba, .testimonial, .idx-hero, .idx,
    .contact-hero, .contact-body, .gallery, .master-plan, .scope {
        padding-left: 24px; padding-right: 24px;
    }
    section, .quote, .cta, .proj-body, .ba, .testimonial, .idx,
    .gallery, .master-plan, .scope { padding-top: 80px; padding-bottom: 80px; }
    .proj-hero, .idx-hero, .contact-hero { padding-top: 120px; padding-bottom: 60px; }
    .hero { padding-top: 0; padding-bottom: 0; }

    /* Nav: hamburger drawer */
    .nav { padding: 16px 24px; }
    .nav.scrolled, .nav.nav--solid { padding: 14px 24px; }
    .nav__toggle { display: block; }
    .nav__links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--paper);
        flex-direction: column;
        align-items: stretch;
        padding: 8px 24px 28px;
        gap: 0;
        border-bottom: 1px solid rgba(13, 39, 61, 0.1);
        box-shadow: 0 12px 24px rgba(13, 39, 61, 0.08);
        transform: translateY(-110%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.3s ease;
        list-style: none;
        display: flex;
    }
    .nav.nav--open .nav__links {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav__links li {
        list-style: none;
    }
    .nav__links a {
        color: var(--deep-ocean) !important;
        padding: 18px 4px !important;
        font-size: 14px !important;
        display: block;
        border: none !important;
        border-bottom: 1px solid rgba(13, 39, 61, 0.08) !important;
    }
    .nav__links li:nth-last-child(2) a { border-bottom: none !important; }
    .nav__links .nav__cta {
        border: 1px solid var(--deep-ocean) !important;
        margin-top: 20px;
        text-align: center;
        padding: 16px 24px !important;
        font-size: 13px !important;
    }

    .hero { min-height: 100vh; padding: 0 24px; }
    .hero__content { grid-template-columns: 1fr; gap: 36px; padding: 100px 0 90px; align-items: start; }
    .hero__title { font-size: clamp(48px, 12vw, 80px); }
    .hero__sub { margin-bottom: 24px; }
    .hero__meta { grid-template-columns: 1fr; gap: 20px; }
    .bracket { display: none; }
    .hero__indicator { display: none; }

    .intro__grid, .cap__header, .studio__grid { grid-template-columns: 1fr; gap: 48px; }
    .intro__title-wrap { position: static; }
    .intro__lead { font-size: 22px; }
    .cap__grid { grid-template-columns: 1fr 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 32px; margin-top: 48px; }
    .stat__num { font-size: 44px; }
    .project { grid-template-columns: 1fr !important; gap: 32px; margin-bottom: 80px; }
    .project:nth-child(even) .project__visual { order: 0; }
    .project__specs { grid-template-columns: 1fr 1fr; }
    .project__name { font-size: 32px; }
    .process__timeline { grid-template-columns: 1fr; gap: 40px; }
    .process__timeline::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
    .process__timeline .process__step { padding-left: 32px; position: relative; }
    .process__timeline .process__dot { position: absolute; left: -1px; top: 4px; margin-bottom: 0; }
    .cap__grid--3 { grid-template-columns: 1fr; }
    .footer { padding: 56px 24px 24px; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-bottom: 40px; }
    .footer__grid > div:first-child { grid-column: 1 / -1; }
    .footer__grid > div:last-child { grid-column: auto; }
    .footer__col-title { margin-bottom: 14px; }
    .footer__list li { margin-bottom: 8px; font-size: 13px; }
    .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; padding-top: 24px; }
    .work__header { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 56px; }
    .proj-hero__title { font-size: clamp(40px, 9vw, 64px); }
    .proj-hero__facts { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; }
    .proj-hero__location { margin-bottom: 40px; }
    .ba__grid { grid-template-columns: 1fr; }
    .idx__grid { grid-template-columns: 1fr; gap: 32px; }
    .idx-hero__title { font-size: clamp(48px, 11vw, 88px); }
    .contact-body__container { grid-template-columns: 1fr; gap: 40px; }
    .contact-hero__title { font-size: clamp(40px, 9vw, 64px); }
    .gallery, .master-plan, .scope, .team-hero, .team-featured, .team-grid-section { padding-left: 24px; padding-right: 24px; }
    .team-featured__grid { grid-template-columns: 1fr; gap: 36px; }
    .team-featured__portrait { width: 200px; height: 260px; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .article-card { grid-template-columns: 1fr; gap: 24px; }
    .articles-list, .articles-hero, .article-hero, .article-body { padding-left: 24px; padding-right: 24px; }
    .work__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .notes { padding: 80px 24px; }
    .notes__grid { grid-template-columns: 1fr; gap: 32px; }
    .notes__header { flex-direction: column; align-items: flex-start; gap: 16px; }
    .gallery__grid--2,
    .gallery__grid--3 { grid-template-columns: 1fr; }
    .gallery__grid--feature { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: auto; gap: 12px; }
    .gallery__grid--feature .gallery__item:first-child { grid-row: auto; }
    .gallery__title { font-size: 28px; }
    .testimonial--with-portrait .testimonial__container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .testimonial__portrait { width: 140px; height: 140px; }
    .testimonial__text { font-size: 22px; }
    .master-plan__header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
    .master-plan__title { font-size: 28px; }
    .master-plan__frame { padding: 16px; }
    .master-plan__legend { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; margin-top: 20px; }
    .scope__grid { grid-template-columns: 1fr 1fr; }
    .scope__title { font-size: 28px; }
    .scope__item { padding: 24px 20px; }
    .scope__item-count { font-size: 44px; }
    .cta { padding: 80px 24px; }
    .cta__title { font-size: clamp(36px, 9vw, 64px); }
    .cta__sub { margin-bottom: 40px; }
    .quote { padding: 80px 24px; }
    .quote__text { font-size: 24px; }
    .divider-rule { padding: 0 24px; gap: 16px; }
}

@media (max-width: 540px) {
    .cap__grid { grid-template-columns: 1fr; }
    .scope__grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .project__specs { grid-template-columns: 1fr 1fr; gap: 16px; }
    .proj-hero__facts { grid-template-columns: 1fr 1fr; }
    .hero__meta { grid-template-columns: 1fr; }
    .master-plan__legend { grid-template-columns: 1fr; }
    .gallery__caption { padding: 16px 16px 14px; font-size: 10px; }
    .gallery__caption strong { font-size: 16px; }
    .testimonial__portrait { width: 120px; height: 120px; }
    .testimonial__text { font-size: 19px; }
    .proj-hero__title { font-size: clamp(36px, 10vw, 48px); }
    .proj-body h3 { font-size: 22px; margin-top: 40px; }
    .proj-body__lead { font-size: 22px; margin-bottom: 32px; }
    .team-grid { grid-template-columns: 1fr; }
    .work__grid { grid-template-columns: 1fr; }
}
