/* =========================================================================
   T'ONLY DSIGNZ STUDIO
   Layout follows the Adobe XD design: a 1920px artboard split into four
   480px columns, 28px inner gutter. Sizes scale fluidly from that artboard.
   ========================================================================= */

@font-face {
    font-family: 'Butler';
    src: url('../../fonts/Butler-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Butler';
    src: url('../../fonts/Butler-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Swatches from the design */
    --white: #ffffff;
    --ink: #000000;
    --taupe: #9f8775;
    --mist: #e9e8e7;
    --cream: #f2ede6;
    --stone: #bcb6ab;
    --silver: #d8d8d8;
    --espresso: #371806;
    --espresso-deep: #1d0b01;

    --line: rgba(0, 0, 0, 0.09);
    --line-light: rgba(255, 255, 255, 0.45);

    --serif: 'Butler', 'Bodoni 72', 'Didot', Georgia, serif;
    --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;

    --col: 25vw;
    --pad: clamp(16px, 1.46vw, 28px);
    --header-h: clamp(64px, 4.53vw, 87px);
    --header-h-compact: 52px;

    --fs-display: clamp(28px, 2.19vw, 42px);
    --fs-quote: clamp(30px, 2.92vw, 56px);
    --fs-body: clamp(15px, 0.94vw, 18px);
    --fs-small: clamp(13px, 0.83vw, 16px);
    --fs-nav: clamp(13px, 0.83vw, 16px);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0.05, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--sans);
    font-size: var(--fs-body);
    line-height: 1.22;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--taupe); outline-offset: 3px; }
::selection { background: var(--taupe); color: var(--white); }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; top: 8px; left: 8px; z-index: 1000;
    padding: 10px 14px; background: var(--ink); color: var(--white);
    transform: translateY(-150%); transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

main { position: relative; z-index: 1; }

/* Underline that draws in from the left on hover */
.u-link {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .5s var(--ease-out);
}
.u-link:hover, a:hover > .u-link { background-size: 100% 1px; }

/* ---------- Typography ---------- */
.h-display {
    font-family: var(--serif);
    font-weight: 400;
    font-size: var(--fs-display);
    line-height: 1.38;
}
.lead {
    color: var(--taupe);
    font-weight: 700;
    margin-top: clamp(18px, 1.4vw, 27px);
}
.prose p + p, .intro__text p + p { margin-top: 1.22em; }

/* Logo: one shared SVG file, painted in the current text colour so it can
   switch between white, ink and taupe like the inline version did. */
.icon--logo {
    display: inline-block;
    aspect-ratio: 228.59 / 55.89;
    background-color: currentColor;
    -webkit-mask: url('../../images/logo.svg') center / contain no-repeat;
    mask: url('../../images/logo.svg') center / contain no-repeat;
}

/* SplitText line masks */
.line-mask { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- Grid hairlines ---------- */
.grid-lines {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
}
.grid-lines span {
    position: absolute; top: 0; bottom: 0; width: 1px;
    background: var(--line);
    transform-origin: top;
}
.grid-lines span:nth-child(1) { left: 0; }
.grid-lines span:nth-child(2) { left: 25%; }
.grid-lines span:nth-child(3) { left: 50%; }
.grid-lines span:nth-child(4) { left: 75%; }
.grid-lines span:nth-child(5) { right: 0; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    color: var(--ink);
    --rule: var(--line);
    transition: color .5s var(--ease-out), background-color .5s var(--ease-out);
}
.site-header::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity .5s var(--ease-out);
}
.site-header--overlay:not(.is-solid) { color: var(--white); --rule: var(--line-light); }
.site-header--overlay:not(.is-solid)::before { opacity: 0; }

.site-header__row {
    position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr);
    height: var(--header-h);
    transition: height .6s var(--ease-out);
}
.site-header.is-compact .site-header__row { height: var(--header-h-compact); }

.site-header__logo {
    display: flex; align-items: center;
    padding-left: clamp(16px, 5.73vw, 110px);
}
.site-header__logo .icon { height: clamp(34px, 2.91vw, 56px); width: auto; transition: height .6s var(--ease-out); }
.site-header.is-compact .site-header__logo .icon { height: 34px; }

