/* Fernwood Beauty Studio — beauty/wellness template
   Palette: blush / sage / cream / plum
   Type: Cormorant Garamond (display, elegant serif) · Jost (body, light)
*/

:root {
  --cream: #fbf6f2;
  --blush: #f1ded9;
  --sage: #9caf8b;
  --sage-deep: #6f8560;
  --plum: #5c4655;
  --ink: #3a2f37;

  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Jost', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1140px, 100% - var(--gutter) * 2); margin-inline: auto; }

.kicker {
  font-family: var(--body); font-weight: 500; font-size: 0.75rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-deep);
  margin: 0 0 0.9rem;
}

.btn {
  display: inline-block; font-family: var(--body); font-weight: 500;
  font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 1rem 2rem; text-decoration: none; border-radius: 2px;
  border: 1px solid transparent; transition: all 0.2s ease;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--ink); }

.demo-flag { background: var(--plum); color: var(--blush); font-size: 0.75rem; text-align: center; padding: 0.55rem 1rem; font-family: var(--body); }
.demo-flag strong { color: #fff; }
.demo-flag a { margin-left: 0.75rem; text-decoration: underline; color: var(--blush); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,246,242,0.9); backdrop-filter: blur(8px); }
.nav-in { display: flex; align-items: center; justify-content: space-between; padding-block: 1.4rem; }
.brand { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.9rem; text-decoration: none; color: var(--plum); }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-links a { text-decoration: none; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.nav-links a:hover { color: var(--sage-deep); }
.nav-cta { border: 1px solid var(--plum); padding: 0.55rem 1.2rem; border-radius: 2px; }
.nav-cta:hover { background: var(--plum); color: #fff !important; }
.nav-toggle { display: none; }

/* hero */
.hero { position: relative; min-height: min(94vh, 800px); display: flex; align-items: center; background-size: cover; background-position: center 25%; color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(58,47,55,0.62) 0%, rgba(58,47,55,0.28) 55%, rgba(58,47,55,0.08) 100%); }
.hero-in { position: relative; max-width: 620px; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 0.98; margin: 0 0 1.4rem; }
.hero h1 em { font-style: italic; color: var(--blush); }
.hero .lead { font-size: 1.125rem; max-width: 42ch; color: rgba(255,255,255,0.88); margin: 0 0 2rem; }

/* treatments */
.treatments { padding-block: clamp(4rem, 9vw, 7rem); }
.section-head { text-align: center; max-width: 560px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0; }
.treat-list { display: flex; flex-direction: column; }
.treat-row {
  display: grid; grid-template-columns: 110px 1fr auto; align-items: center;
  gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--blush);
}
.treat-row:first-child { border-top: 1px solid var(--blush); }
.treat-photo { width: 110px; height: 110px; border-radius: 50%; background-size: cover; background-position: center; }
.treat-copy h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; margin: 0 0 0.3rem; }
.treat-copy p { margin: 0; font-size: 0.9375rem; color: var(--ink); opacity: 0.75; max-width: 46ch; }
.treat-price { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--sage-deep); white-space: nowrap; }

/* studio */
.studio { background: var(--blush); padding-block: clamp(4rem, 9vw, 7rem); }
.studio-grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.studio-photo { aspect-ratio: 1/1.1; background-size: cover; background-position: center; border-radius: 4px; }
.studio-copy h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 1.1rem; }
.studio-copy p { max-width: 48ch; margin: 0 0 1rem; }

/* gallery */
.gallery { padding-block: clamp(4rem, 9vw, 6rem); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 1.25rem; height: clamp(280px, 40vw, 420px); }
.gallery-item { background-size: cover; background-position: center; border-radius: 4px; }

/* booking plugin */
.booking-plugin { background: var(--ink); color: var(--cream); padding-block: clamp(4rem, 9vw, 6.5rem); }
.booking-in { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.booking-plugin .kicker { color: var(--sage); }
.booking-plugin h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; margin: 0 0 1.1rem; color: #fff; }
.booking-plugin p { max-width: 42ch; color: rgba(251,246,242,0.72); }
.booking-mock { background: var(--cream); color: var(--ink); border-radius: 6px; padding: 1.75rem; }
.booking-mock-head { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin-bottom: 1.1rem; }
.booking-mock-days, .booking-mock-times { display: flex; gap: 0.5rem; margin-bottom: 0.9rem; flex-wrap: wrap; }
.booking-mock-days span, .booking-mock-times span {
  flex: 1; text-align: center; padding: 0.5rem 0.4rem; border: 1px solid var(--blush);
  border-radius: 4px; font-size: 0.8125rem; min-width: 3rem;
}
.booking-mock-days .is-sel, .booking-mock-times .is-sel { background: var(--sage); border-color: var(--sage); color: #fff; }
.booking-mock-btn { margin-top: 1rem; background: var(--plum); color: #fff; text-align: center; padding: 0.85rem; border-radius: 4px; font-size: 0.9375rem; }

/* reviews */
.reviews { padding-block: clamp(4rem, 9vw, 6rem); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; }
.reviews blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--plum); }
.reviews cite { display: block; margin-top: 1rem; font-family: var(--body); font-style: normal; font-size: 0.8125rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink); opacity: 0.6; }

/* cta */
.cta { position: relative; background-size: cover; background-position: center; }
.cta-overlay { background: rgba(58,47,55,0.78); }
.cta .wrap { padding-block: clamp(4rem, 9vw, 6rem); text-align: center; color: #fff; }
.cta h2 { font-family: var(--display); font-weight: 500; font-size: clamp(2.25rem, 5vw, 3.5rem); margin: 0 0 0.75rem; }
.cta p { color: rgba(255,255,255,0.82); margin: 0 0 2rem; }

/* footer */
.site-footer { background: var(--plum); color: rgba(251,246,242,0.65); }
.footer-in { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; padding-block: 1.5rem; font-size: 0.8125rem; }
.footer-credit a { color: var(--blush); text-decoration: underline; }

/* responsive */
@media (max-width: 860px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-photo { max-width: 340px; margin-inline: auto; }
  .booking-in { grid-template-columns: 1fr; }
  .booking-in > div:last-child { order: -1; }
  .treat-row { grid-template-columns: 70px 1fr; }
  .treat-price { grid-column: 2; }
  .treat-photo { width: 70px; height: 70px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; height: auto; grid-auto-rows: 180px; }
  .gallery-item--wide { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 68px 0 0 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; padding: 2rem var(--gutter);
    gap: 1.75rem; transform: translateX(100%); transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; width: 34px; height: 24px; position: relative; background: none; border: none; cursor: pointer; }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; position: absolute; left: 0; right: 0; height: 1.5px; background: var(--plum); }
  .nav-toggle::before { top: 0; }
  .nav-toggle span { top: 11px; }
  .nav-toggle::after { bottom: 0; }
}
