/* ==========================================================
   Fern & Fable Hair
   Point of view: a quiet, tactile salon in Stokes Croft.
   Paper, sage and cream, with a single curl of hair (the
   "strand") that draws itself between sections.
   ========================================================== */

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

:root {
  /* Brand palette: sage dominant, rust as the one sharp accent */
  --primary:      #6E8268;
  --primary-mid:  #A3B39B;
  --primary-pale: #DCE3D2;
  --primary-dark: #3F4E3B;
  --primary-deep: #2C3729;
  --accent:       #A8482A;
  --accent-mid:   #8C3A20;

  /* Neutrals: warm cream paper */
  --bg:        #F3EDE1;
  --bg-deep:   #EAE2D0;
  --surface:   #FBF8F1;
  --border:    #D6CCB8;
  --text:      #2A2F27;
  --text-soft: #4E5549;
  --text-muted:#656A60;

  /* Typography */
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-body:    'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;
  --gutter:      clamp(1rem, 5vw, 2rem);
  --radius:      12px;
  --radius-lg:   24px;

  --ease-out: cubic-bezier(.22, .7, .2, 1);

  /* Paper grain, generated in SVG, no image files */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .22 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .93 0 0 0 0 .88 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--grain);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: clip;
}

main { flex: 1; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

::selection { background: var(--primary-pale); color: var(--primary-deep); }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--primary-deep);
  color: var(--bg);
  padding: .7rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--primary-deep);
}
h1 em { font-style: italic; color: var(--accent); }
h2 em, h3 em { font-style: italic; color: var(--primary-dark); }

.display { font-size: clamp(2.65rem, 8.6vw, 5.6rem); }
.h2      { font-size: clamp(2rem, 5vw, 3.25rem); }
.h3      { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; }

p { max-width: 62ch; }
p + p { margin-top: 1rem; }

.lede {
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--text-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.text-link {
  font-weight: 600;
  color: var(--primary-deep);
  text-decoration: underline;
  text-decoration-color: var(--primary-mid);
  text-decoration-thickness: 1.5px;
  text-underline-offset: .3em;
  transition: text-decoration-color .2s, color .2s;
}
.text-link:hover { color: var(--accent); text-decoration-color: var(--accent); text-decoration-style: wavy; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent { background: var(--accent); color: #FFFDF8; }
.btn--accent:hover { background: var(--accent-mid); }

.btn--line { border-color: var(--primary-dark); color: var(--primary-deep); background: transparent; }
.btn--line:hover { background: var(--primary-dark); color: var(--bg); }

.btn--cream { background: var(--bg); color: var(--primary-deep); }
.btn--cream:hover { background: var(--surface); }

.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header and navigation ---------- */

.top-sentinel {
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 12px;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--bg);
  background-image: var(--grain);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--border), 0 10px 30px -18px rgba(44, 55, 41, .35); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: 1rem;
  transition: padding .3s ease;
}
.site-header.scrolled .header-inner { padding-block: .65rem; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--primary-deep);
}
.brand-mark {
  width: 1.6rem;
  height: 2.1rem;
  color: var(--primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  transition: transform .4s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-8deg); }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand-name em { font-style: italic; color: var(--accent); }