.site-header__nav { display: contents; }
.site-header__link {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    font-size: var(--fs-nav); letter-spacing: .02em;
    border-left: 1px solid var(--rule);
    transition: border-color .5s;
}
.site-header__dot {
    position: absolute; right: 12px; top: 50%; width: 5px; height: 5px;
    margin-top: -2.5px; background: currentColor;
    transform: scale(0); transition: transform .5s var(--ease-out), background-color .4s;
}
.site-header__link.is-active .site-header__dot,
.site-header__link:hover .site-header__dot { transform: scale(1); }
.site-header__link.is-active .site-header__dot { background: var(--taupe); }

/* Text roll on hover */
.roll { display: inline-block; overflow: hidden; height: 1.2em; line-height: 1.2em; }
.roll > span { display: inline-block; position: relative; transition: transform .6s var(--ease-out); }
.roll > span::after {
    content: attr(data-text); position: absolute; left: 0; top: 100%;
}
a:hover .roll > span { transform: translateY(-100%); }

.site-header__rule {
    position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--rule); transform-origin: left;
    transition: background-color .5s;
}

.site-header__toggle {
    display: none;
    position: relative; width: 44px; height: 44px; justify-self: end; align-self: center;
    margin-right: 8px;
}
.site-header__toggle span:not(.sr-only) {
    position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor;
    transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.site-header__toggle span:nth-of-type(2) { top: 18px; }
.site-header__toggle span:nth-of-type(3) { top: 25px; }
.menu-open .site-header__toggle span:nth-of-type(2) { top: 22px; transform: rotate(45deg); }
.menu-open .site-header__toggle span:nth-of-type(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 45;
    background: var(--cream);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--header-h) + 40px) 24px 32px;
    clip-path: inset(0 0 100% 0);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__link {
    display: flex; align-items: baseline; gap: 14px;
    font-family: var(--serif); font-size: clamp(36px, 11vw, 56px); line-height: 1.25;
    border-bottom: 1px solid var(--line); padding: 8px 0;
}
.mobile-menu__link small { font-family: var(--sans); font-size: 12px; color: var(--taupe); }
.mobile-menu__foot { display: grid; gap: 6px; color: var(--taupe); font-size: 14px; }
.menu-open .site-header { color: var(--ink); --rule: var(--line); }
.menu-open .site-header::before { opacity: 0; }

/* ---------- Page hero (four rising tiles) ---------- */
.page-hero {
    position: relative; z-index: 1;
    height: clamp(460px, 33.8vw, 760px);
    display: grid; place-items: center;
    overflow: hidden;
    background: var(--espresso-deep);
}
.page-hero__tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.page-hero__tile { position: relative; overflow: hidden; }
.page-hero__tile img {
    position: absolute; top: 0; height: 115%;
    width: 400%; left: calc(var(--i) * -100%);
    max-width: none; object-fit: cover;
    object-position: var(--focus, 50% 50%);
    will-change: transform;
}
.page-hero__shade {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 70%, rgba(0,0,0,.15) 100%);
}
.page-hero__title {
    position: relative;
    font-family: var(--serif); font-weight: 400;
    font-size: var(--fs-display);
    letter-spacing: .1em;
    color: var(--white);
    text-align: center;
    padding: 0 24px;
}
.page-hero--taupe { background: var(--cream); }
/* Text colours follow the XD file (title #9f8775, nav #ffffff). Legibility comes from
   the background instead: a soft warm shade under the nav and a light glow behind the title. */
.page-hero--taupe .page-hero__title {
    color: var(--taupe);
    text-shadow: 0 0 22px rgba(255, 250, 244, .95), 0 0 6px rgba(255, 250, 244, .8);
}
.page-hero--taupe .page-hero__shade {
    background:
        radial-gradient(ellipse 40% 30% at 50% var(--title-y, 32%), rgba(255, 250, 244, .7), rgba(255, 250, 244, 0) 72%),
        linear-gradient(180deg, rgba(55, 24, 6, .32) 0%, rgba(55, 24, 6, 0) 16%);
}
.page-hero--top { place-items: start center; }
.page-hero--top .page-hero__title { margin-top: clamp(120px, 9.4vw, 180px); }
.page-hero--taupe { --title-y: 26%; }

