/* ═══════════════════════════════════════════════════════════
   SMITH + ELLIOT — A Salon Collective · Delafield, WI
   Shared stylesheet. Palette: black + antique gold + warm cream,
   forest green secondary. Fonts: Cormorant Garamond + Jost.
   ═══════════════════════════════════════════════════════════ */

/* ═══ TOKENS ═══ */
:root {
  --black:     #1A1714;  /* warm near-black — sign panel, nav, footer */
  --ink:       #262019;  /* body text (warm charcoal) */
  --gold:      #B8945A;  /* antique brushed gold — accents, rules */
  --gold-deep: #927039;  /* darker gold for text on light (contrast) */
  --forest:    #2C4034;  /* deep forest green — secondary dark sections */
  --navy:      #1E2A44;  /* classic navy — tertiary accent */
  --cream:     #F5EFE6;  /* warm cream page background */
  --cream-alt: #EDE4D6;  /* slightly deeper cream for alt sections */
  --brick:     #A9714B;  /* earthy terracotta accent (sparing) */
  --muted:     #837A6C;  /* muted taupe */
  --line:      rgba(26,23,20,0.14);
  --white:     #FCFAF6;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--ink);
  overflow-x: hidden;
  margin: 0;
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Visible focus for keyboard users (a11y) */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ═══ TYPOGRAPHY ═══ */
.sup {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
  color: var(--gold-deep);
}
.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.06;
  letter-spacing: 0.05em;
  margin: 0;
}
.display-italic {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}
.lead {
  font-size: 16px;
  line-height: 1.8;
  color: #4a4236;
}
p { margin: 0 0 1em; }

/* ═══ WORDMARK (text logo) ═══ */
.wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .plus { color: var(--gold); font-weight: 500; padding: 0 0.12em; }
.wordmark small {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 0.30em;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  margin-top: 0.55em;
  text-indent: 0.42em;
  color: var(--gold-deep);
}

/* ═══ DIAMOND DIVIDER (brand motif ◆) ═══ */
.diamond-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
}
.diamond-rule::before,
.diamond-rule::after {
  content: "";
  height: 1px;
  flex: 0 0 40px;
  background: var(--gold);
  opacity: 0.75;
}
.diamond-rule.center { justify-content: center; }
.diamond-rule .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}
/* short standalone gold rule */
.gold-rule { width: 34px; height: 1px; background: var(--gold); opacity: 0.7; margin-bottom: 22px; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 34px;
  transition: all 0.22s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  border-radius: 0;
}
.btn-dark          { background: var(--black); color: #fff; }
.btn-dark:hover    { background: #000; }
.btn-gold          { background: var(--gold); color: var(--black); }
.btn-gold:hover    { background: #a37f45; color: #fff; }
.btn-forest        { background: var(--forest); color: #fff; }
.btn-forest:hover  { background: #223226; }
.btn-outline-dark  { border: 1.5px solid var(--black); color: var(--black); }
.btn-outline-dark:hover { background: var(--black); color: #fff; }
.btn-outline-gold  { border: 1.5px solid var(--gold); color: var(--gold-deep); }
.btn-outline-gold:hover { background: var(--gold); color: var(--black); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.7); color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--black); }

/* ═══ NAV ═══ */
.nav-link {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--gold-deep); }

/* ═══ SERVICE CARD ═══ */
.service-card {
  background: var(--white);
  padding: 30px 26px;
  border: 1px solid var(--line);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(26,23,20,0.09);
  transform: translateY(-3px);
}
.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  margin: 0 0 10px;
}
.service-card p {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.75;
  color: #5c5344;
  margin: 0;
}

/* ═══ PRICE LIST ═══ */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.price-row .name {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
}
.price-row .dots { flex: 1; border-bottom: 1px dotted rgba(26,23,20,0.28); transform: translateY(-4px); }
.price-row .price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--gold-deep);
  white-space: nowrap;
}
.price-note { font-size: 12.5px; color: var(--muted); font-style: italic; margin-top: 14px; }

