/* ============================================
   GLOW SALON — Design Tokens
   Monochrome architectural luxury: black, charcoal, grey, off-white, white
   Type: Cormorant Garamond (editorial serif headlines) + Manrope (clean sans body/nav)
   Principle: luxury from space, typography, photography and restraint, not decoration
   ============================================ */

:root {
  --black: #111111;
  --charcoal: #2A2A2A;
  --mid-grey: #8A8A8A;
  --soft-grey: #E7E7E7;
  --off-white: #F7F7F5;
  --white: #FFFFFF;

  --font-display: "Cormorant Garamond", serif;
  --font-body: "Manrope", sans-serif;

  --container: 1240px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.65;
  font-weight: 400;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 0.3em 0;
  color: var(--black);
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.05; font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.15; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; color: var(--charcoal); }
p.lede { font-size: 1.15rem; color: var(--mid-grey); max-width: 52ch; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid-grey);
  display: block;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  border: 1px solid var(--black);
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--charcoal); }
.btn-secondary { background: transparent; color: var(--black); }
.btn-secondary:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 36px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 247, 245, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17,17,17,0.08);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 50px; width: auto; }
.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.86rem;
  letter-spacing: 0.3px;
  font-weight: 500;
}
.nav-links a { opacity: 0.75; transition: opacity 0.2s; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.nav-links a:hover, .nav-links a.active { opacity: 1; border-bottom-color: var(--black); }
.nav-cta { padding: 11px 22px; font-size: 0.82rem; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--black); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.15) 0%, rgba(17,17,17,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px 90px;
  width: 100%;
}
.hero-content .eyebrow { color: rgba(255,255,255,0.75); }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p.lede { color: rgba(255,255,255,0.85); margin-top: 18px; }
.hero .btn-secondary { border-color: var(--white); color: var(--white); }
.hero .btn-secondary:hover { background: var(--white); color: var(--black); }

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.section-tight { padding: 90px 0; }
.section-dark { background: var(--black); color: var(--off-white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(247,247,245,0.7); }
.section-dark .eyebrow { color: rgba(247,247,245,0.5); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ---------- Services grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(17,17,17,0.1);
  margin-top: 56px;
  border-top: 1px solid rgba(17,17,17,0.1);
}
.service-item {
  background: var(--off-white);
  padding: 44px 36px;
}
.service-item h3 { margin-bottom: 10px; }
.service-item p { color: var(--mid-grey); font-size: 0.95rem; margin: 0; }
.service-item .num { font-family: var(--font-display); font-size: 1rem; color: var(--mid-grey); display:block; margin-bottom: 20px; }

/* ---------- Standard / principles ---------- */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.principle-item h3 { font-size: 1.25rem; margin-bottom: 12px; }
.principle-item p { font-size: 0.92rem; }

/* ---------- Photo grid / gallery ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.photo-grid img, .photo-grid .ph { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .tall { grid-row: span 2; }
.ph {
  background: var(--soft-grey);
  aspect-ratio: 1/1;
}

/* ---------- Artists ---------- */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.artist-card img { aspect-ratio: 4/5; object-fit: cover; width: 100%; margin-bottom: 20px; }
.artist-card h3 { margin-bottom: 4px; }
.artist-card .role { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: var(--mid-grey); margin-bottom: 12px; display:block; }
.artist-card p { font-size: 0.92rem; color: var(--charcoal); }

/* ---------- CTA banner ---------- */
.cta-banner {
  text-align: center;
}
.cta-banner .eyebrow { justify-content:center; }
.cta-banner h2 { max-width: 20ch; margin-left:auto; margin-right:auto; }

/* ---------- Footer ---------- */
footer {
  background: var(--black);
  color: rgba(247,247,245,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-word {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 10px;
}
footer h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(247,247,245,0.5); margin-bottom: 18px; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
footer a { font-size: 0.9rem; opacity: 0.85; }
footer a:hover { opacity: 1; }
.footer-bottom {
  max-width: var(--container);
  margin: 60px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(247,247,245,0.12);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(247,247,245,0.45);
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 160px 0 70px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}
.page-header p.lede { margin: 18px auto 0; text-align: center; }

/* ---------- Booking form ---------- */
.book-form { display: flex; flex-direction: column; gap: 22px; max-width: 620px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.book-form label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--mid-grey); margin-bottom: 8px; display: block; }
.book-form input, .book-form select, .book-form textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(17,17,17,0.25);
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--black);
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-bottom-color: var(--black); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid rgba(17,17,17,0.12); padding: 26px 0; }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.faq-item p { color: var(--mid-grey); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .artist-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .service-grid, .principle-grid, .photo-grid, .artist-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 80px 0; }
  .hero { min-height: 80vh; }
}

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

/* Ember portfolio: unobtrusive back link, added on integration */
.ember-back { color: inherit; text-decoration: none; }
.ember-back:hover { text-decoration: underline; }
