:root {
  color-scheme: light dark;
  --canvas: #f5f7f4;
  --surface: #fbfcfa;
  --surface-raised: #eef2ee;
  --text: #1f2522;
  --text-muted: #5b655f;
  --border: #cdd5cf;
  --accent: #174d38;
  --accent-hover: #0e3b2a;
  --accent-contrast: #f7faf7;
  --success: #256746;
  --success-soft: #e4f2e9;
  --error: #a33b32;
  --error-soft: #f8e8e5;
  --shadow: 0 24px 70px rgba(31, 55, 43, 0.1);
  --radius-media: 16px;
  --radius-control: 10px;
  --header-height: 72px;
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(88px, 10vw, 150px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #111613;
    --surface: #171d19;
    --surface-raised: #202821;
    --text: #eef3ef;
    --text-muted: #aeb9b1;
    --border: #39443d;
    --accent: #76b894;
    --accent-hover: #8bc6a5;
    --accent-contrast: #0e2118;
    --success: #8bc6a5;
    --success-soft: #1d3025;
    --error: #f0a39b;
    --error-soft: #38211f;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, transparent);
  outline-offset: 4px;
}

::selection {
  background: color-mix(in srgb, var(--accent) 26%, transparent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 40;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  font-weight: 700;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  width: 88px;
  height: auto;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.footer-nav a {
  position: relative;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after,
.footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.footer-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-link {
  display: inline-flex;
  justify-self: end;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 15px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 220ms var(--ease), transform 220ms var(--ease), background 220ms var(--ease);
}

.language-link:hover {
  border-color: var(--accent);
  background: var(--surface-raised);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  padding: 8px 15px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 23px;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 240ms var(--ease), border-color 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

.button-secondary:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.header-cta {
  min-height: 44px;
  padding: 12px 19px;
  font-size: 0.9rem;
}

main {
  overflow: clip;
}

.hero {
  min-height: calc(100dvh - var(--header-height));
  background: var(--surface);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
  min-height: calc(100dvh - var(--header-height));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 96px) clamp(28px, 6vw, 86px) clamp(48px, 7vw, 88px) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}

.hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.15rem);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 540px;
  margin: 28px 0 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.section {
  padding-block: var(--section-space);
}

.section-surface {
  background: var(--surface);
}

.section-soft {
  background: var(--surface-raised);
}

.section-heading {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  font-weight: 600;
  letter-spacing: -0.042em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(360px, 1.28fr) minmax(220px, 0.62fr);
  gap: clamp(18px, 2.5vw, 36px);
  align-items: stretch;
}

.services-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 12px;
}

.service-list {
  display: grid;
  gap: 24px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.service-list h3 {
  margin: 0 0 7px;
  font-size: 1.04rem;
  line-height: 1.3;
}

.service-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--surface-raised);
}

.media-frame img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.service-main-image {
  min-height: 650px;
}

.service-side-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 36px);
}

.service-side-images .media-frame {
  min-height: 300px;
}

.projects-header {
  display: grid;
  gap: 18px;
  justify-items: start;
  margin-bottom: clamp(46px, 6vw, 78px);
}

.projects-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.2fr 0.82fr;
  grid-template-areas:
    "light open open"
    "light walnut galley";
  gap: clamp(18px, 2.2vw, 32px);
  align-items: stretch;
}

.project-card {
  margin: 0;
}

.project-card .project-media {
  display: block;
  border-radius: var(--radius-media);
}

.project-card .media-frame {
  height: 100%;
  min-height: 280px;
}

.project-card img {
  transition: transform 700ms var(--ease);
}

.project-card:hover img {
  transform: scale(1.025);
}

.project-card figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.project-light {
  grid-area: light;
}

.project-light .media-frame {
  min-height: 650px;
}

.project-light img {
  object-position: center;
}

.project-open {
  grid-area: open;
}

.project-open .media-frame {
  min-height: 320px;
}

.project-walnut {
  grid-area: walnut;
}

.project-galley {
  grid-area: galley;
}

.materials-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
}

.materials-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
  margin-top: 44px;
}

.materials-list div {
  border-top: 1px solid var(--border);
  padding-top: 17px;
}

.materials-list dt {
  margin: 0 0 7px;
  font-weight: 700;
}

