:root {
  color-scheme: light;
  --ink: #343735;
  --muted: #68706b;
  --leaf: #7ca83b;
  --leaf-dark: #5d8129;
  --paper: #ffffff;
  --mist: #f6f7f3;
  --line: #e4e7e0;
  --white: #fff;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Aptos", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { color: var(--ink); background: #deebc9; }
.wrap { width: min(var(--wrap), calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 90; transform: translateY(-160%); padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--leaf-dark); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(52,55,53,.08); backdrop-filter: blur(14px); }
.header-main { min-height: 88px; display: flex; align-items: center; gap: clamp(22px, 3vw, 54px); }
.brand { display: block; flex: 0 0 auto; width: clamp(148px, 17vw, 208px); }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); margin-left: auto; }
.primary-nav a, .header-actions, .language-switch { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.primary-nav a { text-decoration: none; transition: color .2s ease; }
.primary-nav a:hover { color: var(--leaf-dark); }
.header-actions { display: flex; align-items: center; gap: 22px; }
.language-switch { display: flex; align-items: center; gap: 7px; color: #9ba099; }
.language-option { padding: 6px 0; border: 0; background: none; cursor: pointer; color: #8b9189; font-size: inherit; letter-spacing: inherit; }
.language-option.is-active { color: var(--ink); font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; font-size: 12px; font-weight: 650; letter-spacing: .075em; line-height: 1.3; text-align: left; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 10px; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: #1f2420; }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: #eff4e7; }
.button-outline { color: var(--ink); border-color: #9da49a; background: transparent; }
.button-outline:hover { border-color: var(--leaf-dark); color: var(--leaf-dark); }

.hero { padding-top: 21px; }
.hero-image-frame { position: relative; min-height: clamp(470px, 55vw, 700px); overflow: hidden; background: #66745d; isolation: isolate; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22,31,24,.72) 0%, rgba(22,31,24,.46) 38%, rgba(22,31,24,.05) 79%), linear-gradient(0deg, rgba(20,28,22,.3), transparent 34%); }
.hero-copy { position: absolute; left: clamp(36px, 7vw, 108px); top: 50%; width: min(600px, 57%); transform: translateY(-47%); color: var(--white); }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-light { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.84); }
.green-mark { display: inline-block; width: 31px; height: 2px; background: var(--leaf); }
.hero h1 { max-width: 590px; margin: 26px 0 21px; font-family: var(--serif); font-size: clamp(54px, 7.5vw, 105px); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
.hero-lede { max-width: 420px; margin: 0 0 30px; color: rgba(255,255,255,.92); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; }
.hero-caption { position: absolute; right: clamp(26px, 3.2vw, 48px); bottom: 26px; display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,.9); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.caption-divider { width: 22px; height: 1px; background: rgba(255,255,255,.65); }
.section-space { padding-block: clamp(86px, 11vw, 150px); }
.intro-section { display: grid; grid-template-columns: 28% 1fr; column-gap: 7%; }
.intro-label, .section-label { display: flex; align-items: center; gap: 16px; }
.section-index { display: inline-grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid var(--leaf); border-radius: 50%; color: var(--leaf-dark); font-family: var(--serif); font-size: 15px; }
.display-heading { margin: 0; font-family: var(--serif); font-size: clamp(37px, 5.3vw, 68px); font-weight: 400; letter-spacing: -.045em; line-height: 1.04; }
.intro-content > .display-heading { max-width: 850px; }
.intro-bottom { display: grid; grid-template-columns: minmax(0, 590px) auto; align-items: end; gap: 40px; margin-top: 35px; }
.body-copy { max-width: 580px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 18px; width: fit-content; padding: 8px 0; border: 0; border-bottom: 1px solid var(--leaf); background: transparent; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; cursor: pointer; }
.text-link:hover { color: var(--leaf-dark); }

.work-section { background: var(--mist); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 44px; margin-bottom: 52px; }
.section-heading .display-heading { margin-top: 25px; max-width: 740px; }
.section-aside { max-width: 315px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
/* A consistent media-and-description row for every selected project. */
.project-grid { display: flex; flex-direction: column; gap: 0; }
.project-card { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); min-width: 0; padding-block: 48px; border-bottom: 1px solid #dce2d5; }
.project-card:first-child { padding-top: 0; }
.project-card:last-child { padding-bottom: 0; border-bottom: 0; }
.project-media { min-width: 0; width: 100%; }
.project-photo { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.project-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.project-card:hover .project-photo img { transform: none; }
.photo-count { position: absolute; right: 15px; bottom: 14px; padding: 5px 8px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 9px; letter-spacing: .1em; }
.status-badge { position: absolute; top: 15px; left: 15px; padding: 7px 11px; background: var(--leaf); color: white; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.project-detail { min-width: 0; padding-top: 0; }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.project-detail h3 { margin: 0 0 11px; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -.025em; line-height: 1.2; }
.project-detail p { max-width: 610px; margin: 0; color: #626963; font-size: 14px; line-height: 1.8; }
.project-tag { display: inline-block; margin-top: 15px; color: #5c6e4d; font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.work-note { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid #dfe3da; color: var(--muted); font-size: 12px; }

.services-section { background: var(--white); }
.services-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-top: 26px; margin-bottom: 46px; }
.services-heading-row .display-heading { max-width: 780px; }
.service-list { border-top: 1px solid var(--line); }
.service-item { display: grid; grid-template-columns: 70px minmax(0, 1fr) 30px; align-items: center; gap: 12px; min-height: 120px; padding: 23px 10px; border-bottom: 1px solid var(--line); transition: padding .22s ease, background .22s ease; }
.service-item:hover { padding-inline: 20px; background: var(--mist); }
.service-number { align-self: start; padding-top: 4px; color: var(--leaf-dark); font-family: var(--serif); font-size: 18px; }
.service-item h3 { margin: 0 0 5px; font-family: var(--serif); font-size: clamp(22px, 2.3vw, 29px); font-weight: 400; }
.service-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-arrow { color: var(--leaf-dark); font-size: 21px; }

.about-section { background: var(--mist); }
.about-grid { display: grid; grid-template-columns: 27% 1fr; gap: 8%; }
.about-number { display: flex; align-items: center; gap: 16px; }
.experience-stat { display: flex; align-items: baseline; flex-wrap: wrap; margin: 0 0 34px; color: var(--ink); }
.experience-stat > span:first-child { font-family: var(--serif); font-size: clamp(80px, 12vw, 150px); letter-spacing: -.08em; line-height: .9; }
.experience-stat .plus { color: var(--leaf); font-family: var(--serif); font-size: clamp(44px, 6vw, 74px); }
.stat-caption { max-width: 118px; margin-left: 22px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; text-transform: uppercase; }
.about-main > .display-heading { max-width: 890px; }
.about-copy-row { display: grid; grid-template-columns: minmax(0, 570px) auto; align-items: end; gap: 34px; margin-top: 30px; }
.about-copy-row p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.closing-section { display: grid; grid-template-columns: 9% minmax(0, 1fr) 220px; gap: 36px; align-items: start; padding-block: clamp(86px, 10vw, 140px); }
.closing-rule { width: 55px; height: 3px; margin-top: 14px; background: var(--leaf); }
.closing-copy { max-width: 760px; }
.closing-copy .display-heading { margin-top: 17px; }
.closing-copy > p:not(.eyebrow) { max-width: 530px; margin: 20px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.closing-contact { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; color: var(--muted); font-size: 12px; }
.closing-contact a { width: fit-content; text-decoration-color: #bdc6b5; text-underline-offset: 4px; }
.closing-contact a:hover { color: var(--leaf-dark); }
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 76px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.footer-brand { color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.footer-brand span { margin-left: 7px; color: var(--muted); font-size: 9px; font-weight: 400; }
.back-top { display: inline-flex; gap: 9px; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; }
.back-top:hover { color: var(--leaf-dark); }

.persistent-contact { position: fixed; right: 24px; bottom: 22px; z-index: 25; display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 18px; border: 1px solid rgba(52,55,53,.12); border-radius: 2px; background: var(--white); box-shadow: 0 5px 24px rgba(33,40,31,.13); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.persistent-contact:hover { transform: translateY(-2px); background: #f7faef; }
.contact-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }

.enquiry-dialog { width: min(870px, calc(100% - 30px)); max-width: none; max-height: min(94vh, 1000px); padding: 0; border: 0; border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 0 26px 100px rgba(17,24,17,.32); }
.enquiry-dialog::backdrop { background: rgba(23,31,24,.63); backdrop-filter: blur(5px); }
.dialog-shell { max-height: min(94vh, 1000px); overflow: auto; overscroll-behavior: contain; }
.dialog-heading { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: start; gap: 20px; padding: 28px clamp(24px, 5vw, 56px) 22px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.dialog-heading .display-heading { margin-top: 10px; font-size: clamp(30px, 4vw, 43px); }
.dialog-intro { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.dialog-close { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.dialog-close:hover { border-color: var(--leaf); color: var(--leaf-dark); }
.enquiry-form { padding: 20px clamp(24px, 5vw, 56px) 36px; }
.required-note { margin: 0 0 16px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.required-note > span:first-child, .required-mark { color: #668d32; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 20px; }
.form-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-field-wide { grid-column: 1 / -1; }
.form-field > label, .service-fieldset legend { display: block; margin-bottom: 7px; color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .035em; }
.optional-label { margin-left: 5px; color: #888f87; font-size: 10px; font-weight: 400; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cfd4cb; border-radius: 2px; background: #fff; color: var(--ink); font-size: 14px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--leaf-dark); outline: 2px solid rgba(124,168,59,.2); outline-offset: 1px; }
.form-field textarea { min-height: 110px; resize: vertical; }
.service-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.service-choice { position: relative; display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 8px 10px; border: 1px solid #d8ddd5; background: var(--white); cursor: pointer; color: #535b53; font-size: 11px; line-height: 1.3; transition: background .15s ease, border-color .15s ease; }
.service-choice:hover { border-color: var(--leaf); }
.service-choice:has(input:checked) { border-color: var(--leaf-dark); background: #f5f9ef; color: var(--ink); }
.service-choice input { flex: 0 0 15px; width: 15px; height: 15px; min-height: 15px; margin: 0; accent-color: var(--leaf-dark); }
.email-handoff { margin: 18px 0 0; padding: 12px 14px; border-left: 2px solid var(--leaf); background: var(--mist); color: #60685f; font-size: 11px; line-height: 1.6; }
.form-actions { display: flex; align-items: center; gap: 15px; margin-top: 18px; }
.form-actions .button { min-width: 205px; }
.form-status { margin: 0; color: var(--leaf-dark); font-size: 11px; }
.direct-contact { margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.direct-contact a { margin-left: 5px; color: var(--ink); }

@media (min-width: 1600px) {
  .hero-copy { left: 110px; }
}
@media (max-width: 980px) {
  .wrap { width: min(var(--wrap), calc(100% - 52px)); }
  .header-main { gap: 20px; }
  .primary-nav { gap: 19px; }
  .header-actions { gap: 15px; }
  .project-card { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; padding-block: 40px; }
  .about-grid { grid-template-columns: 23% 1fr; gap: 5%; }
  .closing-section { grid-template-columns: 7% 1fr 180px; gap: 24px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 128px; }
  .wrap { width: calc(100% - 36px); }
  .header-main { flex-wrap: wrap; justify-content: space-between; row-gap: 0; min-height: auto; padding-block: 9px 10px; }
  .brand { width: 142px; }
  .primary-nav { order: 3; width: 100%; justify-content: space-between; gap: 13px; padding-top: 4px; }
  .primary-nav a { padding: 4px 0; font-size: 9px; }
  .header-actions { margin-left: auto; gap: 12px; }
  .header-actions .button-small { min-height: 36px; padding-inline: 12px; font-size: 9px; }
  .language-switch { font-size: 10px; }
  .hero { padding-top: 12px; }
  .hero-image-frame { min-height: 610px; min-height: min(700px, calc(100svh - 145px)); }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(21,30,23,.65), rgba(21,30,23,.22)), linear-gradient(0deg, rgba(18,27,20,.46), transparent 47%); }
  .hero-copy { left: 25px; top: 47%; width: calc(100% - 50px); transform: translateY(-42%); }
  .hero h1 { max-width: 500px; margin: 22px 0 17px; font-size: clamp(55px, 13vw, 82px); }
  .hero-lede { max-width: 390px; margin-bottom: 24px; font-size: 16px; }
  .hero-caption { right: 19px; bottom: 18px; left: 19px; justify-content: flex-start; gap: 10px; font-size: 8px; letter-spacing: .08em; }
  .caption-divider { width: 15px; }
  .section-space { padding-block: 76px; }
  .intro-section { grid-template-columns: 1fr; gap: 27px; }
  .section-index { flex-basis: 32px; width: 32px; height: 32px; font-size: 13px; }
  .eyebrow { font-size: 9px; letter-spacing: .14em; }
  .display-heading { font-size: clamp(37px, 9.8vw, 56px); }
  .intro-bottom { grid-template-columns: 1fr; gap: 22px; margin-top: 23px; }
  .body-copy { font-size: 14px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading .display-heading { margin-top: 18px; }
  .section-aside { max-width: 440px; margin: 17px 0 0; font-size: 13px; }
  .project-card { grid-template-columns: minmax(0, 1fr); gap: 23px; padding-block: 36px; }
  .project-photo { aspect-ratio: 4 / 3; }
  .project-detail { padding-top: 0; }
  .project-meta { font-size: 9px; }
  .project-detail h3 { font-size: 27px; }
  .project-detail p { font-size: 13px; }
  .work-note { margin-top: 40px; font-size: 11px; }
  .services-heading-row { display: block; margin-top: 19px; margin-bottom: 27px; }
  .services-heading-row .button { margin-top: 20px; }
  .service-item { grid-template-columns: 38px 1fr 20px; min-height: 112px; gap: 8px; padding: 19px 3px; }
  .service-item:hover { padding-inline: 8px; }
  .service-item h3 { font-size: 23px; }
  .service-item p { font-size: 12px; }
  .service-number { font-size: 15px; }
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-number { max-width: 400px; }
  .experience-stat { margin-bottom: 25px; }
  .experience-stat > span:first-child { font-size: 100px; }
  .experience-stat .plus { font-size: 52px; }
  .about-copy-row { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .about-copy-row p { font-size: 13px; }
  .closing-section { grid-template-columns: 1fr; gap: 25px; padding-block: 74px; }
  .closing-rule { margin-top: 0; }
  .closing-copy .display-heading { margin-top: 14px; }
  .closing-copy > p:not(.eyebrow) { font-size: 13px; }
  .closing-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding-top: 0; font-size: 11px; }
  .closing-contact span { grid-column: 1 / -1; }
  .footer-inner { flex-wrap: wrap; min-height: 90px; padding-block: 17px; gap: 7px 18px; font-size: 9px; }
  .footer-inner > span { order: 3; width: 100%; }
  .footer-brand { font-size: 9px; }
  .footer-brand span { display: block; margin-left: 0; font-size: 8px; }
  .back-top { margin-left: auto; font-size: 9px; }
  .persistent-contact { right: 12px; bottom: 12px; left: 12px; justify-content: center; min-height: 48px; padding-inline: 18px; box-shadow: 0 5px 20px rgba(33,40,31,.16); }
  body { padding-bottom: 70px; }
  .enquiry-dialog { width: 100%; max-width: none; max-height: 96svh; margin: auto 0 0; border-radius: 9px 9px 0 0; }
  .dialog-shell { max-height: 96svh; }
  .dialog-heading { padding: 22px 19px 17px; }
  .dialog-heading .display-heading { font-size: 32px; }
  .dialog-intro { max-width: 280px; font-size: 12px; }
  .dialog-close { flex-basis: 38px; width: 38px; height: 38px; }
  .enquiry-form { padding: 16px 19px 27px; }
  .form-grid { gap: 14px 12px; }
  .form-field > label, .service-fieldset legend { font-size: 10px; }
  .form-field input, .form-field select { min-height: 44px; font-size: 13px; }
  .form-field textarea { font-size: 13px; }
  .service-choices { grid-template-columns: 1fr 1fr; gap: 7px; }
  .service-choice { min-height: 42px; padding-inline: 8px; font-size: 10px; }
  .form-actions { display: block; }
  .form-actions .button { width: 100%; }
  .form-status { margin-top: 10px; }
}
@media (max-width: 430px) {
  .brand { width: 122px; }
  .header-main { column-gap: 9px; }
  .header-actions { gap: 9px; }
  .primary-nav a { font-size: 8px; }
  .hero-image-frame { min-height: 570px; min-height: min(650px, calc(100svh - 132px)); }
  .hero-copy { left: 20px; width: calc(100% - 40px); }
  .hero h1 { font-size: clamp(53px, 14vw, 67px); }
  .hero-caption { font-size: 7px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.hero h1 { white-space: pre-line; }
.project-detail .competency-label { margin: 0 0 12px; color: var(--leaf-dark); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.project-detail .client-relevance { margin-top: 14px; padding-left: 12px; border-left: 2px solid var(--leaf); color: #40493e; font-size: 12px; line-height: 1.7; }

.image-caption { margin: 7px 0 0; color: var(--muted); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.project-card-plan .project-photo { background: #fff; }
.project-card-plan .project-photo img { object-fit: contain; }
.project-card-plan:hover .project-photo img { transform: none; }
body:has(.enquiry-dialog[open]) { overflow: hidden; }

/* Keep all hero content reachable on short or landscape mobile viewports. */
@media (max-width: 720px) {
  .hero-image-frame { min-height: 520px; }
  .hero-copy { position: relative; left: auto; top: auto; width: auto; transform: none; padding: 75px 25px 105px; }
}
@media (max-width: 430px) {
  .hero-image-frame { min-height: 490px; }
  .hero-copy { padding: 65px 20px 100px; }
}
.language-option { color: #5f675c; }
.optional-label { color: #61695f; }
.status-badge { background: #4c6827; color: #ffffff; }

/* Project image galleries: manual navigation, no autoplay. */
.project-gallery { min-width: 0; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.project-gallery .project-photo { padding: 0; background: #fff; }
.project-gallery .project-photo img { object-fit: contain; }
.project-gallery .project-photo img[hidden] { display: none; }
.project-gallery:hover .project-photo img { transform: none; }
.gallery-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; }
.gallery-navigation .image-caption { min-width: 0; margin: 0; line-height: 1.5; }
.gallery-step-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
.gallery-arrow { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 1px solid #cbd2c4; border-radius: 50%; background: #fff; color: #3e5134; font-size: 18px; cursor: pointer; }
.gallery-arrow:hover { border-color: var(--leaf-dark); background: #f3f8ec; }
.gallery-counter { min-width: 40px; color: #58614f; font-size: 10px; text-align: center; white-space: nowrap; }
.gallery-thumbnails { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding: 4px 2px 10px; }
.gallery-thumbnail { flex: 0 0 65px; width: 65px; height: 49px; padding: 2px; border: 1px solid #cdd3c7; border-radius: 1px; background: #fff; cursor: pointer; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbnail[aria-pressed="true"] { border: 2px solid var(--leaf-dark); padding: 1px; }
.gallery-view-label { margin: 0; color: #59644f; font-size: 10px; letter-spacing: .04em; }
.gallery-dialog { width: min(1120px, calc(100% - 32px)); max-width: none; max-height: 94svh; padding: 20px; border: 0; border-radius: 3px; background: #fff; color: var(--ink); box-shadow: 0 24px 100px rgba(16,25,18,.35); }
.gallery-dialog::backdrop { background: rgba(16,25,18,.78); backdrop-filter: blur(4px); }
.gallery-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.gallery-dialog-header h2 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.gallery-dialog-header .dialog-close { width: 40px; height: 40px; flex-basis: 40px; }
.enlarged-photo { display: flex; align-items: center; justify-content: center; min-height: 200px; background: #f4f5f1; }
.enlarged-photo img { width: 100%; height: min(65svh, 720px); object-fit: contain; }
.gallery-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.gallery-dialog-caption { margin: 0; color: var(--muted); font-size: 12px; }
body:has(.gallery-dialog[open]) { overflow: hidden; }
@media (max-width: 720px) {
  .gallery-arrow { flex-basis: 44px; width: 44px; height: 44px; }
  .gallery-thumbnails { gap: 7px; }
  .gallery-dialog { width: calc(100% - 20px); padding: 14px; }
  .gallery-dialog-header h2 { font-size: 23px; }
  .enlarged-photo img { height: 58svh; }
  .gallery-dialog-footer { align-items: start; }
  .gallery-dialog-caption { font-size: 11px; }
}

.gallery-open .project-photo { display: block; }