.page-hero__scroll {
    position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    color: var(--white); font-size: 11px; letter-spacing: .2em;
}
.page-hero__scroll span {
    width: 1px; height: 42px; background: rgba(255,255,255,.4); position: relative; overflow: hidden;
}
.page-hero__scroll span::after {
    content: ''; position: absolute; inset: 0; background: var(--white);
    animation: scroll-cue 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-cue {
    0% { transform: translateY(-100%); }
    60%, 100% { transform: translateY(100%); }
}

/* ---------- Sections ---------- */
.section { position: relative; }

.intro {
    padding: clamp(56px, 2.9vw, 55px) 0 clamp(72px, 5.6vw, 108px);
}
.intro__copy {
    margin-left: calc(var(--col) + 5px);
    width: calc(var(--col) * 2 - 10px);
}
.intro__text { margin-top: clamp(24px, 2.1vw, 40px); }
.intro__text strong { font-weight: 700; }

.wide-media {
    position: relative; z-index: 1;
    height: clamp(260px, 26.8vw, 514px);
    overflow: hidden;
}
.wide-media img, .pj-feature img, .pj-media img, .step__media img {
    width: 100%; height: 118%; object-fit: cover;
    will-change: transform;
}

.prose-block, .trust__head, .journey__head {
    padding-left: calc(var(--col) + var(--pad));
}
.prose-block {
    padding-top: clamp(64px, 2.9vw, 56px);
    padding-right: var(--col);
}
.prose-block .prose { margin-top: clamp(18px, 1.4vw, 26px); max-width: 52em; }

.trust { padding-top: clamp(80px, 5.4vw, 104px); }
.trust__grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    margin-left: var(--col);
    margin-top: clamp(36px, 2.6vw, 50px);
}
.value { padding: 0 var(--pad); max-width: 480px; }
.value__icon { width: clamp(52px, 3.75vw, 72px); height: auto; color: var(--taupe); }
.value__title {
    font-size: var(--fs-body); color: var(--taupe); font-weight: 700;
    margin: clamp(20px, 1.6vw, 30px) 0 clamp(14px, 1.15vw, 22px);
}

.journey { padding-top: clamp(80px, 7.4vw, 142px); padding-bottom: clamp(64px, 5vw, 96px); }
.journey__steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(36px, 2.9vw, 56px);
}
.step { padding: 0 var(--pad); }
.step__media {
    aspect-ratio: 425 / 274; overflow: hidden; position: relative;
    background: var(--mist);
}
.step__media img { transition: scale 1.2s var(--ease-out); }
.step:hover .step__media img { scale: 1.06; }
.step__num {
    display: block; margin-top: 18px;
    font-family: var(--serif); font-size: 15px; color: var(--silver);
}
.step__title { font-size: var(--fs-body); font-weight: 700; color: var(--taupe); margin: 6px 0 14px; }
.step p { max-width: 24em; }

/* ---------- Dream circle (pinned) ---------- */
.dream { position: relative; z-index: 1; }
.dream__stage {
    position: relative; height: 100svh; min-height: 560px;
    overflow: hidden;
    display: grid; place-items: center;
}
.dream__bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    will-change: transform;
}
.dream__circle {
    position: relative;
    width: min(708px, 86vw, 82svh); aspect-ratio: 1;
    border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(22px) saturate(1.1);
    -webkit-backdrop-filter: blur(22px) saturate(1.1);
    color: var(--mist);
    text-align: center;
    will-change: transform, clip-path;
}
.dream__ring {
    position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px);
    transform: rotate(-90deg);
    overflow: visible;
}
.dream__ring circle {
    fill: none; stroke: rgba(255,255,255,.75); stroke-width: .25;
    vector-effect: non-scaling-stroke;
}
.dream__content { width: 72%; display: grid; gap: 1.1em; }
.dream__content p { font-weight: 700; font-size: var(--fs-body); }
.dream__title {
    font-family: var(--serif); font-weight: 400 !important;
    font-size: var(--fs-display) !important; line-height: 1.2;
}
.dream__content .dream__title:first-child { margin-bottom: .9em; }
.dream__content .dream__title:last-child { margin-top: .9em; }

