:root {
  --color-red: #bf342d;
  --color-red-dark: #7f211d;
  --color-red-soft: #f8e9e7;
  --color-cyan: #22c7da;
  --color-ink: #111827;
  --color-muted: #5b6678;
  --color-line: #e7e9ee;
  --color-bg: #fbf6f4;
  --color-white: #ffffff;
  --shadow: 0 26px 90px rgba(17, 24, 39, 0.16);
  --shadow-soft: 0 18px 60px rgba(17, 24, 39, 0.09);
  --radius: 28px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(34, 199, 218, .14), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, #fbf7f6 48%, #ead2d0 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

iframe {
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-white);
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, .9);
}

.site-header__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

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

.brand img {
  display: block;
  width: 136px;
  max-height: 58px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding-block: 12px;
}

.nav-link,
.nav-dropdown a {
  text-decoration: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: #334155;
  white-space: nowrap;
}

.nav-subtoggle {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-cyan);
  cursor: pointer;
}

.nav-link:hover,
.nav-link.is-active,
.nav-item.is-active > .nav-link,
.nav-item:hover > .nav-link {
  color: var(--color-ink);
  background: rgba(34, 199, 218, .16);
}

.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -16px;
  right: -16px;
  height: 18px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  min-width: 230px;
  padding: 10px;
  background: var(--color-white);
  box-shadow: 0 24px 60px rgba(17,24,39,.18);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease;
}

.nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: #475569;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.nav-dropdown a:hover,
.nav-dropdown a.is-active {
  color: var(--color-ink);
  background: rgba(34, 199, 218, .14);
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown,
.nav-item.is-dropdown-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.social-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.social-links a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #253b72;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 900;
}

.social-links a + a {
  background: #151515;
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--color-ink);
  color: var(--color-white);
  font-weight: 800;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}

.section--soft {
  background: rgba(255,255,255,.55);
}

.section__inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section__inner.narrow {
  max-width: 850px;
}

.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

.section-head h1,
.section-head h2,
.page-hero h1,
.home-cover__headline h1,
.legacy-promise h2,
.home-map h2,
.contact-page h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: .96;
  letter-spacing: -.055em;
}

.lead {
  font-size: clamp(18px, 2vw, 22px);
  color: #344054;
}

.button,
.home-quicklinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button--primary,
.home-quicklinks a {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 14px 30px rgba(127, 33, 29, .18);
}

.button--ghost {
  background: var(--color-white);
  color: var(--color-ink);
  border: 1px solid var(--color-line);
}

.home-cover {
  position: relative;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(34, 199, 218, .10), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #f4f6f6 62%, #d2d0ce 100%);
}

.home-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(72px, 9vw, 145px);
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(244, 246, 246, 0) 0%,
      rgba(210, 208, 206, .42) 45%,
      rgba(149, 70, 66, .28) 75%,
      rgba(127, 33, 29, .34) 100%
    );
}

.home-cover__inner {
  width: 100%;
  margin: 0;
}

.home-cover__media {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #c9c9c9;
  box-shadow: none;
}

.home-cover__media img {
  width: 100%;
  height: clamp(300px, 34vw, 480px);
  object-fit: cover;
  object-position: center 44%;
  display: block;
  opacity: .94;
  filter: saturate(.86) contrast(.94) brightness(.98);
}

.home-cover__panel,
.home-cover__intro {
  display: none;
}

.legacy-promise {
  padding: clamp(72px, 8vw, 108px) 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(219, 222, 224, .62), transparent 36rem),
    radial-gradient(circle at 86% 12%, rgba(255,255,255,.16), transparent 28rem),
    linear-gradient(180deg, #a94640 0%, #b93b34 46%, #7f211d 100%);
  color: #080b12;
}

.legacy-promise__inner {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}

.legacy-promise__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.legacy-promise p {
  font-weight: 780;
}

