/* =========================================================
   Blue Fin design system
   White + charcoal + ocean blue, with vanilla and terracotta
   ========================================================= */

:root {
    /* Square edges for photos, cards and panels; buttons, tags and icons stay round */
    --ocean: #23AAE1;
    --ocean-deep: #197BA3;      /* text-bearing fills (AA with white) */
    --ocean-ink: #156885;
    --ocean-tint: #EBF6FC;
    --ocean-soft: #CFEAF8;
    --charcoal: #404041;
    --ink: #2B2B2C;
    --text: #404041;
    --text-muted: #6B6D70;
    --gray: #8A8C8E;
    --mist: #ECEDEE;
    --canvas: #F7F7F6;
    --white: #FFFFFF;
    --vanilla: #F8F4EA;
    --vanilla-deep: #F1E6D8;
    --terra: #C97B63;
    --terra-ink: #A65E49;

    --font-head: "Manrope", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --r-xl: 0px;
    --r-lg: 0px;
    --r-md: 0px;
    --r-sm: 0px;

    --shadow-soft: 0 1px 2px rgba(20, 24, 28, .04), 0 12px 32px -18px rgba(20, 24, 28, .18);
    --shadow-panel: 0 2px 6px rgba(20, 24, 28, .04), 0 30px 70px -30px rgba(20, 24, 28, .25);

    --gutter: clamp(16px, 3.2vw, 40px);
    --max: 1240px;
    --section: clamp(88px, 10vw, 152px);
    --header-h: 76px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--text);
    font: 400 15.5px/1.7 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -0.025em; line-height: 1.12; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ocean); outline-offset: 3px; border-radius: 0; }
::selection { background: var(--ocean-soft); color: var(--ink); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: calc(var(--section) / 2) 0; }
.section:first-of-type { padding-top: 0; }
.section--tight { padding: calc(var(--section) / 3) 0; }
main { display: block; padding-top: 20px; }

/* ---------- Type ---------- */
.h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; }
.h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.14; }
.h3 { font-size: clamp(22px, 2vw, 28px); }
.lead { font-size: clamp(16px, 1.15vw, 17.5px); line-height: 1.7; color: var(--text-muted); }
.muted { color: var(--text-muted); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 500 12.5px/1 var(--font-body);
    letter-spacing: 0;
    color: var(--text);
    padding: 7px 12px 7px 10px;
    border: 1px solid var(--mist);
    border-radius: 999px;
    background: #fff;
    margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ocean); flex: none; }
.eyebrow--light { color: #fff; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag {
    display: inline-flex; align-items: center; gap: 8px;
    font: 500 12px/1 var(--font-body);
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--mist);
    background: var(--white);
    color: var(--text);
    margin-bottom: 20px;
}
.tag--terra { color: var(--terra-ink); border-color: rgba(201, 123, 99, .35); background: rgba(255, 255, 255, .7); }
.tag--glass { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.text-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 500; color: var(--ink);
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: border-color .25s var(--ease), color .25s var(--ease);
}
.text-link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover { border-color: currentColor; }
.text-link:hover .i { transform: translateX(3px); }
.text-link--terra { color: var(--terra-ink); }
.i { width: 18px; height: 18px; flex: none; }

/* ---------- Pill buttons (label + circle, as in the reference) ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pill__label {
    display: inline-flex; align-items: center;
    height: 42px; padding: 0 20px;
    border-radius: 999px;
    font: 500 14px/1 var(--font-body);
    transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.pill__icon {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%;
    transition: transform .35s var(--ease), background-color .25s var(--ease);
}
.pill__icon .i { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.pill:hover .pill__icon .i { transform: translate(2px, -2px); }

.pill--primary .pill__label { background: var(--ocean-deep); color: #fff; }
.pill--primary .pill__icon { background: var(--ocean); color: #fff; }
.pill--primary:hover .pill__label { background: var(--ocean-ink); }

.pill--dark .pill__label { background: var(--ink); color: #fff; }
.pill--dark .pill__icon { background: var(--ink); color: #fff; }
.pill--dark:hover .pill__icon { background: var(--ocean-deep); }

.pill--light .pill__label { background: #fff; color: var(--ink); }
.pill--light .pill__icon { background: #fff; color: var(--ink); }
.pill--light:hover .pill__icon { background: var(--ocean); color: #fff; }

.pill--glass .pill__label, .pill--glass .pill__icon {
    background: rgba(255, 255, 255, .14); color: #fff;
    border: 1px solid rgba(255, 255, 255, .4);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.pill--glass:hover .pill__label, .pill--glass:hover .pill__icon { background: rgba(255, 255, 255, .26); }

.pill--outline .pill__label, .pill--outline .pill__icon { border: 1px solid #CFD1D3; color: var(--ink); background: transparent; }
.pill--outline:hover .pill__label { border-color: var(--ink); }
.pill--outline:hover .pill__icon { background: var(--ink); border-color: var(--ink); color: #fff; }

.pill--sm .pill__label { height: 36px; padding: 0 16px; font-size: 13px; }
.pill--sm .pill__icon { width: 36px; height: 36px; }
.pill--sm .pill__icon .i { width: 15px; height: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    transition: transform .4s var(--ease), box-shadow .3s var(--ease);
}
.site-header { box-shadow: 0 1px 0 var(--mist); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { height: 40px; width: auto; }

.main-nav__list { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--mist); }
.main-nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 34px; padding: 0 15px; border-radius: 999px;
    font-size: 13.5px; font-weight: 500; color: var(--text-muted);
    transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.main-nav__link:hover, .main-nav__trigger[aria-expanded="true"] { color: var(--ink); background: rgba(255, 255, 255, .7); }
.main-nav__link[aria-current="page"], .main-nav__link.is-current { color: var(--ink); background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .07); }
.chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.main-nav__trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-cta .pill__label { height: 38px; font-size: 13.5px; padding: 0 16px; }
.header-cta .pill__icon { width: 38px; height: 38px; }

.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--canvas); border: 1px solid var(--mist); place-items: center; }
.menu-toggle__bars { display: grid; gap: 6px; width: 18px; }
.menu-toggle__bars i { display: block; height: 1.5px; background: var(--ink); border-radius: 0; transition: transform .3s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Mega menu ---------- */
.mega {
    position: absolute; left: 0; right: 0; top: 100%;
    padding-top: 8px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
    pointer-events: none;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.mega__panel {
    display: grid; grid-template-columns: 1fr 340px; gap: 24px;
    background: #fff; border: 1px solid var(--mist); border-radius: 0;
    box-shadow: var(--shadow-panel); padding: 28px;
}
.mega__main { padding: 8px 8px 4px; display: flex; flex-direction: column; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin-bottom: 16px; }
.mega__link { display: block; padding: 14px 16px; border-radius: 0; transition: background-color .2s var(--ease); }
.mega__link:hover, .mega__link:focus-visible { background: var(--canvas); }
.mega__title { display: flex; align-items: center; gap: 8px; font: 500 16px/1.3 var(--font-head); color: var(--ink); margin-bottom: 4px; }
.mega__title .i { width: 15px; height: 15px; color: var(--ocean-deep); opacity: 0; transform: translateX(-4px); transition: all .25s var(--ease); }
.mega__link:hover .mega__title .i, .mega__link:focus-visible .mega__title .i { opacity: 1; transform: none; }
.mega__desc { display: block; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.mega__main > .text-link { margin: auto 16px 0; align-self: flex-start; }
.mega__feature { position: relative; border-radius: 0; overflow: hidden; min-height: 300px; background: var(--vanilla); }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 24, 0) 30%, rgba(20, 22, 24, .72)); }
.mega__feature-body { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; color: #fff; }
.mega__feature-title { font: 500 22px/1.25 var(--font-head); letter-spacing: -.01em; margin-bottom: 18px; color: #fff; }

.mega__panel--projects { grid-template-columns: 1.1fr 1fr 340px; }
.mega__col { padding: 8px; }
.mega__col .eyebrow { padding-left: 16px; }
.mega__list { display: grid; gap: 4px; }
.count { font: 500 12px/1 var(--font-body); color: var(--text-muted); background: var(--canvas); border-radius: 999px; padding: 4px 8px; }
.mega__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px 20px; }
.mega__col > .text-link { margin-left: 16px; }
.chip {
    display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
    border-radius: 999px; border: 1px solid var(--mist); background: #fff;
    font-size: 14px; font-weight: 500; color: var(--text);
    transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.chip:hover { border-color: var(--charcoal); color: var(--ink); }
.chip[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mega__project { display: block; border-radius: 0; overflow: hidden; background: var(--canvas); }
.mega__project img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .6s var(--ease); }
.mega__project:hover img { transform: scale(1.02); }
.mega__project-body { display: block; padding: 16px 18px 18px; }
.mega__project-body .eyebrow { margin-bottom: 8px; }
.mega__project-title { display: block; font: 500 17px/1.3 var(--font-head); color: var(--ink); }

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: #fff; overflow-y: auto; }
.mobile-nav__inner { display: flex; flex-direction: column; padding: 16px var(--gutter) 120px; }
.mobile-nav__link {
    display: flex; justify-content: space-between; align-items: center;
    font: 500 26px/1.2 var(--font-head); letter-spacing: -.01em; color: var(--ink);
    padding: 16px 0; border-bottom: 1px solid var(--mist); cursor: pointer; list-style: none;
}
.mobile-nav__link::-webkit-details-marker { display: none; }
.mobile-nav__group summary::after { content: "+"; font: 300 26px/1 var(--font-body); color: var(--gray); transition: transform .25s var(--ease); }
.mobile-nav__group[open] summary::after { transform: rotate(45deg); }
.mobile-nav__group ul { padding: 8px 0 16px; }
.mobile-nav__group li a { display: block; padding: 10px 0; font-size: 17px; color: var(--text); }
.mobile-nav__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 32px; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero__frame {
    position: relative; overflow: hidden; border-radius: var(--r-xl);
    min-height: clamp(540px, 80vh, 800px);
    display: flex; background: var(--mist);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(100deg, rgba(14, 22, 30, .5) 0%, rgba(14, 22, 30, .22) 42%, rgba(14, 22, 30, 0) 66%),
        linear-gradient(0deg, rgba(14, 22, 30, .22), rgba(14, 22, 30, 0) 30%);
}
.hero__content {
    position: relative; z-index: 1; align-self: flex-start;
    max-width: 820px; padding: clamp(28px, 5vw, 64px);
    color: #fff;
}
.hero__title span { display: block; }
.hero__title { font-size: clamp(40px, 5vw, 70px); line-height: 1.02; color: #fff; letter-spacing: -.03em; margin-bottom: 24px; }
.hero__caption {
    position: absolute; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 1;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 16px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); color: var(--ink);
    font-size: 13px; font-weight: 500;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: background-color .25s var(--ease);
}
.hero__caption small { color: var(--text-muted); font-size: 13px; font-weight: 400; }
.hero__caption .pill__icon { width: 30px; height: 30px; background: var(--ink); color: #fff; }
.hero__caption .pill__icon .i { width: 14px; height: 14px; }
.hero__caption:hover { background: #fff; }
.hero__text { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .9); max-width: 520px; margin-bottom: 32px; }

/* ---------- Page head (inner pages) ---------- */
.page-head { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.page-head__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.page-head h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04; }
.page-head .lead { color: var(--text-muted); }
.page-head--center { text-align: center; }
.page-head--center .lead { max-width: 640px; margin: 20px auto 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gray); }

/* ---------- Sections and splits ---------- */
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head--center .h2 { max-width: 20ch; margin: 0 auto; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split__text .h2 { margin-bottom: 24px; }
.split__text .lead { margin-bottom: 32px; }
.media-rounded { border-radius: var(--r-xl); overflow: hidden; background: var(--mist); position: relative; }
.media-rounded img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media-rounded:hover img { transform: scale(1.015); }
.split--intro .split__media { aspect-ratio: 5 / 5.6; }
.split--intro .split__text { padding-right: clamp(0px, 2vw, 32px); }
.split--process { align-items: stretch; }
.split--process .split__media { min-height: 440px; }
.split--process .split__text { display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.split--process .text-link { align-self: flex-start; }
.split--why { align-items: stretch; }
.split--why .split__media { min-height: 520px; }

.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.mini-card { background: var(--canvas); border-radius: var(--r-lg); padding: 24px; }
.mini-card--warm { background: var(--vanilla); }
.mini-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ocean-deep); margin-bottom: 28px; }
.mini-card__icon svg { width: 24px; height: 24px; }
.mini-card__icon--terra { color: var(--terra); }
.mini-card__title { font-size: 17px; margin-bottom: 8px; letter-spacing: -.01em; }
.mini-card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--mist); }
.accordion__item { border-bottom: 1px solid var(--mist); }
.accordion__heading { font-size: inherit; }
.accordion__trigger {
    width: 100%; display: flex; align-items: center; gap: 16px; text-align: left;
    padding: 22px 0; font: 500 clamp(18px, 1.5vw, 21px)/1.3 var(--font-head); color: var(--ink); letter-spacing: -.01em;
}
.accordion__num { font: 500 13px/1 var(--font-body); color: var(--terra-ink); letter-spacing: .04em; min-width: 22px; }
.accordion__title { flex: 1; }
.accordion__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); flex: none; transition: background-color .25s var(--ease); }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__trigger:hover .accordion__icon { background: var(--ocean-deep); }
.accordion__panel { overflow: hidden; transition: height .35s var(--ease); }
.accordion__inner { padding: 0 46px 24px 38px; color: var(--text-muted); }

/* ---------- Why panel ---------- */
.why-panel { background: var(--vanilla); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; }
.why-panel .h2 { margin-bottom: 20px; max-width: 14ch; }
.why-panel > p { color: var(--text); max-width: 46ch; }
.why-list { display: grid; gap: 8px; width: 100%; margin: 28px 0 32px; }
.why-list li { background: rgba(255, 255, 255, .78); border-radius: var(--r-sm); padding: 14px 18px; font-size: 15px; color: var(--ink); display: flex; gap: 10px; }
.why-list span { color: var(--terra-ink); font-weight: 500; min-width: 18px; }

