/* Taylor & Co Hair — 11 Church Gate, Loughborough.
 *
 * A salon sells a room and an hour of somebody's attention, so the page is
 * built the way the room is: pale, unhurried, and precise. The palette is the
 * bone and gold of their own wordmark; the type is a fine serif over a quiet
 * geometric sans — which is what their printed price list already does.
 *
 * The wordmark is live type in Cormorant SC, not an image: the only copy of
 * their mark we have is a small watermarked JPEG, and a brand asset that goes
 * soft at retina sizes reads as a copy of a salon rather than the salon. Real
 * small capitals in the same voice, sharp at any size, swappable for the
 * official artwork the day they hand it over.
 *
 * Photography arrives later. The ampersand — the one glyph that is genuinely
 * theirs — carries the visual weight until it does: oversized, ghosted, behind
 * the hero and the review wall. Nothing on the page is holding an empty seat
 * for an image. */

:root {
  --paper: #FAF7F2;
  --paper-2: #F3EEE5;
  --bone: #E9E1D5;
  --line: #E2D9CB;
  --line-soft: #EFE8DC;

  --ink: #241F1B;
  --ink-2: #2E2823;
  --ink-soft: #57504A;
  --muted: #8B8177;

  --gold: #B69A72;
  --gold-dk: #96794F;
  --gold-pale: #D9C6A8;

  --shadow: 0 1px 2px rgba(43,38,34,.04), 0 14px 34px -20px rgba(43,38,34,.25);

  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --caps: 'Cormorant SC', Georgia, serif;
  --body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1140px;
  --dock: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding-bottom: var(--dock);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 18px;
}
.skip:focus { left: 0; }

:where(a, button, input, summary):focus-visible {
  outline: 2px solid var(--gold-dk); outline-offset: 3px;
}

/* ---------- the wordmark, as live type ---------- */

.wordmark {
  font-family: var(--caps);
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--gold-dk);
  white-space: nowrap;
  line-height: 1;
}
.wordmark em { font-style: normal; color: var(--gold); }
.wordmark small {
  display: block; font-family: var(--body); font-weight: 300;
  font-size: 0.34em; letter-spacing: 0.62em; text-transform: uppercase;
  color: var(--muted); margin-top: 0.5em; text-indent: 0.62em;
}

/* ---------- small caps label ---------- */

.eyebrow {
  font-size: 11.5px; font-weight: 400; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--gold-dk);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--body); font-size: 13px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 32px; border: 1px solid transparent; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, letter-spacing .22s ease;
}
.btn:hover { letter-spacing: 0.22em; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--gold-dk); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-paper { border-color: rgba(250,247,242,.5); color: var(--paper); }
.btn-paper:hover { background: var(--paper); color: var(--ink); }

/* ---------- header ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner { display: flex; align-items: center; gap: 22px; min-height: 80px; }
.brand { margin-right: auto; text-decoration: none; }
.brand .wordmark { font-size: 23px; }
.brand .wordmark small { display: none; }
@media (max-width: 520px) { .brand .wordmark { font-size: 19px; } }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: 12.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft); padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold); transition: right .25s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { right: 0; }
@media (max-width: 880px) { .nav { display: none; } }
.topbar .btn { padding: 12px 22px; font-size: 12px; }
@media (max-width: 620px) { .topbar .btn-call { display: none; } }

/* ---------- status ---------- */