/* ---------- CTA band ---------- */
.cta {
    position: relative; z-index: 1;
    background: var(--mist);
    min-height: clamp(220px, 14.8vw, 284px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: clamp(22px, 1.6vw, 30px);
    padding: 48px 20px;
    text-align: center;
}
.cta__title {
    font-family: var(--serif); font-weight: 400; color: var(--taupe);
    font-size: var(--fs-display); letter-spacing: .1em;
}
.btn-pill {
    position: relative; overflow: hidden;
    display: inline-grid; place-items: center;
    min-width: clamp(200px, 13.1vw, 251px); height: clamp(48px, 2.9vw, 56px);
    padding: 0 28px;
    background: var(--cream); color: var(--taupe);
    border-radius: 13px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
    font-family: var(--serif); font-size: clamp(18px, 1.3vw, 25px); letter-spacing: .1em;
    transition: color .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.btn-pill__fill {
    position: absolute; inset: 0; background: var(--taupe);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: translateY(101%);
    transition: transform .7s var(--ease-out), border-radius .7s var(--ease-out);
}
.btn-pill__label { position: relative; }
.btn-pill:hover { color: var(--white); box-shadow: 0 10px 24px rgba(55, 24, 6, .2); }
.btn-pill:hover .btn-pill__fill { transform: translateY(0); border-radius: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; color: var(--mist); background: var(--espresso); overflow: hidden; }
.site-footer__bg { position: absolute; inset: 0; }
.site-footer__bg img { width: 100%; height: 125%; object-fit: cover; opacity: .38; mix-blend-mode: multiply; }
.site-footer__bg::after { content: ''; position: absolute; inset: 0; background: rgba(55, 24, 6, .72); }
.site-footer__main {
    position: relative;
    display: grid; grid-template-columns: 1.37fr 1.08fr 1fr;
    padding: clamp(40px, 2.4vw, 46px) clamp(24px, 9.27vw, 178px) clamp(48px, 3.6vw, 70px);
    align-items: start;
}
.site-footer__logo .icon { height: clamp(46px, 3.3vw, 64px); width: auto; color: var(--white); }
.site-footer__company { font-family: var(--serif); font-size: clamp(18px, 1.25vw, 24px); margin: clamp(28px, 2.4vw, 46px) 0 6px; }
.site-footer address, .site-footer li { font-size: var(--fs-small); line-height: 1.3; }
.site-footer__col { padding-top: clamp(60px, 4.7vw, 90px); }
.site-footer__col h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.25vw, 24px); margin-bottom: 14px; }
.site-footer__col li + li { margin-top: 1.15em; }
.site-footer__social { display: inline-flex; align-items: center; gap: 8px; }
.site-footer__social .icon { width: 22px; height: 22px; }
.site-footer__bar {
    position: relative;
    background: var(--espresso-deep);
    text-align: center; font-size: 12px; letter-spacing: .02em;
    padding: 6px 16px;
}

/* ---------- Portfolio grid ---------- */
.projects { position: relative; z-index: 1; padding: clamp(28px, 2.1vw, 41px) 0 clamp(80px, 5.6vw, 108px); }
.projects__grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: clamp(48px, 4.5vw, 86px); }
.project-card { padding: 0 var(--pad); }
.project-card a { display: block; }
.project-card__media {
    position: relative; overflow: hidden;
    aspect-ratio: 425 / 274; background: var(--mist);
}
.project-card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: scale 1.2s var(--ease-out), filter .8s var(--ease-out);
}
.project-card__view {
    position: absolute; left: 50%; top: 50%;
    width: 84px; height: 84px; margin: -42px 0 0 -42px;
    border-radius: 50%; display: grid; place-items: center;
    background: rgba(242, 237, 230, .9); color: var(--taupe);
    font-family: var(--serif); font-size: 13px; letter-spacing: .12em;
    transform: scale(0); transition: transform .6s var(--ease-out);
}
.project-card a:hover img { scale: 1.07; filter: brightness(.88); }
.project-card a:hover .project-card__view { transform: scale(1); }
.project-card__meta {
    display: flex; gap: clamp(16px, 2.1vw, 40px);
    margin-top: clamp(14px, 1.2vw, 23px);
    font-family: var(--serif); font-size: clamp(14px, .94vw, 18px);
}
.project-card__year { color: var(--silver); flex: none; }
.project-card__name {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .6s var(--ease-out);
}
.project-card a:hover .project-card__name { background-size: 100% 1px; }

