/* ==========================================================================
   Sleek Skin Surrey — styles
   Mobile-first. Written in plain CSS, no build step.
   Palette + type scale live in :root so they're easy to retune later.
   ========================================================================== */

:root {
  /* Colour */
  --cream:      #faf6f1;
  --cream-deep: #f2ebe2;
  --sand:       #e7dccf;
  --ink:        #241f1c;
  --ink-soft:   #4a423c;
  --muted:      #857a70;
  --gold:       #b3946e;
  --gold-light: #cbb18f;
  --line:       rgba(36, 31, 28, 0.12);

  /* Type */
  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --wrap: 1140px;
  --gutter: 1.5rem;
  --radius: 2px;
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}
h2 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1.1em; }

::selection { background: var(--gold-light); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Shared bits ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.section--cream { background: var(--cream-deep); }
.section--dark  { background: var(--ink); color: rgba(250, 246, 241, 0.78); }
.section--dark h2, .section--dark h3, .section--dark strong { color: var(--cream); }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}
.section--dark .eyebrow { color: var(--gold-light); }

.section-head {
  max-width: 620px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.section-intro { color: var(--muted); margin-bottom: 0; }
.section-intro a { color: var(--gold); text-underline-offset: 3px; }
.placeholder-flag {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  font-style: italic;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.btn--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn--small { padding: 0.65rem 1.4rem; font-size: 0.68rem; letter-spacing: 0.16em; }
.btn--full { width: 100%; }

.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }

.link-arrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.3s var(--ease);
}
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { color: var(--gold); }

/* Scroll reveal (js/main.js adds .is-visible) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(250, 246, 241, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.brand-line { display: block; }
.brand-line--sub {
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  color: var(--gold);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* :not(.btn) so the "Book" CTA keeps its own button colours */
.nav-list a:not(.btn) {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.nav-list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-list a:not(.btn):hover::after,
.nav-list a.is-active:not(.btn)::after { width: 100%; }

/* Burger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px 10px;
}
.nav-toggle-bar {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(250, 246, 241, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
  }
  .nav.is-open { max-height: 70vh; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 2rem;
  }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a:not(.btn) { display: block; padding: 1.1rem 0; }
  .nav-cta-item { margin-top: 1.5rem; }
  .nav-cta-item .btn { width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  /* TODO: swap this gradient for a real photo:
     background: linear-gradient(rgba(36,31,28,.35), rgba(36,31,28,.35)), url("../assets/hero.jpg") center/cover no-repeat;
     ...and lighten the text colours below if the photo is dark. */
  background:
    radial-gradient(120% 90% at 50% 0%, #fffdfa 0%, var(--cream) 45%, var(--cream-deep) 100%);
  overflow: hidden;
}
.hero::after {
  /* soft gold halo */
  content: "";
  position: absolute;
  width: 60vmax; height: 60vmax;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(203, 177, 143, 0.22) 0%, rgba(203, 177, 143, 0) 65%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.wordmark {
  font-size: clamp(2.6rem, 11vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.wordmark span {
  display: block;
  font-size: 0.5em;
  letter-spacing: 0.42em;
  margin-top: 0.35em;
  color: var(--gold);
  /* nudge for the wide tracking on the last letter */
  text-indent: 0.42em;
}

.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-sub {
  max-width: 44ch;
  margin: 0 auto 2.5rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 2.2rem;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 20px;
  z-index: 1;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 9px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: nudge 2s var(--ease) infinite;
}
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%      { transform: translateY(16px); opacity: 0; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 0.85fr 1fr; }
}

.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.about-badge {
  position: absolute;
  right: -0.75rem;
  bottom: -1.25rem;
  background: var(--cream);
  border: 1px solid var(--sand);
  padding: 1rem 1.4rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.2;
}
.about-badge em {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35rem;
}

.about-points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.about-points li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.75em;
  width: 10px; height: 1px;
  background: var(--gold);
}

/* ==========================================================================
   Services
   ========================================================================== */
.menu-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

.menu-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.25rem);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.menu-card:hover { border-color: var(--gold-light); transform: translateY(-3px); }

.menu-card-title {
  font-size: 1.3rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
}
.price-name { color: var(--ink-soft); }
.price-dots {
  flex: 1 1 auto;
  min-width: 12px;
  border-bottom: 1px dotted var(--sand);
  transform: translateY(-4px);
}
.price-val {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.price-val--quote {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.menu-card--note {
  background: var(--cream-deep);
  border-style: dashed;
}
.menu-card--note p { font-size: 0.9rem; color: var(--muted); }
.menu-card--note .btn { margin-top: 0.5rem; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-note {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quote-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

.quote {
  margin: 0;
  padding: clamp(1.75rem, 4vw, 2.4rem);
  background: var(--cream-deep);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}
.quote cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.quote cite span {
  display: block;
  margin-top: 0.3rem;
  letter-spacing: 0.14em;
  color: var(--gold);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact-intro .btn { margin-bottom: 2.5rem; }

.contact-facts { margin: 0; display: grid; gap: 1.1rem; }
.contact-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}
.contact-facts dd { margin: 0; font-size: 0.92rem; }

.contact-form {
  background: rgba(250, 246, 241, 0.06);
  border: 1px solid rgba(250, 246, 241, 0.16);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.5rem);
}
.contact-form h3 { margin-bottom: 1.5rem; font-size: 1.4rem; }

.field { margin-bottom: 1.35rem; }
.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(250, 246, 241, 0.04);
  border: 1px solid rgba(250, 246, 241, 0.22);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(250, 246, 241, 0.35); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(250, 246, 241, 0.08);
}
.field.has-error input,
.field.has-error textarea { border-color: #d98a7b; }

.field-error {
  margin: 0.4rem 0 0;
  min-height: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #e8a89a;
}

.form-status {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.form-status.is-success { color: var(--gold-light); }
.form-status.is-error   { color: #e8a89a; }

.form-note {
  margin: 1.25rem 0 0;
  font-size: 0.76rem;
  font-style: italic;
  color: rgba(250, 246, 241, 0.5);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--cream-deep);
  padding-top: clamp(3rem, 7vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  gap: 2rem;
  text-align: center;
  padding-bottom: 2.5rem;
}
@media (min-width: 860px) {
  .footer-inner {
    grid-template-columns: 1fr auto auto;
    align-items: center;
    text-align: left;
    gap: 3rem;
  }
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.35rem;
}
.footer-meta {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--gold); }

.footer-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  transition: color 0.3s var(--ease);
}
.footer-ig:hover { color: var(--gold); }

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.footer-base p {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ==========================================================================
   Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .site-header, .scroll-hint, .hero-actions, .contact-form-wrap { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 1.5rem 0; }
  .reveal { opacity: 1; transform: none; }
}
