@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --c-sage: #7d927f;
  --c-powder: #6f8794;
  --c-bronze: #a77b55;
  --c-sand: #e7dccb;
  --c-cream: #f5efe5;
  --c-paper: #fcfaf6;
  --c-ink: #1f2c2a;
  --c-muted: #56615d;
  --c-line: #ded3c2;
  --header-height: 128px;
  --radius-xl: 16px;
  --radius-lg: 10px;
  --radius-md: 8px;
  --shadow-soft: 0 12px 28px rgba(31, 44, 42, 0.08);
  --shadow-lift: 0 18px 42px rgba(31, 44, 42, 0.14);
}

* {
  box-sizing: border-box;
}

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

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--c-ink);
  background: linear-gradient(180deg, #fbf8f2 0%, #f3eadc 100%);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.shell {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(222, 211, 194, 0.82);
  background: rgba(252, 250, 246, 0.94);
  backdrop-filter: blur(12px);
}

.header-shell {
  display: grid;
  gap: 10px;
  padding: 14px 0;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.menu-toggle {
  grid-column: 1;
  justify-self: start;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
}

.brand {
  grid-column: 2;
  text-align: center;
  justify-self: center;
  display: inline-grid;
  gap: 4px;
  justify-items: center;
  width: fit-content;
  max-width: min(420px, 64vw);
}

.brand-main {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 2.5vw, 2.55rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-logo {
  display: block !important;
  width: clamp(270px, 26vw, 380px) !important;
  max-width: min(380px, 64vw) !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain !important;
}

.brand-sub {
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
}

.lang-switch {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  gap: 8px;
}

.lang-switch button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.lang-switch button img {
  width: 18px;
  height: 18px;
  display: block;
  margin: 0 auto;
}

.lang-switch button:hover {
  transform: translateY(-2px);
  border-color: var(--c-powder);
}

.lang-switch button.active {
  border-color: var(--c-powder);
  box-shadow: 0 0 0 2px rgba(109, 133, 149, 0.2);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 4px 0;
}

.main-nav a {
  position: relative;
  color: var(--c-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding-bottom: 5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-bronze);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--c-ink);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.page-main {
  padding-top: clamp(14px, 2vw, 26px);
}

.page-main.no-top-gap {
  padding-top: 0;
}

.section {
  padding: clamp(44px, 6vw, 76px) 0;
}

.section-tight {
  padding: 34px 0 12px;
}

.page-main > .section-tight + .section {
  padding-top: clamp(18px, 2.8vw, 30px);
}

.section-soft {
  background: rgba(231, 220, 203, 0.34);
  border-top: 1px solid rgba(222, 211, 194, 0.8);
  border-bottom: 1px solid rgba(222, 211, 194, 0.8);
}

.page-main > .section-soft:first-child {
  border-top: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-sage);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 700;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: color-mix(in srgb, var(--c-sage), white 20%);
}

.section-head {
  max-width: 860px;
  margin: 0 auto 18px;
  text-align: center;
}

.section-head h1,
.section-head h2,
.section-head h3,
.hero-panel h1,
.content-card h2,
.content-card h3,
.footer-copy h2,
.nav-card h3,
.stat-card strong {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.section-head h1 {
  margin-top: 10px;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

[data-i18n="cIntroTitle"] {
  white-space: nowrap;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.7vw, 3.2rem);
}

.section-head p,
.content-card p,
.footer-copy p {
  margin: 14px 0 0;
  color: var(--c-muted);
}

.copy-stack {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  color: var(--c-muted);
}

.copy-stack p {
  margin: 0;
}

.section-head .copy-stack {
  width: min(900px, 100%);
  margin: 16px auto 0;
  text-align: center;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: clip;
  border-bottom: 1px solid rgba(222, 211, 194, 0.8);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(31, 44, 42, 0.58), rgba(111, 135, 148, 0.24));
}

.hero-panel {
  position: relative;
  width: min(820px, 92vw);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(231, 220, 203, 0.92);
  background: rgba(252, 250, 246, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lift);
  text-align: center;
}

.hero-panel h1 {
  margin-top: 14px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
}

.hero-panel p {
  width: min(620px, 100%);
  margin: 14px auto 0;
  color: #2f3e3b;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  font-weight: 500;
}

.action-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: var(--c-powder);
  border-color: var(--c-powder);
  box-shadow: 0 8px 18px rgba(69, 91, 101, 0.18);
}

.btn-secondary {
  color: var(--c-ink);
  background: rgba(252, 250, 246, 0.92);
  border-color: var(--c-line);
}

.btn-tertiary {
  color: #5f4630;
  background: #fbf8f2;
  border-color: color-mix(in srgb, var(--c-bronze), white 25%);
}

.nav-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.nav-card {
  background: rgba(252, 250, 246, 0.9);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.nav-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px rgba(33, 44, 42, 0.12);
}

.nav-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.nav-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.nav-card:hover .thumb img {
  transform: scale(1.05);
}

.nav-card .text {
  padding: 16px;
}

.nav-card h3 {
  font-size: 1.35rem;
}