/* ---------- Project detail ---------- */
.pj-top {
    position: relative;
    display: grid; grid-template-columns: var(--col) 1fr;
    padding-top: calc(var(--header-h) + 1px);
}
.pj-top__info { padding: 0 var(--pad); }
.pj-top__sticky {
    position: sticky; top: calc(var(--header-h-compact) + 20px);
    min-height: calc(100svh - var(--header-h-compact) - 40px);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 20px 0 40px;
}
.back-link { font-size: 13px; letter-spacing: .08em; display: inline-flex; gap: 10px; width: max-content; }
.back-link span { transition: transform .5s var(--ease-out); }
.back-link:hover span { transform: translateX(-6px); }
.pj-year { font-family: var(--serif); color: var(--silver); }
.pj-title {
    font-family: var(--serif); font-weight: 400; color: var(--taupe);
    font-size: clamp(22px, 1.46vw, 28px); line-height: 1.2;
    margin: 12px 0 20px;
}
.pj-summary { color: var(--taupe); font-size: var(--fs-small); max-width: 26em; }
.pj-top__media { display: grid; gap: 22px; padding: 1px 0 0 13px; }
.pj-media { overflow: hidden; aspect-ratio: 1439 / 632; position: relative; background: var(--mist); }
.pj-media--tall { aspect-ratio: 960 / 632; }
.pj-media--side-tall { aspect-ratio: 960 / 1286; }

/* Photo gallery: two columns, 932px wide, 632px rows, tall photos span two rows (XD layout). */
.pj-gallery {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: calc((100vw - 2.92vw) / 2 * 632 / 932);
    column-gap: 2.92vw;
    row-gap: 3.13vw;
    padding-top: 3.13vw;
    background: var(--white);
}
.pj-gallery__item {
    grid-column: var(--col); grid-row: var(--row);
    position: relative; overflow: hidden; background: var(--mist);
}
.pj-gallery__item.is-tall { grid-row: var(--row) / span 2; }
.pj-gallery__item img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.pj-feature--end { margin-top: 3.13vw; }

.pj-statement {
    padding: clamp(80px, 5.6vw, 106px) var(--col) clamp(80px, 5.6vw, 110px) calc(var(--col) + var(--pad));
}
.pj-statement .h-display { max-width: 22em; line-height: 1.38; }

.pj-story {
    position: relative;
    display: grid; grid-template-columns: var(--col) var(--col) 1fr;
}
.pj-story__eyebrow { padding: 0 var(--pad); color: var(--taupe); font-size: var(--fs-small); text-transform: uppercase; }
.pj-story__text { padding: 0 var(--pad); }
.pj-story__sticky { position: sticky; top: calc(var(--header-h-compact) + 24px); font-size: var(--fs-small); }
.pj-story__sticky p + p { margin-top: 1.2em; }
.pj-story__media { display: grid; gap: 22px; }

.pj-quote { padding: clamp(80px, 5.4vw, 104px) var(--col) clamp(80px, 5.4vw, 104px) calc(var(--col) + var(--pad)); }
.pj-quote blockquote { font-family: var(--serif); font-size: var(--fs-quote); line-height: 1.3; max-width: 17em; }

.pj-feature { position: relative; z-index: 1; overflow: hidden; height: clamp(320px, 44.8vw, 860px); }

.projects--more { padding-top: clamp(80px, 5.6vw, 108px); }
.more-title {
    padding: 0 var(--pad) clamp(28px, 2.6vw, 50px);
    text-align: center;
    font-family: var(--serif); font-weight: 400; color: var(--taupe);
    font-size: var(--fs-display); letter-spacing: .1em;
}