.status {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); flex: none; }
.status[data-open="yes"] .dot { background: #6E8F6A; box-shadow: 0 0 0 3px rgba(110,143,106,.16); }
.status[data-open="yes"] { color: #4F6B4C; }
.status[data-open="no"] .dot { background: var(--gold); }

/* ---------- hero ---------- */

.hero { padding: 108px 0 96px; text-align: center; position: relative; overflow: hidden; }
@media (max-width: 760px) { .hero { padding: 64px 0 58px; } }

/* Their ampersand, forty rem tall and barely there — the one glyph that is
   unmistakably this brand, doing the work a photograph will do later. */
.hero::before {
  content: "&";
  position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%);
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(22rem, 58vw, 44rem); line-height: 1;
  color: var(--gold); opacity: .07; pointer-events: none; user-select: none;
}
.hero::after {
  content: ""; position: absolute; inset: -20% 0 auto; height: 70%;
  background: radial-gradient(55% 100% at 50% 0%, rgba(182,154,114,.12), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero .wordmark { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }

.hero h1 {
  font-size: clamp(3.1rem, 8vw, 5.9rem);
  font-weight: 300; margin: 30px 0 0; letter-spacing: -0.005em;
}
.hero h1 em { font-style: italic; color: var(--gold-dk); }

.hero-lede {
  margin: 26px auto 0; max-width: 46ch;
  font-size: clamp(1.02rem, 2vw, 1.18rem); color: var(--ink-soft);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px;
}
.hero-status { margin-top: 30px; }

/* ---------- the services line ---------- */

.services-line {
  border-block: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
}
.services-line .wrap {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 0; align-items: baseline;
}
.services-line span {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--ink-2);
  white-space: nowrap;
}
.services-line i {
  font-style: normal; color: var(--gold); margin-inline: 1.1em;
  font-size: 0.75em;
}

/* ---------- editorial stat band ---------- */

.statband { padding: 84px 0; }
.statband .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
@media (max-width: 760px) { .statband .wrap { grid-template-columns: 1fr; } }
.stat {
  padding: 10px 40px; text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
@media (max-width: 760px) {
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 30px 10px; }
  .stat:first-child { border-top: 0; }
}
.stat .num {
  font-family: var(--display); font-weight: 300; line-height: 1;
  font-size: clamp(3.4rem, 7vw, 5rem); color: var(--ink);
  display: block;
}
.stat .num sup {
  font-size: 0.32em; color: var(--gold-dk); font-style: italic;
  vertical-align: super; margin-left: 2px;
}
.stat h3 {
  font-family: var(--body); font-weight: 400; font-size: 11.5px;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dk);
  margin: 18px 0 8px;
}
.stat p { font-size: 14.5px; color: var(--muted); max-width: 26ch; margin-inline: auto; }

/* ---------- sections ---------- */

.section { padding: 92px 0; }
.section-alt { background: var(--paper-2); }
@media (max-width: 760px) { .section { padding: 58px 0; } }

.section-head { text-align: center; max-width: 58ch; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); font-weight: 300; margin-top: 16px; }
.section-head h2 em { font-style: italic; color: var(--gold-dk); }
.section-head p { margin-top: 18px; color: var(--ink-soft); }

/* ---------- price list ---------- */

.pricecat { margin-bottom: 54px; }
.pricecat:last-child { margin-bottom: 0; }
.pricecat > h3 {
  font-size: 1.65rem; font-weight: 400; margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 16px;
}
.pricecat > h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.prow {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 26px;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.prow:last-child { border-bottom: 0; }
.prow dt { font-size: 1.06rem; font-weight: 400; color: var(--ink); }
.prow .meta {
  font-size: 12px; color: var(--muted); letter-spacing: 0.12em;
  text-transform: uppercase; margin-left: 10px; white-space: nowrap;
}
.prow dd {
  margin: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 500; line-height: 1.15;
  color: var(--ink); white-space: nowrap; text-align: right;
}
.prow dd small {
  display: block; font-family: var(--body); font-size: 10.5px; font-weight: 300;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.prow .note {
  grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft);
  max-width: 62ch; margin-top: 6px; line-height: 1.55;
}
.prow[hidden], .pricecat[hidden] { display: none; }

/* Home-page teaser: the same rows, split over two columns like a printed card. */
.teaser-grid { columns: 2; column-gap: 70px; max-width: 940px; margin-inline: auto; }
@media (max-width: 760px) { .teaser-grid { columns: 1; } }
.teaser-grid .prow { break-inside: avoid; }

/* ---------- the review wall ---------- */

.reviews {
  background: var(--ink); color: rgba(250,247,242,.85);
  padding: 100px 0; position: relative; overflow: hidden;
}
@media (max-width: 760px) { .reviews { padding: 64px 0; } }
.reviews::before {
  content: "&";
  position: absolute; right: -4%; bottom: -22%;
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 34rem; line-height: 1; color: var(--gold); opacity: .06;
  pointer-events: none; user-select: none;
}
.reviews .wrap { position: relative; z-index: 1; }
.reviews .section-head { margin-bottom: 60px; }
.reviews .section-head h2 { color: var(--paper); }
.reviews .section-head p { color: rgba(250,247,242,.6); }

.quotes { display: grid; gap: 44px 54px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; max-width: 56ch; margin-inline: auto; } }
.quote { position: relative; padding-top: 34px; }
.quote::before {
  content: "\201C";
  position: absolute; top: -6px; left: -6px;
  font-family: var(--display); font-size: 4.6rem; line-height: 1;
  color: var(--gold); opacity: .85;
}
.quote blockquote {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: 1.32rem; line-height: 1.45; color: var(--paper);
}
.quote figcaption {
  margin-top: 16px; font-size: 11.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold-pale);
}
.quote figcaption span { color: rgba(250,247,242,.45); letter-spacing: 0.14em; margin-left: 10px; }
.reviews .after {
  text-align: center; margin-top: 64px;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(250,247,242,.45);
}
.reviews .after a { color: var(--gold-pale); text-decoration: none; border-bottom: 1px solid rgba(217,198,168,.4); }
.reviews .after a:hover { color: #fff; }

/* ---------- policy notes ---------- */

.notes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 860px; margin-inline: auto; }
.note-card { border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; }
.note-card h3 {
  font-family: var(--body); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-dk); margin-bottom: 9px;
}
.note-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- visit ---------- */

