/* ==========================================================================
   Gladys Beauty Salon — draft stylesheet
   Warm, photo-forward, mobile-first. No framework, no build step.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  --cream:      #faf6f1;
  --cream-2:    #f3ece3;
  --sand:       #e9ded1;
  --ink:        #2a221d;
  --ink-2:      #5d514a;
  --ink-3:      #8b7d73;
  --line:       #e0d5c8;
  --gold:       #b08343;
  --gold-deep:  #8d6631;
  --white:      #ffffff;

  --shadow-sm: 0 1px 2px rgba(42,34,29,.06), 0 4px 12px rgba(42,34,29,.05);
  --shadow-md: 0 8px 30px rgba(42,34,29,.10);
  --shadow-lg: 0 24px 60px rgba(42,34,29,.16);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --header-h: 74px;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* --- Type scale ----------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -.015em;
}
.h1 { font-size: clamp(2.6rem, 7.5vw, 5.2rem); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 1rem;
  display: block;
}
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }

/* --- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { max-width: 1500px; }
.section { padding-block: clamp(64px, 10vw, 130px); }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }
.section--sand { background: var(--cream-2); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ink .eyebrow { color: #d8b378; }
.section--ink .lede, .section--ink .muted { color: #c3b6ab; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.9em;
  font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--gold-deep); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--gold); color: var(--white); }
.btn--onphoto { background: rgba(250,246,241,.94); color: var(--ink); backdrop-filter: blur(6px); }
.btn--onphoto:hover { background: var(--white); }
.btn--sm { padding: .7em 1.3em; font-size: .74rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--gold-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: color .2s ease, gap .2s ease;
}
.textlink:hover { color: var(--ink); gap: .85em; }

/* --- Announcement bar ----------------------------------------------------- */
.announce {
  background: var(--ink); color: var(--cream);
  font-size: .8rem; letter-spacing: .06em; text-align: center;
  padding: .65rem var(--gut);
}
.announce a { color: #e5c48c; text-underline-offset: 3px; }
.announce[hidden] { display: none; }

/* --- Header --------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,246,241,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.header.is-stuck { border-bottom-color: var(--line); background: rgba(250,246,241,.96); }
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .01em; }
.brand__sub {
  font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 5px;
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  text-decoration: none; font-size: .78rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }
.header__cta { display: flex; align-items: center; gap: .75rem; }

.burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; align-items: center; justify-content: center;
}
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--ink);
  transition: transform .25s ease;
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 auto; top: calc(var(--header-h) + var(--announce-h, 0px));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gut) 1.75rem;
    transform: translateY(-140%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; letter-spacing: .1em; }
  .header__cta .btn { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,21,17,.82) 0%, rgba(28,21,17,.42) 42%, rgba(28,21,17,.18) 100%);
}
.hero__inner { position: relative; padding-block: clamp(48px, 9vw, 96px); color: #fff; width: 100%; }
.hero__eyebrow { color: #e8c894; }
.hero h1 { max-width: 15ch; text-wrap: balance; }
.hero h1 span { display: block; }
.hero__sub { margin-top: 1.4rem; max-width: 46ch; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

/* --- Badge strip ---------------------------------------------------------- */
.badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1rem, 4vw, 3.5rem);
  padding-block: 1.4rem; border-bottom: 1px solid var(--line);
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.badges span { display: inline-flex; align-items: center; gap: .55em; }
.badges span::before { content: ""; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

/* --- Split (image + text) ------------------------------------------------- */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-md); }
.split__body { max-width: 52ch; }

/* --- Service cards -------------------------------------------------------- */
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card {
  background: var(--white); text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.4rem 1.5rem 1.6rem; }
.card__title { font-family: var(--font-display); font-size: 1.55rem; }
.card__blurb { margin-top: .5rem; font-size: .93rem; color: var(--ink-2); }