.brand-name small {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.75rem;
  padding: .5rem .9rem;
  border: 1.5px solid var(--primary-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--primary-deep);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.nav-toggle:hover { background: var(--primary-dark); color: var(--bg); }
.nav-toggle-bars {
  position: relative;
  width: 1.1rem;
  height: .7rem;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after  { top: calc(100% - 1.5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: calc(50% - .75px); transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { top: calc(50% - .75px); transform: rotate(-45deg); }

/* Mobile menu panel (base, mobile first). Shown only with .is-open. */
.nav-links {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem var(--gutter) 1.75rem;
  background-color: var(--bg);
  background-image: var(--grain);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 24px 30px -24px rgba(44, 55, 41, .4);
}
.nav-links a {
  display: block;
  padding: .8rem 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a[aria-current="page"] {
  font-style: italic;
  color: var(--accent);
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 2rem);
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav-links a {
    padding: .35rem 0;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    border-bottom: 0;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 1.5px;
    text-underline-offset: .45em;
    transition: color .2s, text-decoration-color .2s;
  }
  .nav-links a:hover { color: var(--primary-deep); text-decoration-color: var(--primary-mid); }

  /* Current page: a wavy, curl-like underline */
  .nav-links a[aria-current="page"] {
    font-style: normal;
    color: var(--primary-deep);
    text-decoration-style: wavy;
    text-decoration-color: var(--accent);
  }

  .nav-links a.nav-cta {
    padding: .55rem 1.15rem;
    border: 1.5px solid var(--primary-dark);
    border-radius: 999px;
    text-decoration: none;
    transition: background .2s, color .2s;
  }
  .nav-links a.nav-cta:hover,
  .nav-links a.nav-cta[aria-current="page"] { background: var(--primary-dark); color: var(--bg); }
}

/* ---------- Load entrance (orchestrated, runs once) ---------- */

.d1 { --d: 0ms; }
.d2 { --d: 140ms; }
.d3 { --d: 280ms; }
.d4 { --d: 520ms; }
.d5 { --d: 760ms; }
.d6 { --d: 1000ms; }

.js [data-enter="fade"] {
  animation: enterFade .9s var(--ease-out) var(--d, 0ms) both;
}
.js [data-enter="rise"] {
  display: inline-block;
  animation: enterRise 1.05s var(--ease-out) var(--d, 0ms) both;
}
.js [data-enter="unveil"] {
  animation: enterUnveil 1.4s var(--ease-out) var(--d, 0ms) both;
}
.js [data-enter="unveil"] img {
  animation: enterSettle 1.8s var(--ease-out) var(--d, 0ms) both;
}
.js [data-enter="draw"] path {
  stroke-dasharray: 1;
  animation: enterDraw 2.2s cubic-bezier(.45, .05, .2, 1) var(--d, 0ms) both;
}

@keyframes enterFade   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes enterRise   { from { transform: translateY(108%); } to { transform: none; } }
@keyframes enterUnveil { from { clip-path: inset(100% -30% -30% -30%); } to { clip-path: inset(-30% -30% -30% -30%); } }
@keyframes enterSettle { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes enterDraw   { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.line {
  display: block;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}

/* ---------- Scroll reveals ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s var(--ease-out);
}
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- The strand (signature detail) ---------- */

.strand {
  width: 100%;
  height: auto;
  color: var(--primary);
  overflow: visible;
}
.strand path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.strand .strand-tip { stroke: var(--accent); }

.js .strand[data-draw] path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s cubic-bezier(.45, .05, .2, 1);
}
.js .strand[data-draw].drawn path { stroke-dashoffset: 0; }

.strand-divider {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.strand-divider .strand { max-width: 46rem; margin-inline: auto; }

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

.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem); }

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

.hero-copy .eyebrow { margin-bottom: 1.4rem; }
.hero-copy h1 { margin-bottom: 1.6rem; }
.hero-copy .lede { max-width: 34ch; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
  margin-top: 2rem;
}

.known-for {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.2rem;
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: .9rem;
  color: var(--text-soft);
}
.known-for li { display: inline-flex; align-items: center; gap: .5rem; }
.known-for li::before {
  content: "";
  width: .45rem; height: .45rem;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
}
.known-for strong { font-weight: 600; color: var(--primary-deep); }

/* Arched "mirror" photo frame */
.arch {
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: 3 / 4;
  justify-self: center;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--primary);
  box-shadow: 0 30px 60px -35px rgba(44, 55, 41, .55);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 50%;
  filter: grayscale(1) contrast(1.08) brightness(1.08);
  mix-blend-mode: multiply;
}
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain-light);
  pointer-events: none;
}

.hero-figure { display: grid; gap: .9rem; justify-items: center; }
.figure-note {
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--text-muted);
}

.hero-strand { margin-top: clamp(2rem, 5vw, 3.5rem); }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; }
  .hero-figure { justify-items: end; }
  .arch { justify-self: end; }
}

/* ---------- Sections and bands ---------- */

.section { padding-block: var(--section-pad); }
.section--snug { padding-block: calc(var(--section-pad) * .6); }