.legacy-promise__side {
  padding-top: 72px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.feature-list span {
  display: block;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(17,24,39,.12);
  font-weight: 900;
}

.home-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.testimonials-preview {
  background: linear-gradient(180deg, #f7e4e3 0%, #ecc7c6 100%);
}

.testimonials-preview--page,
.testimonials-preview--home {
  min-height: 520px;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: 52px minmax(0, 720px) 52px;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
}

.testimonial-slider--large {
  grid-template-columns: 52px minmax(0, 760px) 52px;
}

.slider-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(17,24,39,.16);
}

.testimonial-card {
  min-height: 256px;
  height: 256px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 24px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.testimonial-slider--large .testimonial-card {
  min-height: 300px;
  height: 300px;
}

.testimonial-card h2,
.testimonial-card h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.045em;
}

.testimonial-card p {
  margin: 0;
}

.testimonial-card__scroll {
  overflow: auto;
  padding-right: 10px;
}

.home-map {
  width: min(var(--container), calc(100% - 32px));
  margin: clamp(58px, 8vw, 100px) auto;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.home-map__copy {
  padding: clamp(30px, 5vw, 56px);
}

.home-map__frame {
  min-height: 480px;
  background: #e5e7eb;
}

.home-map__frame iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.site-footer {
  background: #202020;
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.site-footer__inner {
  width: min(var(--container), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.page-hero {
  padding: clamp(82px, 11vw, 150px) 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(34,199,218,.20), transparent 30rem),
    linear-gradient(115deg, #e6fbfd 0%, #fff 46%, #ffe7e7 100%);
}

.page-hero--red {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
}

.page-hero--red .eyebrow {
  color: #b9f8ff;
}

.page-hero--red .lead {
  color: rgba(255,255,255,.92);
}

.page-hero--compact {
  padding: clamp(76px, 9vw, 122px) 0;
}

.page-hero--blue {
  background: linear-gradient(115deg, #e6fbfd 0%, #ffffff 50%, #e8f2ff 100%);
}

.gallery-section {
  background: #f5f5f5;
}

.gallery-carousel {
  display: grid;
  grid-template-columns: 52px minmax(0, 760px) 52px;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.gallery-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 360px;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #d9dde5;
  box-shadow: var(--shadow-soft);
}

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

.gallery-frame figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--color-ink);
  font-weight: 900;
}

.gallery-empty {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
}

.gallery-empty span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
}

.gallery-thumbs {
  width: min(780px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.gallery-thumbs button {
  padding: 0;
  border: 3px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
}

.gallery-thumbs button.is-active {
  border-color: var(--color-red);
}

.gallery-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.form-card,
.contact-card,
.feature-copy-card,
.theory-card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-soft);
}

.form-field {
  margin: 0 0 18px;
}

.form-field label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.form-field label span {
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d5dae3;
  border-radius: 14px;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}

.form-field textarea {
  resize: vertical;
}

.is-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 850;
}

.notice--success {
  background: #e7f8ef;
  color: #0b6b34;
}

.notice--error {
  background: #f8e9e7;
  color: #7f211d;
}

.feature-page {
  background: linear-gradient(180deg, #fff 0%, #fbf5f4 100%);
}

.feature-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(26px, 5vw, 56px);
  align-items: center;
}

.feature-media-card {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 30%, rgba(34,199,218,.20), transparent 16rem),
    #ffffff;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.feature-media-card img {
  width: min(300px, 100%);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 760;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-red);
  font-weight: 950;
}

.video-hub-section {
  background: linear-gradient(180deg, #fff 0%, #fbf4f3 100%);
}

.video-hub-section--red {
  background: linear-gradient(180deg, #fff 0%, #f7e8e6 44%, #b93b34 100%);
}

.video-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 26px;
  align-items: start;
}

.video-hub__main,
.video-hub__playlist {
  border-radius: var(--radius);
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-line);
}

.video-hub__main {
  padding: clamp(22px, 4vw, 34px);
}

.video-hub__main h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.video-embed {
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}

.video-embed--player {
  margin-top: 22px;
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.video-hub__playlist {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.video-hub__playlist button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px 12px;
  width: 100%;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fff;
  color: var(--color-ink);
  text-align: left;
  cursor: pointer;
}

.video-hub__playlist button span {
  grid-row: span 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--color-red-soft);
  color: var(--color-red);
  font-weight: 950;
}

.video-hub__playlist button strong {
  align-self: end;
  line-height: 1.15;
}

.video-hub__playlist button small {
  color: var(--color-muted);
}

