/* NBH — Nail & Beauty Hub
   Palette: sand #f8f4ef · card #fffdfa · ink #2b2521 · slate #575756
            copper #b9814f · sand-light #f3cda3
   Fonts: Playfair Display (headings), Jost (body) — self-hosted via fonts.css */

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

body {
  margin: 0;
  background: #f8f4ef;
  color: #2b2521;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #b9814f; color: #fff; }

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

a { color: #b9814f; }
a:hover { color: #a06e3f; }

input, select, textarea { font-family: 'Jost', sans-serif; }

[hidden] { display: none !important; }

/* ---------- Typography ---------- */

.h1 {
  font: 500 clamp(32px, 5vw, 44px)/1.2 'Playfair Display', serif;
  margin: 0 0 16px;
  color: #2b2521;
}

.h1-sm {
  font: 500 clamp(30px, 5vw, 40px)/1.2 'Playfair Display', serif;
  margin: 0 0 14px;
  color: #2b2521;
}

.h2 {
  font: 500 clamp(24px, 4vw, 32px)/1.3 'Playfair Display', serif;
  margin: 0 0 16px;
  color: #2b2521;
}

.h2-sm {
  font: 500 22px/1.3 'Playfair Display', serif;
  margin: 0;
  color: #2b2521;
}

.h3 {
  font: 500 20px/1.3 'Playfair Display', serif;
  margin: 0;
  color: #2b2521;
}

.body-lg { font: 300 16px/1.8 'Jost', sans-serif; color: #5c5449; margin: 0; }
.body-sm { font: 300 15px/1.7 'Jost', sans-serif; color: #6b6459; margin: 0; }
.note { font: italic 300 13px/1.6 'Jost', sans-serif; color: #9a9086; margin: 0; }
.light { color: #fff; }
.center { text-align: center; }

.eyebrow {
  font: 400 12px/1 'Jost', sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b9814f;
  margin-bottom: 14px;
}

.eyebrow-light { color: #f3cda3; }

.link-caps {
  font: 600 12px/1 'Jost', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b9814f;
  text-decoration: none;
}

.link-dark { color: #2b2521; }

.link-underline {
  display: inline-block;
  font: 600 12px/1 'Jost', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f3cda3;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 185, 138, 0.4);
  padding-bottom: 4px;
}

.link-underline:hover { color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 16px 36px;
  font: 600 13px/1 'Jost', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary { background: #b9814f; color: #fff; }
.btn-primary:hover { background: #a06e3f; color: #fff; }
.btn-dark { background: #575756; color: #fff; }
.btn-dark:hover { background: #464645; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-outline { background: transparent; color: #2b2521; border: 1px solid rgba(43, 37, 33, 0.2); }
.btn-sm { padding: 13px 26px; font-size: 12px; letter-spacing: 0.06em; }
.btn-block { width: 100%; padding: 16px; margin-top: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #575756;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 30px; }

.nav-desktop a {
  font: 500 13px/1 'Jost', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f2ede6;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover { color: #e8b98a; }
.nav-desktop a.is-active { color: #e8b98a; border-bottom-color: #e8b98a; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.btn-book-header {
  display: none;
  padding: 11px 26px;
  background: #b9814f;
  color: #fff;
  font: 600 12px/1 'Jost', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}

.btn-book-header:hover { background: #a06e3f; color: #fff; }

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span { display: block; width: 22px; height: 2px; background: #f2ede6; }

.nav-mobile {
  background: #575756;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile a {
  padding: 12px 4px;
  color: #f2ede6;
  font: 500 14px/1 'Jost', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-mobile a.is-active { color: #e8b98a; }

.nav-mobile .btn-book-mobile {
  margin-top: 12px;
  padding: 13px 0;
  text-align: center;
  background: #b9814f;
  color: #fff;
  font: 600 12px/1 'Jost', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
}

/* ---------- Page shells ---------- */

.page-narrow { max-width: 900px; margin: 0 auto; padding: 70px 24px 100px; }
.page-wide { max-width: 1160px; margin: 0 auto; padding: 70px 24px 100px; }
.page-mid { max-width: 1000px; margin: 0 auto; padding: 60px 24px; }
.page-form { max-width: 640px; margin: 0 auto; padding: 70px 24px 100px; }
.center-page { text-align: center; }

.page-head { text-align: center; margin-bottom: 50px; }
.section-head { text-align: center; margin-bottom: 46px; }

.wrap { max-width: 1160px; margin: 0 auto; }

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card-grid-2.gap-lg { gap: 36px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

/* ---------- Hero (home) ---------- */

.hero { position: relative; width: 100%; height: min(640px, 90vh); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  overflow: hidden;
}

.hero-slide.is-active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: nbhKenBurns 18s ease-in-out infinite alternate;
}

@keyframes nbhKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 34, 30, 0.55), rgba(38, 34, 30, 0.72));
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 24px 24px 64px;
  gap: 22px;
}

.hero-title {
  font: 500 clamp(34px, 6vw, 72px)/1.2 'Playfair Display', serif;
  color: #fff;
  margin: 0;
  max-width: 800px;
}

.hero-lede {
  font: 300 17px/1.6 'Jost', sans-serif;
  color: #f0e9e1;
  max-width: 520px;
  margin: 0;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Home sections ---------- */

.welcome { max-width: 760px; margin: 0 auto; padding: 90px 24px 70px; text-align: center; }
.welcome .h2 { margin-bottom: 22px; }

.signature { background: #fffdfa; padding: 70px 24px 90px; }
.signature .h2 { margin-bottom: 46px; }

.service-card {
  background: #f8f4ef;
  border: 1px solid rgba(43, 37, 33, 0.08);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card .body-sm { flex: 1; font-size: 14px; }
.rule { width: 38px; height: 2px; background: #b9814f; }

.locations-teaser { padding: 90px 24px; max-width: 1160px; margin: 0 auto; }

.loc-card { background: #fffdfa; border: 1px solid rgba(43, 37, 33, 0.08); }
.loc-card-img { height: 220px; }
.loc-card-img.tall { height: 260px; }
.loc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.loc-card-body { padding: 26px 28px; }
.loc-card-body .h3 { margin-bottom: 8px; }
.loc-card-body .body-sm { font-size: 14px; margin-bottom: 16px; }
.loc-card-links { display: flex; gap: 14px; flex-wrap: wrap; }

.quotes-band { background: #575756; padding: 80px 24px; }
.quotes-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 30px 0 36px;
  text-align: left;
}

.quote {
  font: italic 400 17px/1.7 'Playfair Display', serif;
  color: #f2ede6;
  margin: 0 0 14px;
}

.quote-attr {
  font: 600 12px/1 'Jost', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f3cda3;
}

.cta-band { padding: 80px 24px; text-align: center; background: #f8f4ef; }
.cta-band .h2 { margin-bottom: 24px; }

/* ---------- Services & pricing ---------- */

.price-cat { margin-bottom: 46px; scroll-margin-top: 90px; }

.price-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 2px solid #2b2521;
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.price-cat-sub {
  font: 300 12px/1 'Jost', sans-serif;
  color: #9a9086;
  white-space: nowrap;
  padding-left: 14px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(43, 37, 33, 0.08);
}

.price-name { font: 300 15px/1.5 'Jost', sans-serif; color: #2b2521; }
.price-value { font: 500 15px/1.5 'Jost', sans-serif; color: #b9814f; white-space: nowrap; }

.page-narrow .center { margin-top: 50px; }

/* ---------- Locations ---------- */

.hours {
  font: 300 14px/1.7 'Jost', sans-serif;
  color: #4a433c;
  white-space: pre-line;
}

.hours.dark { color: #2b2521; }

.loc-detail { padding: 32px; }
.loc-detail .h2-sm { margin-bottom: 14px; }
.loc-meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.loc-meta-row { display: flex; gap: 10px; }
.loc-label { font: 500 13px/1.5 'Jost', sans-serif; color: #b9814f; }
.loc-value { font: 300 14px/1.5 'Jost', sans-serif; color: #4a433c; }
.loc-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Booking ---------- */

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fffdfa;
  border: 1px solid rgba(43, 37, 33, 0.08);
  padding: 36px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.label {
  font: 500 12px/1 'Jost', sans-serif;
  letter-spacing: 0.04em;
  color: #4a433c;
}

.input {
  padding: 13px 14px;
  border: 1px solid rgba(43, 37, 33, 0.18);
  border-radius: 2px;
  font: 300 15px/1.4 'Jost', sans-serif;
  background: #fff;
  color: #2b2521;
}

textarea.input { resize: vertical; }

.booking-confirm {
  background: #fffdfa;
  border: 1px solid rgba(43, 37, 33, 0.08);
  padding: 44px 32px;
  text-align: center;
  animation: nbhFade 0.4s ease;
}

@keyframes nbhFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.confirm-title {
  font: 500 26px/1 'Playfair Display', serif;
  color: #b9814f;
  margin-bottom: 16px;
}

.booking-confirm .body-sm { color: #4a433c; margin-bottom: 26px; }
.confirm-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.gallery-item { margin: 0; display: flex; flex-direction: column; gap: 10px; }

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-item figcaption {
  font: 300 12px/1 'Jost', sans-serif;
  color: #9a9086;
  text-align: center;
}

/* ---------- Masterclass ---------- */

/* stretch (not center) so the copy panel's background fills the full hero
   height and lines up with the photo, instead of showing as a short band. */
.mc-hero { display: flex; flex-wrap: wrap; align-items: stretch; }

/* The portrait is shown WHOLE - no cropping - so the image sits in normal flow
   and its own 1008x1500 ratio sets the panel height. Width is what's capped,
   not height: 25% of the page on desktop, and the copy takes the rest. Don't
   reintroduce object-fit:cover or height:100% here; both crop the photo. */
.mc-hero-img { position: relative; flex: 1 1 100%; max-width: 300px; margin: 0 auto; }
.mc-hero-img img { display: block; width: 100%; height: auto; }

.mc-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(38, 34, 30, 0), rgba(38, 34, 30, 0.55));
}

.mc-hero-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font: 500 12px/1 'Jost', sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.mc-hero-copy {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px;
  gap: 14px;
  background: #fffdfa;
}

.mc-hero-copy .h1 { margin: 0; font-size: clamp(30px, 5vw, 48px); line-height: 1.15; }
.mc-hero-copy .eyebrow { margin-bottom: 0; }
.mc-hero-copy .body-lg { font-size: 16px; line-height: 1.6; color: #6b6459; max-width: 440px; }

/* Side-by-side from 800px up: narrow photo, wide title. Below that they stack,
   with the photo centred and capped so it doesn't dominate a phone screen.
   Must stay AFTER the base .mc-hero-copy rule - media queries add no
   specificity, so an earlier placement would simply be overridden. */
@media (min-width: 800px) {
  .mc-hero-img { flex: 0 0 25%; max-width: 25%; margin: 0; }
  .mc-hero-copy { flex: 1 1 auto; }
  .mc-hero-copy .body-lg { max-width: 620px; }
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.fact { text-align: center; padding: 22px; border: 1px solid rgba(43, 37, 33, 0.08); }

.fact-label {
  font: 500 12px/1 'Jost', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b9814f;
  margin-bottom: 8px;
}

.fact-value { font: 400 20px/1.3 'Playfair Display', serif; color: #2b2521; }

.mc-intro { text-align: center; margin-bottom: 50px; }
.mc-intro .body-sm { max-width: 640px; margin: 0 auto; line-height: 1.75; }

.curriculum { background: #fffdfa; border: 1px solid rgba(43, 37, 33, 0.08); padding: 32px; }
.curriculum .fact-label { margin-bottom: 14px; }

.curriculum-list {
  margin: 0;
  padding-left: 18px;
  font: 300 14px/1.9 'Jost', sans-serif;
  color: #4a433c;
}

.included { text-align: center; margin: 56px 0 50px; }
.included .fact-label { margin-bottom: 16px; }

.included-list {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  font: 300 15px/1.6 'Jost', sans-serif;
  color: #4a433c;
}

.mc-videos { margin-bottom: 56px; }
.mc-videos .fact-label { margin-bottom: 20px; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.video-item { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.video-item.span-2 { grid-column: span 2; }
/* Lessons 1-4 are vertical 9:16, lesson 5 is landscape 16:9. The source files
   are anamorphic (stored 1920x1080 with a 81:256 pixel aspect ratio), so the
   stored dimensions are misleading - each <video> carries width/height
   attributes holding its true DISPLAY size, and those supply the aspect ratio
   here. height:auto is required: without it the element takes max-height as
   its height and the poster letterboxes inside a too-tall black box. */
.video-item video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #000;
}

.video-item figcaption {
  font: 300 12px/1 'Jost', sans-serif;
  color: #9a9086;
  text-align: center;
}

.mc-cta { background: #2b2521; padding: 44px 32px; text-align: center; }
.mc-cta .h2-sm { font-size: clamp(22px, 3.5vw, 28px); margin-bottom: 10px; }
.mc-cta .body-sm { color: #d8d1c7; margin-bottom: 26px; }

/* ---------- Testimonials ---------- */

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.review-card { background: #fffdfa; border: 1px solid rgba(43, 37, 33, 0.08); padding: 30px; }

.stars {
  color: #b9814f;
  font: 400 16px/1 'Jost', sans-serif;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.review-quote {
  font: italic 400 16px/1.7 'Playfair Display', serif;
  color: #2b2521;
  margin: 0 0 16px;
}

.review-attr {
  font: 600 12px/1 'Jost', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b6459;
}

/* ---------- Contact ---------- */

.lead-spaced { margin-bottom: 50px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
  align-items: start;
  text-align: left;
}

.contact-card {
  background: #fffdfa;
  border: 1px solid rgba(43, 37, 33, 0.08);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-block { display: flex; flex-direction: column; }

.contact-sublabel {
  color: #9a9086;
  font: 500 11px/1 'Jost', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-block a {
  font: 300 15px/1.6 'Jost', sans-serif;
  color: #2b2521;
  text-decoration: none;
}

.contact-block a:hover { color: #b9814f; }

.contact-link { font: 300 15px/1.5 'Jost', sans-serif; color: #2b2521; text-decoration: none; }
.contact-link-lg { font: 300 16px/1.5 'Jost', sans-serif; color: #2b2521; text-decoration: none; }
.contact-link:hover, .contact-link-lg:hover { color: #b9814f; }

.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer { background: #575756; padding: 60px 24px 34px; }

.footer-grid {
  max-width: 1160px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-logo { height: 64px; width: auto; margin-bottom: 14px; }
.footer-blurb { font: 300 13px/1.7 'Jost', sans-serif; color: #e8e2da; margin: 0; }

.footer-heading {
  font: 500 12px/1 'Jost', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3cda3;
  margin-bottom: 14px;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  font: 300 13px/1 'Jost', sans-serif;
  color: #e8e2da;
  text-decoration: none;
}

.footer-links a:hover { color: #fff; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font: 300 13px/1.7 'Jost', sans-serif;
  color: #e8e2da;
}

.footer-contact a { color: #e8e2da; text-decoration: none; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font: 300 12px/1 'Jost', sans-serif;
  color: #b5aea3;
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .video-item.span-2 { grid-column: span 1; }
  .booking-form { padding: 26px 20px; }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .btn-book-header { display: inline-flex; }
  .hamburger { display: none; }
  .nav-mobile { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide img { animation: none; }
  .hero-slide { transition: none; }
  .booking-confirm { animation: none; }
}
