/* Andante Hair Studio — shared styles.
   Mobile-first. No framework.

   PHOTOS: every photo slot is a CSS background layered over a gradient, not an
   <img>. Drop a file into /photos with the right name and it appears; until
   then the gradient stands in and nothing looks broken. Names are listed in
   photos/README.md. */

:root {
  --cream: #f6f4f1;
  --cream-deep: #e9e5e0;
  --paper: #ffffff;
  --espresso: #121110;
  --espresso-soft: #1f1d1b;
  --ink: #171615;
  --ink-soft: #66625d;
  --brass: #b08d4f;
  --brass-deep: #8a6c37;
  --blush: #d9c3b0;
  --line: #e2ded8;
  --radius: 3px;
  --wrap: 1120px;
  --serif: "Cormorant Garamond", Cormorant, Garamond, Georgia, serif;
  --script: "Parisienne", "Snell Roundhand", "Apple Chancery", cursive;
  --sans: "Jost", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
}
h1 { font-size: 2.65rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.15em; }
a { color: var(--brass-deep); }

em { font-style: italic; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin: 0 0 1.1em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  max-width: 90px;
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(270deg, var(--line), transparent);
  max-width: 90px;
}

/* ---------- Header ---------- */

.site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding-top: 14px;
  padding-bottom: 14px;
}
/* The wordmark mirrors the awning at 3451 N Central: a flowing script over
   wide-tracked caps. */
.logo {
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  display: block;
  line-height: 1;
}
.logo-script {
  font-family: var(--script);
  font-size: 1.9rem;
  line-height: .95;
  display: block;
  color: inherit;
}
.logo-sub {
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
  padding-left: .28em;
  color: var(--ink-soft);
}