.video-hub__playlist button:hover,
.video-hub__playlist button.is-active {
  border-color: rgba(127,33,29,.22);
  background: linear-gradient(135deg, #fff, #f8e9e7);
}

.video-thanks {
  padding: 16px;
  text-align: center;
  color: var(--color-muted);
  font-weight: 900;
}

.video-thanks img {
  display: block;
  max-width: 150px;
  margin: 10px auto 0;
  border-radius: 10px;
}

.theory-page {
  background: #f4f4f4;
}

.theory-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}

.theory-card--highlight {
  grid-row: span 2;
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,233,231,.96));
}

.theory-card h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.theory-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 3px solid var(--color-red);
  border-radius: 18px;
  font-size: 30px;
}

.pricing-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(34,199,218,.13), transparent 26rem),
    #ffffff;
}

.pricing-grid {
  width: min(880px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 18px;
  perspective: 1200px;
}

.flip-card {
  min-height: 184px;
  cursor: pointer;
  outline: 0;
}

.flip-card:first-child {
  grid-column: 1 / -1;
  width: min(520px, 100%);
  justify-self: center;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 184px;
  transform-style: preserve-3d;
  transition: transform .55s ease;
}

.flip-card:hover .flip-card__inner,
.flip-card:focus .flip-card__inner,
.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border-radius: 22px;
  backface-visibility: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.flip-card__front {
  background:
    linear-gradient(180deg, rgba(118,118,118,.68), rgba(191,52,45,.90) 45%, rgba(127,33,29,.92));
}

.flip-card__front span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: var(--color-red);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.flip-card__front h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
}

.flip-card__front small {
  font-weight: 850;
}

.flip-card__back {
  transform: rotateY(180deg);
  background: var(--color-ink);
  color: #fff;
}

.flip-card__back strong {
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1;
}

.pricing-note {
  margin: 32px auto 0;
  text-align: center;
}