/* ---------- Project cards ---------- */
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.project-card__media { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--mist); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.02); }
.project-card__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; padding: 12px 12px 12px 20px; border-radius: var(--r-md); background: var(--canvas); }
.project-card__title { font-size: 16px; letter-spacing: -.01em; line-height: 1.3; }
.project-card__title a::after { content: ""; position: absolute; inset: 0; }
.project-card { position: relative; }
.project-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--text-muted); margin: 4px 0 0; }
.project-card__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--terra); margin-right: 12px; vertical-align: middle; }
.project-card:hover .pill--outline .pill__icon { background: var(--ink); border-color: var(--ink); color: #fff; }
.project-card:hover .pill--outline .pill__label { border-color: var(--ink); }

/* ---------- Craft ---------- */
.craft { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.craft__media { min-height: 560px; }
.craft__panel { background: var(--vanilla); border-radius: var(--r-xl); padding: clamp(28px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.craft__panel .h2 { margin-bottom: 20px; max-width: 16ch; }
.craft__panel > p { max-width: 50ch; }
.craft__materials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; max-width: 440px; margin: 32px 0; }
.craft__materials figure { margin: 0; aspect-ratio: 1; border-radius: var(--r-lg); }

/* ---------- Testimonial ---------- */
.testimonial { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.testimonial__mark { width: 44px; color: var(--ocean); opacity: .55; margin-bottom: 28px; }
.testimonial__quote { margin: 0 0 32px; }
.testimonial__quote p { font: 400 clamp(22px, 2.3vw, 32px)/1.4 var(--font-head); color: var(--ink); letter-spacing: -.015em; }
.testimonial__quote--placeholder p { color: var(--gray); }
.testimonial__cite { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.testimonial__cite strong { font-weight: 600; color: var(--ink); }
.testimonial__cite span { color: var(--text-muted); font-size: 14px; }
.testimonial__media { display: grid; place-items: center; padding: 24px; }
.testimonial__stack { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; }
.testimonial__stack::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--r-xl);
    background: var(--ocean-tint); border: 1px solid var(--ocean-soft);
    transform: rotate(-6deg) translate(-14px, 10px);
}
.testimonial__stack img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-soft); transform: rotate(2deg); }
.dev-flag { display: inline-block; font-size: 12px; font-weight: 500; color: var(--terra-ink); background: var(--vanilla); border: 1px dashed rgba(201, 123, 99, .6); border-radius: 0; padding: 8px 12px; margin-bottom: 20px; }

/* ---------- Where we build ---------- */
.regions { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(16px, 2vw, 24px); }
.region-card { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; }
.region-card--photo { background: var(--mist); color: #fff; }
.region-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.region-card--photo:hover img { transform: scale(1.015); }
.region-card--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 22, 30, .8) 0%, rgba(14, 22, 30, .45) 42%, rgba(14, 22, 30, 0) 72%); }
.region-card__body { position: relative; z-index: 1; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: flex-start; }
.region-card h3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 10px; }
.region-card--photo h3 { color: #fff; }
.region-card p { max-width: 40ch; margin-bottom: 22px; }
.region-card--photo p { color: rgba(255, 255, 255, .88); }
.region-card--warm { background: var(--vanilla); justify-content: space-between; }
.region-card--warm .region-card__body:first-child { padding-bottom: 0; }
.region-card address { color: var(--ink); line-height: 1.7; }
.region-card__count { font: 500 13px/1 var(--font-body); color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 7px 12px; margin-bottom: 18px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.news-card { position: relative; display: flex; flex-direction: column; }
.news-card__media { display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 11; background: var(--mist); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.02); }
.news-card__body { padding: 20px 4px 0; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.news-card__date { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.news-card__title { font-size: 21px; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 10px; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card__excerpt { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.news-card .text-link { margin-top: auto; }
.news-card:hover .text-link { border-color: currentColor; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: clamp(440px, 58vh, 620px); display: flex; align-items: center; background: var(--mist); }
.final-cta__media { position: absolute; inset: 0; }
.final-cta__media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .82) 36%, rgba(255, 255, 255, 0) 66%); }
.final-cta__body { position: relative; z-index: 1; padding: clamp(28px, 5vw, 72px); max-width: 620px; }
.final-cta__title { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; margin-bottom: 20px; }
.final-cta__title em { font-style: italic; font-weight: 500; }
.final-cta__text { color: var(--text); max-width: 42ch; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(32px, 4vw, 48px) 0 24px; }
.footer-card { background: var(--canvas); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px) 28px; }
.footer-card__intro { text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 560px; margin: 0 auto clamp(48px, 6vw, 72px); }
.footer-card__logo img { height: 64px; width: auto; margin-bottom: 28px; }
.footer-card__title { font-size: clamp(30px, 3vw, 40px); margin-bottom: 14px; }
.footer-card__text { color: var(--text-muted); margin-bottom: 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 40px 0; border-top: 1px solid var(--mist); }
.footer-cols__head { font: 600 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.footer-cols li { margin-bottom: 10px; }
.footer-cols a, .footer-cols address { font-size: 15px; color: var(--text); }
.footer-cols address { margin-bottom: 12px; line-height: 1.6; }
.footer-cols a:hover { color: var(--ocean-deep); }
.footer-license { font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--mist); font-size: 13px; color: var(--text-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--mist); background: #fff; color: var(--ink); transition: all .25s var(--ease); }
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Right-edge CTA ---------- */
.edge-cta { position: fixed; right: 0; top: 50%; z-index: 80; transform: translateY(-50%); display: flex; align-items: center; }
.edge-cta__tab {
    writing-mode: vertical-rl; transform: rotate(180deg);
    background: var(--ocean-deep); color: #fff;
    font: 600 11px/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase;
    padding: 20px 11px; border-radius: 0;
    box-shadow: var(--shadow-soft);
    transition: background-color .25s var(--ease), padding .25s var(--ease);
}
.edge-cta__tab:hover { background: var(--ocean-ink); padding-right: 14px; }
.edge-cta__panel {
    position: absolute; right: 0; top: 50%;
    width: 340px; padding: 28px;
    background: #fff; border: 1px solid var(--mist); border-right: 0;
    border-radius: 0; box-shadow: var(--shadow-panel);
    opacity: 0; visibility: hidden; transform: translate(24px, -50%);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.edge-cta__panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ocean); border-radius: 0; }
.edge-cta.is-open .edge-cta__panel { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.edge-cta.is-open .edge-cta__tab { opacity: 0; pointer-events: none; }
.edge-cta__title { font: 500 22px/1.3 var(--font-head); color: var(--ink); letter-spacing: -.01em; margin-bottom: 22px; }
.edge-cta__links { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--mist); display: grid; gap: 4px; }
.edge-cta__links a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--ink); }
.edge-cta__links a:hover { color: var(--ocean-deep); }
.edge-cta__links svg { width: 20px; height: 20px; color: var(--ocean-deep); }

/* ---------- Mobile CTA bar ---------- */
.mobile-cta { display: none; }

/* ---------- Projects index ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 24px; margin-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--mist); }
.segmented { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--canvas); border: 1px solid var(--mist); }
.segmented a { height: 38px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--text-muted); }
.segmented a:hover { color: var(--ink); }
.segmented a[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .07); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.region-block + .region-block { margin-top: clamp(64px, 8vw, 112px); }
.region-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.region-head .h2 { margin-bottom: 8px; }
.region-head p { color: var(--text-muted); max-width: 52ch; }
.empty-state { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--vanilla); border-radius: var(--r-xl); overflow: hidden; }
.empty-state__aside { padding: clamp(28px, 4vw, 56px); border-left: 1px solid rgba(201, 123, 99, .2); display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.empty-state__aside address { color: var(--ink); line-height: 1.7; }
.empty-state__aside p { color: var(--text-muted); font-size: 14px; margin: 0; }
.empty-state__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.empty-state__body h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.empty-state__body p { color: var(--text); margin-bottom: 24px; max-width: 40ch; }
.empty-state__media { min-height: 320px; position: relative; }
.empty-state__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Project detail ---------- */
.project-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; min-height: 420px; background: var(--mist); }
.project-hero img { width: 100%; height: 100%; object-fit: cover; }
.project-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(40px, 5vw, 72px) 0; align-items: start; }
.project-intro h1 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; margin-bottom: 24px; }
.project-intro .lead { max-width: 58ch; }
.project-body { margin-top: 24px; max-width: 62ch; }
.facts { background: var(--canvas); border-radius: var(--r-lg); padding: 8px 24px; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--mist); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font: 600 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.facts dd { margin: 0; color: var(--ink); font-size: 15px; }
.facts dd ul li { padding: 3px 0; }
.facts dd ul li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); margin-right: 10px; vertical-align: middle; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.gallery__item { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; cursor: zoom-in; position: relative; }
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.gallery__item button { display: block; width: 100%; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.015); }
.gallery__item figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255, 255, 255, .9); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.lowres-note { font-size: 13px; color: var(--terra-ink); background: var(--vanilla); border-radius: 0; padding: 10px 14px; display: inline-block; margin-top: 16px; }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.project-nav a { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-lg); background: var(--canvas); transition: background-color .25s var(--ease); }
.project-nav a:hover { background: var(--mist); }
.project-nav img { width: 88px; height: 72px; object-fit: cover; border-radius: 0; flex: none; }
.project-nav small { display: block; font-size: 12px; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.project-nav strong { font: 500 17px/1.3 var(--font-head); color: var(--ink); }
.project-nav a:last-child { justify-content: flex-end; text-align: right; }
.project-quote { background: var(--vanilla); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); margin-top: clamp(40px, 5vw, 64px); }
.project-quote blockquote { margin: 0 0 20px; font: 400 clamp(22px, 2.2vw, 30px)/1.4 var(--font-head); color: var(--ink); letter-spacing: -.015em; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(250, 250, 249, .97); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 64px 0; max-height: 100vh; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 0; }
.lightbox__figure figcaption { font-size: 14px; color: var(--text-muted); }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--mist); font-size: 26px; line-height: 1; }
.lightbox__nav { justify-self: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--mist); display: grid; place-items: center; }
.lightbox__nav--prev .i { transform: rotate(180deg); }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--ink); color: #fff; }

/* ---------- Services ---------- */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.service-card { position: relative; display: flex; flex-direction: column; background: var(--canvas); border-radius: var(--r-lg); overflow: hidden; transition: background-color .3s var(--ease); }
.service-card:hover { background: var(--mist); }
.service-card__media { aspect-ratio: 16 / 11; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.02); }
.service-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.service-card__num { font-size: 13px; color: var(--terra-ink); font-weight: 500; margin-bottom: 12px; }
.service-card h2 { font-size: 22px; margin-bottom: 10px; }
.service-card h2 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; }
.service-card .text-link { margin-top: auto; }
.service-media { aspect-ratio: 5 / 5.4; }
.service-cta { margin-top: 32px; }
.service-others { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.service-others .mega__link { background: var(--canvas); }
.service-others .mega__link:hover { background: var(--mist); }
.point-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 32px; }
.point-list li { background: var(--canvas); border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.point-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ocean); flex: none; }
.prose { max-width: 66ch; }
.prose p { font-size: 17px; line-height: 1.75; margin-bottom: 1.2em; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 1.8em 0 .6em; }
.prose ul { margin: 0 0 1.4em; display: grid; gap: 8px; }
.prose ul li { padding-left: 22px; position: relative; font-size: 17px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ocean); }
.prose blockquote { margin: 2em 0; padding: 28px 32px; border-radius: var(--r-lg); background: var(--vanilla); }
.prose blockquote p { font: 400 clamp(20px, 2vw, 26px)/1.45 var(--font-head); color: var(--ink); margin: 0; }
.prose a { color: var(--ocean-deep); border-bottom: 1px solid currentColor; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- About / process ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { background: var(--canvas); border-radius: var(--r-lg); padding: 28px; }
.value:nth-child(2) { background: var(--vanilla); }
.value h3 { font-size: 20px; margin: 20px 0 10px; }
.value p { color: var(--text-muted); font-size: 15px; }
.value__num { font: 500 13px/1 var(--font-body); color: var(--terra-ink); }
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 90px 1fr 1.4fr; gap: 24px; align-items: start; padding: 32px; border-radius: var(--r-lg); background: var(--canvas); }
.step:nth-child(even) { background: #fff; border: 1px solid var(--mist); }
.step__num { font: 500 40px/1 var(--font-head); color: var(--ocean); letter-spacing: -.02em; }
.step h2 { font-size: clamp(22px, 2vw, 28px); }
.step p { color: var(--text-muted); margin: 0; }

/* ---------- News ---------- */
.article-head { max-width: 860px; margin: 0 auto; text-align: center; padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 48px); }
.article-head h1 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1.06; margin-bottom: 20px; }
.article-meta { display: flex; justify-content: center; gap: 16px; font-size: 14px; color: var(--text-muted); }
.article-hero { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; background: var(--mist); margin-bottom: clamp(40px, 5vw, 72px); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-head .crumbs { justify-content: center; }
.article-gallery { margin-top: 56px; }
.article-more { margin-top: 48px; }
.process-banner { aspect-ratio: 16 / 7; }
.article-body { display: flex; justify-content: center; }
.pager { display: flex; justify-content: center; gap: 12px; margin-top: 56px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-card { background: var(--vanilla); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); position: sticky; top: calc(var(--header-h) + 24px); }
.contact-card h2 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 16px; }
.contact-card dl { margin: 28px 0 0; display: grid; gap: 20px; }
.contact-card dt { font: 600 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-ink); margin-bottom: 8px; }
.contact-card dd { margin: 0; color: var(--ink); }
.contact-card dd a:hover { color: var(--ocean-deep); }
.form { background: #fff; border: 1px solid var(--mist); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .req { color: var(--terra-ink); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 16px; color: var(--ink);
    background: var(--canvas); border: 1px solid transparent; border-radius: var(--r-sm);
    padding: 14px 16px; transition: border-color .2s var(--ease), background-color .2s var(--ease);
    -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5 6 7.5l3-3' fill='none' stroke='%23404041' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 40px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); background: #fff; }
.field--error input, .field--error textarea, .field--error select { border-color: var(--terra); }
.field__error { font-size: 13px; color: var(--terra-ink); }
.field--hp { position: absolute; left: -9999px; }
.options { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 20px; }
.options legend { margin-bottom: 10px; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--mist); font-size: 14px; cursor: pointer; transition: all .2s var(--ease); }
.option input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.option input:focus-visible + span { outline: 2px solid var(--ocean); outline-offset: 2px; }
.form__submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form__submit button.pill { padding: 0; }
.form__note { font-size: 13px; color: var(--text-muted); margin: 0; }
.notice { border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 24px; font-size: 15px; }
.notice--ok { background: var(--ocean-tint); color: var(--ocean-ink); }
.notice--error { background: var(--vanilla); color: var(--terra-ink); }

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: clamp(64px, 12vw, 160px) 0; }
.not-found h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 16px; }
.not-found p { color: var(--text-muted); margin-bottom: 32px; }
.not-found .btn-row { justify-content: center; }

.img-missing { width: 100%; height: 100%; min-height: 200px; background: repeating-linear-gradient(135deg, var(--canvas) 0 14px, var(--mist) 14px 15px); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }


/* =========================================================
   Editorial layer: bold type, full-bleed hero, service rows,
   project showcase, wordmark footer
   ========================================================= */

/* Bolder, confident headings (sentence case) */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 3.9vw, 56px); line-height: 1.04; }
.page-head h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.045em; }
.project-intro h1, .article-head h1 { letter-spacing: -0.04em; }
.final-cta__title { font-weight: 600; letter-spacing: -0.04em; }