/* ═══ FEATURE LIST (gold diamond bullets) ═══ */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
  position: relative;
  padding: 0 0 14px 26px;
  font-size: 15px;
  line-height: 1.6;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ═══ STYLIST / TEAM CARD ═══ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 26px;
  text-align: center;
}
.team-card.available {
  background: transparent;
  border: 1px dashed var(--gold);
}
.team-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 14px 0 4px;
}
.team-card .role { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-deep); }
.team-card p { font-size: 13.5px; line-height: 1.7; color: #5c5344; margin: 14px 0 0; }
.team-monogram {
  width: 74px; height: 74px; margin: 0 auto;
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 30px; color: var(--gold-deep);
  border-radius: 50%;
}

/* ═══ ANIMATIONS ═══ */
@keyframes bounce-y {
  0%,100% { transform: translateX(-50%) translateY(0) }
  50%     { transform: translateX(-50%) translateY(8px) }
}
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══ SECTION SHELL ═══ */
.section-wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 66px 0; }
@media (max-width: 640px) {
  .section-wrap { padding: 0 22px; }
  .section-pad { padding: 68px 0; }
}

/* ═══ FLEX SPLIT (image + text) ═══ */
.split-wrap { display: flex; flex-direction: column; gap: 52px; align-items: flex-start; }
@media (min-width: 768px) {
  .split-wrap { flex-direction: row; align-items: center; }
  .split-wrap.reverse { flex-direction: row-reverse; }
  .split-img { max-width: 460px !important; flex-shrink: 0; }
  .split-text { flex: 1; }
}

/* ═══ GALLERY GRID ═══ */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { aspect-ratio: 1; overflow: hidden; background: var(--cream-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* ═══ RESPONSIVE NAV ═══ */
@media (max-width: 860px) {
  .desktop-nav { display: none !important; }
  /* !important: the base `.mobile-actions{display:none}` rule is declared later in this file */
  .mobile-actions { display: flex !important; }
  .mobile-trigger { display: flex; }
}
@media (min-width: 861px) {
  .mobile-actions { display: none !important; }
  #mobile-menu, #mobile-menu.open { display: none !important; }
}

/* ═══ SCREEN-READER ONLY ═══ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -46px;
  background: var(--black); color: #fff; padding: 10px 18px;
  font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none; z-index: 300;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ═══ SITE NAV ═══ */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}
#site-nav.scrolled, #site-nav.solid {
  background: var(--cream);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(26,23,20,0.06);
  padding-top: 14px; padding-bottom: 14px;
}
/* Light text when transparent over a dark hero */
#site-nav.over-hero .nav-link,
#site-nav.over-hero .wordmark { color: #fff; }
#site-nav.over-hero .wordmark small { color: rgba(255,255,255,0.75); }
#site-nav.over-hero .nav-icon { color: #fff; }
#site-nav.over-hero.scrolled .nav-link,
#site-nav.over-hero.scrolled .wordmark { color: var(--ink); }
#site-nav.over-hero.scrolled .wordmark small { color: var(--gold-deep); }
#site-nav.over-hero.scrolled .nav-icon { color: var(--ink); }
.nav-icon { color: var(--ink); transition: color 0.2s, opacity 0.2s; opacity: 0.85; }
.nav-icon:hover { opacity: 1; color: var(--gold-deep); }
.nav-spacer { height: 74px; }
@media (max-width: 640px) { #site-nav { padding: 16px 22px; } }

/* Mobile menu panel — sits ABOVE the nav (z-index 200) so its close button is reachable */
#mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 250;
  background: var(--cream);
  display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  padding: 40px;
}
#mobile-menu.open { display: flex; }
body.menu-open { overflow: hidden; }
#mobile-menu a.nav-link { font-size: 15px; letter-spacing: 0.2em; }
.menu-social { display: flex; gap: 22px; margin-top: 14px; color: var(--ink); }
.menu-social a { color: var(--ink); opacity: 0.8; transition: opacity 0.2s, color 0.2s; }
.menu-social a:hover { opacity: 1; color: var(--gold-deep); }

