:root {
    --ink: #17231f;
    --forest: #16251f;
    --moss: #6f765e;
    --paper: #f4f1e9;
    --white: #fff;
    --line: rgba(23, 35, 31, .18);
    --muted: #676c68;
    --shell: min(1180px, calc(100vw - 64px));
    --serif: Cambria, Cochin, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfaf6; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section-space { padding-block: 112px; }

.site-header { height: 84px; padding-inline: max(32px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; background: #fbfaf6; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand__mark { width: 39px; height: 39px; border: 1px solid currentColor; display: grid; place-items: center; font: 600 11px/1 Arial; letter-spacing: -.05em; }
.brand strong { display: block; font: 600 18px/1.1 var(--serif); letter-spacing: .08em; text-transform: uppercase; }
.brand small { display: block; margin-top: 6px; font-size: 8px; letter-spacing: .18em; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.desktop-nav > a:not(.nav-cta) { padding-block: 30px; position: relative; }
.desktop-nav > a:not(.nav-cta)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 21px; height: 1px; background: var(--ink); transition: right .25s ease; }
.desktop-nav > a:hover::after, .desktop-nav > a.is-active::after { right: 0; }
.nav-cta { padding: 12px 16px; border: 1px solid var(--ink); }
.nav-cta span { margin-left: 12px; }
.mobile-nav { display: none; }

.hero { height: calc(100svh - 84px); min-height: 650px; position: relative; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.hero > img, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { z-index: 1; background: linear-gradient(90deg, rgba(8, 15, 13, .76) 0%, rgba(8, 15, 13, .28) 50%, rgba(8, 15, 13, .04) 76%); }
.hero__content { position: relative; z-index: 2; }
.hero h1, .page-hero h1 { max-width: 900px; margin: 22px 0 28px; font: 400 clamp(46px, 6.2vw, 88px)/.98 var(--serif); letter-spacing: -.02em; }
.hero h1 em, .page-hero h1 em, .section-heading h2 em, .intro h2 em { font-weight: 400; }
.hero__content > p:not(.eyebrow) { max-width: 510px; margin: 0 0 35px; font-size: 17px; color: rgba(255, 255, 255, .82); }
.hero__scroll { position: absolute; z-index: 2; right: max(32px, calc((100vw - 1180px) / 2)); bottom: 36px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero__scroll span { margin-left: 13px; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow::before { content: ''; width: 25px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(255,255,255,.72); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 17px; border: 1px solid currentColor; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.button--light:hover { background: var(--white); color: var(--ink); }
.button--dark { border-color: var(--forest); color: var(--white); background: var(--forest); }
.button--dark:hover { background: #2a3a33; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.text-link--light { color: var(--white); }

.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 11vw; align-items: start; }
.intro h2, .section-heading h2, .story h2, .contact-cta h2 { margin: 20px 0 0; font: 400 clamp(36px, 4.3vw, 62px)/1.06 var(--serif); letter-spacing: -.02em; }
.intro__copy { padding-top: 34px; max-width: 470px; }
.lead { font: 400 23px/1.45 var(--serif); }
.intro__copy > p:not(.lead), .story__copy > p:not(.lead) { color: var(--muted); }
.intro__copy .text-link { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 58px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats dt { font: 400 31px/1 var(--serif); }
.stats dd { margin: 9px 0 0; color: var(--muted); font-size: 11px; }

.services-section, .values { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 50px; }
.section-heading > p { max-width: 350px; margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 390px; padding: 30px; display: grid; grid-template-columns: 1fr 28px; grid-template-rows: 1fr auto; gap: 24px; border-right: 1px solid rgba(255,255,255,.22); border-bottom: 1px solid rgba(255,255,255,.22); position: relative; isolation: isolate; overflow: hidden; color: var(--white); }
.service-card::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--card-image) center/cover no-repeat; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.service-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,19,15,.18) 5%, rgba(8,19,15,.32) 42%, rgba(8,19,15,.92) 100%); transition: background .3s ease; }
.service-card__number { grid-column: 1; align-self: start; font: 400 clamp(68px, 7vw, 106px)/.8 var(--serif); letter-spacing: -.08em; color: rgba(255,255,255,.12); -webkit-text-stroke: 1px rgba(255,255,255,.65); }
.service-card__content { grid-column: 1; align-self: end; max-width: 430px; }
.service-card h3 { margin: 0 0 13px; font: 400 29px/1.15 var(--serif); }
.service-card p { max-width: 360px; margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.service-card__arrow { grid-column: 2; grid-row: 1; justify-self: end; font-size: 20px; }
.service-card:hover::before { transform: scale(1.045); }
.service-card:hover::after { background: linear-gradient(180deg, rgba(8,19,15,.08), rgba(8,19,15,.88)); }

.projects-section { overflow: hidden; }
.projects-section .section-heading { align-items: start; }
.projects-section .section-heading h2 { max-width: 650px; }
.projects-section .section-heading .text-link { margin-top: 58px; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; align-items: start; }
.project-card { min-width: 0; }
.project-card figure { margin: 0; overflow: hidden; background: var(--paper); aspect-ratio: 4/3; }
.project-card img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.project-card:hover img { transform: scale(1.025); }
.project-card__meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.project-card__meta h3 { margin: 0; font: 400 22px/1.2 var(--serif); }
.project-card__meta p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.project-card__meta > p { text-align: right; }
.project-grid--featured { height: clamp(610px, 52vw, 680px); grid-template-columns: minmax(0, 1.32fr) minmax(0, .78fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-grid--featured .project-card { width: auto; height: 100%; margin: 0; }
.project-grid--featured .project-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.project-grid--featured .project-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.project-grid--featured .project-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.project-grid--featured .project-card > a { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.project-grid--featured .project-card figure,
.project-grid--featured .project-card:nth-child(n) figure { height: 100%; aspect-ratio: auto; }
.project-grid--featured .project-card:not(:first-child) .project-card__meta { padding-top: 10px; }
.project-grid--featured .project-card:not(:first-child) .project-card__meta h3 { font-size: 18px; }
.project-grid--featured .project-card:not(:first-child) .project-card__meta p { font-size: 9px; }

.why-section { background: #efeee8; overflow: hidden; }
.why-heading { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 80px; align-items: end; margin-bottom: 52px; }
.why-heading h2, .insights-heading h2 { margin: 18px 0 0; font: 400 clamp(40px, 4.7vw, 66px)/1.02 var(--serif); letter-spacing: -.025em; }
.why-heading > p { max-width: 420px; margin: 0 0 8px; color: var(--muted); }
.why-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 18px; height: 520px; }
.why-visual { min-width: 0; height: 100%; margin: 0; position: relative; overflow: hidden; background: #a9ada3; }
.why-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,16,.03) 35%, rgba(10,20,16,.7) 100%); }
.why-visual img { height: 100%; object-fit: cover; filter: saturate(.72); }
.why-visual figcaption { position: absolute; z-index: 1; left: clamp(24px, 4vw, 50px); right: clamp(24px, 4vw, 50px); bottom: 34px; padding: 30px 0 0; border-top: 1px solid rgba(255,255,255,.55); color: var(--white); }
.why-visual small { display: block; margin-bottom: 12px; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.why-visual strong { display: block; font: 400 clamp(34px, 3.6vw, 52px)/.98 var(--serif); letter-spacing: -.02em; }
.why-carousel { min-width: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.why-carousel__viewport { min-width: 0; overflow: hidden; }
.why-carousel__track { height: 100%; display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); will-change: transform; }
.why-carousel__page { min-width: 100%; height: 100%; display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reason-card { min-height: 0; padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,.8); border: 1px solid rgba(23,35,31,.06); }
.reason-card > p { margin: 0 0 18px; color: #a06f2d; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
.reason-card h3 { margin: 0 0 12px; font: 400 clamp(22px, 2.15vw, 30px)/1.16 var(--serif); }
.reason-card > div { max-width: 470px; color: var(--muted); font-size: 12px; }
.why-carousel__controls { min-height: 46px; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.why-carousel__controls > div { display: flex; gap: 8px; }
.why-carousel__controls button { width: 38px; height: 34px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); color: var(--ink); background: transparent; cursor: pointer; transition: color .2s, background .2s; }
.why-carousel__controls button:hover, .why-carousel__controls button:focus-visible { color: var(--white); background: var(--ink); outline: none; }

.insights-section { background: #fbfaf6; }
.insights-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 52px; }
.insights-heading > p { max-width: 380px; margin: 0 0 8px; color: var(--muted); }
.insights-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .8fr)); gap: 28px; align-items: start; }
.insight-card { min-width: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.insight-card figure { aspect-ratio: 16/9; margin: 0 0 22px; overflow: hidden; background: var(--paper); }
.insight-card img { height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.insight-card:hover img { transform: scale(1.025); }
.insight-card__content > p { margin: 0 0 12px; color: #a06f2d; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.insight-card h3 { margin: 0 0 14px; font: 400 clamp(23px, 2.15vw, 31px)/1.13 var(--serif); }
.insight-card__content > div { color: var(--muted); font-size: 12px; }
.article-link { display: inline-flex; gap: 13px; margin-top: 20px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.insight-card--featured figure { aspect-ratio: 1.42/1; }
.insight-card--featured h3 { font-size: clamp(27px, 2.65vw, 38px); }

.process-preview { color: var(--white); background: #203028; }
.section-heading--light h2 { color: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.process-grid article { min-height: 360px; padding: 24px 28px 28px; border-right: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; justify-content: space-between; position: relative; isolation: isolate; overflow: hidden; }
.process-grid article::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--step-image) center/cover no-repeat; opacity: .28; filter: saturate(.65); transition: opacity .3s, transform .7s cubic-bezier(.2,.6,.2,1); }
.process-grid article::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,35,27,.62), rgba(15,35,27,.96)); }
.process-grid article:hover::before { opacity: .5; transform: scale(1.04); }
.process-grid article + article { padding-left: 28px; }
.process-grid__number { font: 400 clamp(62px, 6vw, 96px)/.82 var(--serif); letter-spacing: -.08em; color: rgba(255,255,255,.08); -webkit-text-stroke: 1px rgba(255,255,255,.5); }
.process-grid h3 { margin: 0 0 15px; font: 400 27px/1.2 var(--serif); }
.process-grid p { color: rgba(255,255,255,.58); font-size: 13px; }

.contact-cta { padding-block: 100px; background: #e8e3d8; }
.contact-cta__inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 10vw; }
.contact-cta__inner > div:last-child { padding-bottom: 8px; }
.contact-cta__inner > div:last-child p { max-width: 390px; color: var(--muted); margin-bottom: 28px; }
.contact-cta .text-link--light { color: var(--ink); }

.site-footer { color: rgba(255,255,255,.72); background: #101b17; }
.footer-main { padding-block: 70px 55px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.brand--light { color: var(--white); }
.footer-main > div:first-child > p { margin-top: 28px; font: 400 21px/1.45 var(--serif); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-links h2 { margin: 0 0 20px; color: rgba(255,255,255,.4); font: 700 9px/1 Arial; letter-spacing: .15em; text-transform: uppercase; }
.footer-links a, .footer-links span { display: block; margin: 8px 0; font-size: 13px; }
.footer-bottom { padding-block: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.page-hero { min-height: 570px; padding-block: 130px 85px; display: grid; grid-template-columns: 1fr .42fr; align-items: end; column-gap: 40px; }
.page-hero .eyebrow { grid-column: 1/-1; align-self: start; }
.page-hero h1 { margin: 50px 0 0; }
.page-hero > p:last-child { align-self: end; max-width: 390px; margin-bottom: 12px; color: var(--muted); }
.page-hero--compact { min-height: 500px; }
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: center; padding-top: 0; }
.story__image { aspect-ratio: 4/3; }
.story__image img { height: 100%; object-fit: cover; }
.story__copy h2 { margin-block: 22px 30px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value-grid article { padding: 30px 40px 20px 0; border-right: 1px solid var(--line); }
.value-grid article + article { padding-left: 40px; }
.value-grid span { font-size: 10px; }
.value-grid h3 { margin: 70px 0 15px; font: 400 28px/1.2 var(--serif); }
.value-grid p { color: var(--muted); font-size: 14px; }

.services-detail { padding-top: 0; }
.services-detail article { display: grid; grid-template-columns: .2fr .8fr; gap: 40px; padding-block: 55px; border-top: 1px solid var(--line); }
.services-detail article > span { font-size: 11px; }
.services-detail article > div { display: grid; grid-template-columns: 1fr .8fr; gap: 8vw; }
.services-detail h2 { margin: 0; font: 400 39px/1.1 var(--serif); }
.services-detail p { margin-top: 0; color: var(--muted); }
.services-detail ul, .commitment ul { list-style: none; margin: 25px 0 0; padding: 0; font-size: 13px; }
.services-detail li, .commitment li { padding: 9px 0; border-top: 1px solid var(--line); }
.wide-image { height: 620px; overflow: hidden; }
.wide-image img { height: 100%; object-fit: cover; }
.all-projects { padding-top: 0; }
.project-grid--all .project-card__meta { flex-wrap: wrap; }
.project-grid--all .project-card__meta > div { min-width: 0; }
.project-grid--all .project-card__meta h3 { overflow: visible; white-space: normal; overflow-wrap: anywhere; }

.process-detail { color: var(--white); background: var(--forest); }
.process-detail .shell { padding-block: 80px; }
.process-detail article { display: grid; grid-template-columns: .15fr .35fr .4fr .1fr; align-items: start; gap: 20px; margin-bottom: 18px; padding: 54px 34px; border: 1px solid rgba(255,255,255,.18); position: relative; isolation: isolate; overflow: hidden; }
.process-detail article::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--step-image) center/cover no-repeat; opacity: .22; }
.process-detail article::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,37,30,.98) 20%, rgba(18,37,30,.72)); }
.process-detail article > span { font: 400 clamp(52px, 5vw, 84px)/.8 var(--serif); color: rgba(255,255,255,.08); -webkit-text-stroke: 1px rgba(255,255,255,.45); }
.process-detail small { color: rgba(255,255,255,.5); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.process-detail h2 { margin: 0; font: 400 37px/1.1 var(--serif); }
.process-detail p { max-width: 430px; margin: 0; color: rgba(255,255,255,.65); }
.commitment { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.commitment h2 { margin: 20px 0 0; font: 400 44px/1.1 var(--serif); }

.contact-page { min-height: 760px; padding-block: 120px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; }
.contact-page h1 { margin: 24px 0 30px; font: 400 clamp(48px, 6vw, 80px)/1 var(--serif); letter-spacing: -.02em; }
.contact-page__intro > p:not(.eyebrow) { max-width: 450px; color: var(--muted); }
.contact-page dl { display: grid; gap: 20px; margin-top: 55px; }
.contact-page dl div { display: grid; grid-template-columns: 100px 1fr; }
.contact-page dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.contact-page dd { margin: 0; font-size: 13px; }
.contact-form-wrap { padding: 42px; background: var(--paper); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; }
.field--full { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.field label span { color: #a43a2d; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #92968f; border-radius: 0; color: var(--ink); background: transparent; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field textarea { resize: vertical; }
.field > p { margin: 6px 0 0; color: #a43a2d; font-size: 11px; }
.contact-form .button { width: 100%; }
.contact-form small { display: block; margin-top: 12px; color: var(--muted); font-size: 10px; }
.form-success { margin-bottom: 24px; padding: 14px 16px; border: 1px solid #59836c; color: #315a45; background: #edf5ef; font-size: 13px; }

@media (max-width: 900px) {
    :root { --shell: min(100% - 40px, 720px); }
    .section-space { padding-block: 80px; }
    .site-header { height: 70px; padding-inline: 20px; }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; position: relative; }
    .mobile-nav summary { width: 40px; height: 40px; display: grid; place-content: center; gap: 6px; list-style: none; cursor: pointer; }
    .mobile-nav summary::-webkit-details-marker { display: none; }
    .mobile-nav summary span { width: 22px; height: 1px; background: var(--ink); }
    .mobile-nav nav { position: absolute; right: 0; top: 48px; width: 230px; padding: 16px 22px; background: var(--white); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
    .mobile-nav nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); }
    .hero { height: calc(100svh - 70px); }
    .intro, .contact-cta__inner, .story, .commitment, .contact-page { grid-template-columns: 1fr; }
    .intro { gap: 30px; }
    .intro__copy { padding-top: 0; }
    .service-grid { grid-template-columns: 1fr; }
    .project-grid { gap: 45px 18px; }
    .project-grid--featured { height: clamp(560px, 78vw, 640px); gap: 18px; }
    .projects-section .section-heading h2 { font-size: clamp(32px, 5vw, 42px); }
    .projects-section .section-heading .text-link { font-size: 9px; }
    .project-card__meta { gap: 8px; }
    .project-card__meta > div { min-width: 0; }
    .project-card__meta h3 { overflow: hidden; font-size: 17px; white-space: nowrap; text-overflow: ellipsis; }
    .project-card__meta p { font-size: 9px; }
    .project-card__meta > p { flex: 0 0 auto; white-space: nowrap; }
    .why-heading { grid-template-columns: 1fr .8fr; gap: 40px; }
    .why-layout { grid-template-columns: 1fr; height: auto; }
    .why-visual { height: 500px; }
    .why-carousel { height: 510px; }
    .insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .insight-card--featured { grid-column: 1 / -1; }
    .insight-card--featured figure { aspect-ratio: 16/9; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: .75fr 1.25fr; }
    .page-hero { grid-template-columns: 1fr; padding-block: 90px 65px; }
    .page-hero > p:last-child { margin-top: 30px; }
    .services-detail article > div { grid-template-columns: 1fr; gap: 20px; }
    .contact-page { gap: 60px; padding-block: 90px; }
}

@media (max-width: 620px) {
    :root { --shell: calc(100% - 32px); }
    .section-space { padding-block: 64px; }
    .hero { min-height: 620px; }
    .hero__shade { background: rgba(8,15,13,.54); }
    .hero h1 { font-size: 43px; }
    .hero__content > p:not(.eyebrow) { font-size: 15px; }
    .hero__scroll { display: none; }
    .section-heading { display: block; }
    .section-heading > p, .section-heading > a { margin-top: 24px; }
    .stats { gap: 10px; }
    .stats dt { font-size: 25px; }
    .service-card { min-height: 340px; padding: 22px; }
    .project-grid, .project-grid--all { grid-template-columns: 1fr; }
    .project-grid--featured { height: auto; grid-template-columns: 1fr; grid-template-rows: none; gap: 42px; }
    .project-grid--featured .project-card:nth-child(n) { grid-column: auto; grid-row: auto; height: auto; }
    .project-grid--featured .project-card > a { height: auto; display: block; }
    .project-card:nth-child(n) { grid-column: auto; width: auto; margin-left: 0; }
    .project-card:nth-child(n) figure,
    .project-grid--featured .project-card:nth-child(n) figure { height: auto; aspect-ratio: 4/3; }
    .project-card__meta h3 { overflow: visible; white-space: normal; }
    .projects-section .section-heading .text-link { margin-top: 24px; }
    .why-heading, .insights-heading { display: block; }
    .why-heading > p, .insights-heading > p { margin-top: 24px; }
    .why-heading h2, .insights-heading h2 { font-size: 42px; }
    .why-visual { height: 390px; }
    .why-visual strong { font-size: 34px; }
    .why-carousel { height: 500px; }
    .reason-card { padding: 25px 22px; }
    .insights-grid { grid-template-columns: 1fr; }
    .insight-card--featured { grid-column: auto; }
    .process-grid { grid-template-columns: 1fr; }
    .process-grid article, .process-grid article + article { min-height: 330px; padding: 24px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
    .contact-cta { padding-block: 70px; }
    .footer-main, .footer-links { grid-template-columns: 1fr; }
    .footer-main { gap: 50px; }
    .footer-bottom { display: block; }
    .footer-bottom span { display: block; margin: 5px 0; }
    .page-hero { min-height: 480px; }
    .page-hero h1 { font-size: 44px; }
    .value-grid { grid-template-columns: 1fr; }
    .value-grid article, .value-grid article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .value-grid h3 { margin-top: 35px; }
    .services-detail article { grid-template-columns: 35px 1fr; gap: 15px; }
    .wide-image { height: 420px; }
    .process-detail article { grid-template-columns: 38px 1fr; }
    .process-detail p, .process-detail small { grid-column: 2; }
    .contact-form-wrap { padding: 24px 18px; }
    .contact-form { grid-template-columns: 1fr; }
    .field--full { grid-column: auto; }
}

.project-detail__heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin: 50px 0 30px; }
.project-detail h1 { margin: 18px 0 0; font: 400 clamp(40px, 5vw, 76px)/1.06 var(--serif); overflow-wrap: anywhere; }
.project-detail dl { display: flex; gap: 40px; margin: 0; }
.project-detail dt { font-size: 11px; color: var(--muted); }
.project-detail dd { margin: 6px 0 0; }
.project-detail__summary { max-width: 800px; color: var(--muted); white-space: pre-line; }
.project-detail__hint { margin: 40px 0 16px; font-size: 13px; color: var(--muted); }
.project-detail__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project-detail__photos a { position: relative; overflow: hidden; }
.project-detail__photos a:first-child { grid-column: 1 / -1; }
.project-detail__photos img { aspect-ratio: 4/3; object-fit: cover; }
.project-detail__photos a:first-child img { aspect-ratio: 16/9; }
.project-detail__photos span { position: absolute; bottom: 18px; right: 18px; padding: 8px 14px; background: #17231fe6; color: white; font-size: 12px; }
@media (max-width: 620px) {
    .project-detail__heading { grid-template-columns: 1fr; gap: 24px; }
    .project-detail__photos { grid-template-columns: 1fr; }
    .project-detail__photos a:first-child img { aspect-ratio: 4/3; }
}

.gallery-open { overflow: hidden; }
.project-gallery { position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 20px 24px; border: 0; background: #080a09; color: #fff; }
.project-gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 16px; }
.project-gallery::backdrop { background: #080a09; }
.project-gallery__header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.project-gallery__header h2 { margin: 0; font: 400 24px/1.2 var(--serif); }
.project-gallery__header p { margin: 6px 0 0; color: #b7beb9; font-size: 12px; }
.project-gallery button { color: #fff; border: 1px solid #626862; background: #191d1a; cursor: pointer; }
.project-gallery button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.project-gallery button:disabled { opacity: .3; cursor: default; }
.project-gallery__header > button { width: 44px; height: 44px; flex-shrink: 0; font-size: 30px; }
.project-gallery__stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 16px; min-height: 0; }
.project-gallery__stage > button { width: 44px; height: 44px; border-radius: 50%; }
.project-gallery__image-wrap { height: 100%; min-height: 0; display: grid; place-items: center; }
.project-gallery__image-wrap img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.project-gallery__image-wrap [hidden] { display: none; }
.project-gallery__thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 5px; max-width: 100%; min-width: 0; }
.project-gallery__thumbnails button { width: 110px; height: 72px; flex: 0 0 auto; padding: 0; opacity: .5; border: 2px solid transparent; }
.project-gallery__thumbnails button[aria-pressed="true"] { opacity: 1; border-color: #fff; }
.project-gallery__thumbnails img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 620px) {
    .project-gallery { padding: 12px; gap: 12px; }
    .project-gallery__stage { grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 5px; }
    .project-gallery__stage > button { width: 32px; height: 36px; }
    .project-gallery__thumbnails button { width: 80px; height: 56px; }
    .project-gallery__header h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