.band-paper {
  background-color: var(--bg-deep);
  background-image: var(--grain), radial-gradient(ellipse at 15% 0%, rgba(255, 255, 255, .55), transparent 60%);
}

.band-sage {
  background-color: var(--primary-dark);
  background-image: var(--grain-light), radial-gradient(ellipse at 85% 10%, rgba(163, 179, 155, .28), transparent 55%);
  color: var(--bg);
}
.band-sage h2, .band-sage h3 { color: var(--bg); }
.band-sage h2 em { color: var(--primary-pale); }
.band-sage .eyebrow { color: var(--primary-pale); }
.band-sage .lede, .band-sage p { color: #E4E0D3; }

.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head .lede { margin-top: 1rem; }

/* ---------- Alternating split panels ---------- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(4rem, 9vw, 8rem); }

.split-copy .eyebrow { margin-bottom: 1rem; }
.split-copy h2 { margin-bottom: 1.25rem; }
.split-copy .text-link { display: inline-block; margin-top: 1.5rem; }

.split-numeral {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: .5rem;
}

.split-visual {
  position: relative;
  min-height: 20rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .split { grid-template-columns: 6fr 5fr; }
  .split--flip { grid-template-columns: 5fr 6fr; }
  .split--flip .split-visual { order: -1; }
  .split-visual { min-height: 28rem; }
  .split--offset .split-copy { padding-top: 4rem; align-self: start; }
}

/* Coils panel (curly cuts) */
.coils {
  background-color: var(--primary-dark);
  background-image: var(--grain-light), radial-gradient(ellipse at 30% 20%, rgba(163, 179, 155, .35), transparent 60%);
  display: grid;
  place-items: center;
}
.coils svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.coils path {
  fill: none;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* Colour hanks panel (lived-in colour) */
.hanks {
  background-color: var(--surface);
  background-image: var(--grain), radial-gradient(ellipse at 50% 0%, rgba(220, 227, 210, .7), transparent 70%);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(.5rem, 2.2vw, 1.1rem);
  padding: 2.75rem 1.5rem 0;
}
.hanks::before {
  content: "";
  position: absolute;
  top: 2.4rem;
  left: 8%;
  right: 8%;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-dark);
}
.hank {
  position: relative;
  width: clamp(1.7rem, 6vw, 2.8rem);
  height: var(--h, 80%);
  min-height: 12rem;
  border-radius: 6px 6px 40% 40% / 6px 6px 18% 18%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, var(--root) 0%, var(--root) 14%, var(--mid) 48%, var(--end) 100%);
  box-shadow: inset -4px 0 8px rgba(0, 0, 0, .12);
  transform-origin: top center;
  transform: rotate(var(--r, 0deg));
}
.hank::before {
  content: "";
  position: absolute;
  top: -.55rem;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: transparent;
}
@media (min-width: 768px) { .hanks { padding-top: 3.5rem; } .hanks::before { top: 3.1rem; } }

/* Hover sway for the hanks, a small tactile touch */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hank { transition: transform .8s var(--ease-out); }
  .hanks:hover .hank { transform: rotate(calc(var(--r, 0deg) * -1.6)); }
}

/* ---------- Service menu (home) ---------- */

.menu { display: grid; gap: 2.5rem; }
.menu-head .eyebrow { margin-bottom: 1rem; }
.menu-head h2 { margin-bottom: 1.2rem; }
.menu-head .btn { margin-top: 1.6rem; }

.menu-list { list-style: none; border-top: 1px solid var(--border); }
.menu-item a {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  gap: .3rem 1rem;
  align-items: baseline;
  padding: 1.4rem .4rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: background .3s, padding .3s var(--ease-out);
}
.menu-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--accent);
}
.menu-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.55rem, 3.6vw, 2.3rem);
  line-height: 1.1;
  color: var(--primary-deep);
}
.menu-desc {
  grid-column: 2 / 4;
  font-size: .98rem;
  color: var(--text-soft);
  max-width: 48ch;
}
.menu-arrow {
  grid-column: 3;
  grid-row: 1;
  color: var(--primary);
  font-size: 1.2rem;
  transition: transform .3s var(--ease-out), color .2s;
}
.menu-item a:hover { background: rgba(220, 227, 210, .55); padding-left: 1rem; }
.menu-item a:hover .menu-arrow { transform: translateX(4px); color: var(--accent); }