/* Overlay header (homepage): transparent on the photo, white once scrolled or a menu is open */
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .4s var(--ease); }
.has-overlay-header .site-header__inner { height: calc(var(--header-h) + 12px); padding-top: 12px; }
.brand__light { display: none; }
.has-overlay-header .site-header:not(.is-solid) .brand__dark { display: none; }
.has-overlay-header .site-header:not(.is-solid) .brand__light { display: block; }
.has-overlay-header .site-header:not(.is-solid) .main-nav__list { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.has-overlay-header .site-header:not(.is-solid) .main-nav__link { color: rgba(255, 255, 255, .88); }
.has-overlay-header .site-header:not(.is-solid) .main-nav__link:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.has-overlay-header .site-header:not(.is-solid) .menu-toggle { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); }
.has-overlay-header .site-header:not(.is-solid) .menu-toggle__bars i { background: #fff; }
.has-overlay-header .site-header.is-solid { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 var(--mist); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.has-overlay-header main { padding-top: 0; }

/* Full-bleed hero */
.hero { padding: 12px 12px 0; }
.hero__frame { position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: max(640px, calc(100svh - 24px)); display: flex; align-items: flex-end; background: #1d2a33; }
.hero__media::after {
    background:
        linear-gradient(180deg, rgba(12, 20, 28, .45) 0%, rgba(12, 20, 28, 0) 26%),
        linear-gradient(0deg, rgba(12, 20, 28, .62) 0%, rgba(12, 20, 28, .22) 40%, rgba(12, 20, 28, 0) 62%),
        linear-gradient(90deg, rgba(12, 20, 28, .3) 0%, rgba(12, 20, 28, 0) 55%);
}
.hero__content { position: relative; z-index: 1; align-self: flex-end; width: 100%; max-width: none; padding: 0 clamp(20px, 4vw, 64px) clamp(28px, 4.5vw, 64px); }
.hero__title { font-size: clamp(48px, 8.4vw, 136px); line-height: .92; font-weight: 600; letter-spacing: -0.05em; margin-bottom: clamp(20px, 2.6vw, 36px); max-width: 12ch; }
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.hero__text { margin: 0; max-width: 460px; font-size: clamp(15.5px, 1.15vw, 18px); color: rgba(255, 255, 255, .88); }
.hero__tags { position: absolute; z-index: 1; top: calc(var(--header-h) + 36px); right: clamp(20px, 4vw, 64px); display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.hero__tags a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #fff; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .25s var(--ease), color .25s var(--ease); }
.hero__tags a:hover { background: #fff; color: var(--ink); }
.hero__caption { display: none; }

/* Frosted glass card */
.glass { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.hero__card { position: absolute; z-index: 2; right: clamp(20px, 4vw, 64px); top: calc(var(--header-h) + 96px); width: 340px; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 10px; border-radius: 0; color: #fff; transition: background-color .3s var(--ease); }
.hero__card:hover { background: rgba(255, 255, 255, .26); }
.hero__card-thumb { width: 88px; height: 72px; border-radius: 0; overflow: hidden; flex: none; }
.hero__card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.hero__card-label { font-size: 11.5px; opacity: .8; letter-spacing: .02em; }
.hero__card-title { font: 600 16px/1.25 var(--font-head); letter-spacing: -.01em; }
.hero__card-meta { font-size: 13px; opacity: .85; }
.hero__card-arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--ink); flex: none; align-self: flex-start; }
.hero__card-arrow .i { width: 15px; height: 15px; }

/* Intro: heading left, text right, wide image below */
.intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.intro .h2 { max-width: 17ch; }
.intro__side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.intro__side .lead { margin: 0; }
.intro__media { aspect-ratio: 16 / 7; }

/* Numbered service rows */


/* Project showcase carousel */
.container--bleed-right { padding-right: 0; max-width: none; margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); width: auto; padding-left: 0; }
.carousel__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 400px); gap: clamp(14px, 1.6vw, 22px);
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
    padding-bottom: 8px; padding-right: var(--gutter); scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: 6px; }
.pcard { scroll-snap-align: start; position: relative; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__badge { position: absolute; left: 14px; top: 14px; font-size: 12px; font-weight: 500; color: #fff; padding: 6px 11px; border-radius: 999px; background: rgba(20, 24, 28, .28); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pcard__badge:empty { display: none; }
.pcard__cta { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 14px; font-weight: 500; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.pcard__cta .i { width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--ink); color: #fff; }
.pcard:hover .pcard__cta, .pcard__media:focus-visible .pcard__cta { opacity: 1; transform: none; }
.pcard__title { font-size: 18px; letter-spacing: -.02em; margin: 16px 4px 4px; }
.pcard__meta { font-size: 14px; color: var(--text-muted); margin: 0 4px; }
.carousel__nav { display: flex; gap: 8px; margin-top: 24px; padding-right: var(--gutter); }
.carousel__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #CFD1D3; color: var(--ink); transition: all .25s var(--ease); }
.carousel__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel__btn:disabled { opacity: .35; pointer-events: none; }

/* Giant wordmark in the footer */
.wordmark {
    margin: clamp(8px, 2vw, 24px) 0 0; padding: 0;
    font: 600 clamp(72px, 19.5vw, 300px)/.8 var(--font-head); letter-spacing: -0.06em; white-space: nowrap; text-align: center;
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 45%, rgba(43, 43, 44, .1) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    overflow: hidden; padding-bottom: .04em; user-select: none;
}
.footer-cols { border-bottom: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
    .mega__panel--projects { grid-template-columns: 1fr 1fr; }
    .mega__project { display: none; }
    .step { grid-template-columns: 70px 1fr; }
    .step p { grid-column: 2; }
}

@media (max-width: 1023px) {
    :root { --header-h: 68px; }
    .main-nav, .header-cta, .edge-cta, .mega { display: none; }
    .menu-toggle { display: grid; }
    .brand img { height: 38px; }

    .mobile-cta {
        display: flex; gap: 8px;
        position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85;
        padding: 6px; border-radius: 999px;
        background: rgba(255, 255, 255, .92); border: 1px solid var(--mist);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        box-shadow: var(--shadow-panel);
        transform: translateY(140%); transition: transform .4s var(--ease);
    }
    .mobile-cta.is-visible { transform: none; }
    .mobile-cta__main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; background: var(--ocean-deep); color: #fff; font-weight: 500; }
    .mobile-cta__call { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; }
    .mobile-cta__call svg { width: 20px; height: 20px; }
    body.nav-open .mobile-cta { transform: translateY(140%); }
    .site-footer { padding-bottom: 88px; }

    .split, .craft, .testimonial, .contact-grid, .project-intro, .page-head__grid { grid-template-columns: 1fr; }
    .split--intro .split__media { aspect-ratio: 4 / 3.4; order: -1; }
    .split--why .split__media, .split--process .split__media { min-height: 0; aspect-ratio: 4 / 3; }
    .split--why .split__media { order: -1; }
    .craft__media { min-height: 0; aspect-ratio: 4 / 3; }
    .news-grid, .service-list { grid-template-columns: 1fr 1fr; }
    .regions { grid-template-columns: 1fr; }
    .region-card { min-height: 380px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .testimonial__media { order: -1; }
    .contact-card { position: static; }
    .empty-state { grid-template-columns: 1fr; }
    .empty-state__aside { border-left: 0; border-top: 1px solid rgba(201, 123, 99, .2); }
    .values { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body { font-size: 15.5px; }
    main { padding-top: 4px; }
    .hero__frame { min-height: 78svh; border-radius: 0; }
    .hero__media::after { background: linear-gradient(180deg, rgba(18, 26, 32, .6) 0%, rgba(18, 26, 32, .3) 55%, rgba(18, 26, 32, .55) 100%); }
    .hero__content { padding: 28px 22px; }
    .hero__caption { left: 16px; right: auto; }
    .project-grid, .news-grid, .service-list, .mini-cards, .point-list, .gallery, .project-nav, .form__row { grid-template-columns: 1fr; }
    .gallery__item, .gallery__item--wide { aspect-ratio: 4 / 3; grid-column: auto; }
    .section-head--split, .region-head { flex-direction: column; align-items: flex-start; }
    .final-cta { align-items: flex-end; min-height: 520px; }
    .final-cta__media::after { background: linear-gradient(0deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .8) 45%, rgba(255, 255, 255, 0) 80%); }
    .footer-cols { grid-template-columns: 1fr; gap: 8px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .project-card__cta .pill__label { display: none; }
    .project-card__bar { padding: 12px 10px 12px 18px; }
    .project-hero { aspect-ratio: 4 / 3.4; min-height: 0; }
    .article-hero { aspect-ratio: 4 / 3; }
    .step { grid-template-columns: 1fr; padding: 24px; gap: 12px; }
    .step p { grid-column: auto; }
    .accordion__inner { padding: 0 8px 22px 38px; }
    .lightbox { grid-template-columns: 1fr; }
    .lightbox__nav { position: absolute; bottom: 24px; }
    .lightbox__nav--prev { left: calc(50% - 60px); }
    .lightbox__nav--next { right: calc(50% - 60px); }
    .filters { flex-direction: column; align-items: flex-start; }
    .segmented { max-width: 100%; overflow-x: auto; }
    .project-nav a:last-child { justify-content: flex-start; text-align: left; flex-direction: row-reverse; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Editorial layer: responsive */
@media (max-width: 1023px) {
    .hero__card { display: none; }
    .hero__tags { top: calc(var(--header-h) + 28px); left: clamp(20px, 4vw, 64px); right: auto; justify-content: flex-start; }
    .intro { grid-template-columns: 1fr; align-items: start; }
    .intro__media { aspect-ratio: 4 / 3; }
    .carousel__track { grid-auto-columns: clamp(240px, 44vw, 340px); }
}
@media (max-width: 680px) {
    .hero { padding: 8px 8px 0; }
    .hero__frame { min-height: calc(100svh - 16px); border-radius: 0; }
    .hero__title { font-size: clamp(44px, 13.5vw, 64px); line-height: .98; }
    .hero__tags { display: none; }
    .hero__row { flex-direction: column; align-items: flex-start; }
    .carousel__track { grid-auto-columns: 78vw; }
    .wordmark { font-size: 24vw; }
}

/* Full-bleed, square-edged hero and closing call to action */
.hero { padding: 0; }
.hero__frame { border-radius: 0; min-height: max(640px, 100svh); }
.final-cta-section { margin-top: calc(var(--section) / 2); }
.final-cta { border-radius: 0; min-height: clamp(520px, 72vh, 780px); }
.final-cta__inner { position: relative; z-index: 1; }
.final-cta__body { padding: clamp(56px, 7vw, 96px) 0; }
@media (max-width: 680px) {
    .hero { padding: 0; }
    .hero__frame { border-radius: 0; min-height: 100svh; }
    .final-cta { min-height: 560px; }
    .final-cta__body { padding: 48px 0; }
}
/* Line hero content up with the header and page container */
:root { --edge: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.hero__content { padding-left: var(--edge); padding-right: var(--edge); }
.hero__tags, .hero__card { right: var(--edge); }
@media (max-width: 1023px) {
    .hero__tags { left: var(--edge); right: auto; }
}

/* Photo grade: one calm, consistent look across all project photography.
   Adjust or set to "none" here to change every photo on the site at once. */
:root { --photo-grade: saturate(.82) contrast(.94) brightness(1.03) sepia(.06); }
.hero__media img, .media-rounded img, .pcard__media img, .project-card__media img,
.gallery__item img, .project-hero img, .news-card__media img, .region-card img,
.hero__card-thumb img, .article-hero img, .project-nav img, .service-card__media img,
.lightbox__figure img { filter: var(--photo-grade); }
@media print { :root { --photo-grade: none; } }

/* =========================================================
   Split hero: headline left, project slideshow right
   ========================================================= */
.hero-split { padding-top: clamp(8px, 1.5vw, 20px); }
.hero-split__grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.hero-split__text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 4vw, 56px) 0; }
.hero-split__eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 22px; }
.hero-split__title { font-size: clamp(44px, 5.2vw, 74px); line-height: .98; letter-spacing: -0.05em; font-weight: 600; margin-bottom: 26px; }
.hero-split__title span { display: block; }
.hero-split__lead { font-size: clamp(16px, 1.2vw, 18px); color: var(--text-muted); max-width: 40ch; margin-bottom: 32px; }
.hero-split .btn-row { align-items: center; gap: 20px; }
.hero-split__dots { display: flex; align-items: center; gap: 4px; margin-top: clamp(32px, 4vw, 56px); }
.hero-split__dot { position: relative; font-size: 13px; font-weight: 500; color: var(--gray); padding: 6px 4px; display: inline-flex; align-items: center; gap: 10px; transition: color .25s var(--ease); }
.hero-split__dot::after { content: ""; width: 0; height: 1px; background: var(--ink); transition: width .5s var(--ease); }
.hero-split__dot.is-active { color: var(--ink); }
.hero-split__dot.is-active::after { width: 56px; }
.hero-split__dot + .hero-split__dot { margin-left: 10px; }

.hero-split__media { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: clamp(460px, 74vh, 760px); background: var(--mist); }
.hero-split__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.hero-split__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hero-split__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero-split__slide.is-active img { transform: scale(1); }
.hero-split__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 20, 28, .4) 0%, rgba(12, 20, 28, 0) 34%), linear-gradient(225deg, rgba(12, 20, 28, .32) 0%, rgba(12, 20, 28, 0) 32%); pointer-events: none; }
.hero-split__caption { position: absolute; z-index: 1; left: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 18px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background-color .3s var(--ease); }
.hero-split__caption:hover { background: rgba(255, 255, 255, .28); }
.hero-split__caption > span:first-child { display: flex; flex-direction: column; line-height: 1.25; }
.hero-split__caption strong { font: 600 15px/1.25 var(--font-head); letter-spacing: -.01em; }
.hero-split__caption small { font-size: 12.5px; opacity: .85; }
.hero-split__caption-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); }
.hero-split__caption-icon .i { width: 15px; height: 15px; }
.hero-split__words { position: absolute; z-index: 1; top: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); margin: 0; padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .7); display: flex; flex-direction: column; gap: 4px; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }

.hero-split__features { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(28px, 3.5vw, 48px); padding: clamp(20px, 2.5vw, 28px) 0; border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.hero-split__features li { display: flex; align-items: center; gap: 16px; font: 500 15px/1.35 var(--font-head); color: var(--ink); padding: 4px clamp(12px, 2vw, 32px); }
.hero-split__features li:first-child { padding-left: 0; }
.hero-split__features li + li { border-left: 1px solid var(--mist); }
.hero-split__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--mist); color: var(--ocean-deep); flex: none; }
.hero-split__icon svg { width: 22px; height: 22px; }

@media (max-width: 1023px) {
    .hero-split__grid { grid-template-columns: 1fr; }
    .hero-split__text { padding: 16px 0 8px; }
    .hero-split__media { min-height: 0; aspect-ratio: 4 / 3.4; }
    .hero-split__dots { margin-top: 28px; }
}
@media (max-width: 680px) {
    .hero-split__media { aspect-ratio: 4 / 4.6; }
    .hero-split__features { grid-template-columns: 1fr; gap: 16px; }
    .hero-split__features li { padding: 0; }
    .hero-split__features li + li { border-left: 0; }
    .hero-split__words { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-split__slide img { transform: none; }
}
.hero-split__slide img { filter: var(--photo-grade); }


/* =========================================================
   Service index: list left, photo panel right
   ========================================================= */
.svc-index { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-index__list { counter-reset: none; border-top: 1px solid var(--mist); }
.svc-index__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; align-items: center; gap: 4px 16px; padding: clamp(16px, 1.8vw, 22px) 0; border-bottom: 1px solid var(--mist); }
.svc-index__num { font-size: 13px; font-weight: 500; color: var(--gray); transition: color .3s var(--ease); }
.svc-index__name { font: 600 clamp(26px, 3.2vw, 46px)/1.05 var(--font-head); letter-spacing: -.04em; color: #C9CBCD; transition: color .35s var(--ease), transform .45s var(--ease); }
.svc-index__desc { display: none; grid-column: 2; color: var(--text-muted); font-size: 15px; }
.svc-index__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .35s var(--ease), background-color .3s var(--ease); }
.svc-index__arrow .i { width: 18px; height: 18px; }
.svc-index__item.is-active .svc-index__name { color: var(--ink); transform: translateX(6px); }
.svc-index__item.is-active .svc-index__num { color: var(--terra-ink); }
.svc-index__item.is-active .svc-index__arrow { opacity: 1; transform: none; background: var(--ocean-deep); color: #fff; }
.svc-index__item:focus-visible { outline-offset: -2px; }

.svc-index__panel { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--mist); }
.svc-index__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.svc-index__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.svc-index__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); filter: var(--photo-grade); }
.svc-index__slide.is-active img { transform: scale(1); }
.svc-index__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 20, 28, .72) 0%, rgba(12, 20, 28, .25) 38%, rgba(12, 20, 28, 0) 60%); }
.svc-index__info { position: absolute; z-index: 1; left: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.4vw, 32px); color: #fff; display: flex; flex-direction: column; gap: 10px; }
.svc-index__info-num { font-size: 12px; font-weight: 500; letter-spacing: .16em; opacity: .8; }
.svc-index__info-text { margin: 0; font: 500 clamp(18px, 1.6vw, 22px)/1.35 var(--font-head); letter-spacing: -.015em; max-width: 30ch; }
.svc-index__info-project { font-size: 12.5px; opacity: .75; }