/* Mobile action cluster (IG + hamburger), right side of the nav bar */
.mobile-actions { display: none; align-items: center; gap: 16px; }
/* Inline SVGs ride the text baseline, leaving descender space below that pushes
   the icon visually high. Block-level removes it so icons center against the hamburger. */
.nav-icon svg, .menu-social svg, .mobile-actions svg, .site-footer svg { display: block; }
.mobile-actions .mobile-social { display: flex; align-items: center; }
.hamburger { background: none; border: none; cursor: pointer; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: currentColor; display: block; }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--black); color: #cdc5b8; }
.site-footer a { color: #cdc5b8; text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-heading { font-family: 'Jost', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--gold); margin-bottom: 18px; }
.footer-link { display: block; font-size: 14px; padding: 5px 0; }

/* ═══ BOTANICAL MOTIF (decorative background flourish) ═══
   Usage: add .has-botanical to the <section>, then drop in
   <img class="botanical left|right on-light|on-dark" ... alt="" aria-hidden="true">
   Sides alternate down the page; .left is mirrored so the two sides aren't identical. */
.has-botanical { position: relative; overflow: hidden; }
.has-botanical > .section-wrap { position: relative; z-index: 1; }
.botanical {
  position: absolute; bottom: -55px; width: 390px;
  pointer-events: none; user-select: none; z-index: 0;
}
.botanical.right { right: -70px; }
.botanical.left  { left: -70px; transform: scaleX(-1); }
/* Gold needs opposite treatment per background: darker on cream, lifted on dark */
.botanical.on-light { opacity: 0.35; filter: brightness(0.68) saturate(1.2); }
.botanical.on-dark  { opacity: 0.35; filter: brightness(1.15); }
@media (max-width: 900px) {
  .botanical { width: 265px; bottom: -38px; }
  .botanical.right { right: -60px; }
  .botanical.left  { left: -60px; }
  .botanical.on-light, .botanical.on-dark { opacity: 0.30; }
}

/* ═══ BLOG ARTICLE ═══ */
.article { max-width: 760px; margin: 0 auto; }
.article > p { font-size: 17px; line-height: 1.85; color: #3f382e; margin: 0 0 1.3em; }
.article h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(26px, 3.4vw, 34px); color: var(--black);
  letter-spacing: 0.01em; margin: 52px 0 6px;
}
.article h2 + .gold-rule { margin-bottom: 20px; }
.article h3 { font-family:'Jost',sans-serif; font-weight:500; font-size:18px; color:var(--black); margin:30px 0 8px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 1.3em; }
.article li { font-size: 17px; line-height: 1.8; color: #3f382e; margin-bottom: 8px; }
.article strong { color: var(--black); font-weight: 500; }
.article a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.article figure { margin: 32px 0; }
.article figure img { width: 100%; height: auto; border: 5px solid #fff; box-shadow: 0 16px 40px rgba(26,23,20,0.12); }
.article figcaption { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 8px; text-align: center; }
.snippet-block {
  background: var(--cream-alt); border-left: 3px solid var(--gold);
  padding: 22px 26px; margin: 0 0 34px; font-size: 17px; line-height: 1.8; color: #3f382e;
}
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { margin: 0 0 8px; font-family:'Cormorant Garamond',serif; font-weight:600; font-size:21px; color:var(--black); }
.faq-item p { margin: 0; font-size: 16px; line-height: 1.8; color: #4a4236; }
.article-cta { background: var(--forest); color: #eae3d4; text-align: center; padding: 48px 30px; margin-top: 56px; }

/* ═══ CONTACT / DETAIL ROWS ═══ */
.detail-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail-row .icon { color: var(--gold-deep); flex: 0 0 auto; margin-top: 2px; }
.detail-row .label { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 3px; }
.detail-row a, .detail-row span { font-size: 16px; color: var(--ink); text-decoration: none; }
.detail-row a:hover { color: var(--gold-deep); }
