/* KHOEI Chiang Mai — V4 / modern restaurant system */

:root {
  --green: #0d4a37;
  --green-dark: #063326;
  --green-black: #04281e;
  --gold: #b99a67;
  --gold-soft: #d7c19b;
  --cream: #f3ecdd;
  --cream-light: #fbf7ef;
  --paper: #fffdf8;
  --ink: #28211d;
  --muted: #71675f;
  --line: rgba(13, 74, 55, 0.16);
  --line-dark: rgba(243, 236, 221, 0.17);
  --container: 78rem;
  --radius: 0.35rem;
  --shadow: 0 1.5rem 4rem rgba(4, 40, 30, 0.12);
  --transition: 180ms ease;
}

html {
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  overflow-x: hidden;
  background: var(--cream-light);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

h1,
h2,
h3 {
  color: var(--green-dark);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1.12;
}

h3 {
  line-height: 1.25;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
}

.section {
  position: relative;
  padding-block: clamp(4.75rem, 8vw, 7.25rem);
}

.section--alt {
  background: var(--cream);
}

.section__heading {
  max-width: 42rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.75rem);
}

.section__heading--center {
  max-width: 46rem;
}

.eyebrow {
  min-height: 0;
  margin-bottom: 0.85rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section__heading h2::after,
.page-hero h1::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 2px;
  margin-top: 1rem;
  background: var(--gold);
}

.section__heading--center h2::after {
  margin-inline: auto;
}

.lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.section__heading--center .lead {
  margin-inline: auto;
}

.js .reveal,
.reveal,
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

.button {
  min-height: 3.2rem;
  padding: 0.72rem 1.25rem;
  border-width: 1px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 750;
  box-shadow: none;
}

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

.button--primary,
.button--gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-black);
}

.button--primary:hover,
.button--gold:hover {
  border-color: var(--gold-soft);
  background: var(--gold-soft);
}

.button--outline {
  border-color: rgba(243, 236, 221, 0.55);
  background: transparent;
  color: var(--cream-light);
}

.button--cream {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--green-dark);
}

.button--line,
a[href^="https://lin.ee"].button {
  gap: 0.6rem;
  border-color: #06c755;
  background: #06c755;
  color: #073b20;
}

.button--line::before,
a[href^="https://lin.ee"].button::before {
  content: "LINE";
  display: inline-grid;
  width: 1.85rem;
  height: 1.4rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #06a947;
  font-family: Arial, sans-serif;
  font-size: 0.45rem;
  font-weight: 900;
}

/* Header */
.site-header {
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(243, 236, 221, 0.13);
  background: rgba(6, 51, 38, 0.97);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.site-header__inner {
  gap: 1.25rem;
}

.brand-link {
  width: clamp(11rem, 15vw, 13.75rem);
  padding-block: 0.65rem;
}

.desktop-nav {
  margin-left: auto;
}

.desktop-nav ul {
  gap: 0.15rem;
}

.desktop-nav li:nth-child(3),
.desktop-nav li:nth-child(5),
.mobile-nav__links li:nth-child(3),
.mobile-nav__links li:nth-child(5) {
  display: none;
}

.desktop-nav a {
  position: relative;
  min-height: 2.65rem;
  padding: 0.65rem 0.72rem;
  color: rgba(243, 236, 221, 0.76);
  font-size: 0.88rem;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: #fff;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0.72rem;
  bottom: 0.25rem;
  left: 0.72rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  gap: 0.5rem;
}

.header-actions > .button {
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-black);
}

.language-picker summary {
  min-width: 3.6rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.72rem;
  border: 1px solid rgba(243, 236, 221, 0.22);
  border-radius: var(--radius);
  background: transparent;
  color: var(--cream);
}

.language-picker summary > span:last-child {
  display: none;
}

.language-picker__globe {
  display: inline-grid;
  min-width: 1.9rem;
  place-items: center;
  color: var(--gold-soft);
  font-size: 0;
}

