/* ============================================
   Ash Hair & Beauty — Stylesheet
   ============================================ */

:root {
  --black: #0d0d0d;
  --near-black: #161513;
  --cream: #f7f3ee;
  --cream-dark: #efe8de;
  --white: #ffffff;
  --gold: #c9a96a;
  --gold-dark: #b3914f;
  --text: #1f1d1b;
  --text-muted: #76706a;
  --text-on-dark-muted: rgba(255, 255, 255, 0.65);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-dark: rgba(13, 13, 13, 0.1);

  --font-display: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1200px;
  --header-h: 76px;
  --topbar-h: 40px;

  --radius: 10px;
  --transition: 0.25s ease;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 10px);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--black);
  padding: 10px 16px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
}

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.6rem;
}

.section-head__lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.8rem;
}

section {
  padding: 5.5rem 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--small {
  padding: 0.65rem 1.4rem;
  font-size: 0.85rem;
}

.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.btn--primary:hover {
  background: transparent;
  color: var(--gold);
}
.header .btn--primary:hover,
.hero .btn--primary:hover,
.footer .btn--primary:hover,
.mobile-cta .btn--primary:hover {
  color: var(--gold);
}

.btn--outline {
  border-color: var(--border-light);
  color: var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--outline-dark {
  border-color: var(--text);
  color: var(--text);
}
.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--dark {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}
.btn--dark:hover {
  background: transparent;
  color: var(--black);
}
.follow .btn--dark:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ---------- Brand mark ---------- */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  color: inherit;
}

.brand-mark__name {
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

.brand-mark__rule {
  display: block;
  background: currentColor;
  opacity: 0.45;
}

.brand-mark__sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
  white-space: nowrap;
}

/* small (header) — horizontal lockup */
.brand-mark--small .brand-mark__name {
  font-size: 1.5rem;
}
.brand-mark--small .brand-mark__rule {
  width: 1px;
  height: 22px;
}
.brand-mark--small .brand-mark__sub {
  font-size: 0.58rem;
}

/* stacked (hero / footer) — vertical lockup matching logo */
.brand-mark--stacked {
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}
.brand-mark--stacked .brand-mark__rule {
  width: 100%;
  height: 1px;
}
.brand-mark--hero .brand-mark__name {
  font-size: clamp(3.5rem, 14vw, 7.5rem);
}
.brand-mark--hero .brand-mark__rule {
  max-width: 320px;
  margin: 0 auto;
}
.brand-mark--hero .brand-mark__sub {
  font-size: clamp(0.85rem, 2vw, 1.2rem);
  letter-spacing: 0.45em;
}
.brand-mark--footer .brand-mark__name {
  font-size: 2.8rem;
}
.brand-mark--footer .brand-mark__rule {
  max-width: 160px;
  margin: 0 auto;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--black);
  color: var(--text-on-dark-muted);
  height: var(--topbar-h);
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.8rem;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition);
}
.topbar__item .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
a.topbar__item:hover {
  color: var(--white);
}

.topbar__status {
  margin-left: auto;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand-mark--small {
  color: var(--white);
  margin-right: auto;
}

.nav__list {
  display: flex;
  gap: 2.2rem;
}

.nav__list a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition);
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__list a:hover {
  color: var(--gold);
}
.nav__list a:hover::after {
  width: 100%;
}

.header__cta {
  margin-left: 0.5rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle .icon {
  width: 24px;
  height: 24px;
}
.nav-toggle .icon--close {
  display: none;
}
.nav-toggle.is-open .icon--menu {
  display: none;
}
.nav-toggle.is-open .icon--close {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - var(--topbar-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  padding: 6rem 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(201, 169, 106, 0.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201, 169, 106, 0.12), transparent 50%),
    linear-gradient(160deg, #050505 0%, #161513 60%, #0d0d0d 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 70px
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.hero__tagline {
  max-width: 540px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-on-dark-muted);
  margin-top: 1.8rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0.6;
  animation: bounce 2.4s infinite;
  z-index: 1;
}
.hero__scroll .icon {
  width: 26px;
  height: 26px;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- About ---------- */
.about {
  background: var(--cream);
}

.about__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__content h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.2rem;
}

.about__content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.4);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.3rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Services ---------- */
.services {
  background: var(--white);
}

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

.service-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.35);
}

.service-card__index {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.services__cta {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}

.services__cta p {
  max-width: 480px;
  color: var(--text-on-dark-muted);
}

.services__cta .btn--dark {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}
.services__cta .btn--dark:hover {
  background: transparent;
  color: var(--gold);
}

/* ---------- Why Us ---------- */
.why-us {
  background: var(--near-black);
  color: var(--white);
}

.why-us .eyebrow {
  color: var(--gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
}

.feature {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.icon--feature {
  width: 30px;
  height: 30px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
}

/* ---------- Follow / Instagram band ---------- */
.follow {
  background: var(--gold);
  color: var(--black);
}

.follow__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.follow .eyebrow {
  color: rgba(13, 13, 13, 0.55);
}

.follow h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.follow p {
  max-width: 480px;
}

/* ---------- Visit Us ---------- */
.visit {
  background: var(--cream);
}

.visit__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: stretch;
}

.info-block {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.info-block .icon {
  width: 24px;
  height: 24px;
  color: var(--gold-dark);
  margin-top: 0.2rem;
}

.info-block h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.info-block p,
.info-block a {
  color: var(--text-muted);
}
.info-block a:hover {
  color: var(--gold-dark);
}

.hours-table td {
  padding: 0.2rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.hours-table td:first-child {
  padding-right: 1.5rem;
  color: var(--text);
  font-weight: 500;
}

.visit__actions {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.social-row {
  display: flex;
  gap: 0.9rem;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-dark);
  color: var(--text);
  transition: all var(--transition);
}
.social-row a:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.footer .social-row a {
  border-color: var(--border-light);
  color: var(--white);
}
.footer .social-row a:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.visit__map {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.35);
}
.visit__map iframe {
  width: 100%;
  height: 100%;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--text-on-dark-muted);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 4.5rem 24px 3rem;
}

.footer__brand .brand-mark--footer {
  color: var(--white);
  justify-content: flex-start;
}
.footer__brand .brand-mark--footer .brand-mark__rule {
  margin-left: 0;
}

.footer__brand p {
  margin: 1.2rem 0 1.4rem;
  max-width: 280px;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer__col ul li {
  margin-bottom: 0.7rem;
}

.footer__col a:hover {
  color: var(--gold);
}

.hours-table--footer td {
  color: var(--text-on-dark-muted);
  font-size: 0.88rem;
}
.hours-table--footer td:first-child {
  color: var(--white);
  font-weight: 500;
}

.footer__bottom {
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--border-dark);
  padding: 0.7rem 1rem;
  gap: 0.7rem;
  box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, 0.3);
}
.mobile-cta .btn {
  flex: 1;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 80;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--black);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .visit__grid {
    grid-template-columns: 1fr;
  }
  .visit__map {
    min-height: 320px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
}

@media (max-width: 860px) {
  .topbar__item--addr {
    display: none;
  }
  .nav {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav.is-open {
    max-height: 320px;
  }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 24px 1.5rem;
  }
  .nav__list a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-light);
  }
  .header__cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .mobile-cta {
    display: flex;
  }
  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 640px) {
  section {
    padding: 4rem 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about__stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .services__cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .follow__inner {
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }
  .hero {
    padding: 4rem 0;
  }
}