.contact-page {
  background: linear-gradient(180deg, #fff 0%, #fbf4f3 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 24px;
}

.contact-map {
  min-height: 330px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.form-card--contact h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.04em;
}

.legal-content {
  background: rgba(255,255,255,.52);
}

.legal-content .section__inner {
  max-width: 820px;
}

.legal-content h2,
.legal-content h3 {
  margin-top: 34px;
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 18px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-item {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-block: 0;
  }

  .nav-link {
    border-radius: 14px;
  }

  .nav-subtoggle {
    margin: 8px 0;
    background: rgba(34,199,218,.14);
  }

  .nav-dropdown {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    opacity: 1;
    transform: none;
    display: none;
    pointer-events: auto;
    box-shadow: none;
    margin: 4px 0 10px;
  }

  .nav-item.is-dropdown-open .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    display: block;
  }

  .social-links {
    display: none;
  }

  .home-cover__panel,
  .legacy-promise__columns,
  .home-map,
  .feature-layout,
  .video-hub,
  .theory-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .legacy-promise__side {
    padding-top: 0;
  }

  .home-map__frame {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .section__inner,
  .home-cover__inner,
  .legacy-promise__inner {
    width: min(100% - 22px, var(--container));
  }

  .home-cover {
    padding-top: 18px;
  }

  .home-cover__panel {
    margin-top: 0;
    width: 100%;
    border-radius: 0 0 22px 22px;
  }

  .testimonial-slider,
  .testimonial-slider--large,
  .gallery-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .slider-button {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .testimonial-card,
  .testimonial-slider--large .testimonial-card {
    height: 320px;
    min-height: 320px;
  }

  .gallery-frame {
    min-height: 260px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .flip-card:first-child {
    grid-column: auto;
    width: 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 20px 0;
  }
}


/* Full-width integrated homepage hero override. */
@media (max-width: 720px) {
  .home-cover {
    padding-top: 0;
  }

  .home-cover__inner {
    width: 100%;
  }

  .home-cover__media img {
    height: clamp(300px, 78vw, 480px);
    object-position: center top;
  }
}


/* --------------------------------------------------------------------------
   Final homepage hero + red balance correction
   Purpose:
   - stop the hero from feeling over-cropped / in-your-face
   - keep the image integrated with the page without flooding the photo in red
   - bring the brand red back up from the too-muted global tone
   -------------------------------------------------------------------------- */

:root {
  --color-red: #d9271f;
  --color-red-dark: #941914;
  --color-red-soft: #fff0ef;
  --color-bg: #fff8f6;
}

body {
  background: #fff8f6;
}

.button--primary,
.home-quicklinks a {
  background: linear-gradient(135deg, #e02b22 0%, #bd2019 100%);
  box-shadow: 0 16px 34px rgba(148, 25, 20, .24);
}

.button--primary:hover,
.home-quicklinks a:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(148, 25, 20, .30);
}

/* The homepage hero is now a wide editorial banner instead of a full-bleed crop.
   This keeps the full-width feel through the section background, while the photo
   stays readable and intentional. */
.home-cover {
  position: relative;
  padding: clamp(28px, 4vw, 56px) 0 clamp(34px, 5vw, 72px);
  overflow: visible;
  background:
    radial-gradient(circle at 16% 12%, rgba(34, 199, 218, .12), transparent 28rem),
    radial-gradient(circle at 86% 0%, rgba(217, 39, 31, .08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 52%, #fff1ef 100%);
}

.home-cover::after {
  display: none;
}

.home-cover__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.home-cover__media {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  border-radius: clamp(18px, 2.2vw, 32px);
  overflow: hidden;
  background: #e9eef2;
  box-shadow:
    0 24px 70px rgba(17, 24, 39, .12),
    0 2px 0 rgba(255, 255, 255, .75) inset;
}

.home-cover__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20%;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 244, 242, .52) 58%,
    rgba(255, 244, 242, .86) 100%
  );
}

.home-cover__media img {
  width: 100%;
  height: clamp(315px, 30vw, 520px);
  object-fit: cover;
  object-position: center 49%;
  display: block;
  opacity: 1;
  filter: saturate(.98) contrast(.99) brightness(1);
}

.home-cover__panel,
.home-cover__intro {
  display: none;
}

/* The original red content stays strong, but no longer starts as a flat wall of red. */
.legacy-promise {
  margin-top: -42px;
  padding: clamp(96px, 9vw, 136px) 0 clamp(74px, 8vw, 112px);
  background:
    radial-gradient(circle at 20% 0%, rgba(235, 239, 241, .42), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .14), transparent 28rem),
    linear-gradient(180deg, #d9342c 0%, #c6231d 48%, #971a15 100%);
  color: #080b12;
}

.legacy-promise::before {
  content: "";
  display: block;
  position: absolute;
  pointer-events: none;
}

.legacy-promise h2 {
  text-shadow: none;
}

.legacy-promise p {
  font-weight: 780;
}

.feature-list span {
  background: rgba(255, 245, 243, .92);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #111827;
}

/* Bring the rest of the site back to a confident Up2Date red without the neon feel. */
.page-hero--red {
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.13), transparent 28rem),
    linear-gradient(135deg, #d9271f 0%, #941914 100%);
}

.flip-card__front {
  background:
    linear-gradient(180deg, rgba(118, 118, 118, .56), rgba(217, 39, 31, .94) 45%, rgba(148, 25, 20, .96));
}

.video-select-button.is-active,
.video-select-button:hover {
  background: var(--color-red);
  color: var(--color-white);
}

@media (max-width: 980px) {
  .home-cover {
    padding-top: 24px;
  }

  .home-cover__inner {
    width: min(100% - 28px, 900px);
  }

  .home-cover__media img {
    height: clamp(280px, 47vw, 430px);
    object-position: center 48%;
  }

  .legacy-promise {
    margin-top: -26px;
    padding-top: 86px;
  }
}

@media (max-width: 720px) {
  .home-cover {
    padding: 18px 0 34px;
  }

  .home-cover__inner {
    width: calc(100% - 20px);
  }

  .home-cover__media {
    border-radius: 18px;
  }

  .home-cover__media img {
    height: clamp(230px, 58vw, 360px);
    object-position: center center;
  }

  .legacy-promise {
    margin-top: -18px;
    padding-top: 74px;
  }
}

@media (min-width: 1500px) {
  .home-cover__inner {
    width: min(1240px, calc(100% - 56px));
  }

  .home-cover__media img {
    height: 520px;
  }
}

/* Gallery size refinement: larger main image, unchanged thumbnail grid. */
.gallery-carousel {
  grid-template-columns: 56px minmax(0, 940px) 56px;
}

.gallery-frame {
  aspect-ratio: 16 / 10;
  min-height: 470px;
}

@media (max-width: 980px) {
  .gallery-frame {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .gallery-frame {
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }
}

/* Admin area */
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(34, 199, 218, .12), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, #fbf6f4 100%);
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-line);
}

