/* ─────────────────────────────────────────────────────────
   Skincare by Jules — stylesheet
   Palette and type scale live in :root. Change them there.
   ───────────────────────────────────────────────────────── */

:root {
  /* Color — taken from the logo: warm ivory, soft gold, blush and sand watercolor */
  --bone:      #fbf8f3;
  --bone-deep: #f5ece3;
  --ink:       #26201a;
  --ink-soft:  #57504a;
  --ink-faint: #8c847b;
  --line:      #e6dccf;
  --gold:      #b8955e;
  --gold-deep: #8f7142;
  --blush:     #ead3c3;
  --sand:      #d9bca2;
  --white:     #ffffff;
  /* Older names still used around the sheet — kept as aliases of the gold */
  --clay:      var(--gold);
  --clay-deep: var(--gold-deep);

  /* Type */
  --serif:  "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:   "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", "Brush Script MT", cursive;

  /* Rhythm */
  --wrap: 1120px;
  --gap: 1.5rem;
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --radius: 2px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-weight: 400; line-height: 1.15; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Layout helpers ────────────────────────────────────── */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 2.5rem, 720px); }
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bone-deep); }

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

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

/* ── Type styles ───────────────────────────────────────── */
h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.75rem, 7vw, 5rem);
  letter-spacing: -0.01em;
}
h1 em { font-family: var(--script); font-style: normal; font-size: 1.12em; color: var(--gold-deep); }

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 0.4em;
}
.minor-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin-top: 2rem;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 400;
  margin-bottom: 1rem;
}
.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 46ch;
}
.section-intro { color: var(--ink-soft); max-width: 60ch; margin-bottom: 2.5rem; }
.fine { font-size: 0.8125rem; color: var(--ink-faint); }
.note {
  font-size: 0.875rem; color: var(--ink-faint);
  border-left: 2px solid var(--line); padding-left: 1rem; max-width: 60ch;
}
.link { color: var(--clay-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
.link:hover { border-color: var(--clay); }
.linkish {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--clay-deep); text-decoration: underline; text-underline-offset: 3px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--gold-deep);
  color: var(--bone);
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: #745a33; border-color: #745a33; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.btn-lg { padding: 1rem 2.25rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.6875rem; }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.5rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo {
  display: block;
  width: auto;
  height: 2.25rem;
}
@media (max-width: 480px) {
  .brand-logo { height: 2rem; }
}
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.btn { color: var(--bone); }
.site-nav a.btn:hover { color: var(--bone); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 2.5rem; height: 2.5rem; padding: 0.6rem;
}
.nav-toggle span {
  display: block; height: 1px; background: var(--ink);
  margin: 0.32rem 0; transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.4rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.43rem) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bone); border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.5rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .site-nav a.btn { margin-top: 1rem; border-bottom: 1px solid var(--ink); text-align: center; }
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  padding-block: clamp(4rem, 11vw, 9rem);
  background:
    radial-gradient(55% 60% at 88% 18%, rgba(217,188,162,.45), transparent 70%),
    radial-gradient(45% 50% at 6% 88%, rgba(234,211,195,.55), transparent 70%),
    linear-gradient(rgba(251,248,243,.86), rgba(251,248,243,.86)),
    url("/assets/img/hero.jpg") center/cover no-repeat;
}
.services-line {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.25rem;
  margin: 0; padding: 1.1rem var(--gap);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
}
.services-line span + span::before { content: "|"; margin-right: 1.25rem; color: var(--sand); }
.hero-inner { max-width: 60ch; }
.hero h1 { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 2.5rem; }
.trust {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.trust li { position: relative; }
.trust li + li::before {
  content: ""; position: absolute; left: -0.9rem; top: 50%;
  width: 3px; height: 3px; background: var(--line); border-radius: 50%;
}

/* ── Pillars ───────────────────────────────────────────── */
.pillars {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--bone);
  padding: 2rem 1.75rem 1.75rem;
  text-decoration: none; color: inherit;
  transition: background 0.25s ease;
}
.pillar:hover { background: var(--white); }
.pillar h3 { font-family: var(--serif); font-size: 1.625rem; }
.pillar p { color: var(--ink-soft); font-size: 0.9375rem; }
.pillar-link {
  font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--clay-deep);
}

/* ── Concern chips ─────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.chip {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--clay); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.filter-status { font-size: 0.875rem; color: var(--clay-deep); min-height: 1.7em; }

/* ── Service cards ─────────────────────────────────────── */
.cat { margin-bottom: 4rem; }
.cat[hidden] { display: none; }
.cat-title {
  font-family: var(--serif);
  font-size: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.75rem;
}
.cat-note { font-size: 0.875rem; color: var(--ink-faint); margin-bottom: 1.75rem; }
.cards {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  display: flex; flex-direction: column;
}
.card[hidden] { display: none; }
.card-head { margin-bottom: 0.75rem; }
.card h4 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.25rem; }
.card p { font-size: 0.9375rem; color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }
.price {
  font-size: 0.8125rem !important;
  letter-spacing: 0.06em;
  color: var(--clay-deep) !important;
  margin-bottom: 0 !important;
}
.tags {
  margin-top: auto; padding-top: 1rem;
  font-size: 0.75rem !important; letter-spacing: 0.04em;
  color: var(--ink-faint) !important;
}
.card-info { background: var(--bone-deep); }
.is-match { border-color: var(--clay); box-shadow: 0 0 0 1px var(--clay); }
.empty-state { text-align: center; color: var(--ink-faint); }

/* ── About ─────────────────────────────────────────────── */
.about-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  align-items: center;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { position: relative; }
.about-photo::before {
  content: ""; position: absolute; z-index: 0;
  inset: -7% -10% 8% 10%;
  background: radial-gradient(closest-side, var(--blush), rgba(234,211,195,0) 100%);
  filter: blur(14px);
}
.about-photo picture { position: relative; z-index: 1; display: block; }
.about-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.about-copy p { color: var(--ink-soft); max-width: 58ch; }
.signature { font-family: var(--serif); font-size: 1.5rem; color: var(--ink) !important; }
.about-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ── Booking ───────────────────────────────────────────── */
/* Square Appointments booking widget. Style the frame around it only; the
   snippet inside is pasted verbatim. */
.booking-widget {
  background: var(--white);
  border: 1px solid var(--line);
  padding-bottom: 0.75rem;
}
.booking-fallback { text-align: center; margin-top: 2.5rem; }
.booking-fallback .hero-actions { justify-content: center; margin: 1rem 0; }

/* ── Visit ─────────────────────────────────────────────── */
.visit-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.studio { margin-top: clamp(2.5rem, 6vw, 4rem); }
.studio-strip {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.studio-strip img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.hours { border-top: 1px solid var(--line); max-width: 26rem; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.hours span:last-child { color: var(--ink-faint); }
.faq dt { font-family: var(--serif); font-size: 1.25rem; margin-top: 1.5rem; }
.faq dd { margin: 0.35rem 0 0; color: var(--ink-soft); font-size: 0.9375rem; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding-block: 3.5rem;
}
.site-footer .fine { color: rgba(250, 248, 245, 0.55); }
.footer-inner { display: grid; gap: 1.75rem; }
.footer-brand { margin: 0; line-height: 1; }
.footer-brand .brand-logo { height: 2.5rem; }
.footer-tag { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.6875rem !important; margin-top: 0.75rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a {
  color: rgba(250, 248, 245, 0.8); text-decoration: none;
  font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.footer-nav a:hover { color: var(--bone); }
@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .footer-inner > .fine { grid-column: 1 / -1; }
}
