:root {
  /* Colors from the K Hair Salon business card */
  --plum: #2f1b41;
  --plum-soft: #44295c;
  --pink: #d6337f;
  --pink-dark: #b2246a;
  --blush: #fbeef5;
  --orange: #f7a259;
  --gradient: linear-gradient(115deg, #52c5e8 0%, #8c6bd9 32%, #e0509a 66%, #f7a259 100%);
  --ink: #1d1d1b;
  --muted: #64625a;
  --line: #d9d7cf;
  --white: #ffffff;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; }

a { color: inherit; }
img { max-width: 100%; display: block; }
strong { font-weight: 600; }

.container {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}

.center { text-align: center; }

/* Pill buttons with circle arrow */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.3rem 0.3rem 0.3rem 1.75rem;
  background: var(--pink);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  font: 500 1rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.pill:hover { background: var(--pink-dark); }
.pill-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--pink);
  transition: transform 0.2s;
}
.pill:hover .pill-arrow { transform: translateX(3px); }
.pill-light { background: var(--white); color: var(--plum); }
.pill-light:hover { background: var(--blush); }
.pill-light .pill-arrow { background: var(--pink); color: var(--white); }
.pill-dark { background: var(--plum); }
.pill-dark:hover { background: var(--plum-soft); }
.pill-dark .pill-arrow { color: var(--plum); }

.pill-outline {
  display: inline-block;
  padding: 0.45rem 1.5rem;
  border: 1px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--plum);
  color: var(--white);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: var(--gradient);
}
.nav {
  display: flex;
  align-items: center;
  height: var(--header-h);
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  line-height: 1;
}
.logo-mark {
  font-size: 1.85rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 0.35rem;
  color: var(--orange);
}
.site-header .logo {
  padding-right: 2rem;
  height: 100%;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.nav-main { flex: 1; height: 100%; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.nav-links a {
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.95;
}
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-call {
  margin-left: 2rem;
  padding: 0.4rem 1rem;
  background: var(--white);
  color: var(--plum);
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-call span { padding-left: 0.6rem; margin-left: 0.5rem; border-left: 1px solid var(--plum); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: 1rem;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(47, 27, 65, 0.78), rgba(47, 27, 65, 0.35) 70%, rgba(214, 51, 127, 0.25));
}
.hero-inner { position: relative; padding: 4rem 0; }
.hero h1 { margin-bottom: 2rem; }
.hero-text { max-width: 380px; margin: 5rem 0 0; font-weight: 300; }

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.dark { background: var(--plum); color: var(--white); }

/* Services intro */
.intro {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.intro-label { margin: 0.4rem 0 0; color: var(--pink); font-weight: 600; }
.intro h2 { max-width: 420px; }
.intro-text { margin: 0; color: var(--muted); font-weight: 300; }
.intro-text strong { color: #45443e; }

/* Service image cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 2.5rem 2.5rem;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.3));
  transition: background 0.3s;
}
.card > * { position: relative; }
.card h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; }
.card:hover::before { background: rgba(0, 0, 0, 0.35); }
.card:hover .pill-outline { background: var(--white); color: var(--ink); }

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 1.5rem 0 clamp(3rem, 6vw, 5rem);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee ul {
  display: flex;
  gap: 4rem;
  padding: 0 2rem;
  margin: 0;
  list-style: none;
}
.marquee li {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.marquee li:nth-child(even) { font-weight: 300; font-style: italic; text-transform: none; letter-spacing: 0; color: var(--pink); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Cream band + full-width photo */
.band { background: var(--gradient); color: var(--white); }
.band-inner { text-align: center; padding: clamp(4rem, 9vw, 7.5rem) 0; }
.band-inner h2 { margin-bottom: 2.25rem; }
.band-image { width: 100%; height: clamp(280px, 40vw, 520px); object-fit: cover; }

/* Service menu */
#menu h2 { color: var(--plum); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.price-card {
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
}
.price-card h3 { font-size: 1.15rem; font-weight: 600; color: var(--plum); }
.price-card-wide { grid-column: span 2; }
.price-card-full { grid-column: 1 / -1; }
.price-card-full .service-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.price-card-full .service-list li { border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 1rem; }
.price-card-full .service-list li:last-child { border-bottom: 1px solid var(--line); }
.card-subhead { margin-top: 2rem; }
.card-note { margin: 1rem 0 0; color: var(--muted); font-size: 0.9rem; }
.price-list,
.service-list { list-style: none; padding: 0; margin: 0; }
.price-list li,
.service-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eeede8;
  font-size: 0.95rem;
  font-weight: 300;
}
.price-list li:last-child,
.service-list li:last-child { border-bottom: 0; }
.price-list small { color: var(--muted); }
.price-card-wide .price-list { columns: 2; column-gap: 2.5rem; }
.price-card-wide .price-list li { break-inside: avoid; }
.price-card-wide .price-list li:last-child { border-bottom: 1px solid #eeede8; }
.note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 2rem; }
.note a { color: var(--pink-dark); font-weight: 600; }

/* Story (plum) */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 7rem);
  align-items: center;
}
.story-image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-text p { font-weight: 300; }
.rating { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0 0.5rem; }
.rating-num { font-size: 4rem; font-weight: 500; line-height: 1; }
.stars { color: var(--orange); font-size: 1.5rem; letter-spacing: 0.1em; }
.story .pill { margin-top: 1.25rem; }

