/* Brand palette, taken from the logo and flyers in reference_images/ */
:root {
  --navy: #161a2e;      /* logo */
  --espresso: #392a23;  /* flyer headings and body text */
  --walnut: #6b5d51;    /* muted text */
  --sand: #d3c2b4;      /* flyer lower panels */
  --linen: #ebe7e4;     /* flyer backgrounds */
  --white: #fefefe;

  /* Marcellus echoes the lettering on Clare's flyers. It only comes in one
     weight, so everything set in it stays at 400 (no faux bold). */
  --font-display: "Marcellus", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;

  /* Big rounded corner echoing the curve of the logo */
  --curve: 0 0 0 9rem;
  --max-width: 1080px;
}

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

/* Sections land flush below the sticky header; js/main.js sets the height */
html { scroll-padding-top: var(--header-height, 0px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--white);
}

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

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

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.75em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.narrow { max-width: 640px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--linen);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { text-decoration: underline; }

.menu-toggle {
  display: none;
  font: 600 0.9rem var(--font-body);
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}

/* Buttons */
.button {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font: 600 1rem var(--font-body);
  padding: 0.85rem 1.75rem;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--espresso); }

.button-outline {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--navy);
}
.button-outline:hover { background: var(--navy); color: var(--white); }

.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--sand); }

/* Hero: the flyer's photo and offer, and little else */
.hero {
  background: var(--linen);
  padding: 3rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-photo {
  width: 100%;
  border-radius: 0 9rem 0 0;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--walnut);
}

.hero h1 {
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  margin-bottom: 1.5rem;
}

.hero-byline {
  margin: 0 0 2rem;
  color: var(--walnut);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Bands */
.band { padding: 5rem 0; }
.band-sand { background: var(--sand); }
.band-linen { background: var(--linen); }
.band-navy { background: var(--navy); color: var(--white); }

/* Treatments */
.treatments {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.treatments-photo { border-radius: var(--curve); }

.specialisms {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.5;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}

.about-photo { border-radius: 0 9rem 0 0; }
.about p { max-width: 55ch; }

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

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

/* Prices */
.price-list {
  margin: 0 0 3rem;
}

.price-list div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(57, 42, 35, 0.25);
}

.price-list dt { flex: 1; }
.price-list dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--navy);
}

/* Locations */
.locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.location {
  background: var(--white);
  padding: 2rem;
  border-radius: 0 3rem 0 0;
}

.location-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

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

.location address { font-style: normal; margin-bottom: 1rem; }
.hours { color: var(--walnut); }

/* Testimonials */
.testimonials-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.carousel-controls { display: flex; gap: 0.5rem; }
.carousel-controls[hidden] { display: none; }

.carousel-button {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
}
.carousel-button:hover { background: var(--navy); color: var(--white); }

.testimonial-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial {
  flex: 0 0 min(100%, 30rem);
  scroll-snap-align: start;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--sand);
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.4;
}
.testimonial blockquote p { margin: 0 0 0.25em; }

.testimonial figcaption { color: var(--walnut); }

#footer-logo { cursor: default; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-intro p { max-width: 40ch; }

.contact-direct {
  list-style: none;
  padding: 0;
  line-height: 2;
}

.booking-form {
  display: grid;
  gap: 1.1rem;
}

.booking-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.optional { font-weight: 400; opacity: 0.75; }

.booking-form input,
.booking-form select,
.booking-form textarea {
  font: 400 1rem var(--font-body);
  color: var(--espresso);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.band-navy :focus-visible { outline-color: var(--sand); }

.booking-form .button { justify-self: start; margin-top: 0.5rem; }

/* Footer */
.site-footer {
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--walnut);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-inner p { margin: 0; }

/* Small screens */
@media (max-width: 760px) {
  .hero { padding: 0 0 2.5rem; }
  .hero .container { padding: 0; }
  .hero-text { padding: 0 1rem; }
  .hero-inner,
  .treatments,
  .locations,
  .contact,
  .about { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .about-photo { max-width: min(360px, 100%); border-radius: 0 6rem 0 0; }
  .gallery { gap: 0.5rem; }
  /* Square crop keeps Clare and her hands in shot with the offer above the fold */
  .hero-photo { aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 0 0 6rem 0; }
  .treatments-photo { max-width: min(360px, 100%); border-radius: 0 0 0 6rem; }
  .band { padding: 3.5rem 0; }
  /* Compact sticky header with a Menu button (links stay visible without JS) */
  .brand { font-size: 1.1rem; }
  .js .menu-toggle { display: block; }
  #site-nav { flex-basis: 100%; }
  .js #site-nav:not(.open) { display: none; }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 1rem;
  }
  .nav-links li { width: 100%; border-top: 1px solid var(--linen); }
  .nav-links a { display: block; padding: 0.75rem 0; }
  .nav-links .nav-cta { display: inline-block; margin: 0.75rem 0 0.25rem; padding: 0.5rem 1.25rem; }
}

.form-status { margin: 0; }
