:root {
  --paper: #f4efe6;
  --paper-deep: #e8dece;
  --ink: #211f1a;
  --muted: #756b5c;
  --forest: #243f34;
  --forest-dark: #162c23;
  --burgundy: #7a2936;
  --gold: #aa8149;
  --line: rgba(36, 63, 52, 0.18);
  --shadow: 0 24px 60px rgba(36, 31, 22, 0.13);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(170, 129, 73, 0.13), transparent 26rem),
    linear-gradient(180deg, #faf7f0 0%, var(--paper) 42%, #efe5d7 100%);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(36, 63, 52, 0.035) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.45;
}

a {
  color: inherit;
}

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

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  background: var(--forest);
  color: white;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.25rem 1.1rem;
  text-align: center;
}

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

.brand img {
  width: 142px;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  margin-top: 1.05rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--forest-dark);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--burgundy);
}

.language-switcher {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.34rem;
  margin-top: 0.55rem;
}

.language-switcher button {
  width: 2.25rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.62);
  color: var(--muted);
  cursor: pointer;
  font: 600 1rem/1 "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI", system-ui, sans-serif;
}

.language-switcher img {
  width: 1.45rem;
  height: 1rem;
  margin: 0 auto;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(36, 63, 52, 0.14);
}

.language-switcher button.active,
.language-switcher button:hover,
.language-switcher button:focus-visible {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

main {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.section-panel {
  margin: clamp(4.75rem, 7vw, 7rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 1.08fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: auto;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-copy {
  padding: 1.5rem 0;
}

.hero > *,
.story-grid > *,
.surroundings > *,
.contact > *,
.culture-grid > *,
.image-pair > * {
  min-width: 0;
}

.pretitle {
  margin: 0 0 0.65rem;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5.8vw, 5.15rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.25rem);
  line-height: 1;
}

h3 {
  font-size: 1.25rem;
}

.hero-lede {
  max-width: 33rem;
  margin: 1.35rem 0 0;
  color: #453e34;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.primary-link,
.plain-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  text-decoration: none;
  font-weight: 700;
}

.primary-link {
  padding: 0 1.25rem;
  background: var(--forest);
  color: #fff;
}

.plain-link {
  color: var(--burgundy);
}

.hero-media {
  margin: 0;
  padding: 0.7rem;
  border: 1px solid rgba(36, 63, 52, 0.18);
  background: rgba(255, 252, 247, 0.54);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.swap-frame {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.swap-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid rgba(255, 252, 247, 0.7);
  transition: border-width 160ms ease;
  pointer-events: none;
}

.swap-frame:hover::after,
.swap-frame:focus-visible::after,
.swap-frame.active::after {
  border-width: 0.45rem;
}

.swap-frame img {
  transition: transform 300ms ease, filter 300ms ease;
}

.swap-frame:hover img,
.swap-frame:focus-visible img,
.swap-frame.active img {
  filter: saturate(1.05) contrast(1.02);
  transform: scale(1.012);
}

.ratings-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0.2rem 0 1.25rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.rating-card {
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1rem;
  background: rgba(255, 252, 247, 0.66);
  color: var(--forest-dark);
  text-decoration: none;
}

.rating-card:hover,
.rating-card:focus-visible {
  background: rgba(255, 252, 247, 0.9);
  outline: 1px solid var(--forest);
  outline-offset: -1px;
}

.rating-card img {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
  flex: 0 0 auto;
}

.rating-body,
.rating-body span,
.rating-body strong {
  display: block;
}

.rating-name {
  color: var(--muted);
  font-size: 0.78rem;
}

.rating-body strong {
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.05;
}

.rating-count {
  color: var(--muted);
  font-size: 0.78rem;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 1rem 0 4rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  min-height: 8.2rem;
  padding: 1.2rem;
  background: rgba(255, 252, 247, 0.52);
}

.stat strong {
  display: block;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 500;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.story-grid,
.surroundings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.prose {
  color: #3f382f;
  font-size: 1.05rem;
}

.prose p {
  margin: 0 0 1.1rem;
}

.prose.compact {
  align-self: end;
  padding: 1.5rem 0 0;
}

.portrait-note {
  margin: 0;
  background: #fffaf3;
  box-shadow: var(--shadow);
}

.portrait-note img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.portrait-note figcaption {
  padding: 1rem;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 2.3rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline-item {
  min-height: 8.7rem;
  padding: 1rem;
  background: rgba(255, 252, 247, 0.5);
}

.timeline-item strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.timeline-item span {
  color: #51483d;
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.image-pair img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-pair figure {
  margin: 0;
}

.facility-wrap {
  margin: 0 auto 1.45rem;
  overflow: visible;
}

.facility-tooltip {
  width: fit-content;
  max-width: min(84vw, 28rem);
  min-height: 2rem;
  margin: 0 auto 0.55rem;
  padding: 0.42rem 0.62rem;
  color: #fff;
  background: var(--forest-dark);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.facility-tooltip[hidden] {
  display: block;
  visibility: hidden;
}

.facility-row {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.55rem;
  justify-items: center;
  align-items: center;
  margin: 0 auto;
  padding: 0.2rem 0.1rem 0.75rem;
  overflow: visible;
}

.facility-button {
  position: relative;
  width: 2.55rem;
  height: 2.55rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.66);
  color: var(--forest-dark);
  cursor: pointer;
}

.facility-button img {
  width: 1.25rem;
  height: 1.25rem;
  filter: brightness(0) saturate(100%) invert(18%) sepia(18%) saturate(1161%) hue-rotate(105deg) brightness(91%) contrast(91%);
}

.facility-button:hover,
.facility-button:focus-visible,
.facility-button.active {
  color: #fff;
  background: var(--forest);
  border-color: var(--forest);
}

.facility-button:hover img,
.facility-button:focus-visible img,
.facility-button.active img {
  filter: brightness(0) invert(1);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature {
  min-height: 13rem;
  padding: 1.2rem;
  background: rgba(255, 252, 247, 0.52);
}

.feature p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.culture-grid figure {
  margin: 0;
}

.culture-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.culture-grid .prose {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.salon-photo {
  margin: 0;
}

.salon-photo img {
  width: 100%;
  aspect-ratio: 955 / 345;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.salon-text {
  max-width: 760px;
  margin: 1.5rem auto 0;
  text-align: center;
}

.surroundings {
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1fr);
  align-items: center;
}

.wide-photo {
  margin: 0;
}

.wide-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.nearby-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.nearby-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 252, 247, 0.5);
}

.nearby-item strong {
  color: var(--forest-dark);
}

.nearby-item span {
  color: var(--muted);
  text-align: right;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.quote {
  margin: 0;
  padding: 1.4rem;
  background: rgba(255, 252, 247, 0.52);
}

.quote blockquote {
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  line-height: 1.35;
}

.quote figcaption {
  margin-top: 1rem;
  color: var(--burgundy);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-copy p:not(.pretitle) {
  max-width: 33rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-card {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  font-style: normal;
}

.contact-row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 252, 247, 0.58);
}

.contact-row span {
  color: var(--muted);
}

.contact-row strong,
.contact-row a {
  color: var(--forest-dark);
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer > img {
  width: 100px;
  opacity: 0.86;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.footer-social a,
.footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.56);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--forest);
  background: rgba(255, 252, 247, 0.9);
}

.footer-social span {
  opacity: 0.78;
}

.footer-social img {
  width: 1.2rem;
  height: 1.2rem;
}

.site-footer p {
  max-width: 42rem;
  margin: 0;
  font-size: 0.9rem;
}

.site-footer .footer-credit {
  color: rgba(117, 107, 92, 0.78);
  font-size: 0.78rem;
  font-weight: 400;
}

.site-footer .footer-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(117, 107, 92, 0.32);
}

.site-footer .footer-credit a:hover,
.site-footer .footer-credit a:focus-visible {
  color: var(--forest-dark);
  border-bottom-color: currentColor;
}

@media (max-width: 860px) {
  .site-header {
    padding-top: 1.4rem;
  }

  .hero,
  .story-grid,
  .surroundings,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 12ch;
  }

  .stats-strip,
  .ratings-strip,
  .timeline,
  .feature-list,
  .quote-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  main {
    padding-inline: 1rem;
  }

  .section-panel {
    margin: 3.25rem 0;
  }

  .brand img {
    width: 118px;
  }

  .main-nav {
    max-width: 17rem;
    margin-left: auto;
    margin-right: auto;
    gap: 0.55rem 0.65rem;
  }

  .main-nav a {
    font-size: 0.94rem;
  }

  .language-switcher {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.45rem;
    gap: 0.28rem;
  }

  .language-switcher button {
    width: 2rem;
    height: 1.9rem;
    font-size: 0.94rem;
  }

  .hero-media {
    padding: 0.45rem;
  }

  .hero-copy {
    max-width: 19rem;
    margin-inline: auto;
    text-align: center;
  }

  .hero-lede {
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.03rem;
  }

  .hero-actions {
    flex-direction: column;
    justify-content: center;
    gap: 0.45rem;
  }

  .primary-link,
  .plain-link {
    justify-content: center;
  }

  .section-heading,
  .section-heading.align-left,
  .prose,
  .culture-grid .prose,
  .contact-copy,
  .stat,
  .timeline-item,
  .feature,
  .quote,
  .portrait-note figcaption,
  .facility-row {
    text-align: center;
  }

  .facility-row {
    width: 100%;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.45rem 0.28rem;
    padding-inline: 0;
  }

  .facility-button {
    width: 2.2rem;
    height: 2.2rem;
  }

  .facility-button img {
    width: 1.12rem;
    height: 1.12rem;
  }

  .section-heading.align-left,
  .contact-copy p:not(.pretitle) {
    margin-left: auto;
    margin-right: auto;
  }

  .nearby-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.2rem;
  }

  .nearby-item span {
    text-align: center;
  }

  .contact-row {
    justify-items: center;
    text-align: center;
  }

  .contact-card,
  .feature-list,
  .nearby-list,
  .quote-grid,
  .ratings-strip,
  .stats-strip,
  .timeline {
    margin-left: auto;
    margin-right: auto;
  }

  .stats-strip,
  .timeline,
  .feature-list,
  .quote-grid,
  .image-pair,
  .culture-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .rating-card,
  .timeline-item,
  .feature {
    min-height: auto;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
