/* =====================================================================
   Glamz Unisex Salon — Patparganj Road, East Delhi
   OTLU Sites · Starter · one page

   Colour, in one place. Nothing below hard-codes a value.

   Where it comes from:
     The salon's logo has only ever existed on one field — a warm
     charcoal-taupe, with a marigold flame and a taupe profile on it, and
     white serif caps under it. That field is the light scheme. The dark
     scheme is a different dark: the espresso shadow between the timber
     battens of their own lattice ceiling. Two darks, designed as a pair,
     not one inverted.

     The accent is the marigold of the flame, sampled off the logo file,
     and it is the same honey that runs through every photograph — the
     ceiling, the slat wall, the reception front.
   ===================================================================== */

/* ── light: the field the logo lives on ─────────────────────────────── */
:root {
  --bg:           #4a4543;   /* the logo's charcoal-taupe field           */
  --surface:      #544e4b;   /* lifted — panels, the form                 */
  --sunken:       #3d3937;   /* recessed bands, the footer                */
  --ink:          #f6f1ea;   /* warm white — pulled in from #fff          */
  --muted:        #cec5bb;
  --line:         #635c58;
  --line-soft:    #565150;
  --accent:       #e09039;   /* the marigold of the flame                 */
  --accent-text:  #f0b26a;   /* lifted, so small accent text still passes */
  --accent-ink:   #2a2019;   /* what sits legibly on the accent           */
  --shade:        rgba(20, 15, 12, .34);
  color-scheme: dark;
}

/* ── dark: the shadow between the ceiling battens ───────────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #1b1510;
    --surface:     #251d17;
    --sunken:      #120e0a;
    --ink:         #e4dacc;
    --muted:       #a29584;
    --line:        #3a2e24;
    --line-soft:   #2d241c;
    --accent:      #f0a857;
    --accent-text: #f0a857;
    --accent-ink:  #1b1510;
    --shade:       rgba(0, 0, 0, .5);
  }
}

:root[data-theme="dark"] {
  --bg:          #1b1510;
  --surface:     #251d17;
  --sunken:      #120e0a;
  --ink:         #e4dacc;
  --muted:       #a29584;
  --line:        #3a2e24;
  --line-soft:   #2d241c;
  --accent:      #f0a857;
  --accent-text: #f0a857;
  --accent-ink:  #1b1510;
  --shade:       rgba(0, 0, 0, .5);
}

/* ── type ───────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/assets/fonts/mulish-var.woff2') format('woff2');
}

:root {
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --text:    'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wrap:    1180px;
  --gut:     clamp(1.25rem, 5vw, 3.5rem);
  --bar-h:   60px;
  --arch:    50% 50% 5px 5px / 31.25% 31.25% 5px 5px;   /* true semicircle on a 5:8 plate */
  --arch-seg: 50% 50% 5px 5px / 11% 11% 5px 5px;        /* shallow, for the wide plate    */
}
@media (min-width: 60rem) { :root { --bar-h: 74px; } }

/* ── reset-ish ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 350;
  line-height: 1.62;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .7rem 1.1rem; font-weight: 700; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

/* ── headings ───────────────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.008em;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 3.7rem);
  max-width: 15em;
}
h1 span { display: block; }
.h1__who {
  color: var(--accent);
  font-weight: 500;
}
.h1__where {
  font-family: var(--text);
  font-size: clamp(.76rem, 1.4vw, .85rem);
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-top: 1.35rem;
  line-height: 1.5;
  max-width: none;
}
.h1__where::before {
  content: "";
  display: inline-block;
  width: 9px; height: 13px;
  margin-right: .7rem;
  vertical-align: -1px;
  background: var(--accent);
  border-radius: 4.5px 4.5px 1px 1px / 4.5px 4.5px 1px 1px;   /* the arch, small */
}

h2 { font-size: clamp(1.95rem, 4.4vw, 3.15rem); max-width: 20ch; }
h3 { font-size: 1.06rem; font-family: var(--text); font-weight: 700;
     letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 9px; height: 13px;
  margin-right: .7rem;
  vertical-align: -1px;
  background: var(--accent);
  border-radius: 4.5px 4.5px 1px 1px / 4.5px 4.5px 1px 1px;   /* the arch, small */
}

.lede { font-size: clamp(1.04rem, 1.8vw, 1.18rem); color: var(--ink); max-width: 33em; }
.muted { color: var(--muted); font-size: .93rem; }
.note {
  color: var(--muted); font-size: .93rem; max-width: 62ch;
  border-top: 1px solid var(--line-soft); padding-top: 1.4rem; margin-top: 2.6rem;
}
.dot { color: var(--muted); padding-inline: .45rem; }

