@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/manrope-400.ttf') format('truetype'); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/manrope-500.ttf') format('truetype'); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/manrope-600.ttf') format('truetype'); }
@font-face { font-family: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/manrope-700.ttf') format('truetype'); }

:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --white: #fff;
  --green: #173e35;
  --green-deep: #102f28;
  --green-soft: #e4edce;
  --ink: #182720;
  --muted: #69736b;
  --line: #dde0d6;
  --line-dark: #bcc5b8;
  --shadow: 0 28px 80px rgb(17 37 29 / 16%);
  --ease: cubic-bezier(.22, .72, .18, 1);
  --page: 1280px;
  --gutter: clamp(24px, 3.35vw, 48px);
  font-family: Manrope, "Avenir Next", Avenir, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; background: var(--paper); font-size: 16px; line-height: 1.65; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: 1.12; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { color: var(--white); background: var(--green); }
:focus-visible { outline: 3px solid #8caa73; outline-offset: 4px; }

.container { width: min(var(--page), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; color: var(--white); background: var(--green); border-radius: 8px; transform: translateY(-160%); transition: transform .25s var(--ease); }
.skip-link:focus { transform: translateY(0); }

/* A restrained masthead keeps the first view focused on the work. */
.site-header { position: sticky; z-index: 20; top: 0; background: rgb(246 245 240 / 94%); border-bottom: 1px solid rgb(221 224 214 / 74%); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; color: var(--green); }
.brand-mark svg { width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.brand-name { font-size: 14px; line-height: 1.2; letter-spacing: .065em; font-weight: 700; white-space: nowrap; }
.brand-name > span { color: var(--green); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.35vw, 34px); }
.site-nav a, .footer-links a, .footer-links button { font-size: 14px; font-weight: 600; transition: color .2s var(--ease); }
.site-nav a:hover, .footer-links a:hover, .footer-links button:hover { color: #54775d; }
.site-nav .nav-contact { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--line-dark); border-radius: 6px; }
.nav-contact span { font-size: 17px; }
.menu-toggle { display: none; }

/* Editorial split hero with the full subject area kept in frame. */
.hero { min-height: 640px; display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(48px, 7vw, 104px); padding-block: 66px 74px; }
.hero-copy { position: relative; z-index: 1; padding-block: 12px; }
.eyebrow, .section-kicker, .expertise-label, .tagline-label { display: flex; align-items: center; gap: 10px; color: var(--green); font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .115em; text-transform: uppercase; }
.eyebrow { margin-bottom: 28px; }
.eyebrow-mark { width: 8px; height: 8px; border-radius: 50%; background: #6f8e61; box-shadow: 0 0 0 4px rgb(111 142 97 / 13%); }
.hero h1 { max-width: 660px; font-size: clamp(54px, 6.2vw, 88px); letter-spacing: -.075em; line-height: .99; }
.hero-description { max-width: 480px; margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 16px; line-height: 1.2; font-weight: 700; transition: color .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease), transform .24s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.985); }
.button-primary { margin-top: 31px; color: var(--white); background: var(--green); }
.button-primary:hover { background: var(--green-deep); }
.button span { font-size: 19px; font-weight: 500; }
.hero-note { max-width: 380px; margin-top: 24px; padding-left: 14px; color: var(--muted); border-left: 1px solid var(--line-dark); font-size: 13px; line-height: 1.55; }
.hero-visual { position: relative; min-width: 0; height: clamp(420px, 43vw, 580px); overflow: hidden; background: #d9ddd2; border-radius: 10px; }
.hero-visual::after { position: absolute; inset: 48% 0 0; content: ""; background: linear-gradient(transparent, rgb(15 30 24 / 40%)); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.image-caption { position: absolute; z-index: 1; right: 26px; bottom: 23px; left: 26px; color: var(--white); font-size: 12px; line-height: 1.5; }
.hero-index { position: absolute; z-index: 1; top: 20px; right: 20px; padding: 7px 10px; color: var(--white); background: rgb(18 39 31 / 56%); border: 1px solid rgb(255 255 255 / 27%); border-radius: 4px; font-size: 11px; letter-spacing: .1em; }
.hero-index span { margin-inline: 4px; opacity: .64; }

.expertise-band { border-block: 1px solid var(--line); background: #f0efe9; }
.expertise-inner { min-height: 82px; display: flex; align-items: center; gap: clamp(28px, 5vw, 76px); }
.expertise-label { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.expertise-list { color: var(--ink); font-size: 14px; font-weight: 600; }
.expertise-list span { margin-inline: 13px; color: #94a08f; font-weight: 400; }

.section { padding-block: 112px; }
.section-heading { margin-bottom: 42px; }
.section-kicker { justify-content: space-between; color: var(--muted); font-size: 11px; }
.section-kicker span { color: #8d988e; font-weight: 600; letter-spacing: .08em; }
.section-heading-main { display: grid; grid-template-columns: 1fr minmax(250px, .55fr); align-items: end; gap: 40px; margin-top: 24px; }
.section-heading h2, .about-copy h2, .faq-intro h2 { max-width: 690px; font-size: clamp(42px, 5vw, 66px); letter-spacing: -.065em; }
.section-intro { max-width: 400px; color: var(--muted); font-size: 15px; line-height: 1.7; }

.portfolio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { min-height: 44px; padding: 0 15px; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 13px; font-weight: 600; transition: color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.filter-button:hover { color: var(--green); border-color: var(--line-dark); }
.filter-button[aria-pressed="true"] { color: var(--white); background: var(--green); border-color: var(--green); }
.project-count { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 25px; row-gap: 46px; padding-top: 28px; }
.project-card { display: block; min-width: 0; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; animation: card-in .5s var(--ease) both; }
.project-card:nth-child(3n + 2) { animation-delay: 50ms; }
.project-card:nth-child(3n + 3) { animation-delay: 100ms; }
.project-image { position: relative; display: block; aspect-ratio: 1.29 / 1; overflow: hidden; background: #e3e4dd; border-radius: 8px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .35s var(--ease); }
.project-card:hover .project-image img, .project-card:focus-visible .project-image img { transform: scale(1.035); }
.project-open { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--green); background: var(--paper); border-radius: 50%; font-size: 20px; transform: translateY(8px); opacity: 0; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.project-card:hover .project-open, .project-card:focus-visible .project-open { transform: translateY(0); opacity: 1; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project-category { color: var(--green); }
.project-number { color: #98a098; }
.project-card h3 { margin-top: 9px; font-size: 22px; letter-spacing: -.04em; }
.project-summary { max-width: 390px; margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.gallery-empty { padding: 48px 24px; text-align: center; background: #f0efe9; }
.gallery-empty p { color: var(--muted); font-size: 14px; }
.gallery-empty .empty-title { margin-bottom: 6px; color: var(--ink); font-size: 18px; font-weight: 600; }

.services-section { background: #eeeee7; }
.services-section > .container { padding-block: 0; }
.service-list { border-top: 1px solid var(--line-dark); }
.service-row { min-height: 104px; display: grid; grid-template-columns: 90px 1fr 36px; align-items: center; gap: 24px; border-bottom: 1px solid var(--line-dark); transition: padding .25s var(--ease), background .25s var(--ease); }
.service-row:hover { padding-inline: 12px; background: rgb(255 255 255 / 45%); }
.service-number { color: #879389; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.service-row h3 { font-size: 21px; letter-spacing: -.035em; }
.service-row p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.service-arrow { color: var(--green); font-size: 20px; transition: transform .25s var(--ease); }
.service-row:hover .service-arrow { transform: translate(2px, -2px); }

.about-section { padding-block: 128px; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(58px, 9vw, 132px); }
.about-image { position: relative; min-width: 0; height: 570px; overflow: hidden; background: #dedfd7; border-radius: 8px; }
.about-image img { width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.about-image .image-caption { right: 20px; bottom: 18px; left: 20px; }
.about-copy .section-kicker { margin-bottom: 23px; }
.about-copy h2 { font-size: clamp(42px, 4.5vw, 60px); }
.about-copy > p:not(.section-kicker) { margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.about-points { display: grid; gap: 14px; margin: 25px 0 0; padding: 0; list-style: none; }
.about-points li { position: relative; padding-left: 23px; color: var(--ink); font-size: 14px; line-height: 1.65; }
.about-points li::before { position: absolute; top: .72em; left: 0; width: 7px; height: 7px; content: ""; background: #7e9a6a; border-radius: 50%; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; color: var(--green); background: none; border: 0; cursor: pointer; font-size: 14px; font-weight: 700; }
.text-link span { font-size: 17px; transition: transform .2s var(--ease); }
.text-link:hover span { transform: translate(2px, -2px); }
.about-copy > .text-link { margin-top: 22px; }

.tagline-section { padding-block: 94px 102px; color: var(--white); background: var(--green); overflow: hidden; }
.tagline-label { margin-bottom: 24px; color: #c4d2bd; font-size: 11px; }
.tagline { max-width: 1080px; font-size: clamp(44px, 6.4vw, 80px); letter-spacing: -.065em; line-height: 1.06; }
.tagline[data-word-reveal] { animation: reveal-up .8s var(--ease) both; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.process-step { min-height: 218px; padding: 27px 28px 22px 0; border-bottom: 1px solid var(--line-dark); }
.process-step + .process-step { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.process-number { display: block; margin-bottom: 28px; color: #849187; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.process-step h3 { font-size: 22px; }
.process-step p { max-width: 325px; margin-top: 11px; color: var(--muted); font-size: 14px; line-height: 1.65; }

.faq-section { background: #eeeee7; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(54px, 9vw, 125px); }
.faq-intro .section-kicker { margin-bottom: 22px; }
.faq-intro h2 { font-size: clamp(38px, 4.2vw, 56px); }
.faq-intro > p:last-child { max-width: 330px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line-dark); }
.faq-list summary { position: relative; min-height: 68px; display: flex; align-items: center; padding: 17px 36px 17px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 600; line-height: 1.45; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; right: 3px; color: var(--green); content: "+"; font-size: 24px; font-weight: 400; transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 680px; padding: 0 35px 22px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.contact-section { padding-block: 77px; color: var(--white); background: var(--green); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-inner .section-kicker { color: #c4d2bd; }
.contact-inner h2 { margin-top: 18px; font-size: clamp(38px, 4.2vw, 56px); }
.contact-inner > div > p:last-child { margin-top: 12px; color: #d0dbd1; font-size: 14px; }
.button-light { flex: 0 0 auto; color: var(--green); background: var(--paper); }
.button-light:hover { background: var(--green-soft); }

.site-footer { padding-block: 42px 22px; background: #e9e9e1; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 35px; }
.brand-footer .brand-mark { width: 34px; height: 34px; }
.brand-footer .brand-mark svg { width: 32px; height: 32px; }
.footer-brand-block > p { margin: 10px 0 0 45px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; align-items: flex-start; gap: 25px; }
.footer-links button { min-height: 44px; padding: 0; color: var(--ink); background: none; border: 0; cursor: pointer; }
.footer-bottom { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.footer-bottom p, .footer-bottom a { color: var(--muted); font-size: 11px; }
.footer-bottom p:nth-child(2) { text-align: center; }
.back-to-top { min-height: 44px; display: inline-flex; align-items: center; justify-content: flex-end; }

/* Dialogs use native modal behavior with an editorial, image-first layout. */
dialog { color: var(--ink); background: var(--paper); border: 0; }
dialog::backdrop { background: rgb(12 27 21 / 68%); backdrop-filter: blur(5px); animation: fade-in .2s ease-out; }
.project-dialog, .inquiry-dialog { position: fixed; inset: 50% auto auto 50%; width: min(1050px, calc(100% - 44px)); max-width: none; max-height: min(88vh, 900px); margin: 0; padding: 0; overflow: auto; box-shadow: var(--shadow); transform: translate(-50%, -48%); animation: dialog-in .28s var(--ease) forwards; }
.project-dialog[open], .inquiry-dialog[open] { display: block; }
.dialog-close { position: absolute; z-index: 2; top: 16px; right: 16px; min-width: 80px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 12px; color: var(--ink); background: rgb(246 245 240 / 93%); border: 1px solid rgb(24 39 32 / 12%); border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 700; }
.dialog-close span { font-size: 19px; font-weight: 400; }
.dialog-grid { min-height: 570px; display: grid; grid-template-columns: 1.08fr .92fr; }
.dialog-media { position: relative; min-height: 570px; background: #dedfd7; }
.dialog-media img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; }
.dialog-media .image-caption { bottom: 22px; }
.dialog-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(40px, 5vw, 68px) clamp(30px, 4vw, 54px) 40px; }
.dialog-copy .section-kicker { margin: 24px 0 19px; }
.dialog-copy h2, .dialog-form-inner h2 { font-size: clamp(34px, 4vw, 50px); }
.dialog-copy > p:not(.section-kicker) { margin-top: 17px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.detail-scope-block { width: 100%; margin-top: 27px; padding-top: 21px; border-top: 1px solid var(--line); }
.detail-scope-block h3 { font-size: 14px; letter-spacing: -.02em; }
.detail-scope-block ul { display: grid; gap: 9px; margin: 13px 0 0; padding-left: 17px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.dialog-copy .detail-location { color: var(--green); font-size: 13px; font-weight: 600; }
.dialog-copy .detail-note { margin-top: auto !important; padding-top: 20px; color: var(--muted); font-size: 12px !important; }
.original-toggle { margin-top: 15px; padding: 0; }
.original-toggle[aria-pressed="true"] { color: #536d50; }
.inquiry-dialog { width: min(660px, calc(100% - 40px)); }
.dialog-form-inner { padding: 54px clamp(28px, 6vw, 68px) 52px; }
.dialog-form-inner .section-kicker { margin-bottom: 19px; }
.dialog-form-inner > p:not(.section-kicker) { margin-top: 14px; color: var(--muted); font-size: 14px; }
#inquiry-form { display: grid; gap: 16px; margin-top: 27px; }
.form-field { display: grid; gap: 7px; }
.form-field label { font-size: 13px; font-weight: 700; }
.form-field label span { color: #8a5748; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: var(--white); border: 1px solid var(--line-dark); border-radius: 4px; font-size: 15px; }
.form-field textarea { min-height: 124px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgb(111 142 97 / 30%); border-color: var(--green); }
#inquiry-status { min-height: 24px; color: var(--green); font-size: 13px; }
#inquiry-form .button { width: 100%; }
.field-help { color: var(--muted); font-size: 12px; line-height: 1.6; }

@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialog-in { to { transform: translate(-50%, -50%); } }

@media (min-width: 1500px) {
  .hero { min-height: 680px; }
}

@media (max-width: 1000px) {
  :root { --gutter: 36px; }
  .header-inner { min-height: 76px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .site-nav .nav-contact { padding-inline: 12px; }
  .hero { min-height: 570px; grid-template-columns: .95fr 1.05fr; gap: 42px; padding-block: 54px 60px; }
  .hero h1 { font-size: clamp(54px, 7.2vw, 72px); }
  .hero-visual { height: 470px; }
  .section { padding-block: 92px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; }
  .about-grid { gap: 54px; }
  .about-image { height: 510px; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 54px; }
}

@media (max-width: 760px) {
  :root { --gutter: 26px; }
  html { scroll-padding-top: 78px; }
  .header-inner { min-height: 70px; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-mark svg { width: 32px; height: 32px; }
  .brand-name { font-size: 12px; }
  .menu-toggle { width: 46px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--green); background: none; border: 1px solid var(--line-dark); border-radius: 4px; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 25px rgb(24 39 32 / 8%); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-nav .nav-contact { min-height: 48px; justify-content: space-between; margin-top: 12px; padding: 0 14px; border: 1px solid var(--line-dark); }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding-block: 61px 42px; }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 22px; font-size: 11px; }
  .hero h1 { max-width: 600px; font-size: clamp(49px, 10vw, 68px); }
  .hero-description { max-width: 460px; margin-top: 19px; font-size: 16px; }
  .button-primary { margin-top: 24px; }
  .hero-note { margin-top: 18px; }
  .hero-visual { height: min(72vw, 450px); min-height: 290px; }
  .image-caption { right: 18px; bottom: 17px; left: 18px; }
  .expertise-inner { min-height: 0; display: block; padding-block: 21px; }
  .expertise-label { margin-bottom: 8px; }
  .expertise-list { font-size: 13px; line-height: 1.8; }
  .expertise-list span { margin-inline: 7px; }
  .section { padding-block: 76px; }
  .section-heading { margin-bottom: 31px; }
  .section-heading-main { grid-template-columns: 1fr; gap: 16px; margin-top: 19px; }
  .section-heading h2, .about-copy h2, .faq-intro h2 { font-size: clamp(39px, 8vw, 54px); }
  .section-intro { max-width: 500px; font-size: 14px; }
  .portfolio-toolbar { display: block; padding-bottom: 14px; }
  .filter-list { gap: 6px; margin-inline: -5px; }
  .filter-button { min-height: 44px; padding-inline: 10px; font-size: 12px; }
  .project-count { margin: 10px 0 0 5px; }
  .project-grid { gap: 34px 16px; padding-top: 20px; }
  .project-image { aspect-ratio: 1.15 / 1; }
  .project-open { width: 38px; height: 38px; transform: none; opacity: 1; }
  .project-meta { margin-top: 13px; font-size: 10px; }
  .project-card h3 { font-size: 18px; }
  .project-summary { margin-top: 5px; font-size: 13px; }
  .services-section > .container { width: min(var(--page), calc(100% - var(--gutter) * 2)); }
  .service-row { min-height: 95px; grid-template-columns: 34px 1fr 24px; gap: 14px; }
  .service-row h3 { font-size: 18px; }
  .service-row p { font-size: 13px; }
  .service-row:hover { padding-inline: 0; background: transparent; }
  .about-section { padding-block: 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-image { height: min(78vw, 470px); min-height: 300px; }
  .about-copy .section-kicker { margin-bottom: 18px; }
  .about-copy > p:not(.section-kicker) { margin-top: 18px; font-size: 14px; }
  .about-points { gap: 11px; margin-top: 19px; }
  .about-points li { font-size: 13px; }
  .tagline-section { padding-block: 69px 76px; }
  .tagline-label { margin-bottom: 18px; }
  .tagline { font-size: clamp(40px, 8vw, 58px); }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: 0; padding: 20px 0 23px; }
  .process-step + .process-step { padding-left: 0; border-left: 0; }
  .process-number { margin-bottom: 16px; }
  .process-step h3 { font-size: 20px; }
  .process-step p { margin-top: 7px; font-size: 13px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro h2 { font-size: clamp(38px, 8vw, 52px); }
  .faq-list summary { min-height: 64px; font-size: 15px; }
  .faq-list details p { padding-bottom: 18px; font-size: 13px; }
  .contact-section { padding-block: 57px; }
  .contact-inner { display: block; }
  .contact-inner h2 { max-width: 500px; font-size: clamp(39px, 8vw, 54px); }
  .contact-inner > div > p:last-child { max-width: 440px; font-size: 13px; }
  .contact-inner .button { margin-top: 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
  .footer-bottom { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .footer-bottom p:nth-child(2) { grid-row: 2; grid-column: 1 / -1; text-align: left; }
  .back-to-top { grid-column: 2; grid-row: 1; }
  .dialog-grid { grid-template-columns: 1fr; }
  .dialog-media { min-height: 0; height: min(62vw, 390px); }
  .dialog-media img { min-height: 0; }
  .dialog-copy { padding: 31px 25px 28px; }
  .dialog-copy .section-kicker { margin-top: 5px; }
  .project-dialog { max-height: 90vh; }
}

@media (max-width: 480px) {
  :root { --gutter: 21px; }
  .hero { gap: 29px; padding-top: 50px; }
  .hero h1 { font-size: clamp(46px, 11vw, 56px); }
  .hero-visual { min-height: 270px; height: 74vw; }
  .hero-index { top: 13px; right: 13px; }
  .section { padding-block: 66px; }
  .section-heading h2 { font-size: 40px; }
  .project-grid { grid-template-columns: 1fr; row-gap: 31px; }
  .project-image { aspect-ratio: 1.31 / 1; }
  .project-card h3 { font-size: 21px; }
  .project-summary { font-size: 14px; }
  .service-row { grid-template-columns: 28px 1fr 20px; gap: 10px; }
  .service-row h3 { font-size: 17px; }
  .service-row p { max-width: 310px; font-size: 12px; }
  .tagline { font-size: 40px; }
  .faq-grid { gap: 23px; }
  .contact-inner h2 { font-size: 40px; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom p:nth-child(2), .back-to-top { grid-column: 1; grid-row: auto; }
  .back-to-top { justify-content: flex-start; }
  .project-dialog, .inquiry-dialog { width: calc(100% - 22px); max-height: 92vh; }
  .dialog-close { top: 10px; right: 10px; }
  .dialog-media { height: 63vw; }
  .dialog-copy h2, .dialog-form-inner h2 { font-size: 35px; }
  .dialog-form-inner { padding: 50px 23px 30px; }
}

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

/* Company contact details; wraps safely on narrow viewports. */
.contact-methods { display: grid; gap: 12px; list-style: none; padding: 0; margin: 24px 0 0; }
.contact-methods a { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; color: #fff; font-size: 18px; overflow-wrap: anywhere; }
.contact-methods a:hover { color: var(--green-soft); text-decoration: underline; text-underline-offset: 6px; }
.footer-links { flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
@media(max-width:600px) { .contact-methods a { font-size: 16px; } }