@media (max-width: 1023px) {
    .svc-index { grid-template-columns: 1fr; }
    .svc-index__panel { display: none; }
    .svc-index__name { color: var(--ink); }
    .svc-index__desc { display: block; }
    .svc-index__arrow { opacity: 1; transform: none; border: 1px solid #CFD1D3; grid-row: 1 / span 2; grid-column: 3; }
    .svc-index__item.is-active .svc-index__name { transform: none; }
    .svc-index__item.is-active .svc-index__arrow { background: transparent; color: var(--ink); }
    .svc-index__num { grid-row: 1 / span 2; align-self: start; padding-top: 10px; }
}

/* =========================================================
   Editorial hero (giant headline across a tall photo)
   ========================================================= */
.hx { padding-bottom: clamp(24px, 3vw, 40px); }
.hx__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: clamp(20px, 2.4vw, 32px) 0 0; border-top: 1px dashed #D5D7D9; }
.hx__intro { margin: 0; max-width: 34ch; font: 500 clamp(17px, 1.4vw, 20px)/1.35 var(--font-head); letter-spacing: -.015em; color: var(--text-muted); }
.hx__social { display: flex; gap: 8px; }
.hx__social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--mist); border-radius: 10px; color: var(--ink); transition: all .25s var(--ease); }
.hx__social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hx__social svg { width: 18px; height: 18px; }

.hx__stage { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) minmax(0, .72fr); gap: 0 clamp(16px, 2.2vw, 32px); align-items: end; padding-top: clamp(28px, 4vw, 56px); }
.hx__sub { grid-column: 1; grid-row: 1; align-self: start; margin: 32% 0 0; max-width: 30ch; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
.hx__main-wrap { grid-column: 2; grid-row: 1; }
.hx__labels { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 14px; font: 500 14px/1.3 var(--font-head); color: var(--ink); letter-spacing: -.005em; }
.hx__labels-r { text-align: right; }
.hx__main { position: relative; aspect-ratio: 4 / 4.9; overflow: hidden; background: var(--mist); }
.hx__slide, .hx__peek-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; }
.hx__slide.is-active, .hx__peek-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.hx__slide img, .hx__peek-slide img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hx__slide.is-active img, .hx__peek-slide.is-active img { transform: scale(1); }
.hx__caption { position: absolute; right: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #fff; background: rgba(20, 24, 28, .3); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hx__caption .i { width: 13px; height: 13px; }
.hx__caption:hover { background: rgba(20, 24, 28, .5); }

.hx__side { grid-column: 3; grid-row: 1; align-self: end; }
.hx__nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.hx__count { margin-right: auto; font-size: 13px; font-weight: 500; color: var(--text-muted); letter-spacing: .04em; }
.hx__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #CFD1D3; border-radius: 10px; color: var(--ink); transition: all .25s var(--ease); }
.hx__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hx__peek { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--mist); }

.hx__title { position: absolute; z-index: 3; left: 0; bottom: 6%; margin: 0; pointer-events: none; font: 700 clamp(64px, 11.2vw, 172px)/.86 var(--font-head); letter-spacing: -.06em; color: var(--ink); white-space: nowrap; }
.hx__title span { display: block; }
.hx__title--light { z-index: 4; color: #fff; visibility: hidden; }
.hx__title--light.is-ready { visibility: visible; }

@media (max-width: 1023px) {
    .hx__stage { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
    .hx__sub { margin: 0; order: 2; }
    .hx__title { position: static; order: 1; white-space: normal; font-size: clamp(56px, 14vw, 120px); }
    .hx__title--light { display: none; }
    .hx__main-wrap { order: 3; }
    .hx__side { order: 4; }
    .hx__peek { display: none; }
    .hx__nav { margin: 0; }
}
@media (max-width: 680px) {
    .hx__top { flex-direction: column; }
    .hx__main { aspect-ratio: 4 / 4.6; }
}

/* =========================================================
   About statement (editorial)
   ========================================================= */
.statement { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 24px clamp(32px, 6vw, 96px); }
.statement__label { grid-column: 1 / -1; margin: 0; font-size: 15px; color: var(--text-muted); }
.statement__text { margin: 0; font: 600 clamp(28px, 3.3vw, 48px)/1.12 var(--font-head); letter-spacing: -.035em; color: var(--ink); max-width: 24ch; }
.statement__img { width: 220px; aspect-ratio: 4 / 3.4; overflow: hidden; align-self: start; }
.statement__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.statement__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: clamp(24px, 4vw, 56px); }
.statement__note { margin: 0; color: var(--text-muted); font-size: 15px; }
.statement__more { max-width: 36ch; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.statement__more p { margin: 0; color: var(--text-muted); font-size: 14.5px; }
@media (max-width: 760px) {
    .statement { grid-template-columns: 1fr; }
    .statement__img { width: 100%; }
    .statement__foot { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   Line drawings
   ========================================================= */
.linework { display: block; width: 100%; height: auto; overflow: visible; }
.lw-face { fill: #fff; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.lw-d { stroke: var(--ink); stroke-width: .9; }
.lw-h { stroke: var(--ink); stroke-width: .55; opacity: .85; }
.lw-guides line { stroke: var(--gray); stroke-width: .8; stroke-dasharray: 4 5; }
.p-wall { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.p-thin { fill: none; stroke: var(--ink); stroke-width: .8; }
.p-hair { fill: none; stroke: var(--ink); stroke-width: .45; opacity: .7; }
.p-glass { stroke: var(--ocean); stroke-width: 1.2; }
.p-dim { stroke: var(--gray); stroke-width: .7; }
.p-north, .p-scale { fill: var(--ink); stroke: var(--ink); stroke-width: .8; }
.p-text { font: 500 11px var(--font-body); fill: var(--text-muted); }
.p-label { font: 600 10px var(--font-body); letter-spacing: .16em; fill: var(--ink); }
/* Draw-on animation when the drawing scrolls into view */
.js .draw .lw-face, .js .draw .lw-d, .js .draw .lw-h,
.js .draw .p-wall, .js .draw .p-thin, .js .draw .p-hair, .js .draw .p-glass, .js .draw .p-dim {
    stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease);
}
.js .draw .lw-face { fill-opacity: 0; transition: stroke-dashoffset 2.4s var(--ease), fill-opacity .8s var(--ease) .2s; }
.js .draw .p-text, .js .draw .p-label, .js .draw .p-north, .js .draw .p-scale, .js .draw .lw-guides { opacity: 0; transition: opacity 1s var(--ease) 1.4s; }
.js .draw.is-visible .lw-face, .js .draw.is-visible .lw-d, .js .draw.is-visible .lw-h,
.js .draw.is-visible .p-wall, .js .draw.is-visible .p-thin, .js .draw.is-visible .p-hair, .js .draw.is-visible .p-glass, .js .draw.is-visible .p-dim { stroke-dashoffset: 0; }
.js .draw.is-visible .lw-face { fill-opacity: 1; }
.js .draw.is-visible .p-text, .js .draw.is-visible .p-label, .js .draw.is-visible .p-north, .js .draw.is-visible .p-scale, .js .draw.is-visible .lw-guides { opacity: 1; }
.js .draw.is-visible .p-hair, .js .draw.is-visible .lw-h { opacity: .8; }
@media (prefers-reduced-motion: reduce) {
    .js .draw * { stroke-dashoffset: 0 !important; fill-opacity: 1 !important; opacity: 1 !important; transition: none !important; }
}

/* Process section with the exploded drawing */
.drawing-panel { position: relative; background: var(--canvas); padding: clamp(20px, 3vw, 48px); display: flex; align-items: center; justify-content: center; }
.drawing-panel .linework { max-width: 520px; }
.drawing-panel__caption { position: absolute; left: clamp(16px, 2vw, 24px); bottom: clamp(14px, 1.6vw, 20px); margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.drawing-panel__caption--r { left: auto; right: clamp(16px, 2vw, 24px); }

.drawing-band { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.drawing-band .drawing-panel { min-height: clamp(320px, 38vw, 520px); }
.drawing-band .linework--plan { max-width: 680px; }
.contact-card__drawing { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(201, 123, 99, .25); }
.contact-card__drawing .linework { max-width: 420px; }
.contact-card__drawing .lw-face { fill: var(--vanilla); }
.not-found__drawing { max-width: 280px; margin: 0 auto 24px; }
@media (max-width: 760px) {
    .drawing-band { grid-template-columns: 1fr; }
}

/* =========================================================
   Editorial edition: AD-style serif display type, kickers,
   thin rules, quieter navigation
   ========================================================= */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
:root { --font-display: "Instrument Serif", "Times New Roman", serif; }

/* Display serif for page-level headings */
h1, h2, .h2, .page-head h1, .project-intro h1, .article-head h1,
.final-cta__title, .footer-card__title, .not-found h1, .why-panel .h2, .craft__panel .h2 {
    font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em;
}
.h2 { font-size: clamp(38px, 4.6vw, 68px); line-height: 1; }
.page-head h1 { font-size: clamp(48px, 6.4vw, 96px); line-height: .96; letter-spacing: -0.02em; }
.project-intro h1, .article-head h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; }
.final-cta__title { font-size: clamp(44px, 5.4vw, 80px); line-height: .98; }
.final-cta__title em, h1 em, h2 em, .ad-title em { font-style: italic; }
.footer-card__title { font-size: clamp(40px, 4vw, 60px); }

/* Kicker labels instead of pill tags */
.eyebrow {
    display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: none; border-radius: 0;
    font: 600 11px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.eyebrow::before { width: 28px; height: 1px; border-radius: 0; background: var(--ink); }
.section-head--center .eyebrow { justify-content: center; }
.ad-kicker { margin: 0 0 12px; font: 600 11px/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); }

/* Quieter, magazine-style navigation */
.main-nav__list { background: none; border: 0; padding: 0; gap: 4px; }
.main-nav__link { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding: 0 12px; height: 32px; border-radius: 0; }
.main-nav__link:hover, .main-nav__trigger[aria-expanded="true"] { background: none; color: var(--ocean-deep); }
.main-nav__link[aria-current="page"], .main-nav__link.is-current { background: none; box-shadow: none; color: var(--ink); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.header-cta .pill__label, .header-cta .pill__icon { background: var(--ink); }
.header-cta:hover .pill__icon { background: var(--ocean-deep); }

/* Section header: kicker, big serif title, link on the right, thin rule */
.ad-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 32px; padding-bottom: clamp(20px, 2.4vw, 28px); margin-bottom: clamp(28px, 3.6vw, 48px); border-bottom: 1px solid var(--ink); }
.ad-head .ad-kicker { grid-column: 1 / -1; margin: 0; }
.ad-title { margin: 0; font: 400 clamp(42px, 5.4vw, 84px)/.98 var(--font-display); letter-spacing: -0.02em; color: var(--ink); max-width: 16ch; }
.ad-more { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding-bottom: 6px; white-space: nowrap; }
.ad-more .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ad-more:hover .i { transform: translateX(4px); }
.ad-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--ink); }
.ad-link .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ad-link:hover { color: var(--ocean-deep); border-color: var(--ocean-deep); }
.ad-link:hover .i { transform: translateX(4px); }

/* The portfolio: lead story plus three */
.ad-lead { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.ad-lead__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist); }
.ad-lead__media img, .ad-story__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transition: transform 1.2s var(--ease); }
.ad-lead:hover .ad-lead__media img, .ad-story:hover .ad-story__media img { transform: scale(1.025); }
.ad-lead__body { padding-bottom: 8px; }
.ad-lead__title { margin: 0 0 18px; font: 400 clamp(40px, 4.4vw, 68px)/.98 var(--font-display); letter-spacing: -0.02em; }
.ad-dek { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0 0 28px; max-width: 38ch; }
.ad-stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--mist); }
.ad-story__media { display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--mist); margin-bottom: 18px; }
.ad-story__title { margin: 0; font: 400 clamp(26px, 2.3vw, 34px)/1.05 var(--font-display); letter-spacing: -0.01em; }
.ad-story__title a:hover, .ad-lead__title a:hover { color: var(--ocean-deep); }

/* Pull quote */
.ad-quote { background: var(--vanilla); margin: calc(var(--section) / 2) 0; padding: var(--section) 0; }
.ad-quote__inner { margin: 0 auto; max-width: 1060px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.ad-quote blockquote { margin: 0; }
.ad-quote blockquote p { margin: 0; font: 400 clamp(34px, 4.4vw, 66px)/1.08 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.ad-quote blockquote p::before { content: "“"; }
.ad-quote blockquote p::after { content: "”"; }
.ad-quote figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); }
.ad-quote figcaption span:first-child { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }

/* Hero: serif headline, quieter details */
.hero-split__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(56px, 6.6vw, 104px); line-height: .94; letter-spacing: -0.025em; }
.hero-split__title em { display: block; font-style: italic; }
.hero-split__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.hero-split__eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--ink); }
.hero-split { padding-bottom: clamp(24px, 3vw, 40px); }

/* Service index in the display serif */
.svc-index__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 60px); letter-spacing: -0.015em; line-height: 1; }
.svc-index__item.is-active .svc-index__name { font-style: italic; }

@media (max-width: 1023px) {
    .ad-lead { grid-template-columns: 1fr; }
    .ad-stories { grid-template-columns: 1fr 1fr; }
    .main-nav__link { letter-spacing: .1em; }
}
@media (max-width: 680px) {
    .ad-head { grid-template-columns: 1fr; }
    .ad-stories { grid-template-columns: 1fr; }
    .ad-quote__inner { text-align: left; align-items: flex-start; }
}

/* Footer: no repeated call to action, just a clean ruled index and the wordmark */
.site-footer { padding-top: 0; }
.footer-card { background: none; padding: clamp(40px, 5vw, 64px) 0 28px; border-top: 1px solid var(--ink); }
.footer-cols { border-top: 0; padding-top: 0; }

/* =========================================================
   STUDIO EDITION (current design)
   Clean modern sans, full-photo hero with a giant wordmark,
   floating glass navigation bar, dark footer.
   Later rules here override the earlier experiments above.
   ========================================================= */
:root { --st-ink: #23262B; --st-radius: 8px; }

/* Type: back to one modern sans */
h1, h2, .h2, .page-head h1, .project-intro h1, .article-head h1,
.final-cta__title, .footer-card__title, .not-found h1, .why-panel .h2, .craft__panel .h2, .ad-title {
    font-family: var(--font-head); font-weight: 500; letter-spacing: -0.035em;
}
.h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; }
.page-head h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; }
.project-intro h1, .article-head h1 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.05; }
.final-cta__title { font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.final-cta__title em, h1 em, h2 em { font-style: normal; }
.svc-index__name { font-family: var(--font-head); font-weight: 500; letter-spacing: -.035em; font-size: clamp(26px, 3vw, 44px); }
.svc-index__item.is-active .svc-index__name { font-style: normal; }
.hero-split__title { font-family: var(--font-head); font-weight: 600; letter-spacing: -.045em; }
.hero-split__title em { font-style: normal; }
.eyebrow { letter-spacing: 0; text-transform: none; font-size: 13px; font-weight: 500; }
.eyebrow::before { display: none; }

/* Floating navigation bar (all pages) */
.site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 14px; }
.site-header__inner {
    max-width: 1040px; height: 58px; margin: 0 auto; padding: 0 8px 0 18px;
    background: rgba(247, 247, 246, .88); border: 1px solid var(--mist); border-radius: 12px;
    backdrop-filter: saturate(150%) blur(16px); -webkit-backdrop-filter: saturate(150%) blur(16px);
}
.brand img { height: 30px; }
.main-nav__list { background: none; border: 0; padding: 0; gap: 2px; }
.main-nav__link { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--st-ink); }
.main-nav__link:hover, .main-nav__trigger[aria-expanded="true"] { background: rgba(0, 0, 0, .05); color: var(--st-ink); }
.main-nav__link[aria-current="page"], .main-nav__link.is-current { background: rgba(0, 0, 0, .06); text-decoration: none; box-shadow: none; }
.header-cta { gap: 0; }
.header-cta .pill__label { height: 40px; border-radius: var(--st-radius) 0 0 var(--st-radius); background: var(--st-ink); font-size: 13.5px; padding: 0 14px; }
.header-cta .pill__icon { width: 40px; height: 40px; border-radius: 0 var(--st-radius) var(--st-radius) 0; background: var(--ocean); }
.mega { padding-top: 10px; }
.mega__panel { max-width: 1040px; margin: 0 auto; border-radius: 14px; }
main { padding-top: 0; }
body:not(.has-overlay-header) main { padding-top: 8px; }