@media (min-width: 1024px) {
  .menu { grid-template-columns: 4fr 7fr; gap: 5rem; }
  .menu-head { position: sticky; top: 7rem; align-self: start; }
}

/* ---------- Reviews note ---------- */

.reviews {
  display: grid;
  gap: 1rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.reviews h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.reviews p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--text-soft);
}
@media (min-width: 768px) {
  .reviews { grid-template-columns: 4fr 7fr; gap: 5rem; align-items: baseline; }
}

/* ---------- Booking band ---------- */

.book { display: grid; gap: 2.5rem; align-items: end; }
.book h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin-top: 1rem; }
.book-actions { display: grid; gap: 1.2rem; justify-items: start; }
.book-phone {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 300;
  color: var(--bg);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 237, 225, .4);
  transition: border-color .2s, color .2s;
}
.book-phone:hover { color: #FFFFFF; border-color: var(--bg); }
.book-email { font-size: .98rem; color: #E4E0D3; overflow-wrap: anywhere; }
.book-email span { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--primary-pale); }
@media (min-width: 768px) { .book { grid-template-columns: 7fr 5fr; gap: 4rem; } }

/* ---------- Inner page head ---------- */

.page-head {
  padding-block: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem);
}
.page-head .eyebrow { margin-bottom: 1.3rem; }
.page-head h1 { margin-bottom: 1.4rem; max-width: 14ch; }
.page-head .lede { max-width: 46ch; }
.page-head .strand { margin-top: clamp(2rem, 4vw, 3rem); max-width: 52rem; }

/* ---------- Services page ---------- */

.price-note {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.price-note .arch { width: min(100%, 17rem); justify-self: start; }
.price-note h2 { margin-bottom: 1rem; }
@media (min-width: 768px) {
  .price-note { grid-template-columns: 4fr 7fr; gap: 4rem; }
  .price-note .arch { justify-self: center; }
}

.service { padding-block: clamp(3.5rem, 7vw, 6rem); }
.services-list > .service:nth-child(even) {
  background-color: var(--bg-deep);
  background-image: var(--grain), radial-gradient(ellipse at 80% 0%, rgba(255, 255, 255, .5), transparent 60%);
}
.service-grid { display: grid; gap: 1.5rem 4rem; }
.service-title { display: grid; gap: .25rem; align-content: start; }
.service-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.6rem, 11vw, 7rem);
  line-height: .9;
  color: var(--primary-mid);
}
.service-title h2 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
.service-title .tag {
  margin-top: .75rem;
  justify-self: start;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-body .lede { color: var(--text); }
.good-for { margin-top: 1.8rem; }
.good-for h3 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: .7rem;
}
.good-for ul { list-style: none; display: grid; gap: .45rem; }
.good-for li { position: relative; padding-left: 1.6rem; color: var(--text-soft); }
.good-for li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .85rem;
  height: .5rem;
  border-left: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  border-radius: 0 0 0 .5rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-top: 2rem;
  max-width: 34rem;
  font-size: 1rem;
}
.price-row .leader { flex: 1; border-bottom: 1.5px dotted var(--text-muted); transform: translateY(-.25em); min-width: 1.5rem; }
.price-row strong { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: 1.2rem; color: var(--primary-deep); }
.service-body .text-link { display: inline-block; margin-top: 1.4rem; }

@media (min-width: 768px) {
  .service-grid { grid-template-columns: 5fr 7fr; }
  .services-list > .service:nth-child(even) .service-grid { grid-template-columns: 7fr 5fr; }
  .services-list > .service:nth-child(even) .service-title { order: 2; text-align: right; justify-items: end; }
  .services-list > .service:nth-child(even) .service-title .tag { justify-self: end; }
  .service-title { position: sticky; top: 6.5rem; align-self: start; }
}