.language-picker__globe::before {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.language-picker summary::after {
  content: "⌄";
  color: var(--gold-soft);
  font-size: 0.75rem;
}

html[lang="th"] .language-picker__globe::before { content: "TH"; }
html[lang="en"] .language-picker__globe::before { content: "EN"; }
html[lang="zh-Hans"] .language-picker__globe::before { content: "ZH"; }
html[lang="ja"] .language-picker__globe::before { content: "JA"; }
html[lang="ko"] .language-picker__globe::before { content: "KO"; }

.language-picker li [lang]::before,
.language-list [lang]::before {
  content: none !important;
}

.language-picker ul {
  min-width: 10.5rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.language-picker li a,
.language-picker li span {
  border-radius: 0.15rem;
}

.menu-toggle {
  border-color: rgba(243, 236, 221, 0.25);
  border-radius: var(--radius);
  color: var(--cream);
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  background: var(--cream);
}

.mobile-nav {
  border-bottom: 1px solid rgba(243, 236, 221, 0.15);
  background: var(--green-dark);
}

.mobile-nav a,
.mobile-nav__links a {
  color: var(--cream);
}

/* Hero */
.hero {
  min-height: clamp(41rem, 78svh, 47rem);
  place-items: center start;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--cream-light);
}

.hero::before {
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, var(--green-dark) 0%, rgba(6, 51, 38, 0.98) 42%, rgba(6, 51, 38, 0.38) 72%, rgba(6, 51, 38, 0.58) 100%);
}

.hero::after {
  z-index: 2;
  inset: auto 0 0;
  width: 100%;
  height: 2.6rem;
  opacity: 0.72;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-31.png") center / auto 72% repeat-x;
}

.hero__image {
  z-index: 0;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: var(--green);
  box-shadow: none;
  object-fit: cover;
  opacity: 0.82;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero__content {
  width: min(51%, 39rem);
  padding-block: clamp(4rem, 8vw, 6.5rem) clamp(6rem, 10vw, 8rem);
}

.hero__logo {
  display: block;
  width: auto;
  height: 6.6rem;
  max-width: 9rem;
  margin-bottom: 1.25rem;
}

.hero .eyebrow {
  color: var(--gold-soft);
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  color: var(--cream-light);
  font-size: clamp(3rem, 5.2vw, 5rem);
  text-shadow: none;
}

.hero__subline {
  max-width: 35rem;
  margin-bottom: 1.8rem;
  color: rgba(243, 236, 221, 0.76);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.72;
}

.hero .button-row {
  gap: 0.55rem;
}

.hero .button:first-child {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-black);
}

/* Customer actions */
.highlights {
  position: relative;
  z-index: 6;
  margin-top: -1.2rem;
  border: 0;
  background: transparent;
}

.highlights__grid {
  overflow: hidden;
  border: 1px solid rgba(185, 154, 103, 0.48);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.highlight {
  min-height: 8.5rem;
  gap: 1rem;
  padding: 1.45rem 1.35rem;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.highlight:last-child {
  border-right: 0;
}

.highlight:hover {
  background: var(--cream);
  color: var(--green-dark);
}

.highlight__icon {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border: 1px solid rgba(185, 154, 103, 0.75);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
}

.highlight:first-child .highlight__icon svg {
  display: none;
}

.highlight:first-child .highlight__icon::before {
  content: "LINE";
  display: grid;
  width: 2rem;
  height: 1.45rem;
  place-items: center;
  border-radius: 50%;
  background: #06c755;
  color: #073b20;
  font-family: Arial, sans-serif;
  font-size: 0.45rem;
  font-weight: 900;
}

.highlight h2 {
  margin-bottom: 0.2rem;
  color: var(--green-dark);
  font-size: 1.08rem;
}

.highlight p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

main > .story {
  display: none;
}

/* Menu */
#signature-menu {
  padding-top: clamp(6.5rem, 10vw, 9rem);
  background: var(--cream-light);
}

#signature-menu::before {
  content: "";
  position: absolute;
  top: 3rem;
  right: clamp(1rem, 5vw, 5rem);
  width: clamp(8rem, 15vw, 13rem);
  aspect-ratio: 1;
  opacity: 0.055;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-17.png") center / contain no-repeat;
}

.card-grid,
.menu-grid {
  gap: 1rem;
}

.dish-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.dish-card:hover {
  transform: translateY(-3px);
  border-color: rgba(185, 154, 103, 0.75);
  box-shadow: 0 1rem 2.5rem rgba(4, 40, 30, 0.09);
}

.dish-card__image {
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--cream);
}

.dish-card__content {
  padding: 1.25rem 1.3rem 1.4rem;
}

.dish-card__heading h3 {
  font-size: 1.18rem;
}

.dish-card__price {
  display: none;
}

.dish-card__english {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dish-card__content > p:not(.dish-card__english) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.tag {
  border-radius: 999px;
  font-size: 0.68rem;
}

/* Gallery */
.gallery-section {
  overflow: hidden;
  background: var(--green-dark);
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: -9rem;
  right: -6rem;
  width: 30rem;
  aspect-ratio: 1;
  opacity: 0.05;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-19.png") center / contain no-repeat;
}

.gallery-section .section__heading h2,
.gallery-section .eyebrow {
  color: var(--cream-light);
}

.gallery-section .lead {
  color: rgba(243, 236, 221, 0.68);
}

.gallery-strip {
  display: grid;
  gap: 0.7rem;
}

.gallery-strip__item {
  min-height: 15rem;
  overflow: hidden;
  border: 1px solid rgba(243, 236, 221, 0.18);
  border-radius: var(--radius);
  background: var(--green);
}

.gallery-strip__item img {
  transition: transform 400ms ease;
}

.gallery-strip__item:hover img {
  transform: scale(1.025);
}

.gallery-section .section__footer-action .button {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--green-black);
}