/* Glass version over the hero photo */
.has-overlay-header .site-header__inner { height: 58px; padding-top: 0; }
.has-overlay-header .site-header:not(.is-solid) .site-header__inner { background: rgba(30, 36, 44, .32); border-color: rgba(255, 255, 255, .22); }
.has-overlay-header .site-header:not(.is-solid) .main-nav__list { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-overlay-header .site-header:not(.is-solid) .main-nav__link { color: #fff; }
.has-overlay-header .site-header:not(.is-solid) .main-nav__link:hover { background: rgba(255, 255, 255, .14); }
.has-overlay-header .site-header.is-solid { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Studio button: dark label + blue arrow square */
.st-btn { display: inline-flex; align-items: stretch; border-radius: var(--st-radius); overflow: hidden; white-space: nowrap; }
.st-btn__label { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; background: var(--st-ink); color: #fff; font-size: 14px; font-weight: 500; transition: background-color .25s var(--ease); }
.st-btn__icon { display: grid; place-items: center; width: 44px; background: var(--ocean); color: #fff; transition: background-color .25s var(--ease); }
.st-btn__icon .i { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.st-btn:hover .st-btn__label { background: #000; }
.st-btn:hover .st-btn__icon { background: var(--ocean-deep); }
.st-btn:hover .st-btn__icon .i { transform: translate(2px, -2px); }
.st-btn--light .st-btn__label { background: #fff; color: var(--st-ink); }
.st-sq { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 6px; background: var(--ocean); color: #fff; flex: none; transition: background-color .25s var(--ease); }
.st-sq .i { width: 16px; height: 16px; }
.st-round { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ocean); color: #fff; }
.st-round .i { width: 16px; height: 16px; }

/* Section rhythm */
.st-section { padding: clamp(72px, 9vw, 128px) 0 0; }
.st-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 500; color: var(--text-muted); }
.st-title { margin: 0; font: 500 clamp(30px, 3.4vw, 48px)/1.1 var(--font-head); letter-spacing: -0.035em; color: var(--st-ink); }
.st-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(32px, 7vw, 120px); align-items: start; margin-bottom: clamp(32px, 4vw, 56px); }
.st-head .st-title { max-width: 18ch; }
.st-head__side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 30px; }
.st-head__side p { margin: 0; color: var(--text-muted); font-size: 15.5px; max-width: 44ch; }
.st-center { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); }
.st-center .st-title { max-width: 20ch; margin: 0 auto; }

/* 1. Hero */
.st-hero { position: relative; min-height: max(680px, 100svh); display: flex; align-items: stretch; color: #fff; overflow: hidden; background: #1d2a33; }
.st-hero__media { position: absolute; inset: 0; }
.st-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.st-hero__media::after { content: ""; position: absolute; inset: 0; background:
    linear-gradient(180deg, rgba(14, 22, 30, .55) 0%, rgba(14, 22, 30, .12) 38%, rgba(14, 22, 30, 0) 55%, rgba(14, 22, 30, .55) 100%),
    linear-gradient(90deg, rgba(14, 22, 30, .45) 0%, rgba(14, 22, 30, 0) 45%); }
.st-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(24px, 3vw, 40px); }
.st-hero__labels { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .9); }
.st-hero__labels p { margin: 0; }
.st-hero__labels-mid { text-align: center; }
.st-hero__labels-end { text-align: right; }
.st-hero__word { margin: 4px 0 0 -0.05em; font: 500 clamp(88px, 17.5vw, 270px)/.86 var(--font-head); letter-spacing: -0.065em; color: #fff; white-space: nowrap; }
.st-hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 20px; max-width: 360px; }
.st-hero__intro p { margin: 0; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .9); }
.st-hero__cards { margin-top: auto; padding-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.st-glass { background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: 10px; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); }
.st-hero__cards li { display: flex; flex-direction: column; gap: 22px; padding: 18px 18px 16px; min-height: 140px; justify-content: space-between; }
.st-hero__cards strong { font: 500 clamp(26px, 2.4vw, 36px)/1 var(--font-head); letter-spacing: -.03em; }
.st-hero__cards span { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .85); max-width: 22ch; }
.st-hero__credit { position: absolute; z-index: 1; right: var(--edge, 24px); top: calc(var(--header-h) + 64px); display: none; }

/* 2. About wide image */
.st-wide { aspect-ratio: 16 / 8; overflow: hidden; border-radius: 4px; background: var(--mist); }
.st-wide img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }

/* 3. Project carousel */
.st-carousel__nav { display: flex; justify-content: space-between; margin-bottom: 24px; }
.st-carousel__btn { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--st-ink); }
.st-carousel__btn:disabled { opacity: .35; pointer-events: none; }
.st-carousel__btn:hover .st-round { background: var(--ocean-deep); }
.st-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; }
.st-carousel__track::-webkit-scrollbar { display: none; }
.st-card { scroll-snap-align: start; }
.st-card__media { position: relative; display: block; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 4px; background: var(--mist); }
.st-card__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transition: transform 1s var(--ease); }
.st-card:hover .st-card__media img { transform: scale(1.03); }
.st-card__view { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%); display: inline-flex; align-items: center; gap: 10px; padding: 5px 5px 5px 14px; border-radius: 8px; background: rgba(255, 255, 255, .9); color: var(--st-ink); font-size: 13px; font-weight: 500; opacity: 0; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.st-card__view .st-sq { width: 30px; height: 30px; }
.st-card:hover .st-card__view, .st-card__media:focus-visible .st-card__view { opacity: 1; transform: translate(-50%, -50%); }
.st-card__title { margin: 16px 0 6px; font: 500 17px/1.3 var(--font-head); letter-spacing: -.02em; }
.st-card__text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 4. Services with line drawing */
.st-services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.st-services__drawing .linework { max-width: 520px; margin: 0 auto; }
.st-services__list { border-top: 1px solid #D5D7D9; }
.st-service { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; padding: 18px 0 20px; border-bottom: 1px solid #D5D7D9; }
.st-service__num { grid-column: 1 / -1; font-size: 13px; color: var(--text-muted); }
.st-service__name { font: 500 clamp(22px, 2.2vw, 30px)/1.1 var(--font-head); letter-spacing: -.03em; color: var(--st-ink); transition: color .25s var(--ease), transform .35s var(--ease); }
.st-service:hover .st-service__name { color: var(--ocean-deep); transform: translateX(6px); }
.st-service:hover .st-sq { background: var(--ocean-deep); }

/* 5. Gallery (masonry) */
.st-gallery { columns: 3; column-gap: 16px; }
.st-gallery__item { position: relative; display: block; margin-bottom: 16px; break-inside: avoid; overflow: hidden; border-radius: 4px; background: var(--mist); }
.st-gallery__item img { width: 100%; height: auto; filter: var(--photo-grade); transition: transform 1s var(--ease); }
.st-gallery__item img { aspect-ratio: 4 / 5; object-fit: cover; }
.st-gallery__item:nth-child(1) img, .st-gallery__item:nth-child(4) img, .st-gallery__item:nth-child(5) img { aspect-ratio: 4 / 3.1; }
.st-gallery__item:hover img { transform: scale(1.03); }
.st-gallery__label { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: var(--st-ink); font-size: 12.5px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: all .3s var(--ease); }
.st-gallery__item:hover .st-gallery__label, .st-gallery__item:focus-visible .st-gallery__label { opacity: 1; transform: none; }
.st-gallery__cta { margin-top: 28px; margin-bottom: 0; }

/* 6. Sky band call to action */
.st-cta { margin-top: clamp(72px, 9vw, 128px); background: linear-gradient(180deg, #CFE8F6 0%, #EAF5FB 55%, #FFFFFF 100%); overflow: hidden; }
.st-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.st-cta__media { align-self: end; aspect-ratio: 4 / 4.2; margin-top: clamp(48px, 6vw, 80px); overflow: hidden; border-radius: 4px 4px 0 0; }
.st-cta__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.st-cta__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 48px 0; }
.st-cta__body .st-title { font-size: clamp(34px, 3.8vw, 54px); max-width: 14ch; }
.st-cta__body p { margin: 0; color: var(--text); max-width: 40ch; }

/* Dark footer (all pages) */
.site-footer { background: #17191C; color: rgba(255, 255, 255, .72); padding: clamp(48px, 6vw, 80px) 0 28px; margin-top: 0; }
.footer-card { border-top: 0; padding: 0; background: none; }
.footer-follow { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer-follow p { margin: 0; color: #fff; font-size: 15px; font-weight: 500; }
.site-footer .socials a { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.site-footer .socials a:hover { background: #fff; color: #17191C; }
.footer-cols { padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-cols__head { color: rgba(255, 255, 255, .45); }
.footer-cols a, .footer-cols address { color: rgba(255, 255, 255, .82); }
.footer-cols a:hover { color: #fff; }
.footer-license { color: rgba(255, 255, 255, .45); }
.wordmark { background: linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .02) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .socials { display: none; }
.final-cta-section { margin-bottom: 0; }

/* Studio: responsive */
@media (max-width: 1023px) {
    .site-header { padding: 10px 12px 0; }
    .site-header__inner { padding: 0 6px 0 14px; }
    .st-hero__cards { grid-template-columns: 1fr 1fr; }
    .st-head, .st-services, .st-cta__inner { grid-template-columns: 1fr; }
    .st-head__side { padding-top: 0; }
    .st-carousel__track { grid-auto-columns: 46%; }
    .st-gallery { columns: 2; }
    .st-cta__media { order: 2; margin-top: 0; }
    .mobile-nav { top: calc(var(--header-h) + 10px); }
}
@media (max-width: 680px) {
    .st-hero { min-height: 100svh; }
    .st-hero__labels { grid-template-columns: 1fr; gap: 4px; }
    .st-hero__labels-mid { display: none; }
    .st-hero__labels-end { text-align: left; }
    .st-hero__word { font-size: 26vw; margin-top: 18px; }
    .st-hero__cards { grid-template-columns: 1fr 1fr; gap: 8px; }
    .st-hero__cards li { min-height: 112px; padding: 14px; gap: 12px; }
    .st-hero__cards strong { font-size: 22px; }
    .st-carousel__track { grid-auto-columns: 82%; }
    .st-gallery { columns: 2; column-gap: 8px; }
    .st-gallery__item { margin-bottom: 8px; }
    .st-wide { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Right-edge "Start a project" tab, refined
   ========================================================= */
.edge-cta { right: 0; top: 50%; transform: translate(calc(100% + 4px), -50%); transition: transform .5s var(--ease); }
.edge-cta.is-shown, .edge-cta.is-open, .edge-cta:focus-within { transform: translate(0, -50%); }
.edge-cta__tab {
    writing-mode: horizontal-tb; transform: none;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    width: 46px; padding: 8px 0 18px; border-radius: 10px 0 0 10px;
    background: var(--st-ink); color: #fff; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .45);
    font: 500 12px/1 var(--font-body); letter-spacing: .08em; text-transform: none;
    transition: background-color .25s var(--ease), width .3s var(--ease), opacity .25s var(--ease);
}
.edge-cta__tab:hover { background: #000; width: 50px; padding-right: 0; }
.edge-cta__tab-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--ocean); color: #fff; }
.edge-cta__tab-icon .i { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.edge-cta__tab:hover .edge-cta__tab-icon .i { transform: translate(1px, -1px) rotate(-45deg); }
.edge-cta__tab-text { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.edge-cta.is-open .edge-cta__tab { opacity: 0; pointer-events: none; }

.edge-cta__panel {
    right: 12px; width: 368px; padding: 0; overflow: hidden;
    background: #fff; border: 1px solid var(--mist); border-radius: 14px;
    box-shadow: 0 30px 80px -24px rgba(20, 24, 28, .4), 0 2px 8px rgba(20, 24, 28, .06);
    transform: translate(24px, -50%) scale(.98); transform-origin: right center;
}
.edge-cta__panel::before { display: none; }
.edge-cta.is-open .edge-cta__panel { transform: translate(0, -50%) scale(1); }
.edge-cta__photo { position: relative; height: 128px; overflow: hidden; background: var(--mist); }
.edge-cta__photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); transform: scale(1.06); transition: transform 1.2s var(--ease); }
.edge-cta.is-open .edge-cta__photo img { transform: scale(1); }
.edge-cta__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 22, 30, .5), rgba(14, 22, 30, 0) 60%); }
.edge-cta__badge { position: absolute; z-index: 1; left: 18px; bottom: 12px; color: #fff; font: 600 13px/1 var(--font-head); letter-spacing: -.01em; }
.edge-cta__close { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #fff; background: rgba(20, 24, 28, .35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .2s var(--ease); }
.edge-cta__close svg { width: 16px; height: 16px; }
.edge-cta__close:hover { background: rgba(20, 24, 28, .65); }
.edge-cta__body { padding: 20px 22px 18px; display: flex; flex-direction: column; align-items: flex-start; }
.edge-cta__kicker { margin: 0 0 6px; font-size: 12.5px; font-weight: 500; color: var(--text-muted); }
.edge-cta__title { margin: 0 0 18px; font: 500 22px/1.2 var(--font-head); letter-spacing: -.03em; color: var(--st-ink); }
.edge-cta__label { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--st-ink); }
.edge-cta__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.edge-cta__chips a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--mist); border-radius: 8px; font-size: 13px; color: var(--st-ink); transition: all .2s var(--ease); }
.edge-cta__chips a:hover, .edge-cta__chips a:focus-visible { border-color: var(--ocean); background: var(--ocean-tint); color: var(--ocean-ink); }
.edge-cta__body .st-btn { width: 100%; }
.edge-cta__body .st-btn__label { flex: 1; }
.edge-cta__links { width: 100%; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--mist); display: grid; gap: 2px; }
.edge-cta__links a { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--st-ink); }
.edge-cta__links a > span:last-child { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.edge-cta__links small { font-size: 11.5px; font-weight: 500; color: var(--text-muted); }
.edge-cta__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--canvas); color: var(--ocean-deep); flex: none; transition: all .2s var(--ease); }
.edge-cta__links svg { width: 18px; height: 18px; color: currentColor; }
.edge-cta__links a:hover .edge-cta__ico { background: var(--ocean); color: #fff; }
@media (prefers-reduced-motion: reduce) {
    .edge-cta, .edge-cta__panel { transition: none; }
}

/* Hero cards, refined */
.st-hero__cards { gap: 14px; }
.st-hero__cards > li { min-height: 0; padding: 0; display: block; }
.st-hcard {
    position: relative; display: flex; flex-direction: column; height: 100%; min-height: 188px; padding: 16px 18px 16px; color: #fff;
    background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
    border: 1px solid rgba(255, 255, 255, .26); border-radius: 12px; overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 20px 40px -24px rgba(0, 0, 0, .45);
    transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease);
}
.st-hcard::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; background: var(--ocean); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.st-hcard:hover { background-color: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); transform: translateY(-4px); }
.st-hcard:hover::after, .st-hcard:focus-visible::after { transform: scaleX(1); }
.st-hcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.st-hcard__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .2); }
.st-hcard__icon svg { width: 18px; height: 18px; }
.st-hcard__num { font-size: 12px; font-weight: 500; letter-spacing: .08em; color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }
.st-hcard__title { font: 500 clamp(24px, 2.1vw, 32px)/1.05 var(--font-head); letter-spacing: -.035em; margin-bottom: 8px; }
.st-hcard__title small { font-size: .55em; font-weight: 500; letter-spacing: -.01em; color: rgba(255, 255, 255, .75); }
.st-hcard__text { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .82); max-width: 28ch; }
.st-hcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 12.5px; font-weight: 500; color: #fff; opacity: .75; transition: opacity .3s var(--ease); }
.st-hcard__more .i { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.st-hcard:hover .st-hcard__more { opacity: 1; }
.st-hcard:hover .st-hcard__more .i { transform: translateX(4px); }
.st-hcard__live { position: relative; width: 8px; height: 8px; margin-left: 4px; border-radius: 50%; background: var(--ocean); box-shadow: 0 0 0 4px rgba(35, 170, 225, .25); }
.st-hcard__split { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .82); }
.st-hcard__split span { display: flex; justify-content: space-between; gap: 12px; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, .16); }
.st-hcard__split b { order: 2; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.st-hcard--stat { background: linear-gradient(160deg, rgba(35, 170, 225, .32), rgba(35, 170, 225, .1)); border-color: rgba(120, 205, 240, .45); }
@media (max-width: 680px) {
    .st-hcard { min-height: 150px; padding: 14px; }
    .st-hcard__text, .st-hcard__more { display: none; }
    .st-hcard__top { margin-bottom: 12px; }
    .st-hcard__split { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .st-hcard:hover { transform: none; } }
.st-hero__cards .st-hcard__top, .st-hero__cards .st-hcard__split, .st-hero__cards .st-hcard__split span { max-width: none; }
.st-hero__cards .st-hcard__text { max-width: 30ch; }

/* Closing call to action, rearranged: text in the page grid, photo bleeding to the right edge */
.st-cta { margin-top: clamp(72px, 9vw, 128px); background: var(--canvas); overflow: hidden; }
.st-cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(520px, 62vh, 680px); }
.st-cta__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0;
    padding: clamp(56px, 7vw, 96px) clamp(32px, 5vw, 80px) clamp(56px, 7vw, 96px) var(--edge, var(--gutter)); }