/* CTA */
.cta {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.cta p { margin: 0 0 0.5rem; }
.cta h2 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 2.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }

/* Booking */
.book {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}
.book-info h2 { max-width: 320px; margin-bottom: 1.75rem; }
.book-info p { color: var(--muted); font-weight: 300; max-width: 320px; }
.book-info a { text-decoration: none; color: var(--pink-dark); font-weight: 500; }
.book-info h3 { font-size: 1rem; font-weight: 600; margin: 2rem 0 1rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; flex: 1; }
.field-row { display: flex; gap: 12px; }
.field-narrow { flex: 0 0 34%; }
.field label { font-weight: 500; margin-bottom: 0.35rem; }
.field input,
.field select,
.field textarea {
  font: 400 1rem var(--sans);
  padding: 0.7rem 0.9rem;
  border: 1px solid #8a8a84;
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
}
.field textarea::placeholder { color: #8a8a84; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--pink); outline-offset: 0; border-color: var(--pink); }
.field .invalid { border-color: #b3261e; }
.book-form .pill { margin-top: 0.75rem; }
.form-status { margin: 1rem 0 0; min-height: 1.5em; }
.form-status.success { color: #2e6b3f; }
.form-status.error { color: #b3261e; }

/* Footer */
.site-footer {
  background: var(--plum);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  font-weight: 300;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 2rem;
}
.site-footer h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 1.25rem; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  text-align: right;
}
.footer-brand .logo-mark { font-size: 2.6rem; }
.footer-brand p { font-size: 0.9rem; text-transform: uppercase; }
.footer-brand .credit { margin-top: 0.4rem; font-size: 0.8rem; text-transform: none; opacity: 0.7; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-main { flex: 1; }
  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: auto;
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: var(--plum);
    border-right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 420px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
  .nav-links li { width: 100%; text-align: center; padding: 0.8rem 0; }
  .nav-call { margin-left: auto; }
  .site-header .logo { border-right: 0; padding-right: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .intro { grid-template-columns: 1fr 1fr; }
  .intro-label { grid-column: 1 / -1; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .intro,
  .story,
  .book,
  .footer-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { padding: 1.25rem; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card-wide { grid-column: auto; }
  .price-card-wide .price-list { columns: 1; }
  .hero-text { margin-top: 3rem; }
  .footer-brand { align-items: flex-start; text-align: left; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3; padding: 1.5rem; }
  .field-row { flex-direction: column; gap: 0; }
  .field-narrow { flex: 1; }
  .nav-call { display: none; }
  .nav-toggle { margin-left: auto; }
}
.footer-brand .credit a { text-decoration: underline; text-underline-offset: 3px; }
.footer-brand .credit a:hover { color: var(--orange); }