/* Reviews */
.reviews-section {
  background: var(--cream);
}

.reviews-grid {
  display: grid;
  grid-auto-columns: minmax(18rem, 31rem);
  grid-auto-flow: column;
  gap: 0.8rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold) transparent;
}

.review-card {
  position: relative;
  min-height: 19rem;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
  scroll-snap-align: start;
}

.review-card::before {
  content: "G";
  display: grid;
  position: static;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1.15rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.review-card__stars {
  position: absolute;
  top: 2.15rem;
  right: 1.65rem;
  margin: 0;
  color: #d89b2b;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.review-card blockquote {
  margin-bottom: 1.25rem;
  color: var(--green-dark);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.review-card cite {
  display: block;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

/* Visit */
.visit {
  overflow: hidden;
  background: var(--green-black);
}

.visit::before {
  content: "";
  position: absolute;
  top: -8rem;
  left: -8rem;
  width: 26rem;
  aspect-ratio: 1;
  opacity: 0.04;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-17.png") center / contain no-repeat;
}

.visit::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 2.8rem;
  opacity: 0.58;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-31.png") center / auto 70% repeat-x;
}

.visit .section__heading h2,
.visit .info-card h3 {
  color: var(--cream-light);
}

.visit .lead {
  color: rgba(243, 236, 221, 0.7);
}

.visit__grid {
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.info-card {
  padding: 1.15rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.info-card__icon {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.65rem;
  border-color: rgba(215, 193, 155, 0.55);
  color: var(--gold-soft);
}

.info-card h3 {
  font-size: 1rem;
}

.info-card p {
  color: rgba(243, 236, 221, 0.67);
  font-size: 0.88rem;
}

.visit__map {
  min-height: 30rem;
  overflow: hidden;
  border: 1px solid rgba(243, 236, 221, 0.2);
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 1rem 1rem 0 rgba(185, 154, 103, 0.23);
}

.visit__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 30rem;
  border: 0;
  filter: saturate(0.78) contrast(0.98);
}

/* Interior pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.75rem, 8vw, 7rem);
  background: var(--green-dark);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(1rem, 7vw, 7rem);
  width: clamp(13rem, 24vw, 21rem);
  aspect-ratio: 1;
  opacity: 0.07;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-17.png") center / contain no-repeat;
  transform: translateY(-50%);
}

.page-hero::after {
  inset: auto 0 0;
  width: 100%;
  height: 2.5rem;
  opacity: 0.62;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-31.png") center / auto 70% repeat-x;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 12ch;
  color: var(--cream-light);
}

.page-hero .lead {
  max-width: 41rem;
  color: rgba(243, 236, 221, 0.7);
}

.breadcrumbs {
  color: rgba(243, 236, 221, 0.62);
}

.breadcrumbs a {
  color: var(--cream);
}

.menu-filter {
  gap: 0.45rem;
  padding-block: 0.95rem;
  border-block: 1px solid var(--line);
}

.menu-filter button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--green-dark);
}

.menu-filter button:hover,
.menu-filter button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: var(--cream-light);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.faq-list summary {
  padding: 1.3rem 0;
  color: var(--green-dark);
  font-size: 1.04rem;
}

.faq-list details > div,
.faq-list details > p {
  padding-inline: 0;
}

.contact-card,
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.hours-table tr {
  border-bottom-color: var(--line);
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: var(--cream-light);
}

.cta-band::after {
  content: "";
  position: absolute;
  right: 2rem;
  bottom: -5rem;
  width: 16rem;
  aspect-ratio: 1;
  opacity: 0.055;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-19.png") center / contain no-repeat;
}

.cta-band h2 {
  color: var(--cream-light);
}

.cta-band p {
  color: rgba(243, 236, 221, 0.7);
}

/* Footer */
.site-footer {
  position: relative;
  padding-block: 5rem calc(2rem + var(--bottom-bar-height));
  border-top: 0;
  background: #03251b;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2.5rem;
  opacity: 0.58;
  background: url("../img/elements/KHOEI%20Chiang%20Mai%20-%20GRAPHIC%20ELEMENT-31.png") center / auto 72% repeat-x;
}

.site-footer__grid {
  gap: clamp(2rem, 5vw, 5rem);
}

.footer-brand {
  width: min(16rem, 100%);
}

.footer-links a,
.social-links a {
  min-height: 2.45rem;
  color: rgba(243, 236, 221, 0.74);
}

.bottom-actions {
  height: 4.35rem;
  border-top: 1px solid rgba(243, 236, 221, 0.13);
  background: rgba(3, 37, 27, 0.98);
  backdrop-filter: blur(18px);
}

.bottom-actions a {
  color: rgba(243, 236, 221, 0.78);
}

.bottom-actions a:nth-child(2) {
  background: #06c755;
  color: #073b20;
}

.bottom-actions a:nth-child(2) svg {
  display: none;
}

.bottom-actions a:nth-child(2)::before {
  content: "LINE";
  display: grid;
  width: 1.8rem;
  height: 1.3rem;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #06a947;
  font-family: Arial, sans-serif;
  font-size: 0.43rem;
  font-weight: 900;
}

@media (min-width: 48rem) {
  .highlights__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-strip {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: repeat(2, 12rem);
  }

  .gallery-strip__item {
    min-height: 0;
  }

  .gallery-strip__item:first-child {
    grid-row: 1 / 3;
  }

  .gallery-strip__item:nth-child(4) {
    grid-column: 2 / 4;
  }

  .gallery-strip__item:nth-child(2),
  .gallery-strip__item:nth-child(4) {
    margin-top: 0;
  }

  .site-footer {
    padding-bottom: 2.25rem;
  }
}

@media (min-width: 64rem) {
  :root {
    --header-height: 5.4rem;
  }

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

  .visit .container {
    display: grid;
    grid-template-areas:
      "heading map"
      "info map"
      "actions map";
    grid-template-columns: minmax(0, 0.82fr) minmax(31rem, 1.18fr);
    align-items: start;
    column-gap: clamp(3.75rem, 6vw, 6.5rem);
  }

  .visit .section__heading {
    grid-area: heading;
    margin-bottom: 1.25rem;
  }

  .visit__grid {
    grid-area: info;
    grid-template-columns: 1fr;
  }

  .visit__actions {
    grid-area: actions;
  }

  .visit__map {
    grid-area: map;
    min-height: 39rem;
  }

  .visit__map iframe {
    min-height: 39rem;
  }
}

@media (max-width: 63.99rem) {
  .hero {
    min-height: 48rem;
    place-items: start;
  }

  .hero::before {
    background: linear-gradient(180deg, var(--green-dark) 0%, rgba(6, 51, 38, 0.99) 54%, rgba(6, 51, 38, 0.4) 78%, rgba(6, 51, 38, 0.7) 100%);
  }

  .hero__content {
    width: min(100%, 42rem);
    padding-block: 3.5rem 22rem;
  }

  .hero__image {
    inset: auto 0 2.5rem;
    width: 100%;
    height: 23rem;
  }
}

@media (max-width: 47.99rem) {
  :root {
    --header-height: 4.45rem;
  }

  body {
    font-size: 0.96rem;
  }

  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .brand-link {
    width: 10rem;
  }

  .hero {
    min-height: 46rem;
  }

  .hero__content {
    padding-block: 2.7rem 20rem;
  }

  .hero__logo {
    height: 5.3rem;
    max-width: 7.5rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(2.65rem, 12vw, 3.45rem);
  }

  .hero__subline {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

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

  .hero .button-row .button:first-child {
    grid-column: 1 / -1;
  }

  .hero__image {
    bottom: 2.4rem;
    height: 19rem;
  }

  .highlights {
    margin-top: 0;
    background: var(--paper);
  }

  .highlights__grid {
    width: 100%;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .highlight {
    min-height: 0;
    padding: 1.15rem 0.75rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .highlight:last-child {
    border-bottom: 0;
  }

  .highlight p {
    display: none;
  }

  .highlight__icon {
    width: 2.7rem;
    height: 2.7rem;
  }

  .section {
    padding-block: 4.25rem;
  }

  #signature-menu {
    padding-top: 4.75rem;
  }

  .gallery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 0.55rem;
  }

  .gallery-strip__item,
  .gallery-strip__item:nth-child(2),
  .gallery-strip__item:nth-child(4) {
    min-height: 0;
    height: 10rem;
    margin-top: 0;
  }

  .gallery-strip__item:first-child,
  .gallery-strip__item:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 14rem;
  }

  .review-card {
    min-height: 18rem;
    padding: 1.4rem;
  }

  .review-card__stars {
    top: 1.9rem;
    right: 1.4rem;
  }

  .page-hero::before {
    right: -6rem;
    width: 18rem;
  }
}

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