/* ============================================================
   Gifted Hands Beauty Bar — landing page
   Premium salon aesthetic. Mobile-first.
   ============================================================ */

:root {
  --ink: #1a1410;
  --ink-soft: #4a4038;
  --cream: #faf6f1;
  --cream-2: #f3ece3;
  --gold: #c9a063;
  --gold-dark: #b08a4e;
  /* Accessible gold for text/links on light (cream/white) backgrounds — AA at small sizes */
  --gold-ink: #7d5f2c;
  --rose: #b9747a;
  --white: #ffffff;
  --shadow: 0 18px 40px -18px rgba(26, 20, 16, 0.35);
  --radius: 14px;
  --maxw: 1140px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  /* Single source of vertical section rhythm — consistent breathing room
     between every section. Bumped at the desktop breakpoint below. */
  --section-y: 4.5rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Section vertical rhythm ----------
   One consistent system, one source of truth (--section-y). The doubled
   class on .intro/.gallery (e.g. .intro.intro) raises specificity just
   enough to reliably beat the `.container { padding: 0 … }` shorthand they
   also carry — at every breakpoint — so every section boundary gets the
   same generous gap. */
.services,
.proof,
.intro.intro,
.gallery.gallery,
.visit {
  padding-block: var(--section-y);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; }

.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-ink);
  margin-bottom: 0.6rem;
}
.kicker--center { text-align: center; }

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.section-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0.8rem auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(201, 160, 99, 0.8);
}
.btn--gold:hover { background: var(--gold-dark); color: var(--ink); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--ghost-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost-dark:hover { background: var(--ink); color: var(--cream); }

.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 20, 16, 0.08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand__logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  border: 1px solid rgba(26, 20, 16, 0.08);
}
.brand__name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand__name small {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: 3px;
}
.brand__name--light { color: var(--cream); }
.brand__name--light small { color: var(--gold); }

.nav { display: none; gap: 1.8rem; }
.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.2s;
}
.nav a:hover { color: var(--gold-ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background-image: url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 4rem 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20, 14, 10, 0.82) 0%, rgba(20, 14, 10, 0.5) 55%, rgba(20, 14, 10, 0.25) 100%);
}
.hero__content { position: relative; max-width: 660px; }
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero__title {
  font-size: clamp(2.6rem, 9vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__sub {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__trust {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}
.stars { color: var(--gold); letter-spacing: 0.1em; }
.stars--lg { font-size: 1.4rem; }

/* ---------- Intro ---------- */
.intro {
  display: grid;
  gap: 2.5rem;
  padding-inline: 22px;
  align-items: center;
}
.intro__text h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  margin: 0.3rem 0 1rem;
}
.intro__text p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 540px; }
.intro__img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* cornrow braids from above — keep the crown framed */
  aspect-ratio: 4 / 5;
}

/* ---------- Services ---------- */
.services {
  background: var(--cream-2);
}
.cards {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  box-shadow: 0 12px 30px -22px rgba(26, 20, 16, 0.5);
  border: 1px solid rgba(26, 20, 16, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.9rem;
  color: var(--gold);
}
.card__icon svg { width: 100%; height: 100%; display: block; }
.card h3 { font-size: 1.45rem; margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card--cta {
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.card--cta h3 { color: var(--white); }
.card--cta p { color: rgba(255, 255, 255, 0.75); margin-bottom: 1.2rem; }

/* ---------- Proof ---------- */
.proof {
  background: var(--ink);
  color: var(--cream);
}
.proof__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
.proof__stat { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.proof__stat--link { transition: transform 0.2s ease; }
.proof__stat--link:hover { transform: translateY(-3px); }
.proof__stat--link:hover .proof__handle { text-decoration: underline; }
.proof__big {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.proof__label { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); letter-spacing: 0.02em; }
.proof__icon { color: var(--gold); margin-bottom: 0.4rem; }
.proof__handle { color: var(--gold); font-size: 0.9rem; }
.proof__handle:hover { text-decoration: underline; }
.proof__divider { display: none; width: 1px; height: 90px; background: rgba(255, 255, 255, 0.15); }

/* ---------- Gallery ---------- */
.gallery { padding-inline: 22px; }
.gallery__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.gallery__grid img {
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 12px 30px -22px rgba(26, 20, 16, 0.5);
}
/* Per-photo framing so faces/hair sit well inside the square crop. */
.gallery__grid img.g-1 { object-position: center; }     /* swirl cornrow pattern */
.gallery__grid img.g-2 { object-position: center 35%; } /* red hair from behind — keep crown */
.gallery__grid img.g-3 { object-position: center; }     /* new style */
.gallery__grid img.g-4 { object-position: center 30%; } /* side-profile tapered cut — keep head */

/* ---------- Visit ---------- */
.visit { background: var(--cream-2); }
.visit__inner { display: grid; gap: 2.5rem; }
.visit__info h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); margin: 0.3rem 0 1.4rem; }
.info-list { list-style: none; display: grid; gap: 1.2rem; margin-bottom: 1.8rem; }
.info-list li { display: grid; gap: 0.2rem; }
.info-list__label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold-ink);
}
.info-list a:hover { color: var(--gold-ink); }
.hours { color: var(--ink-soft); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.visit__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 3rem 0 1.5rem; }
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand-row { display: flex; align-items: center; gap: 0.7rem; }
.footer__logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
}
.footer__brand p { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; margin-top: 0.7rem; }
.footer__social { display: flex; gap: 0.7rem; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer__social a:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.footer__links a:hover { color: var(--gold); }
.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  gap: 0.7rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(250, 246, 241, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(26, 20, 16, 0.1);
  box-shadow: 0 -8px 24px -16px rgba(26, 20, 16, 0.4);
}
.mobile-cta .btn { flex: 1; }

/* add space so sticky bar doesn't cover footer on mobile */
.footer { padding-bottom: 6.5rem; }

/* ============================================================
   Breakpoints
   ============================================================ */

@media (min-width: 600px) {
  .gallery__grid { gap: 1.2rem; }
}

@media (min-width: 768px) {
  :root { --section-y: 7rem; }
  .nav { display: flex; }
  .intro { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .proof__inner { flex-direction: row; justify-content: center; gap: 3rem; }
  .proof__divider { display: block; }
  .gallery__grid { grid-template-columns: repeat(4, 1fr); }
  .visit__inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer__legal { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
  .footer { padding-bottom: 1.5rem; }
  .mobile-cta { display: none; }
}

@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .container { padding: 0 32px; }
  .intro, .gallery { padding-inline: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
