:root {
  color-scheme: light;
  --orange: #D8793E;
  --red: #8E302B;
  --green: #285E43;
  --cream: #FFF5E6;
  --ink: #30251F;
  --paper: #FFFCF6;
  --muted: #6E5B50;
  --line: rgba(142, 48, 43, 0.2);
  --shadow: 0 18px 45px rgba(78, 43, 24, 0.1);
  --shell: 72rem;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.65 var(--sans);
}

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

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 0.2rem solid var(--cream);
  outline-offset: 0.15rem;
  box-shadow: 0 0 0 0.4rem var(--ink) !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  color: var(--red);
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.55rem;
}

.shell {
  width: min(var(--shell), calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--green);
  transform: translateY(-200%);
}

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

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 245, 230, 0.96);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 6rem;
  gap: 2rem;
}

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  width: max-content;
  color: var(--green);
  font: italic 700 2.1rem/0.9 var(--serif);
  letter-spacing: -0.06em;
  text-decoration: none;
}

.brand em {
  color: var(--red);
}

.brand small {
  grid-column: 1 / -1;
  margin-top: 0.45rem;
  color: var(--ink);
  font: 700 0.6rem/1 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.site-navigation ul,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-navigation a {
  padding-block: 0.7rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.site-navigation a:hover,
.site-navigation a[aria-current="page"] {
  color: var(--red);
  box-shadow: inset 0 -0.15rem var(--orange);
}

.header-phone {
  display: grid;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--red);
  color: var(--red);
  text-decoration: none;
}

.header-phone span {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-phone strong {
  font-size: 0.88rem;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0 0;
  background:
    linear-gradient(125deg, rgba(216, 121, 62, 0.95), rgba(255, 197, 126, 0.88) 56%, var(--cream));
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 2rem -4rem auto auto;
  width: min(45vw, 38rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  box-shadow:
    0 0 0 2.5rem rgba(255, 255, 255, 0.08),
    0 0 0 5rem rgba(142, 48, 43, 0.06);
  content: "";
}

.hero-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  background:
    repeating-linear-gradient(45deg, transparent 0 3.25rem, rgba(142, 48, 43, 0.16) 3.25rem 3.35rem);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 76% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.hero-copy {
  max-width: 48rem;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.hero h1 {
  color: var(--ink);
}

.lead {
  max-width: 43rem;
  color: #4f3d32;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.lead > :last-child,
.prose > :last-child {
  margin-bottom: 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--red);
  border-radius: 0.25rem;
  color: #fff;
  background: var(--red);
  box-shadow: 0.45rem 0.45rem 0 rgba(48, 37, 31, 0.13);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 0.25rem 0.25rem 0 rgba(48, 37, 31, 0.16);
  transform: translate(0.2rem, 0.2rem);
}

.button-light {
  border-color: var(--cream);
  color: var(--red);
  background: var(--cream);
}

.text-link {
  color: var(--red);
  font-weight: 800;
}

.heritage-card {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 27rem;
  padding: 2rem;
  border: 1px solid rgba(142, 48, 43, 0.4);
  background: rgba(255, 245, 230, 0.72);
  box-shadow: 0.8rem 0.8rem 0 rgba(142, 48, 43, 0.15);
  transform: rotate(1.5deg);
}

.heritage-card > p {
  align-self: end;
  margin: 0;
  color: var(--red);
  font: 700 1.15rem/1.45 var(--serif);
  text-align: center;
}

.heritage-seal {
  display: grid;
  width: 12rem;
  aspect-ratio: 1;
  place-content: center;
  border: 0.45rem double var(--cream);
  border-radius: 50%;
  color: var(--cream);
  background: var(--green);
  box-shadow: 0 1.2rem 2rem rgba(48, 37, 31, 0.18);
  font-family: var(--serif);
  text-align: center;
  transform: rotate(-5deg);
}

.heritage-seal span {
  font-size: 1.45rem;
  font-style: italic;
}

.heritage-seal strong,
.heritage-seal small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.heritage-seal strong {
  padding-block: 0.3rem;
  font-size: 0.85rem;
}

.heritage-seal small {
  font: 700 0.57rem/1 var(--sans);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quick-facts div {
  display: grid;
  gap: 0.15rem;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--line);
}

.quick-facts div:last-child {
  border-right: 0;
}

.quick-facts span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quick-facts strong {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  max-width: 13ch;
  margin: 0;
}

.treatment-grid,
.voucher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.treatment-card,
.info-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.treatment-card:nth-child(2) {
  border-top: 0.35rem solid var(--orange);
}

.treatment-card:nth-child(3) {
  border-top: 0.35rem solid var(--green);
}

.treatment-card h3 {
  color: var(--red);
}

.treatment-card p:last-child,
.treatment-row p:last-child {
  margin-bottom: 0;
}

.card-mark {
  color: var(--orange);
  font-size: 1.6rem;
}

.appointment-section {
  color: var(--cream);
  background: var(--green);
}

.appointment-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.appointment-panel h2 {
  margin-bottom: 1rem;
  color: #fff;
}

.appointment-panel .eyebrow {
  color: #f4c187;
}

.page-hero {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 6vw, 5rem);
}

.page-hero::after {
  position: absolute;
  right: 0;
  bottom: 2rem;
  width: clamp(7rem, 16vw, 13rem);
  aspect-ratio: 1;
  border: 1px solid rgba(142, 48, 43, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5rem var(--cream);
  content: "";
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6.6rem);
}

.page-hero-compact {
  padding-bottom: 2rem;
}

.treatment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.treatment-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: clamp(1.5rem, 4vw, 2.7rem);
  background: var(--paper);
}

.treatment-row h2 {
  color: var(--red);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.appointment-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.3rem 0.55rem;
  color: var(--green);
  background: rgba(40, 94, 67, 0.1);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(4rem, 9vw, 8rem);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 0.5rem solid var(--orange);
  background: var(--cream);
}

.page-cta p {
  margin: 0;
  font: 700 clamp(1.2rem, 3vw, 1.8rem)/1.3 var(--serif);
}

.price-groups {
  display: grid;
  gap: 1.5rem;
}

.price-card {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.price-card > header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  padding: clamp(1.3rem, 4vw, 2rem);
  color: var(--cream);
  background: var(--green);
}

.price-card:nth-child(even) > header {
  background: var(--red);
}

.price-card header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.price-card header p {
  margin: 0.35rem 0 0;
}

.price-card header .appointment-badge {
  color: var(--ink);
  background: var(--cream);
}

.price-card-number {
  color: #f3bd76;
  font: 700 1rem/1 var(--serif);
}

.price-table-wrap {
  overflow-x: auto;
}

.price-card table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
}

.price-card th,
.price-card td {
  min-width: 7.5rem;
  padding: 1rem clamp(0.8rem, 3vw, 1.6rem);
  border-bottom: 1px solid var(--line);
}

.price-card th:first-child {
  width: 40%;
  text-align: left;
}

.price-card thead th {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-card tbody th {
  font-size: 0.9rem;
}

.price-card tbody tr:last-child > * {
  border-bottom: 0;
}

.price-note {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-left: 0.25rem solid var(--orange);
  background: var(--cream);
}

.voucher-grid {
  grid-template-columns: repeat(2, 1fr);
  padding-top: 0;
}

.info-card h2 {
  color: var(--red);
}

.info-card-green {
  color: var(--cream);
  background: var(--green);
}

.info-card-green h2,
.info-card-green .info-number {
  color: #fff;
}

.info-number {
  color: var(--orange);
  font: 700 1rem/1 var(--serif);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.gallery-grid figure {
  margin: 0;
  padding: 0.7rem;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 0.7rem 0.4rem 0.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.gallery-placeholder {
  display: grid;
  min-height: 25rem;
  place-items: center;
  padding: 3rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 121, 62, 0.18), transparent 18rem),
    var(--cream);
  text-align: center;
}

.gallery-placeholder > p {
  max-width: 34rem;
  margin-bottom: 0;
  font: 700 clamp(1.3rem, 3vw, 2rem)/1.3 var(--serif);
}

.decorative-fan {
  position: relative;
  width: 11rem;
  height: 7rem;
}

.decorative-fan span {
  position: absolute;
  inset: auto 50% 0 auto;
  width: 5rem;
  height: 7rem;
  border-radius: 100% 0 100% 0;
  background: var(--orange);
  transform-origin: 100% 100%;
}

.decorative-fan span:nth-child(1) {
  background: var(--red);
  transform: rotate(-28deg);
}

.decorative-fan span:nth-child(2) {
  background: var(--orange);
  transform: rotate(0);
}

.decorative-fan span:nth-child(3) {
  background: var(--green);
  transform: rotate(28deg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.3rem;
  padding-top: 0;
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 2.7rem);
  border: 1px solid var(--line);
  background: var(--cream);
}

.contact-primary {
  color: var(--cream);
  background: var(--red);
}

.contact-primary h2 {
  color: #fff;
}

.contact-primary .eyebrow {
  color: #f3bd76;
}

.contact-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.contact-card address {
  margin-bottom: 1.2rem;
  font-style: normal;
}

.contact-hours {
  margin: 0;
}

.contact-hours div,
.opening-hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.contact-hours div {
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.contact-hours dd,
.opening-hours dd {
  margin: 0;
  text-align: right;
}

.legal-content {
  max-width: 48rem;
  margin-left: max(1.5rem, calc((100% - var(--shell)) / 2));
  padding-top: 1rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
  color: var(--red);
  font-size: 1.9rem;
}

.error-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 65vh;
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: 5rem;
}

.error-code {
  margin: 0;
  color: rgba(216, 121, 62, 0.24);
  font: 700 clamp(7rem, 24vw, 18rem)/0.7 var(--serif);
}

.error-layout h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.site-footer {
  padding-top: clamp(3rem, 7vw, 5rem);
  color: #f8ead7;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-grid h2 {
  color: #f3bd76;
  font: 800 0.7rem/1 var(--sans);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-brand {
  margin-bottom: 1rem;
  color: #fff;
  font: italic 700 2.2rem/1 var(--serif);
}

.footer-brand em {
  color: #f3bd76;
}

.footer-links {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-cookie-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.opening-hours {
  margin: 0;
}

.footer-bottom {
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
}

.footer-bottom p {
  margin: 0;
}

.cookie-notice {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  max-width: 39rem;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 1rem 3rem rgba(48, 37, 31, 0.22);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 0;
  font-size: 0.8rem;
}

.cookie-notice button {
  padding: 0.55rem 0.8rem;
  border: 0;
  color: #fff;
  background: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.maintenance-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(125deg, rgba(216, 121, 62, 0.92), rgba(255, 245, 230, 0.88)),
    var(--cream);
}

.maintenance-card {
  width: min(39rem, 100%);
  padding: clamp(2rem, 7vw, 4.5rem);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0.8rem 0.8rem 0 rgba(142, 48, 43, 0.18);
}

.maintenance-card h1 {
  font-size: clamp(2.6rem, 8vw, 4.8rem);
}

@media (max-width: 62rem) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .header-phone {
    display: none;
  }

  .js .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid var(--red);
    color: var(--red);
    background: transparent;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
  }

  .js .menu-button span:first-child {
    width: 1.1rem;
    height: 0.7rem;
    border-block: 0.12rem solid currentColor;
  }

  .site-navigation {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-navigation ul {
    justify-content: center;
    padding-bottom: 1rem;
  }

  .js .site-navigation:not([data-open]) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr minmax(15rem, 0.5fr);
    gap: 2rem;
  }

  .heritage-card {
    min-height: 23rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 44rem) {
  .shell {
    width: min(var(--shell), calc(100% - 1.5rem));
  }

  .header-inner {
    min-height: 5rem;
  }

  .brand {
    font-size: 1.8rem;
  }

  .site-navigation ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-navigation a {
    display: block;
    padding: 0.7rem 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    padding-top: 3.5rem;
  }

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

  .hero-copy {
    padding-bottom: 1rem;
  }

  .heritage-card {
    min-height: 20rem;
    margin-bottom: 2.5rem;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-facts div:last-child {
    border-bottom: 0;
  }

  .section-heading,
  .appointment-panel,
  .page-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .treatment-grid,
  .treatment-list,
  .voucher-grid,
  .gallery-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-hero::after {
    display: none;
  }

  .price-card th,
  .price-card td {
    min-width: 6.5rem;
  }

  .contact-primary {
    grid-column: auto;
  }

  .error-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .error-code {
    font-size: 8rem;
  }

  .cookie-notice {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    align-items: stretch;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
