/* EIGHT PERCENT HAIR SALON — verified listing site */

:root {
  --ink: #161411;
  --ink-soft: #2c2722;
  --ivory: #f7f2ea;
  --paper: #fdfbf7;
  --cream: #ebe4d6;
  --sand: #d8ccb8;
  --gold: #b8925a;
  --gold-bright: #d4b27a;
  --taupe: #7a6c5c;
  --muted: #5c5348;
  --line: rgba(22, 20, 17, 0.12);
  --glass: rgba(253, 251, 247, 0.72);
  --glass-dark: rgba(22, 20, 17, 0.55);
  --shadow: 0 18px 50px rgba(22, 20, 17, 0.1);
  --shadow-soft: 0 8px 24px rgba(22, 20, 17, 0.06);
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  --nav-h: 4.5rem;
  --claim-h: 2.5rem;
  --sticky-offset: calc(var(--claim-h) + var(--nav-h));
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 2px solid var(--gold);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sticky-offset) + 0.75rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10000;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: calc(var(--claim-h) + 0.5rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(247, 242, 234, 0.62);
}

.crumbs a {
  color: inherit;
  text-decoration: none;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--gold);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.7rem 0 1rem;
}

.lede {
  color: var(--muted);
  margin: 0;
  font-size: 1.075rem;
}

/* Claim bar */

.claim-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  min-height: var(--claim-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.4rem 1rem;
  background: var(--ink);
  color: var(--ivory);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.claim-bar a {
  color: var(--ink);
  background: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.claim-bar a:hover {
  background: #e2c58a;
  transform: translateY(-1px);
}

/* Header */

.site-header {
  position: sticky;
  top: var(--claim-h);
  z-index: 70;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--glass);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-text span {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ink);
  color: var(--ivory) !important;
  text-decoration: none;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-panel {
  display: contents;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.05rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(184, 146, 90, 0.28);
}

.btn-primary:hover {
  background: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247, 242, 234, 0.28);
}

.btn-ghost:hover {
  background: rgba(247, 242, 234, 0.08);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100svh - var(--sticky-offset));
  display: grid;
  align-items: end;
  overflow: hidden;
  overflow-x: clip;
  color: var(--ivory);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212, 178, 122, 0.22), transparent 55%),
    radial-gradient(900px 500px at 0% 100%, rgba(184, 146, 90, 0.16), transparent 50%),
    linear-gradient(165deg, #1c1915 0%, #161411 42%, #241e18 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 242, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 242, 234, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 95%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  width: min(52vw, 34rem);
  height: min(52vw, 34rem);
  right: -8%;
  top: 8%;
  border: 1px solid rgba(212, 178, 122, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(212, 178, 122, 0.12);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 6.5rem 0 4.5rem;
}

.hero-kicker {
  color: var(--gold-bright);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 1.1rem 0 1.4rem;
}

.hero h1 .slash {
  color: var(--gold-bright);
  font-weight: 400;
}

.hero-copy {
  max-width: min(36rem, 100%);
  color: rgba(247, 242, 234, 0.82);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  overflow-wrap: break-word;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(247, 242, 234, 0.16);
  background: rgba(253, 251, 247, 0.05);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* About */

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.about-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
}

.about-card dl {
  margin: 0;
  display: grid;
  gap: 1.05rem;
}

.about-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.2rem;
}

.about-card dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
}

.about p {
  color: var(--muted);
}

/* Services */

.services {
  background:
    linear-gradient(180deg, var(--ivory), #efe7d8);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem 1.45rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0.85rem 0 0.7rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* Local */

.local {
  background: var(--ink);
  color: var(--ivory);
}

.local .lede,
.local .section-head h2 {
  color: var(--ivory);
}

.local .lede {
  color: rgba(247, 242, 234, 0.72);
}

.local-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.local-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.local-points li {
  padding: 1.05rem 1.15rem;
  border-radius: 1rem;
  background: rgba(247, 242, 234, 0.05);
  border: 1px solid rgba(247, 242, 234, 0.08);
}

.local-points strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.local-points span {
  color: rgba(247, 242, 234, 0.7);
  font-size: 0.95rem;
}

/* FAQ */

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--ivory);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.3rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
}

/* Contact */

.contact {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.4rem;
}

.contact-panel,
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.8rem;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.95rem;
}

.hours th {
  text-align: left;
  font-weight: 500;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.hours td {
  text-align: right;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.map-wrap {
  min-height: 420px;
  position: relative;
  background: var(--cream);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.contact-actions {
  display: grid;
  gap: 0.65rem;
}

.contact-actions .btn {
  width: 100%;
}

/* Final CTA */

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(212, 178, 122, 0.2), transparent 60%),
    var(--ink);
  color: var(--ivory);
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0.8rem 0 1rem;
}

.final-cta p {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: rgba(247, 242, 234, 0.74);
}

.final-cta .btn-row {
  justify-content: center;
}

/* Footer */

.site-footer {
  background: #100e0c;
  color: rgba(247, 242, 234, 0.7);
  padding: 2.4rem 0 7.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: end;
}

.site-footer a {
  color: var(--ivory);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

/* Mobile sticky CTA */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 60;
  background: var(--glass-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 1.1rem;
  padding: 0.45rem;
  gap: 0.45rem;
  box-shadow: var(--shadow);
}

.mobile-cta a {
  flex: 1;
  min-height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ivory);
}

.mobile-cta a:first-child {
  background: var(--gold);
  color: var(--ink);
}

.mobile-cta a:last-child {
  background: transparent;
  border: 1px solid rgba(247, 242, 234, 0.2);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: fade-up 0.9s var(--ease) forwards;
}

.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.16s; }
.reveal-d3 { animation-delay: 0.24s; }
.reveal-d4 { animation-delay: 0.32s; }
.reveal-d5 { animation-delay: 0.4s; }

.scroll-reveal {
  opacity: 1;
  transform: none;
}

.js .scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .scroll-reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float-orb {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-orb {
  animation: float-orb 80s linear infinite;
}

/* Responsive */

@media (max-width: 900px) {
  .about-grid,
  .local-grid,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1.1rem;
  }

  .nav-panel.is-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.9rem;
    justify-content: center;
  }

  .mobile-cta {
    display: flex;
  }

  .site-footer {
    padding-bottom: 6.5rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.1rem 0;
  }

  .hero-inner {
    padding: 4.4rem 0 3.4rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .claim-bar {
    font-size: 0.75rem;
    text-align: center;
  }

  .brand-text {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .js .scroll-reveal {
    opacity: 1;
    transform: none;
  }
}