/* body links are underlined so they read as links without colour alone */
.note a, .room__text a, .score__words a, .book__words a, .visit a:not(.btn), .foot__facts a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: .22em;
  text-decoration-thickness: 1px;
}
.note a:hover, .room__text a:hover, .score__words a:hover,
.book__words a:hover, .visit a:not(.btn):hover, .foot__facts a:hover {
  color: var(--accent-text);
  text-decoration-color: var(--accent-text);
}
.quiet-link { color: var(--muted); text-decoration: underline;
              text-decoration-color: var(--line); text-underline-offset: .2em; }
.quiet-link:hover { color: var(--accent-text); text-decoration-color: var(--accent-text); }

/* ── buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .72rem 1.35rem;
  font-family: var(--text); font-size: .93rem; font-weight: 700;
  letter-spacing: .045em; text-decoration: none;
  border: 1px solid transparent; border-radius: 3px;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-text); border-color: var(--accent-text); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }

/* ── the bar ────────────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.bar__in {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gut);
  min-height: var(--bar-h);
  display: flex; align-items: center; gap: 1rem;
}

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none;
         margin-right: auto; min-height: 44px; }
.brand__mark { width: auto; height: 30px; }
.brand__name {
  font-family: var(--display); font-size: 1.32rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1;
}
.brand__sub {
  display: block; font-family: var(--text); font-size: .53rem; font-weight: 700;
  letter-spacing: .26em; color: var(--muted); margin-top: .28rem;
}

.nav__list { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.nav__list a {
  text-decoration: none; font-size: .85rem; font-weight: 600;
  letter-spacing: .055em; color: var(--muted);
  padding: .4rem 0; display: inline-block;
  border-bottom: 1px solid transparent;
}
.nav__list a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.bar__acts { display: flex; align-items: center; gap: .55rem; }
.btn--call { min-height: 40px; padding: .5rem 1rem; font-size: .84rem; }
.btn--call__short { display: none; }

.theme-toggle {
  appearance: none; -webkit-appearance: none;
  width: 44px; height: 44px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted); cursor: pointer;
  transition: color .16s ease, border-color .16s ease;
}
.theme-toggle:hover { color: var(--accent-text); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .t-moon { fill: currentColor; }
.theme-toggle .t-sun  { fill: currentColor; }
.theme-toggle .t-rays { stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; fill: none; }

/* which glyph shows depends on the scheme actually in force */
.t-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .t-moon { display: none; }
  :root:not([data-theme="light"]) .t-sun  { display: block; }
}
:root[data-theme="dark"] .t-moon { display: none; }
:root[data-theme="dark"] .t-sun  { display: block; }

.hamburger {
  display: none; width: 44px; height: 44px; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
  background: transparent; border: 1px solid var(--line); border-radius: 3px;
  cursor: pointer;
}
.hamburger span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; }
.hamburger[aria-expanded="true"] { border-color: var(--accent); }