.nav-card p {
  margin: 7px 0 0;
  font-size: 0.92rem;
  color: var(--c-muted);
}

.split {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 14px;
  align-items: stretch;
}

.split.reverse {
  grid-template-columns: 0.94fr 1.06fr;
}

.split.reverse .media-card {
  order: 2;
}

.split.reverse .content-card {
  order: 1;
}

.media-card,
.content-card,
.stat-card,
.route-card,
.form-wrap,
.map-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  background: rgba(252, 250, 246, 0.92);
  box-shadow: var(--shadow-soft);
}

.media-card {
  overflow: hidden;
  min-height: 280px;
}

.media-card.tall {
  min-height: 380px;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-card {
  padding: clamp(24px, 3.2vw, 36px);
}

.content-card h2,
.content-card h3 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.pill-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  position: relative;
  padding: 10px 14px 10px 34px;
  border-radius: var(--radius-md);
  background: rgba(125, 146, 127, 0.12);
  color: #3f4c4a;
}

.pill-list li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--c-bronze);
}

.stat-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  text-align: center;
  padding: 16px 14px;
  background: rgba(252, 250, 246, 0.9);
}

.stat-card strong {
  display: block;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.stat-card span {
  color: var(--c-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-grid {
  display: grid;
  gap: 14px;
}

.geo-grid {
  margin-top: 14px;
}

.image-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.image-grid .media-card {
  min-height: 240px;
}

.route-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.route-card {
  padding: 18px;
  background: rgba(252, 250, 246, 0.92);
}

.location-route-grid {
  gap: 16px;
}

.location-route-card {
  position: relative;
  min-height: 170px;
  padding: 24px 22px;
  overflow: hidden;
  border-color: rgba(125, 146, 127, 0.34);
  background: rgba(252, 250, 246, 0.94);
  box-shadow: 0 12px 26px rgba(31, 44, 42, 0.08);
}

.location-route-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--c-sage);
}

.route-card .label {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.route-card strong {
  display: block;
  margin-top: 6px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
}

.location-route-card strong {
  margin-top: 14px;
  color: var(--c-sage);
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  line-height: 0.88;
}

.location-route-card p:last-child {
  position: relative;
  margin: 16px 0 0;
  color: #344743;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--c-powder), white 20%);
  background: rgba(109, 133, 149, 0.12);
  color: #375160;
  padding: 7px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.conversion-footer {
  margin-top: 18px;
  border-top: 1px solid rgba(222, 211, 194, 0.95);
  background: #e7dccb;
}

.footer-shell {
  padding: clamp(28px, 4vw, 46px) 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  align-items: stretch;
}

.footer-copy,
.form-wrap {
  padding: clamp(22px, 3vw, 34px);
}

.footer-copy {
  background: rgba(252, 250, 246, 0.86);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(216, 204, 187, 0.96);
  box-shadow: var(--shadow-soft);
}

.footer-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  white-space: nowrap;
}

.footer-copy .office {
  margin-top: 20px;
}

.footer-copy .office h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
}

.footer-copy .office p {
  margin: 7px 0 0;
  color: #3f4d4c;
}

.form-wrap {
  background: rgba(252, 250, 246, 0.96);
}

.custom-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.field label {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.66rem;
  font-weight: 700;
  color: #394746;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid #d4c8b8;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-powder);
  box-shadow: 0 0 0 2px rgba(109, 133, 149, 0.18);
}

.consent-wrap {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--c-muted);
}

.consent-wrap input {
  margin-top: 2px;
  accent-color: var(--c-powder);
}

.form-notice {
  min-height: 1.3em;
  font-size: 0.88rem;
  color: #2f5f62;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(172, 154, 128, 0.38);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: #556260;
  font-size: 0.82rem;
}

.social-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-card {
  overflow: hidden;
  min-height: 330px;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-points {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-points li {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(109, 133, 149, 0.1);
  color: #39505d;
}

.contact-section {
  padding-bottom: clamp(18px, 3vw, 34px);
}

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

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.15s ease;
}

.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 28, 29, 0.74);
  backdrop-filter: blur(10px);
}

.video-dialog {
  position: relative;
  width: min(1120px, 94vw);
  max-height: 88svh;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(246, 241, 232, 0.5);
  background: #111b1d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  transform: translateY(24px) scale(0.94);
  opacity: 0;
  transition: transform 1.18s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.18s ease;
}

.video-modal.is-open .video-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.video-dialog video {
  display: block;
  width: 100%;
  max-height: 88svh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111b1d;
}

.video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(17, 27, 29, 0.72);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.video-fallback {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: #fff;
  background: var(--c-sage);
  font-weight: 700;
  font-size: 0.82rem;
}

body.video-lock {
  overflow: hidden;
}

.project-boards {
  padding-top: clamp(26px, 4vw, 46px);
}

.technical-boards {
  margin-top: 18px;
}

.board-card {
  display: block;
  min-height: 0;
  aspect-ratio: 1.414 / 1;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.board-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(31, 44, 42, 0.14);
}

.board-card img {
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.24s; }