.admin-header__inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-weight: 950;
  text-decoration: none;
}

.admin-brand img {
  width: 112px;
  max-height: 50px;
  object-fit: contain;
}

.admin-brand span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 199, 218, .14);
  color: var(--color-ink);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-nav a,
.admin-logout button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  background: transparent;
  color: #334155;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.admin-nav a:hover,
.admin-nav a.is-active,
.admin-logout button:hover {
  background: rgba(34, 199, 218, .16);
  color: var(--color-ink);
}

.admin-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
}

.admin-page-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.admin-page-head h1,
.admin-card h1 {
  margin: 0 0 12px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .92;
  letter-spacing: -.055em;
}

.admin-page-head p,
.admin-card p {
  color: var(--color-muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.admin-card {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(231, 233, 238, .96);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
}

.admin-card--login {
  max-width: 520px;
  margin: clamp(20px, 8vw, 82px) auto;
}

.admin-card h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.04em;
}

.admin-form {
  display: grid;
  gap: 16px;
}

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

.admin-form__wide {
  grid-column: 1 / -1;
}

.admin-form label,
.admin-price-card label {
  display: grid;
  gap: 7px;
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-price-card input,
.admin-price-card select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  padding: 11px 13px;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
  font-weight: 650;
}

.admin-form input[type="file"] {
  padding: 10px;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-price-card input:focus,
.admin-price-card select:focus {
  border-color: var(--color-cyan);
  outline: 3px solid rgba(34, 199, 218, .16);
}

.admin-flash {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 900;
}

.admin-flash--success {
  background: #e9f8ef;
  color: #126b35;
}

.admin-flash--error {
  background: #fff0ef;
  color: var(--color-red-dark);
}

.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-gallery-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: #fff;
}

.admin-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #e5e7eb;
}

.admin-gallery-item strong,
.admin-gallery-item small {
  display: block;
}

.admin-gallery-item small {
  color: var(--color-muted);
}

.admin-gallery-item button {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: var(--color-ink);
  font-weight: 900;
  cursor: pointer;
}

.admin-gallery-item button:hover {
  background: var(--color-red);
  color: #fff;
}

.admin-price-list {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-price-card {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) minmax(120px, .6fr) minmax(220px, 1.2fr) minmax(120px, .6fr) 100px 140px;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--color-line);
  border-radius: 22px;
  background: #fff;
}

.admin-price-card legend {
  padding: 0 8px;
  font-weight: 950;
  color: var(--color-red-dark);
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(17, 24, 39, .06);
}

@media (max-width: 1080px) {
  .admin-price-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .admin-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 12px 0;
  }

  .admin-grid,
  .admin-form--grid,
  .admin-price-card,
  .admin-gallery-grid {
    grid-template-columns: 1fr;
  }

  .admin-page-head h1,
  .admin-card h1 {
    font-size: clamp(36px, 12vw, 54px);
  }
}


/* --------------------------------------------------------------------------
   Live gallery cleanup
   Purpose:
   - remove cropped main gallery photos
   - keep the carousel height stable
   - make the main image slightly larger while keeping thumbnails unchanged
   - let clean date captions replace imported filenames
-------------------------------------------------------------------------- */

.gallery-section .section-head {
  margin-bottom: 26px;
}

.gallery-section .section-head p:not(.eyebrow) {
  display: none;
}

.gallery-carousel {
  grid-template-columns: 56px minmax(0, 920px) 56px;
  gap: 18px;
}

.gallery-frame {
  aspect-ratio: 16 / 10;
  min-height: clamp(420px, 48vw, 620px);
  max-height: 680px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, .88), transparent 28rem),
    linear-gradient(135deg, #f6f4f3 0%, #e5e7eb 100%);
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 26px 80px rgba(17, 24, 39, .13);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: transparent;
}

.gallery-frame figcaption {
  left: 20px;
  bottom: 20px;
  max-width: calc(100% - 40px);
  padding: 9px 14px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(17, 24, 39, .08);
  box-shadow: 0 12px 30px rgba(17, 24, 39, .14);
  font-size: 14px;
}

.testimonials-preview--page .section-head p:not(.eyebrow) {
  display: none;
}