@media (max-width: 63.99rem) {
  .hamburger { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 34px -22px var(--shade);
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .22s ease;
    visibility: hidden;
  }
  .nav[data-open="true"] { grid-template-rows: 1fr; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; overflow: hidden;
               padding-inline: var(--gut); }
  .nav__list li { border-bottom: 1px solid var(--line-soft); }
  .nav__list li:last-child { border-bottom: 0; }
  .nav__list a { display: block; padding: 1rem 0; font-size: 1rem; border-bottom: 0; }
  .bar__in { position: relative; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

@media (max-width: 26rem) {
  .btn--call__long { display: none; }
  .btn--call__short { display: inline; }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.1rem; letter-spacing: .09em; }
  .brand__mark { height: 26px; }
  .bar__in { gap: .6rem; }
  .bar__acts { gap: .35rem; }
}

/* ── plates: the arch, taken from their own mirrors ─────────────────── */
.plate { margin: 0; position: relative; }
.plate img {
  width: 100%; height: 100%; object-fit: cover;
  background: var(--surface);
  /* a hairline so a bright interior shot sits into the page rather than
     floating off it — it earns its keep in dark, where the photographs
     are the only light on the screen */
  box-shadow: 0 0 0 1px var(--line) inset, 0 18px 40px -28px var(--shade);
}
.plate--arch img { border-radius: var(--arch); }
.plate--seg  img { border-radius: var(--arch-seg); }
.plate figcaption {
  margin-top: .85rem; font-size: .82rem; color: var(--muted);
  letter-spacing: .02em;
}

/* ── hero ───────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(2.25rem, 5.5vw, 4rem) clamp(3rem, 8vw, 6rem); }
.hero__in { display: grid; gap: clamp(2.4rem, 5vw, 3.5rem); align-items: center; }
.hero__acts { display: flex; flex-wrap: wrap; gap: .7rem; margin: 2rem 0 1.4rem; }
.hero__meta { font-size: .9rem; color: var(--muted); margin: 0; }
.hero__meta strong { color: var(--ink); font-weight: 700; }
.hero__plate { max-width: 420px; margin-inline: auto; width: 100%; }
.hero__plate img { aspect-ratio: 5 / 8; }
.hero .lede { margin-top: 1.9rem; }

@media (min-width: 56rem) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); }
  .hero__plate { margin-inline: 0 0; justify-self: end; max-width: 27rem; }
}

/* ── bands ──────────────────────────────────────────────────────────── */
.band { padding-block: clamp(3.25rem, 8vw, 6rem); scroll-margin-top: calc(var(--bar-h) + 6px); }
.band--sunken { background: var(--sunken); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.band__head { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }

/* ── what they do ───────────────────────────────────────────────────── */
.menu { border-top: 1px solid var(--line-soft); }
.menu__row {
  display: grid; gap: .9rem 2.5rem;
  padding-block: clamp(1.7rem, 3.4vw, 2.6rem);
  border-bottom: 1px solid var(--line-soft);
}
.menu__group {
  font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 400; text-transform: none; letter-spacing: -.006em;
  color: var(--accent-text); line-height: 1.02;
}
.menu__items p { margin: 0 0 .62rem; color: var(--muted); font-size: 1.02rem; }
.menu__items p:last-child { margin-bottom: 0; }
.menu__items strong { color: var(--ink); font-weight: 700; }
.menu__items p:first-child { color: var(--ink); font-size: 1.18rem; line-height: 1.45; }

@media (min-width: 46rem) {
  .menu__row { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); align-items: start; }
}
@media (min-width: 64rem) {
  .menu__row { grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 1rem 4rem; }
  .menu__items { columns: 2; column-gap: 3.5rem; }
  .menu__items p { break-inside: avoid; }
}

/* ── the room ───────────────────────────────────────────────────────── */
.room__wide { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.room__wide img { aspect-ratio: 16 / 10; }
.room__body { display: grid; gap: clamp(2.2rem, 5vw, 3.5rem); }
.room__text p { max-width: 54ch; }
.room__cta { margin-top: 1.8rem; }
.room__plates { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 2.5vw, 1.4rem); align-items: start; }
.room__plates img { aspect-ratio: 5 / 8; }
.room__plate--drop { margin-top: clamp(1.5rem, 5vw, 3.25rem); }

@media (min-width: 56rem) {
  .room__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: start; }
}

/* ── the rating ─────────────────────────────────────────────────────── */
.score {
  display: grid; gap: 1rem 2.5rem; align-items: center;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(2rem, 4.5vw, 3rem);
}
.score__num {
  font-family: var(--display); font-size: clamp(4.5rem, 12vw, 7.5rem);
  font-weight: 300; line-height: .85; color: var(--accent); margin: 0;
  letter-spacing: -.03em;
}
.score__words p { color: var(--muted); max-width: 62ch; margin-top: .8rem; }
@media (min-width: 46rem) { .score { grid-template-columns: auto minmax(0, 1fr); } }

/* ── visit ──────────────────────────────────────────────────────────── */
.visit { display: grid; gap: clamp(2.2rem, 5vw, 3.5rem); }
.visit h3 { color: var(--accent-text); margin-bottom: .9rem; }
.visit h3 + h3 { margin-top: 2.4rem; }
.visit address { font-style: normal; font-size: 1.12rem; line-height: 1.55; margin-bottom: 1rem; }
.visit .muted { max-width: 44ch; margin-bottom: 1.4rem; }
.hours { font-size: 1.12rem; margin-bottom: 1rem; }
.hours strong { font-family: var(--display); font-size: 1.9rem; font-weight: 500; letter-spacing: -.01em; }
.visit__acts { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (min-width: 46rem) { .visit { grid-template-columns: 1fr 1fr; } }

/* ── the form ───────────────────────────────────────────────────────── */
.book { display: grid; gap: clamp(2.2rem, 5vw, 3.5rem); align-items: start; }
.book__words p { max-width: 46ch; }
.book__words h2 { margin-bottom: 1.2rem; }
@media (min-width: 56rem) { .book { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); } }