/* ---------- Gallery ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.filter-btn {
  min-height: 2.75rem;
  padding: .55rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-soft);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--primary-dark); color: var(--primary-deep); }
.filter-btn[aria-pressed="true"] { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 10rem;
  grid-auto-flow: dense;
  gap: .75rem;
}
.tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  grid-row: span 2;
}
.tile[hidden] { display: none; }
.tile--wide { grid-column: span 2; }
.tile--short { grid-row: span 1; }
.tile-art {
  position: absolute;
  inset: 0;
  transition: transform .8s var(--ease-out);
}
.tile:hover .tile-art { transform: scale(1.04); }
.tile figcaption {
  position: absolute;
  left: .7rem;
  bottom: .7rem;
  max-width: calc(100% - 1.4rem);
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(251, 248, 241, .94);
  color: var(--primary-deep);
  font-size: .8rem;
  font-weight: 600;
}

/* Designed hair-tone artworks, standing in until salon photos arrive */
.art-curl {
  background:
    repeating-radial-gradient(circle at 30% 35%, rgba(255, 240, 220, .14) 0 1.5px, transparent 2px 13px),
    repeating-radial-gradient(circle at 75% 70%, rgba(255, 240, 220, .1) 0 1.5px, transparent 2px 11px),
    linear-gradient(160deg, #3A2A20, #6A4A33 60%, #8A6444);
}
.art-coil {
  background:
    repeating-radial-gradient(circle at 60% 30%, rgba(255, 255, 255, .1) 0 1.5px, transparent 2px 9px),
    repeating-radial-gradient(circle at 20% 80%, rgba(255, 255, 255, .08) 0 1.5px, transparent 2px 8px),
    linear-gradient(200deg, #1F1915, #3B2D24);
}
.art-honey {
  background:
    repeating-linear-gradient(97deg, rgba(255, 255, 255, .1) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #4E3828 0%, #7C5A3C 30%, #B98E5C 62%, #E6CC98 100%);
}
.art-copper {
  background:
    repeating-linear-gradient(80deg, rgba(255, 255, 255, .09) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #5B2E1C 0%, #93482A 40%, #C2703F 75%, #DB9B66 100%);
}
.art-ash {
  background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #5E544A 0%, #9C9184 38%, #CFC6B4 72%, #EDE7D9 100%);
}
.art-cocoa {
  background:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #2E211A 0%, #4B3426 50%, #7A5640 100%);
}
.art-gloss {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .28) 45%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #3E2E24, #5C4434 70%, #6D5240);
}
.art-wave {
  background:
    repeating-radial-gradient(ellipse at 50% -40%, rgba(255, 245, 225, .14) 0 2px, transparent 3px 22px),
    linear-gradient(180deg, #6B4C34 0%, #A57A50 55%, #D2AE7A 100%);
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 11rem; gap: 1rem; }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 12rem; }
}

.gallery-close {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 768px) { .gallery-close { grid-template-columns: 1fr auto; } }

/* ---------- About ---------- */

.place {
  background-color: var(--primary-pale);
  background-image: var(--grain), radial-gradient(circle at 70% 30%, rgba(255, 255, 255, .55), transparent 60%);
  display: grid;
  align-content: end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.place svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.place svg path { fill: none; stroke: var(--primary); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .6; }
.place-label {
  position: relative;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--primary-deep);
  background: var(--primary-pale);
  justify-self: start;
  padding: .5rem .8rem .6rem;
  border-radius: var(--radius);
}
.place-label em { display: block; font-style: italic; font-size: .5em; color: var(--accent); margin-top: .4rem; }

.who-list { list-style: none; margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.who-list li { padding-left: 1.2rem; border-left: 2px solid var(--primary-mid); }
.who-list strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--primary-deep); }
.who-list span { color: var(--text-soft); }

.two-chairs {
  background-color: var(--surface);
  background-image: var(--grain);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1.5rem, 6vw, 3.5rem);
  padding: 2rem 1.5rem 0;
}
.two-chairs svg { width: clamp(5.5rem, 22vw, 9rem); height: auto; }
.two-chairs path, .two-chairs rect, .two-chairs circle { fill: none; stroke: var(--primary-dark); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.two-chairs .floor { position: absolute; left: 0; right: 0; bottom: 0; height: 1.6rem; background: var(--bg-deep); border-top: 1px solid var(--border); }
.two-chairs svg { position: relative; margin-bottom: 1.6rem; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }

.details { list-style: none; display: grid; gap: 1.8rem; }
.details-label {
  display: block;
  margin-bottom: .3rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
.details-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 300;
  color: var(--primary-deep);
  overflow-wrap: anywhere;
}
a.details-value { text-decoration: none; border-bottom: 1px solid var(--primary-mid); transition: color .2s, border-color .2s; }
a.details-value:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn {
  margin-top: .6rem;
  min-height: 2.5rem;
  padding: .4rem 1rem;
  border: 1.5px solid var(--primary-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--primary-deep);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.copy-btn:hover { background: var(--primary-dark); color: var(--bg); }

.form-panel {
  background-color: var(--surface);
  background-image: var(--grain);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 3rem);
}
.form-panel h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .6rem; }
.form-panel > p { color: var(--text-soft); margin-bottom: 1.8rem; }