.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brass); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--brass-deep);
  background: var(--brass-deep);
  color: var(--paper);
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--espresso); border-color: var(--espresso); }
.btn-ghost { background: transparent; color: var(--brass-deep); }
.btn-ghost:hover { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.header-inner .btn { padding: 11px 20px; }

/* On phones the header must not eat the screen: the call button leaves the
   header and becomes a fixed bar at the bottom, where a thumb already is. */
@media (max-width: 900px) {
  /* backdrop-filter makes the header a containing block for fixed children,
     which would strand the call bar at the top of the header instead of the
     bottom of the viewport. Drop the filter at these widths. */
  .site-header { backdrop-filter: none; background: var(--paper); }
  .header-inner { gap: 6px; padding-top: 12px; padding-bottom: 10px; }
  .header-inner .logo { font-size: 1.35rem; white-space: nowrap; }
  .header-inner .nav { flex-basis: 100%; gap: 20px; }
  .header-inner .nav a { font-size: .68rem; letter-spacing: .12em; }
  .header-inner .btn {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    border-radius: 0;
    padding: 16px;
    font-size: .78rem;
    text-align: center;
    background: var(--espresso);
    border-color: var(--espresso);
    box-shadow: 0 -2px 18px rgba(18, 17, 16, .24);
  }
  body { padding-bottom: 58px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-color: var(--espresso);
  /* The storefront photo is bright daylight with a lot of sky, so the scrim is
     weighted to the left where the copy sits and eased off to the right so the
     awning and the sign stay readable. */
  background-image:
    linear-gradient(100deg, rgba(12,11,10,.94) 0%, rgba(12,11,10,.86) 34%, rgba(12,11,10,.58) 66%, rgba(12,11,10,.44) 100%),
    linear-gradient(180deg, rgba(12,11,10,.30) 0%, transparent 30%, rgba(12,11,10,.55) 100%),
    radial-gradient(120% 90% at 82% 12%, rgba(176,141,79,.20) 0%, transparent 60%),
    url("/photos/hero.jpg");
  background-size: cover, cover, cover, cover;
  background-position: center, center, center, center 62%;
  color: var(--cream);
  padding: 84px 0 88px;
  overflow: hidden;
}
.hero::after {
  /* fine grain so the flat areas are not dead flat */
  content: "";
  position: absolute;
  inset: 0;
  opacity: .5;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--blush); }
.hero .eyebrow::after, .hero .eyebrow::before { background: linear-gradient(90deg, rgba(217,195,176,.5), transparent); }
.hero h1 { color: var(--paper); max-width: 15ch; font-size: 3rem; }
.hero h1 em { color: var(--blush); }
.hero .lede { font-size: 1.08rem; color: #ddd3c8; max-width: 52ch; }
.hero .btn-ghost { color: var(--blush); border-color: rgba(217,195,176,.55); }
.hero .btn-ghost:hover { color: var(--espresso); background: var(--blush); border-color: var(--blush); }

.hero-meta {
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(217,195,176,.28);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  font-size: .9rem;
  color: #c6bab0;
}
.hero-meta strong { color: var(--paper); font-weight: 500; letter-spacing: .02em; }

/* Compact hero for interior pages */
.hero.slim { padding: 62px 0 64px; }
.hero.slim h1 { font-size: 2.5rem; max-width: 20ch; }

/* ---------- Sections ---------- */

section { padding: 66px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.split { display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.05fr .95fr; gap: 54px; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: 0 10px 34px rgba(18,17,16,.08); transform: translateY(-2px); }
section.alt .card { background: var(--cream); }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.card .mark {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--brass);
  margin-bottom: 20px;
}

.prose { max-width: 64ch; }
.prose h2 { margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }

.lead-in { font-size: 1.14rem; color: var(--ink-soft); max-width: 58ch; }

/* ---------- Photo slots ---------- */

/* Each slot is a rich espresso-and-brass field with the studio monogram set
   into it. With a real photo in /photos the image covers the field and the
   monogram sits under it, invisible. Without one it still reads as a designed
   panel rather than an empty box. */
.photo {
  position: relative;
  background-color: var(--espresso);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  min-height: 260px;
  overflow: hidden;
  isolation: isolate;
}
.photo::before {
  content: "A";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 6rem;
  color: rgba(217, 195, 176, .16);
  letter-spacing: .02em;
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 3px 3px;
}
.photo.tall { min-height: 420px; }
.photo.tall::before { font-size: 9rem; }

/* The tint layers must stay translucent: they sit above the photo, so anything
   opaque here hides the image entirely and you get the placeholder forever.
   With no file present the espresso background-color shows through instead. */
.photo-a { background-image: radial-gradient(110% 90% at 22% 12%, rgba(176,141,79,.16) 0%, transparent 62%), linear-gradient(150deg, rgba(43,36,30,.30) 0%, rgba(18,17,16,.42) 70%), url("/photos/salon-1.jpg"); }
.photo-b { background-image: radial-gradient(110% 90% at 78% 18%, rgba(217,195,176,.14) 0%, transparent 62%), linear-gradient(150deg, rgba(36,30,25,.28) 0%, rgba(18,17,16,.40) 70%), url("/photos/salon-2.jpg"); }
.photo-c { background-image: radial-gradient(110% 95% at 40% 88%, rgba(176,141,79,.16) 0%, transparent 64%), linear-gradient(150deg, rgba(46,39,33,.26) 0%, rgba(18,17,16,.40) 72%), url("/photos/salon-3.jpg"); }
.photo-d { background-image: radial-gradient(110% 90% at 85% 82%, rgba(217,195,176,.14) 0%, transparent 60%), linear-gradient(150deg, rgba(34,28,24,.28) 0%, rgba(18,17,16,.42) 70%), url("/photos/salon-4.jpg"); }

.photo-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.photo-strip .photo { min-height: 180px; }
@media (min-width: 720px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
  .photo-strip .photo { min-height: 240px; }
}

/* ---------- Quotes ---------- */

.quotes { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 26px;
  position: relative;
}
section.alt .quote { background: var(--cream); }
.quote p {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: .7em;
}
.quote .stars { color: var(--brass); letter-spacing: .18em; font-size: .82rem; margin-bottom: 14px; }
.quote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Facts / hours ---------- */

.facts { width: 100%; border-collapse: collapse; font-size: .97rem; max-width: 440px; }
.facts th, .facts td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-weight: 500; padding-right: 22px; white-space: nowrap; letter-spacing: .02em; }
.facts td { color: var(--ink-soft); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts tr.closed td { color: #a4988d; }

.note {
  font-size: .95rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--brass);
  padding: 4px 0 4px 18px;
  margin: 0 0 1.15em;
}

/* ---------- Dark strip ---------- */

.strip {
  background-color: var(--espresso);
  background-image:
    radial-gradient(100% 120% at 50% 0%, rgba(176,141,79,.30) 0%, transparent 62%);
  color: var(--cream);
  padding: 64px 0;
  text-align: center;
}
.strip h2 { color: var(--paper); }
.strip h2 em { color: var(--blush); }
.strip p { color: #cabfb5; max-width: 46ch; margin-left: auto; margin-right: auto; }
.strip .eyebrow { color: var(--blush); }
.strip .btn { background: var(--brass); border-color: var(--brass); color: var(--espresso); }
.strip .btn:hover { background: var(--blush); border-color: var(--blush); }
.strip .btn-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 52px 0 34px;
  font-size: .93rem;
  color: var(--ink-soft);
}
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.1em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--brass-deep); }
.footer-mark { display: block; color: var(--ink); margin-bottom: .9em; }
.footer-mark .logo-script { font-size: 2.1rem; }
.colophon {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: .78rem;
  letter-spacing: .02em;
  opacity: .85;
}

/* ---------- Map ---------- */

.map-frame {
  width: 100%;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
  filter: grayscale(.28) sepia(.10);
}

/* ---------- Type scale up ---------- */

@media (max-width: 600px) {
  h1, .hero h1 { font-size: 2.35rem; }
  h2 { font-size: 1.8rem; }
  .hero { padding: 60px 0 62px; }
  .hero.slim { padding: 48px 0 50px; }
  .hero.slim h1 { font-size: 2.1rem; }
  section { padding: 52px 0; }
}
@media (min-width: 1000px) {
  .hero h1 { font-size: 3.6rem; }
  h2 { font-size: 2.4rem; }
}