.materials-list dd {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.materials-visual {
  position: relative;
  min-height: 560px;
}

.materials-visual .stone {
  position: absolute;
  inset: 0 0 13% 14%;
  overflow: hidden;
  border-radius: var(--radius-media);
  box-shadow: var(--shadow);
}

.materials-visual .stone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sample {
  position: absolute;
  bottom: 0;
  width: 30%;
  min-width: 150px;
  aspect-ratio: 0.82;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: var(--radius-control);
  box-shadow: 0 22px 48px rgba(34, 56, 44, 0.15);
}

.sample-forest {
  left: 0;
  background-color: #294a3c;
  background-image:
    linear-gradient(180deg, rgba(18, 48, 37, 0.04) 30%, rgba(15, 42, 31, 0.76) 100%),
    url("assets/service-kitchen.webp");
  background-position: center, 83% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sample-timber {
  left: 23%;
  background-color: #8a694c;
  background-image:
    linear-gradient(180deg, rgba(35, 25, 18, 0.02) 35%, rgba(30, 22, 16, 0.72) 100%),
    url("assets/project-walnut.webp");
  background-position: center, 51% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sample-silver {
  left: 46%;
  background-color: #6f7371;
  background-image:
    linear-gradient(180deg, rgba(20, 27, 24, 0.02) 32%, rgba(18, 28, 23, 0.76) 100%),
    url("assets/project-galley.webp");
  background-position: center, 8% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sample-label {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.82rem;
  font-weight: 700;
  text-shadow: 0 1px 12px rgba(11, 22, 17, 0.38);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  margin: clamp(50px, 7vw, 90px) 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  border-top: 2px solid var(--accent);
  padding-top: 22px;
}

.process-list h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.process-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
}

.about-media {
  min-height: 640px;
}

.about-copy {
  padding-right: clamp(0px, 3vw, 42px);
}

.about-copy .section-intro {
  margin-bottom: 38px;
}

.about-facts {
  display: grid;
  gap: 26px;
  margin: 0;
}

.about-facts div {
  border-top: 1px solid var(--border);
  padding-top: 19px;
}

.about-facts dt {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: clamp(1.4rem, 2.3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.about-facts dd {
  margin: 0;
  color: var(--text-muted);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: stretch;
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-details {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
}

.location-details p {
  margin: 0;
}

.location-details strong {
  display: block;
  margin-bottom: 4px;
}

.location-details span {
  color: var(--text-muted);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.map-frame {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--surface-raised);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 42px);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 32px;
}

.contact-links a {
  width: fit-content;
  color: var(--accent);
  font-weight: 700;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.91rem;
  font-weight: 700;
}

.form-control {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--text);
  padding: 13px 14px;
  line-height: 1.35;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.form-control::placeholder {
  color: color-mix(in srgb, var(--text-muted) 88%, transparent);
}

.form-control:hover {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
}

.form-control:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 17%, transparent);
}

textarea.form-control {
  min-height: 146px;
  resize: vertical;
}

.field-error {
  min-height: 1.2em;
  color: var(--error);
  font-size: 0.82rem;
}

.form-control[aria-invalid="true"] {
  border-color: var(--error);
}

.form-submit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 4px;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.78;
}

.form-status {
  display: none;
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  padding: 14px 16px;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

.form-status[data-state="loading"] {
  position: relative;
  overflow: hidden;
  background: var(--surface-raised);
  color: var(--text-muted);
}

.form-status[data-state="loading"]::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: 36%;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  content: "";
  transform: translateX(-100%);
  animation: status-shimmer 1.2s ease-in-out infinite;
}

.form-status[data-state="success"] {
  border-color: var(--success);
  background: var(--success-soft);
  color: var(--success);
}

.form-status[data-state="error"] {
  border-color: var(--error);
  background: var(--error-soft);
  color: var(--error);
}

.privacy-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding-block: 56px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand img {
  width: 102px;
}

.footer-brand p,
.footer-contact address,
.footer-contact p {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-style: normal;
}

.footer-contact a {
  color: var(--text);
}

.footer-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 46px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 1;
  transform: none;
}

@keyframes status-shimmer {
  to {
    transform: translateX(300%);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: hero-enter 800ms var(--ease) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 90ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 170ms;
  }

  .hero-media {
    animation: hero-media-enter 950ms var(--ease) both;
  }

  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 720ms var(--ease), transform 720ms var(--ease);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
  }

  @keyframes hero-media-enter {
    from {
      opacity: 0;
      transform: scale(1.02);
    }
  }
}

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

@media (prefers-color-scheme: dark) {
  .map-frame iframe {
    filter: invert(0.88) hue-rotate(180deg) saturate(0.72) contrast(0.95);
  }

  .sample {
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
  }
}

@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .service-side-images {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .service-side-images .media-frame {
    min-height: 360px;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 66px;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .brand img {
    width: 77px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    z-index: 30;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: block;
    justify-self: stretch;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    padding: 24px var(--gutter) 32px;
    box-shadow: var(--shadow);
  }

  .js .site-nav {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 240ms;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav ul {
    display: grid;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav li:last-child {
    border-bottom: 0;
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    color: var(--text);
    font-size: 1.05rem;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    padding-left: var(--gutter);
  }

  .hero h1 {
    font-size: clamp(2.85rem, 6vw, 4rem);
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "light open"
      "light walnut"
      "galley galley";
  }

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section-space: 80px;
  }

  .language-link {
    min-height: 38px;
    padding-inline: 13px;
  }

  .nav-toggle {
    min-height: 38px;
    padding-inline: 13px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: calc(100dvh - var(--header-height));
  }

  .hero-copy {
    min-height: 440px;
    padding: 42px var(--gutter) 36px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 13vw, 4.15rem);
    line-height: 1;
  }

  .hero-copy p {
    margin-top: 22px;
    font-size: 1.02rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    min-height: clamp(160px, calc(100dvh - var(--header-height) - 440px), 400px);
  }

  .services-grid,
  .materials-grid,
  .about-grid,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-main-image {
    min-height: 470px;
  }

  .service-side-images {
    grid-template-columns: 1fr;
  }

  .service-side-images .media-frame {
    min-height: 330px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "light"
      "open"
      "walnut"
      "galley";
  }

  .project-card .media-frame,
  .project-light .media-frame,
  .project-open .media-frame {
    min-height: 330px;
  }

  .materials-list {
    grid-template-columns: 1fr;
  }

  .materials-visual {
    min-height: 460px;
  }

  .materials-visual .stone {
    inset: 0 0 16% 10%;
  }

  .sample {
    width: 38%;
    min-width: 120px;
  }

  .sample-forest {
    left: 0;
  }

  .sample-timber {
    left: 28%;
  }

  .sample-silver {
    left: 56%;
  }

  .sample-label {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: 0.72rem;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .process-list li {
    border-top-width: 1px;
  }

  .about-media {
    min-height: 430px;
  }

  .about-copy {
    padding-right: 0;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 400px;
  }

  .contact-copy {
    position: static;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field-full,
  .form-submit,
  .form-status,
  .privacy-note {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .header-inner {
    gap: 8px;
  }

  .brand img {
    width: 68px;
  }

  .language-link,
  .nav-toggle {
    padding-inline: 11px;
    font-size: 0.84rem;
  }
}
