/* ===== Base ===== */
:root {
  --ivory: #f6f1ea;
  --linen: #ece3d6;
  --clay: #a85a3f;
  --clay-dark: #8a4630;
  --ink: #221b17;
  --text: #4a403a;
  --muted: #7d7067;
  --line: rgba(34, 27, 23, 0.14);
  --white: #ffffff;
  --radius: 6px;
  --serif: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--clay);
}

h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.45rem; font-weight: 400; }

p + p { margin-top: 1rem; }

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: 7rem 0; }
.section-alt { background: var(--linen); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 4rem;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--clay);
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.1rem;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.btn:hover {
  background: var(--clay);
  border-color: var(--clay);
  transform: translateY(-2px);
}

.btn-small { padding: 0.6rem 1.4rem; }
.btn-full { width: 100%; }

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.link-arrow {
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color 0.25s, color 0.25s;
}

.link-arrow span {
  display: inline-block;
  transition: transform 0.25s;
}

.link-arrow:hover { color: var(--clay); border-color: var(--clay); }
.link-arrow:hover span { transform: translateX(4px); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  line-height: 1;
}

.logo small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-top: 0.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-size: 0.92rem;
}

.nav-links a:not(.btn) {
  font-weight: 400;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--clay);
  transition: width 0.25s;
}

.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* ===== Hero ===== */
.hero { padding: 4.5rem 0 5.5rem; }

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

.hero h1 { margin-bottom: 1.6rem; }

.hero-text {
  max-width: 470px;
  font-size: 1.1rem;
  margin-bottom: 2.4rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-facts {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.hero-facts strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.hero-facts span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
  max-width: 460px;
  justify-self: end;
  width: 100%;
}

/* Arched photo frame */
.arch {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--linen);
  aspect-ratio: 4 / 5.2;
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  left: -48px;
  bottom: 56px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--ivory);
  display: grid;
  place-items: center;
}

.badge svg {
  position: absolute;
  inset: 0;
  animation: spin 22s linear infinite;
}

.badge text {
  fill: currentColor;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.badge span { font-size: 1.4rem; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Marquee ===== */
.marquee {
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  padding: 1.1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.marquee-track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 300;
  padding: 0 1.6rem;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "✦";
  font-style: normal;
  font-size: 0.8rem;
  color: var(--clay);
  margin-left: 3.2rem;
  vertical-align: middle;
}

@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: center;
}

/* Zoom in to a head-and-shoulders crop */
.arch-portrait img {
  transform: scale(1.55);
  transform-origin: 46% 30%;
}

.features {
  list-style: none;
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.features li {
  display: flex;
  gap: 1.4rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  color: var(--ink);
}

.features span {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay);
}

/* ===== Treatment menu ===== */
.menu {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.menu-media {
  position: sticky;
  top: 110px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory);
}

.menu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.menu-media img.fading { opacity: 0; }

.menu-list {
  list-style: none;
  counter-reset: menu;
}

.menu-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
}

.menu-list li:first-child { padding-top: 0; }

.menu-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.menu-row i {
  flex: 1;
  border-bottom: 1px dotted rgba(34, 27, 23, 0.3);
  transform: translateY(-5px);
}

.menu-row h3 { transition: color 0.25s; }

.menu-row strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
}

.menu-list li:hover h3 { color: var(--clay); }

.menu-list p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.menu-list p span {
  margin-left: 0.5rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-size: 0.78rem;
  white-space: nowrap;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.gallery .g1 { grid-row: span 2; }
.gallery .g2 { grid-column: span 2; }

/* ===== Reviews ===== */
.section-dark {
  background: var(--ink);
  color: #d9cfc4;
}

.section-dark h2 { color: var(--ivory); }

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

.review {
  padding-top: 2rem;
  border-top: 1px solid rgba(246, 241, 234, 0.2);
  position: relative;
}

.review::before {
  content: "\201C";
  position: absolute;
  top: -0.45rem;
  left: 0;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--clay);
  background: var(--ink);
  padding-right: 0.6rem;
}

.review p {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ivory);
}

/* ===== Booking ===== */
.booking {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.contact-list > div {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--clay);
}

.contact-list dd {
  color: var(--ink);
  font-weight: 400;
}

.contact-list a:hover { color: var(--clay); }

.form {
  background: var(--white);
  padding: 2.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid #ded3c5;
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(168, 90, 63, 0.18);
}

.form textarea { resize: vertical; }

.form-note {
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--muted);
}

.form .invalid { border-color: #c0493b; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  text-align: center;
  font-size: 0.95rem;
  min-height: 1.5em;
}

.form-status.success { color: #4f6b4a; }
.form-status.error { color: #c0493b; }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: #a99d92;
  padding: 4.5rem 0 2rem;
  font-size: 0.88rem;
}

.footer-big {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1;
  color: var(--ivory);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246, 241, 234, 0.15);
}

.footer-big em { color: var(--clay); }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
}

.footer-links a:hover { color: var(--ivory); }

@media (prefers-reduced-motion: reduce) {
  .badge svg,
  .marquee-track { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid,
  .about,
  .menu,
  .booking { grid-template-columns: 1fr; gap: 3.5rem; }

  .hero-media { justify-self: center; max-width: 400px; }
  .about-media { max-width: 400px; }

  .menu-media { display: none; }

  .reviews { grid-template-columns: 1fr; gap: 3.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .hero { padding: 3rem 0 4rem; }

  .hero-facts { gap: 1.5rem; }
  .hero-facts strong { font-size: 1.3rem; }

  .badge { left: -12px; width: 104px; height: 104px; }
  .badge svg { transform-origin: center; }

  .nav-toggle-label {
    display: block;
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--ink);
    transition: transform 0.3s, top 0.3s;
  }

  .nav-toggle-label span { top: 9px; }
  .nav-toggle-label span::before { content: ""; top: -8px; }
  .nav-toggle-label span::after { content: ""; top: 8px; }

  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav-toggle:checked ~ .nav-links { display: flex; }

  .menu-row h3 { font-size: 1.2rem; }
  .menu-row strong { font-size: 1.2rem; }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px 160px;
  }

  .gallery .g1 { grid-row: auto; grid-column: span 2; }
  .gallery .g2 { grid-column: auto; }
  .gallery .g4 { grid-column: span 2; }

  .form { padding: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
}
