/* ==========================================================================
   Like A Boss Salon — concept mockup
   Edit the tokens below to retheme the whole page.
   ========================================================================== */

:root {
  /* Color */
  --bg: #f5efe7;          /* warm neutral page background */
  --paper: #fffaf4;       /* cards */
  --sand: #ebe2d6;        /* alternate section background */
  --ink: #171412;         /* text + dark sections */
  --ink-2: #221e1b;       /* dark cards */
  --muted: #6b625a;
  --line: #e0d5c8;
  --accent: #ec7330;      /* Precious's favorite color: orange */
  --accent-ink: #a8481a;  /* accent for text on light backgrounds (passes WCAG AA) */

  /* Type */
  --font-display: "Fraunces", Georgia, serif; /* loaded at a fixed optical size so strokes stay sturdy at large sizes */
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: 20px;
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }

.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Shared pieces ---------- */
.eyebrow {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-ink);
  margin-bottom: 12px;
}
.on-dark .eyebrow { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1;
}
.display em { font-style: italic; font-weight: 600; color: var(--accent-ink); }
.on-dark .display em { color: var(--accent); }

h2.display { font-size: clamp(2.4rem, 7vw, 4.4rem); }

.lede { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.on-dark .lede { color: #c9c0b7; }

.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head .lede { margin-top: 4px; }

.on-dark { background: var(--ink); color: #f6f0e9; }
.on-sand { background: var(--sand); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  font: 700 .98rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #f58a4c; border-color: #f58a4c; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 42px; padding: 10px 18px; font-size: .92rem; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--accent-ink); }
.on-dark .text-link:hover { color: var(--accent); }

.chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Wordmark (site title as text) ---------- */
.wordmark {
  flex: none;
  font: 700 1.3rem/1 var(--font-display);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark em { font-style: italic; font-weight: 600; color: var(--accent-ink); }
.site-footer .wordmark { font-size: 1.6rem; color: #fff; }
.site-footer .wordmark em { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 231, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.main-nav { display: none; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.main-nav a:not(.btn):hover { color: var(--accent-ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  width: 46px; height: 46px;
  display: grid; place-content: center; gap: 6px;
  border: 1.5px solid var(--ink); border-radius: 50%;
  background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
  background: var(--bg);
  padding: 28px var(--gutter) 40px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 22px; }
.mobile-menu .menu-meta { margin-top: 18px; color: var(--muted); font-size: .95rem; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding: 28px 0 56px; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(3.3rem, 13vw, 7.2rem);
  margin-bottom: 22px;
}
.hero .lede { margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 32px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .92rem; color: var(--muted);
}
.hero-facts strong { display: block; color: var(--ink); font-size: 1.05rem; }

.hero-media { position: relative; }
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 200px 200px var(--radius) var(--radius); /* arch — echoes a salon mirror */
}
.hero-inset {
  position: absolute; left: -10px; bottom: 34px;
  width: 38%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 6px solid var(--bg);
  box-shadow: 0 18px 40px rgba(23, 20, 18, .18);
}
.hero-badge {
  position: absolute; right: -6px; top: 18%;
  width: 112px; height: 112px;
  display: grid; place-items: center; text-align: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font: 700 .9rem/1.2 var(--font-body);
  box-shadow: 0 14px 30px rgba(236, 115, 48, .35);
}
.hero-badge b { display: block; font: italic 600 1.6rem/1 var(--font-display); }

/* Service ticker */
.ticker { background: var(--ink); color: #f6f0e9; overflow: hidden; padding: 16px 0; }
.ticker-track {
  display: flex; gap: 34px; width: max-content;
  font: italic 500 1.4rem/1 var(--font-display);
  white-space: nowrap;
  animation: ticker 38s linear infinite;
}
.ticker-track span::after { content: "✦"; margin-left: 34px; color: var(--accent); font-style: normal; font-size: .9rem; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 14px; }
.service {
  display: flex; flex-direction: column; gap: 12px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.service:hover { border-color: var(--ink); transform: translateY(-3px); }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.service h3 { font: 600 1.7rem/1.1 var(--font-display); }
.service-num { font-weight: 700; font-size: .95rem; color: var(--accent-ink); }
.service p { color: var(--muted); }
.service-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.service-who { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }
.service-who strong { color: var(--ink); }

.services-foot {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--sand);
}
.services-foot p { color: var(--muted); max-width: 60ch; }
.services-foot strong { color: var(--ink); }

/* ---------- Stylists ---------- */
.team-grid { display: grid; gap: 18px; }
.stylist {
  display: flex; flex-direction: column;
  background: var(--ink-2);
  border: 1px solid #34302c;
  border-radius: var(--radius);
  overflow: hidden;
}
.stylist-photo { position: relative; }
.stylist-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.stylist-role {
  position: absolute; left: 14px; bottom: 14px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(23, 20, 18, .78);
  backdrop-filter: blur(6px);
  font-size: .875rem; font-weight: 700;
}
.stylist-body { display: flex; flex-direction: column; gap: 14px; padding: 24px; flex: 1; }
.stylist h3 { font: 600 2.1rem/1 var(--font-display); }
.stylist h3 small { font: 500 .95rem var(--font-body); color: #a39a91; margin-left: 6px; }
.stylist p { color: #c9c0b7; }
.stylist .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stylist .chip { border-color: #4a443e; color: #ece4db; }
.stylist .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 0;
  background: var(--sand);
  border-radius: var(--radius-sm);
  overflow: hidden; cursor: zoom-in;
}
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  width: min(92vw, 760px); max-height: 92vh;
  padding: 0; border: 0; border-radius: var(--radius);
  background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(15, 12, 10, .88); }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -14px; right: -6px;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}

/* ---------- Testimonials ---------- */
.reviews { display: grid; gap: 16px; }
.review {
  margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review blockquote { margin: 0; font-size: 1.05rem; }
.review blockquote::before {
  content: "“";
  display: block; height: .55em;
  font: 600 4rem/1 var(--font-display);
  color: var(--accent);
}
.review figcaption { font-weight: 700; font-size: .92rem; }
.review figcaption span { color: var(--muted); font-weight: 500; }

.review-featured { background: var(--ink); color: #f6f0e9; border-color: var(--ink); }
.review-featured blockquote { font: 500 clamp(1.45rem, 3.4vw, 2rem)/1.25 var(--font-display); }
.review-featured figcaption span { color: #a39a91; }

/* ---------- Shop preview ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.shop-card {
  position: relative; display: block;
  border-radius: var(--radius-sm); overflow: hidden;
  text-decoration: none; background: var(--sand);
}
.shop-card img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s ease; }
.shop-card:hover img { transform: scale(1.05); }
.shop-card span {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  padding: 8px 10px; border-radius: 10px;
  background: rgba(255, 250, 244, .94);
  font-weight: 700; font-size: .9rem; line-height: 1.2;
}
.shop-layout { display: grid; gap: 28px; align-items: center; }
.shop-copy { display: grid; gap: 18px; justify-items: start; }
.shop-copy .lede { margin: 0; }
.shop-note { font-size: .92rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-stamp {
  position: absolute; right: 14px; bottom: 14px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--paper) url("https://images.squarespace-cdn.com/content/v1/6645d3e1cb82577d0c9a4416/166cad89-7c82-42bd-8a9a-9077b2d59ec2/IMG_1168.JPG?format=300w") center / 112% no-repeat;
  box-shadow: 0 10px 26px rgba(23, 20, 18, .2);
}
.about-copy { display: grid; gap: 18px; }
.about-copy .big { font: 500 1.45rem/1.35 var(--font-display); }
.about-copy p:not(.big):not(.eyebrow) { color: var(--muted); }
.values { display: grid; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.values li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.values b { display: block; }
.values span { color: var(--muted); font-size: .95rem; }
.values i { flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Visit ---------- */
.visit-grid { display: grid; gap: 32px; }
.visit h2 { margin-bottom: 18px; }
.visit .hero-actions { margin-top: 26px; }
.visit-card {
  display: grid; gap: 22px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid #34302c;
}
.visit-card h3 { font-size: 1rem; color: var(--accent); margin-bottom: 6px; }
.visit-card a { text-decoration: none; }
.visit-card a:hover { color: var(--accent); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: #c9c0b7; }
.map {
  width: 100%; aspect-ratio: 16 / 10; border: 0;
  border-radius: var(--radius-sm);
  filter: grayscale(.4) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer { background: #0e0c0b; color: #d9d0c6; padding: 64px 0 48px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
.footer-grid h3 { font-size: 1rem; color: #fff; margin-bottom: 12px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-tag { margin-top: 14px; color: #b3aaa1; max-width: 32ch; }
.placeholder {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px dashed #5a524b; border-radius: 999px;
  color: #b3aaa1; font-size: .9rem;
}
.footer-bottom {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid #2a2622;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  color: #b3aaa1; font-size: .9rem;
}

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .review-featured { grid-column: 1 / -1; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .values li { flex-direction: column; gap: 8px; }
  .values i { margin-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  :root { --header-h: 82px; }
  .wordmark { font-size: 1.6rem; }
  .main-nav { display: flex; align-items: center; gap: 26px; }
  .header-actions, .mobile-menu { display: none !important; }

  .hero { padding: 40px 0 80px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .hero-inset { left: -48px; }
  .hero-badge { right: -24px; width: 128px; height: 128px; }

  .section-head { grid-template-columns: 1fr 1fr; align-items: end; column-gap: 48px; }
  .section-head .eyebrow { grid-column: 1 / -1; margin-bottom: -6px; }

  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .review-featured { grid-column: span 2; grid-row: span 2; justify-content: center; gap: 36px; padding: 48px; }

  .shop-layout { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