/* --- Price list ----------------------------------------------------------- */
.pricelist { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.pricelist li {
  display: flex; align-items: baseline; gap: .75rem;
  padding: .6rem 0; border-bottom: 1px dotted var(--line);
  font-size: .95rem;
}
.pricelist li:last-child { border-bottom: 0; }
.pricelist .dots { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.pricelist .price { color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }

.service-block { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }

/* --- Gallery -------------------------------------------------------------- */
.masonry { columns: 1; column-gap: clamp(.75rem, 1.6vw, 1.25rem); }
@media (min-width: 560px) { .masonry { columns: 2; } }
@media (min-width: 900px) { .masonry { columns: 3; } }
@media (min-width: 1300px) { .masonry { columns: 4; } }
.masonry--home { columns: 2; }
@media (min-width: 900px) { .masonry--home { columns: 4; } }

.tile {
  break-inside: avoid; margin-bottom: clamp(.75rem, 1.6vw, 1.25rem);
  position: relative; display: block; width: 100%;
  padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden;
}
.tile img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.6,.2,1), filter .4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile__cap {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .8rem;
  background: linear-gradient(to top, rgba(28,21,17,.7), transparent);
  color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; text-align: left;
  opacity: 0; transition: opacity .3s ease;
}
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(22,17,14,.95); align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 1.4rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.lightbox__btn {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  width: 56px; height: 56px; font-size: 1.6rem; line-height: 1; opacity: .7; transition: opacity .2s;
}
.lightbox__btn:hover { opacity: 1; }
.lightbox__close { top: .5rem; right: .5rem; }
.lightbox__prev { left: .25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .25rem; top: 50%; transform: translateY(-50%); }

/* --- Testimonials --------------------------------------------------------- */
.quotes { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.quote { padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.2); }
.section--sand .quote { border-top-color: var(--line); }
.quote__stars { color: var(--gold); letter-spacing: .2em; font-size: .8rem; }
.quote__text { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.45; margin: .9rem 0 1.2rem; }
.quote__by { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.section--ink .quote__by { color: #a4968b; }

/* --- Hours / info panels -------------------------------------------------- */
.panels { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 800px) { .panels { grid-template-columns: repeat(3, 1fr); } }
.panel__title { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .9rem; }

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .93rem;
}
.section--ink .hours li { border-bottom-color: rgba(255,255,255,.14); }
.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--ink-2); }
.section--ink .hours .day { color: #c3b6ab; }
.hours li.is-today { font-weight: 500; }
.hours li.is-today .day { color: inherit; }
.hours li.is-today::after { content: "Today"; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); align-self: center; }

.infolist { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.infolist li { padding: .4rem 0; }
.infolist a { text-decoration: none; border-bottom: 1px solid var(--line); }
.infolist a:hover { border-bottom-color: currentColor; }

.map-embed { width: 100%; aspect-ratio: 16/10; border: 0; background: var(--sand); box-shadow: var(--shadow-sm); }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.cta-band__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* --- Team ----------------------------------------------------------------- */
.team { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.member img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-sm); }
.member__name { font-family: var(--font-display); font-size: 1.45rem; margin-top: 1rem; }
.member__role { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-top: .3rem; }
.member__bio { font-size: .93rem; color: var(--ink-2); margin-top: .7rem; }

/* --- Page header (inner pages) -------------------------------------------- */
.pagehead { padding-block: clamp(56px, 9vw, 110px) clamp(28px, 4vw, 48px); }
.pagehead .h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); max-width: 18ch; }

/* --- Forms ---------------------------------------------------------------- */
.field { display: block; margin-bottom: 1.1rem; }
.field > span {
  display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: .45rem;
}
.input, .textarea, .select {
  width: 100%; padding: .8rem .9rem; font: inherit; font-size: .97rem;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,131,67,.14);
}
.textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; gap: 0 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .field--full { grid-column: 1 / -1; } }

.notice {
  padding: .85rem 1rem; border-left: 3px solid var(--gold);
  background: var(--cream-2); font-size: .88rem; color: var(--ink-2);
}

/* --- Footer --------------------------------------------------------------- */
.footer { background: var(--ink); color: #c3b6ab; padding-block: clamp(48px, 7vw, 80px) 2rem; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--cream); }
.footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand .brand__name { color: var(--cream); font-size: 1.6rem; }
.footer__brand .brand__sub { color: #8b7d73; }
.footer h4 { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #8b7d73; margin-bottom: .9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.footer li { padding: .28rem 0; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .78rem; color: #8b7d73;
}

/* --- Reveal on scroll ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- Utility -------------------------------------------------------------- */
.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;
}
.draft-flag {
  position: fixed; left: 12px; bottom: 12px; z-index: 90;
  background: var(--ink); color: #e5c48c; font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; padding: .45rem .7rem; border-radius: 999px;
  box-shadow: var(--shadow-md); text-decoration: none; opacity: .82;
}
.draft-flag:hover { opacity: 1; }