.st-cta__body .st-kicker { display: flex; align-items: center; gap: 10px; color: var(--ocean-deep); }
.st-cta__body .st-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ocean); }
.st-cta__title { margin: 0 0 20px; font: 500 clamp(38px, 4.4vw, 64px)/1.02 var(--font-head); letter-spacing: -0.045em; color: var(--st-ink); max-width: 13ch; }
.st-cta__lead { margin: 0 0 32px; color: var(--text-muted); font-size: 16.5px; max-width: 40ch; }
.st-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.st-cta__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--st-ink); padding-bottom: 2px; border-bottom: 1px solid currentColor; }
.st-cta__link .i { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.st-cta__link:hover .i { transform: translateX(3px); }
.st-cta__contact { display: grid; grid-template-columns: repeat(3, auto); gap: 16px 32px; margin: clamp(40px, 5vw, 64px) 0 0; padding-top: 24px; border-top: 1px solid var(--mist); width: 100%; }
.st-cta__contact dt { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-bottom: 6px; }
.st-cta__contact dd { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--st-ink); }
.st-cta__contact a:hover { color: var(--ocean-deep); }
.st-cta__media { position: relative; min-height: 420px; overflow: hidden; background: var(--mist); }
.st-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.st-cta__caption { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 10px; color: #fff; }
.st-cta__caption > span:first-child { display: flex; flex-direction: column; line-height: 1.3; }
.st-cta__caption strong { font-size: 14px; font-weight: 500; }
.st-cta__caption small { font-size: 12px; opacity: .85; }
.st-cta__caption:hover .st-sq { background: var(--ocean-deep); }
@media (max-width: 1023px) {
    .st-cta__grid { grid-template-columns: 1fr; }
    .st-cta__body { padding: 56px var(--gutter); }
    .st-cta__media { min-height: 0; aspect-ratio: 4 / 3; }
    .st-cta__contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .st-cta__contact { grid-template-columns: 1fr; }
}

/* Closing call to action: full-width photo, title and subtext only */
.st-cta--full { position: relative; display: flex; align-items: center; min-height: clamp(520px, 78vh, 820px); background: #1d2a33; color: #fff; }
.st-cta__bg { position: absolute; inset: 0; }
.st-cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.st-cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 30, .68) 0%, rgba(14, 22, 30, .35) 45%, rgba(14, 22, 30, .05) 75%); }
.st-cta__content { position: relative; z-index: 1; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.st-cta--full .st-cta__title { color: #fff; font-size: clamp(42px, 5.4vw, 80px); max-width: 12ch; margin: 0 0 22px; }
.st-cta--full .st-cta__lead { color: rgba(255, 255, 255, .88); font-size: 17px; max-width: 40ch; margin: 0 0 32px; }
@media (max-width: 680px) {
    .st-cta--full { min-height: 560px; align-items: flex-end; }
    .st-cta__bg::after { background: linear-gradient(0deg, rgba(14, 22, 30, .8) 0%, rgba(14, 22, 30, .3) 60%, rgba(14, 22, 30, .1) 100%); }
}

/* =========================================================
   Wave motif from the logo
   ========================================================= */
:root { --wave-sm: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2014%22%3E%3Cpolyline%20points%3D%220.00%2C3.20%200.50%2C3.61%201.00%2C4.00%201.50%2C4.33%202.00%2C4.59%202.50%2C4.75%203.00%2C4.80%203.50%2C4.75%204.00%2C4.59%204.50%2C4.33%205.00%2C4.00%205.50%2C3.61%206.00%2C3.20%206.50%2C2.79%207.00%2C2.40%207.50%2C2.07%208.00%2C1.81%208.50%2C1.65%209.00%2C1.60%209.50%2C1.65%2010.00%2C1.81%2010.50%2C2.07%2011.00%2C2.40%2011.50%2C2.79%2012.00%2C3.20%2012.50%2C3.61%2013.00%2C4.00%2013.50%2C4.33%2014.00%2C4.59%2014.50%2C4.75%2015.00%2C4.80%2015.50%2C4.75%2016.00%2C4.59%2016.50%2C4.33%2017.00%2C4.00%2017.50%2C3.61%2018.00%2C3.20%2018.50%2C2.79%2019.00%2C2.40%2019.50%2C2.07%2020.00%2C1.81%2020.50%2C1.65%2021.00%2C1.60%2021.50%2C1.65%2022.00%2C1.81%2022.50%2C2.07%2023.00%2C2.40%2023.50%2C2.79%2024.00%2C3.20%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3Cpolyline%20points%3D%220.00%2C7.40%200.50%2C7.81%201.00%2C8.20%201.50%2C8.53%202.00%2C8.79%202.50%2C8.95%203.00%2C9.00%203.50%2C8.95%204.00%2C8.79%204.50%2C8.53%205.00%2C8.20%205.50%2C7.81%206.00%2C7.40%206.50%2C6.99%207.00%2C6.60%207.50%2C6.27%208.00%2C6.01%208.50%2C5.85%209.00%2C5.80%209.50%2C5.85%2010.00%2C6.01%2010.50%2C6.27%2011.00%2C6.60%2011.50%2C6.99%2012.00%2C7.40%2012.50%2C7.81%2013.00%2C8.20%2013.50%2C8.53%2014.00%2C8.79%2014.50%2C8.95%2015.00%2C9.00%2015.50%2C8.95%2016.00%2C8.79%2016.50%2C8.53%2017.00%2C8.20%2017.50%2C7.81%2018.00%2C7.40%2018.50%2C6.99%2019.00%2C6.60%2019.50%2C6.27%2020.00%2C6.01%2020.50%2C5.85%2021.00%2C5.80%2021.50%2C5.85%2022.00%2C6.01%2022.50%2C6.27%2023.00%2C6.60%2023.50%2C6.99%2024.00%2C7.40%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3Cpolyline%20points%3D%220.00%2C11.60%200.50%2C12.01%201.00%2C12.40%201.50%2C12.73%202.00%2C12.99%202.50%2C13.15%203.00%2C13.20%203.50%2C13.15%204.00%2C12.99%204.50%2C12.73%205.00%2C12.40%205.50%2C12.01%206.00%2C11.60%206.50%2C11.19%207.00%2C10.80%207.50%2C10.47%208.00%2C10.21%208.50%2C10.05%209.00%2C10.00%209.50%2C10.05%2010.00%2C10.21%2010.50%2C10.47%2011.00%2C10.80%2011.50%2C11.19%2012.00%2C11.60%2012.50%2C12.01%2013.00%2C12.40%2013.50%2C12.73%2014.00%2C12.99%2014.50%2C13.15%2015.00%2C13.20%2015.50%2C13.15%2016.00%2C12.99%2016.50%2C12.73%2017.00%2C12.40%2017.50%2C12.01%2018.00%2C11.60%2018.50%2C11.19%2019.00%2C10.80%2019.50%2C10.47%2020.00%2C10.21%2020.50%2C10.05%2021.00%2C10.00%2021.50%2C10.05%2022.00%2C10.21%2022.50%2C10.47%2023.00%2C10.80%2023.50%2C11.19%2024.00%2C11.60%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E"); --wave-band: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20120%2026%22%3E%3Cpolyline%20points%3D%220.00%2C5.40%202.50%2C6.23%205.00%2C7.00%207.50%2C7.66%2010.00%2C8.17%2012.50%2C8.49%2015.00%2C8.60%2017.50%2C8.49%2020.00%2C8.17%2022.50%2C7.66%2025.00%2C7.00%2027.50%2C6.23%2030.00%2C5.40%2032.50%2C4.57%2035.00%2C3.80%2037.50%2C3.14%2040.00%2C2.63%2042.50%2C2.31%2045.00%2C2.20%2047.50%2C2.31%2050.00%2C2.63%2052.50%2C3.14%2055.00%2C3.80%2057.50%2C4.57%2060.00%2C5.40%2062.50%2C6.23%2065.00%2C7.00%2067.50%2C7.66%2070.00%2C8.17%2072.50%2C8.49%2075.00%2C8.60%2077.50%2C8.49%2080.00%2C8.17%2082.50%2C7.66%2085.00%2C7.00%2087.50%2C6.23%2090.00%2C5.40%2092.50%2C4.57%2095.00%2C3.80%2097.50%2C3.14%20100.00%2C2.63%20102.50%2C2.31%20105.00%2C2.20%20107.50%2C2.31%20110.00%2C2.63%20112.50%2C3.14%20115.00%2C3.80%20117.50%2C4.57%20120.00%2C5.40%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3Cpolyline%20points%3D%220.00%2C13.40%202.50%2C14.23%205.00%2C15.00%207.50%2C15.66%2010.00%2C16.17%2012.50%2C16.49%2015.00%2C16.60%2017.50%2C16.49%2020.00%2C16.17%2022.50%2C15.66%2025.00%2C15.00%2027.50%2C14.23%2030.00%2C13.40%2032.50%2C12.57%2035.00%2C11.80%2037.50%2C11.14%2040.00%2C10.63%2042.50%2C10.31%2045.00%2C10.20%2047.50%2C10.31%2050.00%2C10.63%2052.50%2C11.14%2055.00%2C11.80%2057.50%2C12.57%2060.00%2C13.40%2062.50%2C14.23%2065.00%2C15.00%2067.50%2C15.66%2070.00%2C16.17%2072.50%2C16.49%2075.00%2C16.60%2077.50%2C16.49%2080.00%2C16.17%2082.50%2C15.66%2085.00%2C15.00%2087.50%2C14.23%2090.00%2C13.40%2092.50%2C12.57%2095.00%2C11.80%2097.50%2C11.14%20100.00%2C10.63%20102.50%2C10.31%20105.00%2C10.20%20107.50%2C10.31%20110.00%2C10.63%20112.50%2C11.14%20115.00%2C11.80%20117.50%2C12.57%20120.00%2C13.40%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3Cpolyline%20points%3D%220.00%2C21.40%202.50%2C22.23%205.00%2C23.00%207.50%2C23.66%2010.00%2C24.17%2012.50%2C24.49%2015.00%2C24.60%2017.50%2C24.49%2020.00%2C24.17%2022.50%2C23.66%2025.00%2C23.00%2027.50%2C22.23%2030.00%2C21.40%2032.50%2C20.57%2035.00%2C19.80%2037.50%2C19.14%2040.00%2C18.63%2042.50%2C18.31%2045.00%2C18.20%2047.50%2C18.31%2050.00%2C18.63%2052.50%2C19.14%2055.00%2C19.80%2057.50%2C20.57%2060.00%2C21.40%2062.50%2C22.23%2065.00%2C23.00%2067.50%2C23.66%2070.00%2C24.17%2072.50%2C24.49%2075.00%2C24.60%2077.50%2C24.49%2080.00%2C24.17%2082.50%2C23.66%2085.00%2C23.00%2087.50%2C22.23%2090.00%2C21.40%2092.50%2C20.57%2095.00%2C19.80%2097.50%2C19.14%20100.00%2C18.63%20102.50%2C18.31%20105.00%2C18.20%20107.50%2C18.31%20110.00%2C18.63%20112.50%2C19.14%20115.00%2C19.80%20117.50%2C20.57%20120.00%2C21.40%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E"); --wave-lg: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20240%2090%22%3E%3Cpolyline%20points%3D%220.00%2C15.00%205.00%2C17.33%2010.00%2C19.50%2015.00%2C21.36%2020.00%2C22.79%2025.00%2C23.69%2030.00%2C24.00%2035.00%2C23.69%2040.00%2C22.79%2045.00%2C21.36%2050.00%2C19.50%2055.00%2C17.33%2060.00%2C15.00%2065.00%2C12.67%2070.00%2C10.50%2075.00%2C8.64%2080.00%2C7.21%2085.00%2C6.31%2090.00%2C6.00%2095.00%2C6.31%20100.00%2C7.21%20105.00%2C8.64%20110.00%2C10.50%20115.00%2C12.67%20120.00%2C15.00%20125.00%2C17.33%20130.00%2C19.50%20135.00%2C21.36%20140.00%2C22.79%20145.00%2C23.69%20150.00%2C24.00%20155.00%2C23.69%20160.00%2C22.79%20165.00%2C21.36%20170.00%2C19.50%20175.00%2C17.33%20180.00%2C15.00%20185.00%2C12.67%20190.00%2C10.50%20195.00%2C8.64%20200.00%2C7.21%20205.00%2C6.31%20210.00%2C6.00%20215.00%2C6.31%20220.00%2C7.21%20225.00%2C8.64%20230.00%2C10.50%20235.00%2C12.67%20240.00%2C15.00%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%226%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3Cpolyline%20points%3D%220.00%2C41.00%205.00%2C43.33%2010.00%2C45.50%2015.00%2C47.36%2020.00%2C48.79%2025.00%2C49.69%2030.00%2C50.00%2035.00%2C49.69%2040.00%2C48.79%2045.00%2C47.36%2050.00%2C45.50%2055.00%2C43.33%2060.00%2C41.00%2065.00%2C38.67%2070.00%2C36.50%2075.00%2C34.64%2080.00%2C33.21%2085.00%2C32.31%2090.00%2C32.00%2095.00%2C32.31%20100.00%2C33.21%20105.00%2C34.64%20110.00%2C36.50%20115.00%2C38.67%20120.00%2C41.00%20125.00%2C43.33%20130.00%2C45.50%20135.00%2C47.36%20140.00%2C48.79%20145.00%2C49.69%20150.00%2C50.00%20155.00%2C49.69%20160.00%2C48.79%20165.00%2C47.36%20170.00%2C45.50%20175.00%2C43.33%20180.00%2C41.00%20185.00%2C38.67%20190.00%2C36.50%20195.00%2C34.64%20200.00%2C33.21%20205.00%2C32.31%20210.00%2C32.00%20215.00%2C32.31%20220.00%2C33.21%20225.00%2C34.64%20230.00%2C36.50%20235.00%2C38.67%20240.00%2C41.00%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%226%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3Cpolyline%20points%3D%220.00%2C67.00%205.00%2C69.33%2010.00%2C71.50%2015.00%2C73.36%2020.00%2C74.79%2025.00%2C75.69%2030.00%2C76.00%2035.00%2C75.69%2040.00%2C74.79%2045.00%2C73.36%2050.00%2C71.50%2055.00%2C69.33%2060.00%2C67.00%2065.00%2C64.67%2070.00%2C62.50%2075.00%2C60.64%2080.00%2C59.21%2085.00%2C58.31%2090.00%2C58.00%2095.00%2C58.31%20100.00%2C59.21%20105.00%2C60.64%20110.00%2C62.50%20115.00%2C64.67%20120.00%2C67.00%20125.00%2C69.33%20130.00%2C71.50%20135.00%2C73.36%20140.00%2C74.79%20145.00%2C75.69%20150.00%2C76.00%20155.00%2C75.69%20160.00%2C74.79%20165.00%2C73.36%20170.00%2C71.50%20175.00%2C69.33%20180.00%2C67.00%20185.00%2C64.67%20190.00%2C62.50%20195.00%2C60.64%20200.00%2C59.21%20205.00%2C58.31%20210.00%2C58.00%20215.00%2C58.31%20220.00%2C59.21%20225.00%2C60.64%20230.00%2C62.50%20235.00%2C64.67%20240.00%2C67.00%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%226%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22/%3E%3C/svg%3E"); }

/* 1. Section labels carry a tiny wave mark */
.st-kicker, .st-cta__body .st-kicker { display: flex; align-items: center; gap: 10px; }
.st-kicker::before, .st-cta__body .st-kicker::before {
    content: ""; flex: none; width: 22px; height: 13px; border-radius: 0; background: var(--ocean);
    -webkit-mask: var(--wave-sm) center / contain no-repeat; mask: var(--wave-sm) center / contain no-repeat;
}
.st-center .st-kicker { justify-content: center; }

/* 2. Wave divider where the page meets the footer */
.wave-divider {
    height: 26px; margin: 0 0 clamp(40px, 5vw, 64px); background: var(--ocean); opacity: .9;
    -webkit-mask: var(--wave-band) left center / 120px 26px repeat-x; mask: var(--wave-band) left center / 120px 26px repeat-x;
}
.site-footer { padding-top: 0; }
.site-footer::before { content: ""; display: block; height: clamp(40px, 5vw, 64px); }

/* 3. Large faint waves behind the footer wordmark */
.footer-card { position: relative; }
.wordmark { position: relative; z-index: 1; }
.footer-card::after {
    content: ""; position: absolute; left: 50%; bottom: 56px; z-index: 0; transform: translateX(-50%);
    width: min(92%, 1100px); aspect-ratio: 240 / 90; background: var(--ocean); opacity: .07; pointer-events: none;
    -webkit-mask: var(--wave-lg) center / contain no-repeat; mask: var(--wave-lg) center / contain no-repeat;
}
.wave-divider { opacity: .55; max-width: calc(var(--max) + var(--gutter) * 2); margin-left: auto; margin-right: auto; }
.footer-card::after { bottom: 48px; width: min(70%, 860px); opacity: .08; }
/* Wave watermark (option 3) not used */
.footer-card::after { content: none; }

/* =========================================================
   Footer wordmark: blue water fills the letters as you scroll
   ========================================================= */
@property --wx { syntax: "<length>"; inherits: false; initial-value: 0px; }
.wordmark {
    --wave-y: 120%; --water-y: 140%;
    background:
        url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20160%2024%22%20preserveAspectRatio%3D%22none%22%3E%3Cpolygon%20fill%3D%22%232BB4EA%22%20points%3D%220%2C24%200.00%2C12.00%202.50%2C12.49%205.00%2C12.98%207.50%2C13.45%2010.00%2C13.91%2012.50%2C14.36%2015.00%2C14.78%2017.50%2C15.17%2020.00%2C15.54%2022.50%2C15.87%2025.00%2C16.16%2027.50%2C16.41%2030.00%2C16.62%2032.50%2C16.78%2035.00%2C16.90%2037.50%2C16.98%2040.00%2C17.00%2042.50%2C16.98%2045.00%2C16.90%2047.50%2C16.78%2050.00%2C16.62%2052.50%2C16.41%2055.00%2C16.16%2057.50%2C15.87%2060.00%2C15.54%2062.50%2C15.17%2065.00%2C14.78%2067.50%2C14.36%2070.00%2C13.91%2072.50%2C13.45%2075.00%2C12.98%2077.50%2C12.49%2080.00%2C12.00%2082.50%2C11.51%2085.00%2C11.02%2087.50%2C10.55%2090.00%2C10.09%2092.50%2C9.64%2095.00%2C9.22%2097.50%2C8.83%20100.00%2C8.46%20102.50%2C8.13%20105.00%2C7.84%20107.50%2C7.59%20110.00%2C7.38%20112.50%2C7.22%20115.00%2C7.10%20117.50%2C7.02%20120.00%2C7.00%20122.50%2C7.02%20125.00%2C7.10%20127.50%2C7.22%20130.00%2C7.38%20132.50%2C7.59%20135.00%2C7.84%20137.50%2C8.13%20140.00%2C8.46%20142.50%2C8.83%20145.00%2C9.22%20147.50%2C9.64%20150.00%2C10.09%20152.50%2C10.55%20155.00%2C11.02%20157.50%2C11.51%20160.00%2C12.00%20160%2C24%22/%3E%3C/svg%3E") var(--wx) var(--wave-y) / 160px 24px repeat-x,
        linear-gradient(180deg, #2BB4EA 0%, #1D93C6 55%, #156885 100%) 0 var(--water-y) / 100% 100% no-repeat,
        linear-gradient(180deg, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .02) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: bf-swell 6s linear infinite;
}
@keyframes bf-swell { to { --wx: 160px; } }
@media (prefers-reduced-motion: reduce) {
    .wordmark { animation: none; --wave-y: calc(45% - 12px); --water-y: 45%; }
}

/* ===== Wave sequence: send button and thank-you ===== */
:root {
    --crest-front: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 48' preserveAspectRatio='none'%3E%3Cpath d='M0 28 Q80 6 160 28 T320 28 V48 H0Z' fill='%231D93C6'/%3E%3C/svg%3E");
    --crest-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 48' preserveAspectRatio='none'%3E%3Cpath d='M0 18 Q80 40 160 18 T320 18 V48 H0Z' fill='%232BB4EA' fill-opacity='.75'/%3E%3C/svg%3E");
    --wave-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6 Q10 1 20 6 T40 6' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E");
}


/* Send button fills with water */
button.st-btn { border: 0; padding: 0; background: none; font: inherit; cursor: pointer; }
.st-btn--submit .st-btn__label { position: relative; isolation: isolate; overflow: hidden; }
.st-btn--submit .st-btn__label::before {
    content: ""; position: absolute; left: -10px; right: -10px; top: -8px; bottom: 0; z-index: -1;
    background: var(--crest-front) 0 0 / 80px 12px repeat-x, linear-gradient(#1D93C6, #156885) 0 11px / 100% 100% no-repeat;
    transform: translateY(100%);
}
.st-btn--submit.is-sending { pointer-events: none; }
.st-btn--submit.is-sending .st-btn__label::before { transform: translateY(0); transition: transform .65s cubic-bezier(.5, 0, .2, 1); animation: bf-crest-sm .7s linear infinite; }
.st-btn--submit.is-sending .st-btn__icon { background: var(--ocean-deep); }
@keyframes bf-crest-sm { to { background-position: 80px 0, 0 11px; } }

/* Thank-you state: waves draw in and the card swells */
.form--sent { position: relative; overflow: hidden; padding-bottom: clamp(80px, 10vw, 120px); }
.form--sent > *:not(.sent-waves) { position: relative; z-index: 1; }
.form--sent::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0;
    background: var(--crest-back) 0 0 / 320px 48px repeat-x, linear-gradient(rgba(43, 180, 234, .75), rgba(43, 180, 234, .75)) 0 48px / 100% 100% no-repeat;
    opacity: .22;
    animation: bf-swell-up 1.6s cubic-bezier(.3, 0, .2, 1) .5s forwards, bf-crest-2 6s linear infinite;
}
@keyframes bf-swell-up { to { height: 26%; } }
@keyframes bf-crest-2 { to { background-position: 320px 0, 0 48px; } }
.sent-waves { display: grid; gap: 6px; width: 78px; margin-bottom: 22px; }
.sent-waves span {
    display: block; height: 12px; background: var(--ocean);
    -webkit-mask: var(--wave-line) 0 0 / 40px 12px repeat-x; mask: var(--wave-line) 0 0 / 40px 12px repeat-x;
    clip-path: inset(0 100% 0 0);
    animation: bf-line-in .7s cubic-bezier(.5, 0, .2, 1) forwards, bf-line-move 2.4s linear infinite;
}
.sent-waves span:nth-child(2) { animation-delay: .15s, 0s; animation-duration: .7s, 2.9s; }
.sent-waves span:nth-child(3) { animation-delay: .3s, 0s; animation-duration: .7s, 3.4s; }
@keyframes bf-line-in { to { clip-path: inset(0 0 0 0); } }
@keyframes bf-line-move { to { -webkit-mask-position: 40px 0; mask-position: 40px 0; } }

@media (prefers-reduced-motion: reduce) {
    .sent-waves span { clip-path: none; animation: none; }
    .form--sent::after { animation: none; height: 26%; }
    .st-btn--submit.is-sending .st-btn__label::before { transition: none; animation: none; }
}

/* Mega menu promo: readable label and stronger shade behind the text */
.mega__feature::after { background: linear-gradient(180deg, rgba(14, 16, 18, 0) 25%, rgba(14, 16, 18, .55) 55%, rgba(14, 16, 18, .85)); }
.eyebrow.eyebrow--light { color: #fff; background: none; border: 0; padding: 0; backdrop-filter: none; -webkit-backdrop-filter: none; margin-bottom: 12px; }
.eyebrow.eyebrow--light::before { content: none; }

/* ===== Mobile menu, refined ===== */
.mobile-nav { background: #fff; }
.mobile-nav__inner { position: relative; min-height: 100%; padding: 8px var(--gutter) 0; }
.mobile-nav__link {
    display: grid; grid-template-columns: 34px 1fr auto; align-items: center;
    font: 500 22px/1.15 var(--font-head); letter-spacing: -.02em; color: var(--ink);
    padding: 14px 0; border-bottom: 1px solid var(--mist);
}
.mobile-nav__num { font: 600 11px/1 var(--font-body); letter-spacing: .06em; color: var(--ocean); padding-top: 3px; }
.mobile-nav__link[aria-current="page"] .mobile-nav__label { color: var(--ocean-deep); }
.mobile-nav__link[aria-current="page"] .mobile-nav__num::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: var(--ocean); vertical-align: 1px; }
.mobile-nav__group summary::after { content: none; }
.mobile-nav__plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--canvas); transition: background-color .25s var(--ease), transform .3s var(--ease); }
.mobile-nav__plus::before, .mobile-nav__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: var(--ink); transition: transform .3s var(--ease), background-color .25s var(--ease); }
.mobile-nav__plus::after { transform: rotate(90deg); }
.mobile-nav__group[open] .mobile-nav__plus { background: var(--ocean); transform: rotate(180deg); }
.mobile-nav__group[open] .mobile-nav__plus::before, .mobile-nav__group[open] .mobile-nav__plus::after { background: #fff; }
.mobile-nav__group[open] .mobile-nav__plus::after { transform: rotate(0deg); }
.mobile-nav__group ul { padding: 6px 0 14px 34px; border-bottom: 1px solid var(--mist); margin-top: -1px; }
.mobile-nav__group li a { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 0; font: 500 16px/1.3 var(--font-body); color: var(--text); }
.mobile-nav__group li a small { font-size: 12px; color: var(--gray); }
.mobile-nav__all a { color: var(--ocean-deep) !important; justify-content: flex-start !important; gap: 6px; }
.mobile-nav__all .i { width: 15px; height: 15px; }
.mobile-nav__foot { display: grid; gap: 18px; padding: 26px 0 120px; align-items: stretch; }
.mobile-nav__foot .st-btn { width: 100%; }
.mobile-nav__foot .st-btn__label { flex: 1; height: 50px; font-size: 15px; }
.mobile-nav__foot .st-btn__icon { width: 50px; }
.mobile-nav__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--mist); border: 1px solid var(--mist); }
.mobile-nav__contact a { display: grid; gap: 3px; padding: 12px 14px; background: #fff; font: 500 14px/1.3 var(--font-body); color: var(--ink); overflow-wrap: anywhere; }
.mobile-nav__contact a:only-child { grid-column: 1 / -1; }
.mobile-nav__contact small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.mobile-nav__place { font-size: 12px; color: var(--gray); }
.mobile-nav__waves {
    position: absolute; left: 0; right: 0; bottom: 28px; height: 26px; background: var(--ocean); opacity: .35;
    -webkit-mask: var(--wave-band) left center / 120px 26px repeat-x; mask: var(--wave-band) left center / 120px 26px repeat-x;
}
/* Items slide in when the menu opens */
.nav-open .mobile-nav__inner > * { animation: bf-mnav-in .5s var(--ease) both; }
.nav-open .mobile-nav__inner > :nth-child(2) { animation-delay: .03s; }
.nav-open .mobile-nav__inner > :nth-child(3) { animation-delay: .06s; }
.nav-open .mobile-nav__inner > :nth-child(4) { animation-delay: .09s; }
.nav-open .mobile-nav__inner > :nth-child(5) { animation-delay: .12s; }
.nav-open .mobile-nav__inner > :nth-child(6) { animation-delay: .15s; }
.nav-open .mobile-nav__inner > :nth-child(7) { animation-delay: .18s; }
.nav-open .mobile-nav__inner > :nth-child(8) { animation-delay: .22s; }
.nav-open .mobile-nav__inner > .mobile-nav__waves { animation: bf-mnav-fade .8s ease .3s both; }
@keyframes bf-mnav-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bf-mnav-fade { from { opacity: 0; } to { opacity: .35; } }
.nav-open .mobile-cta { display: none; }
@media (prefers-reduced-motion: reduce) { .nav-open .mobile-nav__inner > * { animation: none; } }

/* ===== Service pages: a line drawing for each service beside the heading ===== */
.svc-head { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-head h1 { font-size: clamp(38px, 4.6vw, 64px); }
.svc-head .lead { margin-top: 24px; max-width: 520px; color: var(--text-muted); }
.svc-drawing { position: relative; margin: 0; background: var(--canvas); padding: clamp(28px, 3.4vw, 48px) clamp(24px, 3vw, 44px) 56px; }
.svc-drawing .linework { max-width: 520px; max-height: 300px; margin: 0 auto; }
.svc-drawing figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.svc-drawing .p-label { font-size: 9px; }
.svc-drawing .p-text { font-size: 10px; }
.js .draw path.p-wall, .js .draw path.p-thin, .js .draw circle.p-thin { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw.is-visible path.p-wall, .js .draw.is-visible path.p-thin, .js .draw.is-visible circle.p-thin { stroke-dashoffset: 0; }
@media (max-width: 900px) {
    .svc-head { grid-template-columns: 1fr; }
}
.linework path.p-glass { fill: none; }

/* ===== Service pages: gallery and spec list ===== */
.svc-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.svc-gallery__main { position: relative; aspect-ratio: 4 / 4.3; overflow: hidden; background: var(--canvas); }
.svc-gallery__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.svc-gallery__slide.is-active { opacity: 1; }
.svc-gallery__slide picture, .svc-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.svc-gallery__thumb { position: relative; aspect-ratio: 1; padding: 0; border: 0; background: var(--canvas); overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .25s var(--ease); }
.svc-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-gallery__thumb:hover, .svc-gallery__thumb:focus-visible { opacity: .85; }
.svc-gallery__thumb.is-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--ocean); }
.svc-gallery__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.svc-gallery__cap b { font-weight: 500; color: var(--ink); }
.svc-gallery__cap a { display: inline-flex; align-items: center; gap: 4px; color: var(--ocean-deep); white-space: nowrap; }
.svc-gallery__cap .i { width: 14px; height: 14px; }

.svc-body__text { padding-top: 4px; }
.svc-body__text .st-kicker { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.svc-body__text .st-kicker::before { content: ""; width: 22px; height: 13px; background: var(--ocean); -webkit-mask: var(--wave-sm) center / contain no-repeat; mask: var(--wave-sm) center / contain no-repeat; }
.svc-body__title { font: 500 clamp(28px, 2.8vw, 40px)/1.08 var(--font-head); letter-spacing: -.03em; color: var(--ink); margin: 0 0 24px; }
.svc-body__text .prose p { color: var(--text); }

.svc-included { margin: 32px 0 34px; }
.svc-included .accordion { border-top: 1px solid var(--ink); }
.svc-included .accordion__trigger { display: flex; align-items: center; gap: 0; width: 100%; padding: 16px 0; font: 500 17px/1.3 var(--font-head); color: var(--ink); text-align: left; background: none; border: 0; cursor: pointer; }
.svc-included .accordion__num { min-width: 44px; font: 600 11px/1 var(--font-body); letter-spacing: .06em; color: var(--ocean); }
.svc-included .accordion__icon { width: 26px; height: 26px; background: var(--canvas); }
.svc-included .accordion__icon::before, .svc-included .accordion__icon::after { background: var(--ink); width: 10px; }
.svc-included .accordion__item.is-open .accordion__icon { background: var(--ocean); }
.svc-included .accordion__item.is-open .accordion__icon::before, .svc-included .accordion__item.is-open .accordion__icon::after { background: #fff; }
.svc-included .accordion__inner { padding: 0 34px 18px 44px; }
.svc-included .accordion__inner p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-muted); }

.svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.svc-cta__call { display: grid; gap: 2px; font: 500 14px/1.3 var(--font-body); color: var(--ink); }
.svc-cta__call small { font-size: 12px; font-weight: 400; color: var(--gray); }
.svc-cta__call:hover { color: var(--ocean-deep); }

@media (max-width: 900px) {
    .svc-body { grid-template-columns: 1fr; }
    .svc-gallery__thumbs { gap: 6px; }
}
.svc-gallery__thumb.is-active::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px var(--ocean); pointer-events: none; }
.svc-included .accordion__trigger:hover .accordion__icon { background: var(--ocean-soft); }
.svc-included .accordion__item.is-open .accordion__trigger:hover .accordion__icon { background: var(--ocean); }

