/* ==========================================================================
   Golden Hour Salon: demo site for Fiumara Designs
   Design direction: editorial / fashion-magazine, "golden hour" light.
   Espresso-brown base (not cream, not near-black) + copper/honey/oxblood
   accents. Bodoni Moda (display) x Archivo (body) x Space Mono (price ledger).
   ========================================================================== */

:root {
  /* -- palette -- */
  --espresso: #241512;   /* primary dark ground */
  --umber: #3a2620;      /* raised dark surface / dividers on dark */
  --chalk: #f4ebdd;      /* light ground */
  --bone: #faf5ec;       /* text on dark, brightest warm neutral */
  --copper: #c1602e;     /* primary accent */
  --honey: #d6a23c;      /* secondary accent */
  --oxblood: #7a2436;    /* deep accent / CTA */
  --ink: #241512;        /* text on light */
  --ink-soft: #5a463d;   /* muted text on light */

  /* -- type -- */
  --font-display: "Bodoni Moda", "Didot", "Iowan Old Style", "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  --wrap: min(1180px, 92vw);
}

/* -- reset -- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; }

.wrap { width: var(--wrap); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--honey);
  color: var(--espresso);
  padding: 0.75em 1.2em;
  z-index: 100;
  font-family: var(--font-body);
  font-weight: 600;
}
.skip-link:focus {
  left: 1em;
  top: 1em;
}

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

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(36, 21, 18, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(244, 235, 221, 0.12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--bone);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.1rem);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--bone);
  text-decoration: none;
  opacity: 0.82;
  transition: opacity var(--m-dur-fast, 160ms) var(--m-ease-out, ease);
}
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }

.nav-book {
  border: 1px solid var(--honey);
  color: var(--honey) !important;
  padding: 0.5em 1em;
  border-radius: 999px;
  opacity: 1 !important;
}
.nav-book:hover { background: var(--honey); color: var(--espresso) !important; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--espresso);
  color: var(--bone);
  overflow: clip;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 100% at 72% 0%, rgba(214, 162, 60, 0.32), transparent 70%),
              radial-gradient(45% 80% at 20% 10%, rgba(122, 36, 54, 0.35), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-top: clamp(3.5rem, 9vw, 6.5rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 1.1rem;
}
.eyebrow-dark { color: var(--copper); }

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero-title em {
  font-style: italic;
  color: var(--copper);
}
.nowrap { white-space: nowrap; }

.hero-swoosh {
  width: min(560px, 100%);
  height: auto;
  margin: 1.6rem 0 1.4rem -0.5rem;
}

.hero-sub {
  max-width: 46ch;
  font-size: 1.05rem;
  color: rgba(250, 245, 236, 0.82);
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95em 1.8em;
  border-radius: 999px;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--copper);
  color: var(--bone);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--oxblood);
}
.btn-ghost {
  border-color: rgba(250, 245, 236, 0.4);
  color: var(--bone);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--bone);
  background: rgba(250, 245, 236, 0.08);
}
.btn-large { font-size: 1.05rem; padding: 1.05em 2.4em; }

/* ==========================================================================
   Sections shared
   ========================================================================== */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.section-title {
  font-size: clamp(2.1rem, 5.2vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.section-title-light { color: var(--bone); }

.section-lede {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 2.8rem;
}

/* ==========================================================================
   Menu
   ========================================================================== */

.section-menu { background: var(--chalk); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.2rem);
}

.menu-cat {
  font-style: italic;
  font-size: 1.5rem;
  color: var(--oxblood);
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--espresso);
}

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.62rem 0;
  border-bottom: 1px dotted rgba(36, 21, 18, 0.25);
}

.menu-list .item {
  font-size: 0.98rem;
}

.menu-list .leader {
  flex: 1;
}

.menu-list .price {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--copper);
  white-space: nowrap;
}

/* ==========================================================================
   Artists
   ========================================================================== */

.section-artists { background: var(--espresso); color: var(--bone); position: relative; }

/* -- Pinned stylist spotlight: the section's one pinned scroll moment.
   As the reader scrolls through the track, each stylist's avatar ring lights
   up and steps forward in turn, like flipping through a magazine's talent
   masthead one profile at a time. Base state (no support / reduced motion /
   no JS / narrow viewport) is simply the three cards laid out and fully
   readable, so nothing here is load-bearing for content. -- */
.artists-track { --m-pin-length: 280vh; }
.artists-pin {
  --m-pin-height: 100vh;
  position: relative;
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}

.artists-rail {
  position: relative;
  height: 2px;
  background: rgba(250, 245, 236, 0.16);
  margin: 2rem 0 clamp(2.5rem, 2rem + 2vw, 3.5rem);
}
.artists-rail .m-rail-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--honey), var(--copper), var(--oxblood));
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.artist-card {
  text-align: left;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 1rem;
  margin: -1rem;
}

.avatar {
  width: 100%;
  max-width: 220px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
}

.avatar-ground { stroke: rgba(250, 245, 236, 0.14); stroke-width: 1; }
.avatar--copper .avatar-ground { fill: var(--copper); }
.avatar--honey .avatar-ground { fill: var(--honey); }
.avatar--oxblood .avatar-ground { fill: var(--oxblood); }