/* ---------- Contact ---------- */
.contact-info {
    position: relative; z-index: 1; background: var(--white);
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: clamp(64px, 6.6vw, 126px) clamp(24px, 9.27vw, 178px);
}
.contact-item { display: flex; gap: clamp(14px, 1.2vw, 22px); align-items: flex-start; color: var(--taupe); }
.contact-item__icon { flex: none; width: clamp(44px, 2.9vw, 56px); height: auto; }
.contact-item h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 1.25vw, 24px); letter-spacing: .02em; margin: 4px 0 4px; }
.contact-item p { font-size: var(--fs-small); line-height: 1.3; word-break: break-word; }
.map { position: relative; z-index: 1; height: clamp(360px, 31.7vw, 609px); background: var(--mist); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Preloader & page curtain ---------- */
.preloader, .curtain { display: none; }

.is-intro .preloader {
    display: block;
    position: fixed; inset: 0; z-index: 200;
    pointer-events: none;
}
.preloader__cols, .curtain {
    position: fixed; inset: 0;
    grid-template-columns: repeat(4, 1fr);
}
.preloader__cols { display: grid; }
.preloader__cols span, .curtain > span {
    background: var(--white);
    border-left: 1px solid var(--line);
    transform-origin: top;
}
.preloader__inner {
    position: absolute; inset: 0;
    display: grid; grid-template-columns: repeat(4, 1fr);
    align-items: center;
}
.preloader__logo { grid-column: 2; padding: 0 var(--pad); display: flex; justify-content: center; }
.preloader__logo .icon { width: clamp(180px, 16vw, 300px); height: auto; }
.preloader__mask { display: block; overflow: hidden; }
.preloader__mask > * { display: block; }
.preloader__meta {
    grid-column: 3; padding: 0 var(--pad);
    display: flex; justify-content: space-between;
    font-size: 12px; letter-spacing: .04em;
}
.preloader__meta em { font-family: var(--serif); }
.preloader__count {
    position: absolute; right: var(--pad); bottom: var(--pad);
    font-family: var(--serif); font-size: clamp(48px, 6vw, 110px); line-height: 1;
    color: var(--taupe); overflow: hidden;
}
.preloader__count span { display: block; }

.is-arriving .curtain, .curtain.is-active {
    display: grid; z-index: 190;
}
.curtain > span { background: var(--cream); border-color: rgba(159, 135, 117, .2); }
.curtain__logo {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    color: var(--taupe); opacity: 0;
}
.curtain__logo .icon { width: clamp(160px, 13vw, 240px); height: auto; }

/* Before JS takes over, hide anything that animates in so it never flashes. */
.js:not(.reduce-motion) [data-reveal],
.js:not(.reduce-motion) [data-hero-title],
.js:not(.reduce-motion) .page-hero__tile,
.js:not(.reduce-motion) .site-header { visibility: hidden; }
.js.is-ready [data-reveal],
.js.is-ready [data-hero-title],
.js.is-ready .page-hero__tile,
.js.is-ready .site-header { visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .intro__copy { margin-left: var(--pad); width: auto; max-width: 720px; padding-right: var(--pad); }
    .prose-block, .trust__head, .journey__head { padding-left: var(--pad); padding-right: var(--pad); }
    .trust__grid { margin-left: 0; }
    .journey__steps, .projects__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
    .site-footer__main { grid-template-columns: 1fr 1fr; gap: 40px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__col { padding-top: 0; }
    .pj-statement, .pj-quote { padding-left: var(--pad); padding-right: var(--pad); }
    .pj-story { grid-template-columns: 1fr 1fr; row-gap: 24px; }
    .pj-story__eyebrow { grid-column: 1 / -1; }
    .pj-story__media { grid-column: 2; }
    .contact-info { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; }
}

@media (max-width: 760px) {
    :root { --header-h: 64px; --header-h-compact: 56px; }
    .grid-lines span:nth-child(2), .grid-lines span:nth-child(4) { display: none; }
    .site-header__row { grid-template-columns: 1fr auto; }
    .site-header__nav { display: none; }
    .site-header__toggle { display: block; }
    .site-header__logo { padding-left: 16px; }
    .page-hero { height: 72svh; }
    .trust__grid, .journey__steps { grid-template-columns: 1fr; row-gap: 48px; }
    .projects__grid { grid-template-columns: 1fr; }
    .pj-top { grid-template-columns: 1fr; }
    .pj-top__sticky { position: static; min-height: 0; gap: 24px; padding-bottom: 24px; }
    .pj-top__media { padding: 0; }
    .pj-story { grid-template-columns: 1fr; padding: 0 0; }
    .pj-story__media { grid-column: auto; }
    .pj-story__sticky { position: static; }
    .pj-gallery { grid-template-columns: 1fr; grid-auto-rows: auto; row-gap: 16px; padding-top: 16px; }
    .pj-gallery__item, .pj-gallery__item.is-tall { grid-column: 1; grid-row: auto; aspect-ratio: 932 / 632; }
    .pj-gallery__item.is-tall { aspect-ratio: 932 / 1322; }
    .site-footer__main { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; }
    .preloader__inner { grid-template-columns: 1fr; align-content: center; gap: 18px; }
    .preloader__logo, .preloader__meta { grid-column: 1; justify-content: center; gap: 12px; }
    .dream__content { width: 80%; gap: .7em; }
    .dream__content p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