/* ===== Service pages: other services as drawing cards ===== */
.svc-more__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.svc-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px 12px 22px; background: #fff; border: 1px solid var(--mist); color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.svc-card__art { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 14px; margin-bottom: 18px; background: var(--canvas); transition: background-color .4s var(--ease); }
.svc-card__art .linework { width: 100%; max-height: 100%; }
.svc-card__art .p-text, .svc-card__art .p-label { display: none; }
.svc-card__num { padding: 0 8px; font-size: 12px; color: var(--text-muted); }
.svc-card__name { padding: 6px 8px 0; font: 500 19px/1.2 var(--font-head); letter-spacing: -.02em; }
.svc-card__desc { padding: 8px 8px 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); flex: 1; }
.svc-card__go { display: flex; justify-content: flex-end; padding: 18px 8px 0; }
.svc-card:hover, .svc-card:focus-visible { transform: translateY(-4px); border-color: transparent; box-shadow: 0 2px 6px rgba(20, 24, 28, .04), 0 24px 48px -24px rgba(20, 24, 28, .28); }
.svc-card:hover .svc-card__art { background: var(--ocean-tint); }
.svc-card:hover .st-sq { background: var(--st-ink); }
.svc-card:hover .st-sq .i { transform: translate(2px, -2px); }
.svc-card .st-sq .i { transition: transform .3s var(--ease); }
@media (max-width: 1100px) {
    .svc-more__list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
    .svc-more__list > li { scroll-snap-align: start; }
}
@media (min-width: 700px) and (max-width: 1100px) { .svc-more__list { grid-auto-columns: 34%; } }
.svc-card__art .p-wall { stroke-width: 2.4; }
.svc-card__art .p-thin, .svc-card__art .p-glass { stroke-width: 1.6; }
.svc-card__art .p-hair { stroke-width: .9; }