.form-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: .4rem; margin-bottom: 1.25rem; }
.field label { font-size: .95rem; font-weight: 600; color: var(--primary-deep); }
.field label span { font-weight: 400; color: var(--text-muted); }
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  padding: .85rem 1rem;
  border: 1.5px solid #BFB49E;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--primary); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
  background: #FFFDF8;
  box-shadow: 0 0 0 3px rgba(110, 130, 104, .35);
}
.form-small { font-size: .9rem; color: var(--text-muted); margin-top: 1rem; }

.thanks { padding-block: 1rem; }
.thanks:focus { outline: none; }
.thanks .strand { max-width: 18rem; margin-bottom: 1.5rem; }
.thanks h2 { margin-bottom: .8rem; }
.thanks p { color: var(--text-soft); }

/* ---------- Privacy ---------- */

.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 .8rem; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 1.2rem; margin-top: .8rem; display: grid; gap: .4rem; }
.prose a { color: var(--primary-deep); text-underline-offset: .25em; }
.prose a:hover { color: var(--accent); }

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

.site-footer {
  background-color: var(--primary-deep);
  background-image: var(--grain-light);
  color: #DCD8CA;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: .95rem;
}
.site-footer a { color: #F3EDE1; text-decoration-color: rgba(243, 237, 225, .35); text-underline-offset: .25em; transition: color .2s, text-decoration-color .2s; }
.site-footer a:hover { color: #FFFFFF; text-decoration-color: var(--primary-mid); }

.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .brand-name { color: var(--bg); font-size: 1.8rem; }
.footer-brand .brand-name em { color: #E08D68; }
.footer-brand p { margin-top: 1rem; max-width: 30ch; }
.footer-title {
  display: block;
  margin-bottom: .9rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--primary-mid);
}
.footer-links { list-style: none; display: grid; gap: .45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact p { max-width: none; overflow-wrap: anywhere; }
.footer-contact p + p { margin-top: .5rem; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 237, 225, .18);
  font-size: .85rem;
  color: #C9C6B8;
}
.footer-base p { max-width: none; margin: 0; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 5fr 3fr 4fr; gap: 3rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-enter],
  .js [data-enter] img,
  .js [data-enter] path { animation: none !important; }
  .js [data-enter="draw"] path,
  .js .strand[data-draw] path { stroke-dashoffset: 0 !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover, .tile-art, .tile:hover .tile-art { transform: none; transition: none; }
}

/* ==========================================================
   MOBILE NAV LOCK: must stay last in the stylesheet.
   Under 768px the links are hidden in every header state
   (top, sticky, .scrolled) until the toggle adds .is-open.
   ========================================================== */
@media (max-width: 767.98px) {
  .site-header .nav-links,
  .site-header.scrolled .nav-links,
  .site-header .site-nav .nav-links,
  .site-header.scrolled .site-nav .nav-links {
    display: none;
  }
  .site-header .site-nav .nav-links.is-open,
  .site-header.scrolled .site-nav .nav-links.is-open {
    display: flex;
  }
}