@media (max-width: 860px) {
  .gallery-carousel {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 10px;
  }

  .gallery-frame {
    min-height: clamp(300px, 72vw, 500px);
    border-radius: 22px;
  }

  .gallery-frame figcaption {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    font-size: 13px;
  }
}

@media (max-width: 540px) {
  .gallery-carousel {
    grid-template-columns: 1fr;
  }

  .gallery-carousel > .slider-button {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
  }

  .gallery-carousel > [data-gallery-prev] {
    left: 8px;
  }

  .gallery-carousel > [data-gallery-next] {
    right: 8px;
  }

  .gallery-frame {
    min-height: 340px;
  }
}


/* --------------------------------------------------------------------------
   Mobile navigation submenu fix
   Purpose:
   - remove empty floating dropdown cards on phones
   - make nested links open only from the small arrow button
   - keep parent links clickable
   - keep desktop dropdowns stable and clickable
-------------------------------------------------------------------------- */

.has-dropdown:hover::after,
.has-dropdown:focus-within::after {
  pointer-events: none;
}

@media (min-width: 981px) {
  .has-dropdown::after {
    top: calc(100% - 8px);
    height: 26px;
  }

  .nav-dropdown {
    top: calc(100% - 2px);
  }

  .nav-item.is-dropdown-open .nav-dropdown,
  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    overflow: visible;
  }

  .site-header__inner {
    width: min(100% - 28px, var(--container));
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 10px 0 14px;
  }

  .brand img {
    width: clamp(148px, 36vw, 220px);
    max-height: 76px;
  }

  .nav-toggle {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 16px;
  }

  .site-nav {
    grid-column: 1 / -1;
    width: 100%;
    padding: 12px 0 4px;
    gap: 6px;
    background: transparent;
  }

  .site-nav:not(.is-open) {
    display: none !important;
  }

  .site-nav.is-open {
    display: grid !important;
  }

  .nav-item,
  .nav-item.has-dropdown {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
    padding: 0;
  }

  .nav-link {
    width: 100%;
    min-height: 54px;
    justify-content: flex-start;
    padding: 0 20px;
    border-radius: 18px;
    font-size: 17px;
    letter-spacing: .01em;
  }

  .nav-item:not(.has-dropdown) .nav-link {
    grid-column: 1 / -1;
  }

  .nav-subtoggle {
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 999px;
    background: rgba(34, 199, 218, .14);
    color: var(--color-cyan);
    font-size: 15px;
    line-height: 1;
  }

  .nav-subtoggle[aria-expanded="true"] {
    background: rgba(34, 199, 218, .22);
    color: var(--color-ink);
  }

  .has-dropdown::after {
    display: none !important;
    content: none !important;
  }

  .nav-dropdown {
    position: static !important;
    z-index: auto;
    grid-column: 1 / -1;
    display: none !important;
    min-width: 0;
    width: 100%;
    margin: 0 0 8px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(248, 250, 252, .96);
    border: 1px solid rgba(17, 24, 39, .08);
    box-shadow: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;
    transition: none;
  }

  .nav-item.is-dropdown-open > .nav-dropdown {
    display: grid !important;
    gap: 6px;
  }

  .has-dropdown:focus-within .nav-dropdown,
  .has-dropdown:hover .nav-dropdown {
    display: none !important;
  }

  .nav-item.is-dropdown-open:focus-within > .nav-dropdown,
  .nav-item.is-dropdown-open:hover > .nav-dropdown,
  .nav-item.is-dropdown-open > .nav-dropdown {
    display: grid !important;
  }

  .nav-dropdown a {
    display: flex !important;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    color: #334155 !important;
    background: #fff;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 15px;
    font-weight: 850;
    text-transform: none;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .06);
  }

  .nav-dropdown a:hover,
  .nav-dropdown a.is-active {
    background: rgba(34, 199, 218, .15);
    color: var(--color-ink) !important;
  }

  .nav-item.is-active > .nav-link,
  .nav-link.is-active {
    background: rgba(34, 199, 218, .18);
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    width: min(100% - 24px, var(--container));
  }

  .brand img {
    width: clamp(150px, 48vw, 220px);
  }

  .nav-link {
    min-height: 50px;
    font-size: 16px;
    padding-inline: 18px;
  }

  .nav-subtoggle {
    width: 44px;
    height: 44px;
  }
}