/* ===== Service pages: related projects on a dark band ===== */
.rel-dark { position: relative; padding: clamp(80px, 9vw, 130px) 0 clamp(64px, 7vw, 100px); background: #121517; color: #fff; overflow: hidden; }
.rel-dark__wave { position: absolute; left: 0; right: 0; top: 14px; height: 26px; background: var(--ocean); opacity: .45; -webkit-mask: var(--wave-band) left center / 120px 26px repeat-x; mask: var(--wave-band) left center / 120px 26px repeat-x; animation: bf-band 30s linear infinite; }
@keyframes bf-band { to { -webkit-mask-position: 120px center; mask-position: 120px center; } }
.rel-dark__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.rel-dark .st-kicker { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .72); }
.rel-dark .st-kicker::before { content: ""; width: 22px; height: 13px; background: var(--ocean); -webkit-mask: var(--wave-sm) center / contain no-repeat; mask: var(--wave-sm) center / contain no-repeat; }
.rel-dark .st-title { color: #fff; }
.rel-dark__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rel-card { position: relative; display: block; height: clamp(420px, 44vw, 640px); overflow: hidden; color: #fff; }
.rel-card__media, .rel-card__media picture, .rel-card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.rel-card__media img { transition: transform 1.2s var(--ease); }
.rel-card:hover .rel-card__media img { transform: scale(1.04); }
.rel-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 14, .15), transparent 28%, transparent 48%, rgba(10, 12, 14, .88)); pointer-events: none; }
.rel-card__top { position: absolute; z-index: 1; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; }
.rel-card__chip { padding: 7px 13px; font: 500 12px/1 var(--font-body); color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rel-card__bottom { position: absolute; z-index: 1; left: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px); bottom: clamp(20px, 2.2vw, 30px); }
.rel-card__title { display: block; margin-bottom: 14px; font: 500 clamp(28px, 3vw, 44px)/1.02 var(--font-head); letter-spacing: -.035em; }
.rel-card__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .25); }
.rel-card__meta { font-size: 14px; color: rgba(255, 255, 255, .7); }
.rel-card__go { display: inline-flex; align-items: center; gap: 12px; font: 500 14px var(--font-body); white-space: nowrap; }
.rel-card:hover .st-sq { background: #fff; color: var(--st-ink); }
.rel-dark__stats { display: flex; flex-wrap: wrap; gap: 24px 56px; margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.rel-dark__stats > * { display: grid; gap: 6px; color: #fff; }
.rel-dark__stats b { font: 500 clamp(32px, 3vw, 44px)/1 var(--font-head); letter-spacing: -.03em; }
.rel-dark__stats span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.rel-dark__stats a:hover b { color: var(--ocean); }
@media (max-width: 760px) {
    .rel-dark__head { flex-direction: column; align-items: flex-start; }
    .rel-dark__grid { grid-template-columns: 1fr; }
    .rel-card { height: 440px; }
}
@media (prefers-reduced-motion: reduce) { .rel-dark__wave { animation: none; } }

/* ===== Single project page ===== */
.pj-head { padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 3vw, 40px); }
.pj-head__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.pj-head .st-kicker { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.pj-head .st-kicker::before, .pj-overview .st-kicker::before, .pj-gallery .st-kicker::before { content: ""; width: 22px; height: 13px; background: var(--ocean); -webkit-mask: var(--wave-sm) center / contain no-repeat; mask: var(--wave-sm) center / contain no-repeat; }
.pj-head__title { margin: 0; font: 500 clamp(40px, 5.2vw, 76px)/1.02 var(--font-head); letter-spacing: -.04em; color: var(--ink); max-width: 16ch; }
.pj-head__lead { margin: 22px 0 0; max-width: 560px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--text-muted); }
.pj-facts { margin: 0; border-top: 1px solid var(--ink); }
.pj-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--mist); font-size: 14px; }
.pj-facts dt { color: var(--text-muted); }
.pj-facts dd { margin: 0; color: var(--ink); font-weight: 500; }

.pj-hero { position: relative; }
.pj-hero__media { display: block; width: 100%; padding: 0; border: 0; background: var(--canvas); aspect-ratio: 21 / 9; overflow: hidden; cursor: zoom-in; }
.pj-hero__media picture, .pj-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pj-hero__all { position: absolute; right: calc(var(--gutter) + 20px); bottom: 20px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid rgba(255, 255, 255, .4); background: rgba(20, 22, 24, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; font: 500 14px var(--font-body); cursor: pointer; transition: background-color .25s var(--ease); }
.pj-hero__all:hover { background: rgba(20, 22, 24, .7); }
.pj-hero__all svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.pj-overview__grid { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: clamp(24px, 6vw, 96px); }
.pj-overview .st-kicker { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.pj-overview__details { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--mist); color: var(--text-muted); }

.pj-gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.pj-gallery .st-kicker { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.pj-gallery__count { margin: 0; font-size: 13px; color: var(--text-muted); }
.pj-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 230px); gap: 10px; }
.pj-bento__item { position: relative; padding: 0; border: 0; background: var(--canvas); overflow: hidden; cursor: zoom-in; }
.pj-bento__item picture, .pj-bento__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pj-bento__item:hover img { transform: scale(1.04); }
.pj-bento--5 .pj-bento__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.pj-bento--4 .pj-bento__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.pj-bento--4 .pj-bento__item:nth-child(4) { grid-column: span 2; }
.pj-bento--3 .pj-bento__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.pj-bento--3 .pj-bento__item:nth-child(n+2) { grid-column: span 2; }
.pj-bento--2 .pj-bento__item, .pj-bento--1 .pj-bento__item { grid-column: span 2; grid-row: span 2; }
.pj-bento--1 .pj-bento__item { grid-column: 1 / -1; }
.pj-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.pj-thumbs__item { position: relative; aspect-ratio: 1; padding: 0; border: 0; background: var(--canvas); overflow: hidden; cursor: zoom-in; }
.pj-thumbs__item[hidden] { display: none; }
.pj-thumbs__item picture, .pj-thumbs__item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s var(--ease); }
.pj-thumbs__item:hover img { transform: scale(1.06); }
.pj-thumbs__item--more img { filter: brightness(.45); }
.pj-thumbs__plus { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 500 28px var(--font-head); letter-spacing: -.02em; }

.rel-card--short { height: clamp(320px, 32vw, 460px); }
.pj-next { margin-top: clamp(40px, 5vw, 80px); }

@media (max-width: 900px) {
    .pj-head__grid, .pj-overview__grid { grid-template-columns: 1fr; }
    .pj-hero__media { aspect-ratio: 4 / 3; }
    .pj-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    .pj-bento--5 .pj-bento__item:nth-child(1) { grid-column: 1 / -1; }
    .pj-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
    .pj-gallery__head { flex-direction: column; align-items: flex-start; }
}

/* ===== Project page: features, facts strip and location map ===== */
.pj-head__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; }
.pj-head__grid--solo { grid-template-columns: 1fr; }
.pj-features { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.pj-features li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; background: var(--canvas); font: 500 14px/1.2 var(--font-body); color: var(--ink); }
.pj-features__icon { display: grid; place-items: center; width: 30px; height: 30px; background: #fff; color: var(--ocean-deep); }
.pj-features__icon .fi { width: 18px; height: 18px; }

.pj-facts { display: flex; flex-wrap: wrap; margin: clamp(28px, 3vw, 40px) 0 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--mist); }
.pj-facts > div { display: grid; grid-template-columns: none; gap: 6px; flex: 1 1 160px; padding: 16px 20px 16px 0; border-bottom: 0; }
.pj-facts > div + div { padding-left: 20px; border-left: 1px solid var(--mist); }
.pj-facts__wide { flex-grow: 2 !important; }
.pj-facts dt { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.pj-facts dt .fi { width: 16px; height: 16px; color: var(--ocean-deep); }
.pj-facts dd { font-size: 15px; }
.pj-hero { margin-top: 0; }
.pj-head { padding-bottom: clamp(24px, 3vw, 32px); }

.pj-map { position: relative; margin: 0; padding: clamp(20px, 2.4vw, 32px) clamp(16px, 2vw, 28px) 56px; background: var(--canvas); }
.pj-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.map-coast { fill: #fff; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; }
.js .pj-map .map-coast { stroke-dasharray: 1; stroke-dashoffset: 1; fill-opacity: 0; transition: stroke-dashoffset 2.6s var(--ease), fill-opacity 1s var(--ease) 1.2s; }
.js .pj-map.is-visible .map-coast { stroke-dashoffset: 0; fill-opacity: 1; }
.map-pin__dot { fill: var(--ocean); stroke: #fff; stroke-width: 2.5; }
.map-pin__pulse { fill: var(--ocean); opacity: 0; transform-box: fill-box; transform-origin: center; animation: bf-pulse 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.map-pin__pulse--2 { animation-delay: 1.2s; }
.map-pin__area { fill: var(--ocean); fill-opacity: .12; stroke: var(--ocean); stroke-opacity: .5; stroke-width: 1; stroke-dasharray: 4 5; }
@keyframes bf-pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
.js .pj-map .map-pin { opacity: 0; transition: opacity .6s var(--ease) 1.6s; }
.js .pj-map.is-visible .map-pin { opacity: 1; }
.pj-map figcaption { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.pj-map figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.pj-map figcaption .fi { width: 15px; height: 15px; color: var(--ocean-deep); }
@media (max-width: 900px) {
    .pj-facts > div { flex-basis: 45%; padding-left: 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--mist); }
}
@media (prefers-reduced-motion: reduce) { .map-pin__pulse { animation: none; } }

/* The dark band sits directly on the closing photo */
.rel-dark + .st-cta { margin-top: 0; }
.pj-map { overflow: hidden; }
.pj-map__svg { max-height: 300px; }
@media (max-width: 900px) {
    .pj-head__grid { grid-template-columns: 1fr; }
    .pj-map { padding-bottom: 52px; }
    .pj-map figcaption { font-size: 11px; letter-spacing: .06em; }
}
/* Map sits on the page without a panel */
.pj-map { padding: 0; background: none; overflow: visible; }
.pj-map__svg { max-height: 320px; }
.pj-map figcaption { position: static; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--mist); }
@media (max-width: 900px) { .pj-map { padding-bottom: 0; } }
.pj-map__svg { overflow: hidden; }
.map-coast { stroke: #A9ADB1; stroke-width: 1.1; }