.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; gap: 42px; } }
.visit-grid h2 { font-size: 2.3rem; font-weight: 300; margin: 16px 0 26px; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; font-weight: 300; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr[data-today] th, .hours tr[data-today] td { color: var(--gold-dk); font-weight: 500; }
.hours tr.shut td, .hours tr.shut th { color: var(--muted); }

.addr { font-style: normal; font-size: 1.08rem; line-height: 1.8; color: var(--ink-soft); }
.addr strong { color: var(--ink); font-weight: 400; font-family: var(--display); font-size: 1.35rem; }

.links { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.links a { text-decoration: none; display: inline-flex; align-items: center; gap: 11px; font-size: 15px; }
.links a:hover { color: var(--gold-dk); }
.links svg { width: 17px; height: 17px; color: var(--gold-dk); flex: none; }

/* ---------- footer ---------- */

.footer { background: var(--ink); color: rgba(250,247,242,.72); padding: 70px 0 42px; }
.footer a { color: rgba(250,247,242,.72); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer h3 {
  font-family: var(--body); font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px; font-weight: 400;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.footer-brand .wordmark { font-size: 21px; color: var(--gold-pale); margin-bottom: 18px; display: block; }
.footer-brand .wordmark small { color: rgba(250,247,242,.4); }
.footer-brand p { font-size: 15px; max-width: 32ch; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(233,225,213,.24);
  transition: border-color .2s ease;
}
.socials a:hover { border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; }

/* ---------- mobile dock ---------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(250,247,242,.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.dock .btn { flex: 1; padding: 14px 10px; }
@media (max-width: 880px) { .dock { display: flex; } body { --dock: 76px; } }

/* ---------- prices page ---------- */

.page-head { padding: 78px 0 54px; text-align: center; position: relative; overflow: hidden; }
.page-head::before {
  content: "&";
  position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 24rem; line-height: 1; color: var(--gold); opacity: .06;
  pointer-events: none; user-select: none;
}
.page-head > .wrap { position: relative; }
.page-head h1 { font-size: clamp(2.5rem, 6.2vw, 4.2rem); font-weight: 300; margin-top: 18px; }
.page-head p { margin: 20px auto 0; max-width: 52ch; color: var(--ink-soft); }

.filter { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 36px; }
.filter button {
  font-family: var(--body); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 18px; background: transparent; border: 1px solid var(--line);
  color: var(--ink-soft); cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.filter button:hover { border-color: var(--gold); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.empty { padding: 40px 0; text-align: center; color: var(--muted); }


/* ---------- mounted plates ----------
 * Two frames lifted out of a phone video the salon sent. The source is
 * 576x1024, so the display width is pinned to native/2 on desktop and native/3
 * on mobile and never more: 288x2 = 576 and 192x3 = 576, both exactly the
 * pixels we own. 289 would be an upscale, and at this size the softness of
 * phone footage simply is not visible — a small sharp mount reads as a
 * photograph placed on purpose, where the same frame bled full-width would
 * read as a broken one. */

/* ---------- the colour wall ----------
 * Six of the salon's own photographs from their Fresha gallery, 1170px at
 * source. Cards are 345 CSS px on desktop (690 device px at 2x, well inside
 * the native 1170) and never wider than 585 at 2x anywhere, so nothing on the
 * wall is ever upscaled. */

.wall-band { background: var(--paper-2); }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 999px) { .wall { grid-template-columns: 1fr 1fr; } }
@media (max-width: 699px) { .wall { grid-template-columns: 1fr; gap: 22px; } }
.wshot { margin: 0; }
.wshot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(43,38,34,.04), 0 18px 40px -28px rgba(43,38,34,.35);
  background: var(--paper);
}
.wshot figcaption {
  margin-top: 12px; font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
}

.plate { margin: 0; }
.plate img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(43,38,34,.04), 0 18px 40px -28px rgba(43,38,34,.35);
  background: var(--paper);
}
.plate figcaption {
  margin-top: 14px; font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
}
.plate-b img { width: 288px; }
@media (max-width: 999px) { .plate-b img { width: 240px; } }
@media (max-width: 699px) { .plate-b img { width: 192px; } }

/* The room plate sits alongside the address, so the visit grid takes a column. */
.visit-grid.has-plate { grid-template-columns: 288px 1fr 1fr; gap: 56px; }
@media (max-width: 1000px) { .visit-grid.has-plate { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px)  { .visit-grid.has-plate { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll ---------- */

/* Scoped to .js on purpose: with scripting off nothing ever adds .in, so an
   unscoped rule would hide the stats, the client quotes and the note-cards for
   good. No script, no hiding. */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