/* Spotlight choreography: never dims the bio text (fails AA at a paused
   scroll position). Instead the active card's border lights up and its
   avatar steps forward slightly, transform + border-color only. */
@keyframes artist-spot-card {
  0%, 100% { transform: translate3d(0, 0, 0); border-color: transparent; }
  50%      { transform: translate3d(0, -6px, 0); border-color: var(--honey); }
}
@keyframes artist-spot-avatar {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .artist-card {
      animation: artist-spot-card linear both;
      animation-timeline: --m-pin;
    }
    .artist-card .avatar {
      animation: artist-spot-avatar linear both;
      animation-timeline: --m-pin;
    }
    .artist-card:nth-child(1), .artist-card:nth-child(1) .avatar { animation-range: contain 2% contain 34%; }
    .artist-card:nth-child(2), .artist-card:nth-child(2) .avatar { animation-range: contain 30% contain 62%; }
    .artist-card:nth-child(3), .artist-card:nth-child(3) .avatar { animation-range: contain 58% contain 90%; }
  }
}

/* Below 900px the pin is dropped: a plain stacked grid reads far better on
   a phone than a long pinned scroll track. */
@media (max-width: 900px) {
  .artists-track { min-height: 0 !important; }
  .artists-pin {
    position: static !important;
    min-height: 0 !important;
    display: block !important;
  }
  .artist-card, .artist-card .avatar {
    animation: none !important;
    transform: none !important;
    border-color: transparent !important;
  }
  .artists-rail { display: none; }
}

.avatar-initials {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 68px;
  letter-spacing: 0.02em;
  fill: var(--bone);
}
.avatar--honey .avatar-initials { fill: var(--espresso); }

.artist-name {
  font-size: 1.5rem;
  margin-bottom: 0.15rem;
}
.artist-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--honey);
  margin-bottom: 0.9rem;
}
.artist-bio {
  color: rgba(250, 245, 236, 0.78);
  font-size: 0.97rem;
  max-width: 34ch;
}

/* ==========================================================================
   Booking band
   ========================================================================== */

.section-book {
  position: relative;
  overflow: clip;
  background: var(--oxblood);
  color: var(--bone);
  text-align: center;
}
.book-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: clip;
}
.book-bg-img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 35%;
}
.book-bg-overlay {
  position: absolute;
  inset: 0;
  /* Espresso/copper tint over the editorial interior photo so it reads as
     this salon's palette rather than a raw full-saturation stock shot. */
  background: linear-gradient(120deg, rgba(122, 36, 54, 0.88) 0%, rgba(193, 96, 46, 0.82) 100%),
              rgba(36, 21, 18, 0.35);
}
.book-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.book-title {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 1.1rem;
}
.book-copy {
  max-width: 46ch;
  margin-bottom: 1.9rem;
  color: rgba(250, 245, 236, 0.88);
}
.book-copy code {
  font-family: var(--font-mono);
  background: rgba(36, 21, 18, 0.25);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}
.section-book .btn-primary {
  background: var(--espresso);
}
.section-book .btn-primary:hover, .section-book .btn-primary:focus-visible {
  background: var(--umber);
}
.book-fine {
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: rgba(250, 245, 236, 0.75);
}

/* ==========================================================================
   Visit / hours / contact
   ========================================================================== */

.section-visit { background: var(--chalk); }

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}

.visit-block .eyebrow { margin-bottom: 1.3rem; }

.hours-table { width: 100%; font-size: 0.98rem; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 0.5rem 0;
  border-bottom: 1px dotted rgba(36, 21, 18, 0.25);
  font-weight: 400;
}
.hours-table th {
  font-family: var(--font-mono);
  color: var(--oxblood);
  width: 4rem;
}

.location {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}
.location a { color: var(--copper); }

.visit-note { color: var(--ink-soft); font-size: 0.92rem; }

.contact-list { margin-bottom: 1.4rem; }
.contact-list li { padding: 0.35rem 0; }
.contact-list a { color: var(--oxblood); font-weight: 600; }
.muted { color: var(--ink-soft); font-weight: 400; font-size: 0.9rem; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--espresso);
  color: rgba(250, 245, 236, 0.65);
  padding: 2.2rem 0;
  font-size: 0.85rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}
.footer-disclaimer { max-width: 60ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .menu-grid, .artist-grid, .visit-grid {
    grid-template-columns: 1fr;
  }
  .menu-cat { margin-top: 0.5rem; }
}

@media (max-width: 640px) {
  .site-nav { gap: 0.9rem; font-size: 0.76rem; }
  .nav-book { padding: 0.45em 0.85em; }
  .hero-inner { padding-top: 3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .section { padding: 3rem 0; }
  .footer-row { flex-direction: column; }
}

/* Tap-target minimums (mobile a11y): interactive elements >= 40px tall */
.wordmark,
.site-nav a,
nav a,
address a,
.contact-list a,
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.site-nav a { padding-inline: 8px; justify-content: center; min-width: 40px; }