/* --------------------------------------------------------------------------
   Final mobile navigation redesign
   Purpose:
   - make the phone menu feel like a polished dropdown panel
   - keep the page content in place while the menu is open
   - make submenu links compact, clear and tappable
   - keep desktop navigation unchanged
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
  }

  .site-header__inner {
    position: relative;
    width: min(100% - 24px, var(--container));
    min-height: 76px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
  }

  .brand img {
    width: clamp(128px, 34vw, 170px);
    max-height: 62px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(17, 24, 39, .18);
  }

  .nav-toggle[aria-expanded="true"] {
    background: #0f172a;
  }

  .site-nav {
    position: absolute !important;
    top: calc(100% + 8px);
    right: 0;
    grid-column: auto;
    width: min(360px, calc(100vw - 24px));
    max-height: min(72vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    padding: 12px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow:
      0 28px 70px rgba(17, 24, 39, .20),
      0 1px 0 rgba(255,255,255,.85) inset;
    backdrop-filter: blur(16px);
    text-align: left;
  }

  .site-nav.is-open {
    display: flex !important;
    animation: mobileNavIn .16s ease-out;
  }

  @keyframes mobileNavIn {
    from {
      opacity: 0;
      transform: translateY(-6px) scale(.985);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  .nav-item,
  .nav-item.has-dropdown {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 38px;
    align-items: center;
    gap: 6px;
    padding: 0;
  }

  .nav-item:not(.has-dropdown) {
    grid-template-columns: 1fr;
  }

  .nav-link {
    width: 100%;
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 13px;
    border-radius: 14px;
    color: #263244;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .015em;
    line-height: 1.1;
  }

  .nav-link:hover,
  .nav-item:hover > .nav-link,
  .nav-item.is-active > .nav-link,
  .nav-link.is-active {
    background: rgba(34, 199, 218, .15);
    color: #111827;
  }

  .nav-subtoggle {
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 999px;
    background: rgba(34, 199, 218, .12);
    color: #13b5c7;
    font-size: 12px;
    box-shadow: none;
  }

  .nav-subtoggle[aria-expanded="true"] {
    background: rgba(34, 199, 218, .20);
    color: #0f172a;
  }

  .has-dropdown::after {
    display: none !important;
    content: none !important;
  }

  .nav-dropdown {
    position: static !important;
    grid-column: 1 / -1;
    display: none !important;
    width: 100%;
    min-width: 0;
    margin: -1px 0 5px;
    padding: 6px;
    border: 1px solid rgba(17, 24, 39, .07);
    border-radius: 16px;
    background: #f8fafc;
    box-shadow: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;
    transition: none;
  }

  .nav-item.is-dropdown-open > .nav-dropdown {
    display: grid !important;
    gap: 5px;
  }

  .has-dropdown:hover .nav-dropdown,
  .has-dropdown:focus-within .nav-dropdown {
    display: none !important;
  }

  .nav-item.is-dropdown-open:hover > .nav-dropdown,
  .nav-item.is-dropdown-open:focus-within > .nav-dropdown,
  .nav-item.is-dropdown-open > .nav-dropdown {
    display: grid !important;
  }

  .nav-dropdown a {
    display: flex !important;
    align-items: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 12px;
    background: #fff;
    color: #334155 !important;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
    box-shadow: 0 1px 0 rgba(17, 24, 39, .04);
  }

  .nav-dropdown a:hover,
  .nav-dropdown a.is-active {
    background: rgba(34, 199, 218, .13);
    color: #111827 !important;
  }

  .social-links {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    width: min(100% - 20px, var(--container));
    min-height: 70px;
  }

  .brand img {
    width: clamp(126px, 39vw, 158px);
    max-height: 58px;
  }

  .nav-toggle {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }

  .site-nav {
    width: min(324px, calc(100vw - 20px));
    max-height: min(74vh, 540px);
    padding: 10px;
    border-radius: 22px;
  }

  .nav-link {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .nav-subtoggle {
    width: 36px;
    height: 36px;
  }

  .nav-item,
  .nav-item.has-dropdown {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 5px;
  }

  .nav-dropdown a {
    min-height: 36px;
    font-size: 12px;
  }
}