.enquiry {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px 26px 4px 4px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.enquiry__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__field { margin-bottom: 1.05rem; }
.enquiry label {
  display: block; font-size: .79rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .45rem;
}
.enquiry__optional { text-transform: none; letter-spacing: .02em; font-weight: 400; }
.enquiry input, .enquiry textarea {
  width: 100%; font-family: var(--text); font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 3px;
  padding: .72rem .85rem; min-height: 46px;
}
.enquiry textarea { resize: vertical; min-height: 108px; line-height: 1.5; }
.enquiry input::placeholder { color: var(--muted); opacity: .75; }
.enquiry input:focus, .enquiry textarea:focus { border-color: var(--accent); outline: none;
  box-shadow: 0 0 0 2px var(--accent-text); }
.enquiry button[type="submit"] {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  width: 100%; min-height: 50px; margin-top: .5rem;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid var(--accent); border-radius: 3px;
  font-family: var(--text); font-size: .95rem; font-weight: 800; letter-spacing: .06em;
  transition: background-color .16s ease;
}
.enquiry button[type="submit"]:hover { background: var(--accent-text); }
.enquiry button[type="submit"]:disabled { opacity: .6; cursor: default; }
.enquiry__done { color: var(--accent-text); font-weight: 600; margin: 0; }

/* ── footer ─────────────────────────────────────────────────────────── */
.foot { background: var(--sunken); border-top: 1px solid var(--line-soft);
        padding-block: clamp(2.75rem, 6vw, 4rem); }
.foot__in {
  display: grid; gap: 2rem;
  grid-template-areas: "brand" "nav" "facts" "legal" "credit";
}
.foot__brand { grid-area: brand; }
.foot__nav   { grid-area: nav; }
.foot__facts { grid-area: facts; }
.foot__legal { grid-area: legal; }
.built-by    { grid-area: credit; }

.foot__brand img { width: 124px; height: auto; opacity: .92; }
.foot__nav ul { list-style: none; margin: -.6rem 0 0; padding: 0;
                display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.foot__nav a { text-decoration: none; font-size: .85rem; font-weight: 600;
               letter-spacing: .05em; color: var(--muted);
               display: inline-flex; align-items: center; min-height: 44px; }
.foot__nav a:hover { color: var(--accent-text); }
.foot__facts { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.foot__facts a { display: inline-block; padding-block: .4rem; }
.foot__legal {
  font-size: .82rem; color: var(--muted); margin: 0;
  border-top: 1px solid var(--line-soft); padding-top: 1.7rem;
}

.built-by {
  display: inline-flex; align-items: center; gap: .55rem; justify-self: start;
  font-size: .72rem; letter-spacing: .06em; color: var(--muted);
  text-decoration: none; opacity: .62; transition: opacity .16s ease;
}
.built-by:hover { opacity: 1; }
.built-by img { width: 88px; height: auto; }

@media (min-width: 56rem) {
  .foot__in {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand nav   facts"
      "legal legal legal"
      "credit credit credit";
    gap: 2.4rem 3rem;
    align-items: start;
  }
  .foot__facts { text-align: right; }
  .foot__nav ul { justify-content: center; }
  .foot__legal { padding-top: 2rem; }
  .built-by { margin-top: -1.4rem; }
}

/* ── print ──────────────────────────────────────────────────────────
   A salon's timing and address get printed and stuck on a fridge, and a
   printed page with a navigation bar and a WhatsApp button on it looks
   careless. Everything reads the variables, so redefining the six is the
   whole job — including for a visitor printing from a dark machine, which
   is why all four :root selectors are listed.                            */
@media print {
  :root,
  :root:not([data-theme="light"]),
  :root[data-theme="dark"],
  :root[data-theme="light"] {
    --bg: #fff; --surface: #fff; --sunken: #fff;
    --ink: #000; --muted: #333;
    --line: #bbb; --line-soft: #ddd;
    --accent: #000; --accent-text: #000; --accent-ink: #fff;
    --shade: transparent;
    color-scheme: light;
  }

  .bar, .hamburger, .theme-toggle, .btn, .skip,
  .plate, .foot__nav, .foot__brand, .built-by,
  .visit__reach, .visit__acts, #book { display: none !important; }

  html, body { background: #fff; color: #000; }
  a { text-decoration: none; }
  .note a, .room__text a, .score__words a, .visit a, .foot__facts a { text-decoration: none; }

  body { font-size: 10.5pt; line-height: 1.45; }
  h1 { font-size: 22pt; } h2 { font-size: 15pt; } .menu__group { font-size: 14pt; }
  .score__num { font-size: 34pt; }
  .band, .hero { padding-block: .9rem; }
  .band__head { margin-bottom: 1rem; }
  .foot { padding-block: 1rem; border-top: 1px solid #bbb; }
  .room__body, .visit, .hero__in { display: block; }
  .lede, .room__text p, .note, .muted { max-width: none; }
  section, .menu__row, .score { break-inside: avoid; }
}