@media (max-width: 1080px) {
  .nav-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split,
  .split.reverse,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .media-card,
  .split.reverse .content-card {
    order: initial;
  }

  .image-grid.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 118px;
  }

  .shell {
    width: min(100% - 32px, 1180px);
  }

  .header-shell {
    gap: 8px;
    padding: 10px 0 12px;
  }

  .header-top {
    position: relative;
    min-height: 70px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .menu-toggle {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    width: 44px;
    height: 40px;
    padding: 0;
    font-size: 0;
    letter-spacing: 0;
    gap: 5px;
    border-radius: 10px;
    background: rgba(252, 250, 246, 0.9);
    transform: translateY(-50%);
  }

  .menu-toggle::before,
  .menu-toggle::after,
  .menu-toggle .menu-line {
    content: '';
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 999px;
    background: var(--c-ink);
    transition: transform 0.22s ease, opacity 0.18s ease;
  }

  .site-header.nav-open .menu-toggle::before {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .menu-toggle .menu-line {
    opacity: 0;
  }

  .site-header.nav-open .menu-toggle::after {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand {
    grid-column: 1;
    justify-self: center;
    text-align: center;
    min-width: 0;
    width: min(56vw, 270px);
    max-width: min(56vw, 270px) !important;
    margin: 0 auto;
  }

  .brand-logo {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 44px !important;
  }

  .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.1em;
    max-width: 100%;
    white-space: nowrap;
  }

  .lang-switch {
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 2;
    gap: 6px;
    transform: translateY(-50%);
  }

  .lang-switch button {
    width: 28px;
    height: 28px;
  }

  .main-nav {
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0;
  }

  .site-header.nav-open .main-nav {
    max-height: 360px;
    opacity: 1;
    margin-top: 8px;
    pointer-events: auto;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 8px;
    border: 1px solid rgba(222, 211, 194, 0.85);
    border-radius: var(--radius-md);
    background: rgba(252, 250, 246, 0.86);
    text-align: center;
    line-height: 1.2;
  }

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

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

@media (max-width: 680px) {
  :root {
    --header-height: 112px;
  }

  .shell {
    width: min(100% - 24px, 1180px);
  }

  .page-main {
    padding-top: 10px;
  }

  .section {
    padding: 34px 0;
  }

  .section-tight {
    padding: 24px 0 8px;
  }

  .section-head {
    margin-bottom: 12px;
  }

  .section-head h1 {
    font-size: clamp(2rem, 13vw, 3rem);
  }

  .section-head h2,
  .section-head h3,
  .content-card h2,
  .content-card h3,
  .footer-copy h2 {
    font-size: clamp(1.8rem, 10vw, 2.45rem);
  }

  .hero {
    min-height: calc(100svh - var(--header-height));
    align-items: end;
    padding: 24px 0;
  }

  .hero-media {
    transform: none;
    background-position: center top;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(31, 44, 42, 0.2), rgba(31, 44, 42, 0.56));
  }

  .hero-panel {
    width: min(100% - 24px, 520px);
    padding: 22px 16px;
    border-radius: var(--radius-lg);
  }

  .hero-panel h1 {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
    letter-spacing: 0.08em;
  }

  .hero-panel p {
    font-size: 1rem;
  }

  .action-row {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
  }

  .nav-cards,
  .image-grid.two,
  .image-grid.three,
  .stat-grid {
    grid-template-columns: 1fr;
  }

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

  .split,
  .split.reverse,
  .footer-grid,
  .contact-grid {
    gap: 12px;
  }

  .content-card,
  .footer-copy,
  .form-wrap {
    padding: 22px 16px;
  }

  .media-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .media-card.tall,
  .map-card {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .image-grid .media-card {
    min-height: 0;
  }

  .geo-grid .media-card,
  .board-card {
    aspect-ratio: 1 / 1.08;
  }

  .board-card img {
    padding: 6px;
  }

  .location-route-card {
    min-height: 0;
    padding: 20px 18px;
  }

  .route-card {
    padding: 16px;
  }

  .footer-copy h2 {
    white-space: normal;
  }

  .field input,
  .field textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .video-modal {
    padding: 12px;
    align-items: center;
  }

  .video-dialog {
    width: 100%;
    max-height: 76svh;
    border-radius: var(--radius-md);
  }

  .video-dialog video {
    max-height: 76svh;
    object-fit: contain;
  }

  .video-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 420px) {
  .header-top {
    min-height: 68px;
  }

  .brand {
    width: min(52vw, 220px);
    max-width: min(52vw, 220px) !important;
  }

  .brand-logo {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 38px !important;
  }

  .brand-sub {
    font-size: 0.48rem;
  }

  .menu-toggle {
    width: 40px;
    height: 38px;
    gap: 4px;
  }

  .lang-switch button {
    width: 26px;
    height: 26px;
  }

  .lang-switch button img {
    width: 16px;
    height: 16px;
  }

  .hero-panel h1 {
    font-size: clamp(2rem, 12vw, 2.8rem);
  }

  .hero-panel {
    padding: 20px 14px;
  }
}

@media (max-width: 340px) {
  .main-nav {
    grid-template-columns: 1fr;
  }
}

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