/* FYRS Studio — pigment-and-stroke system */
:root {
  --stone: #E7E6E1;      /* page base: cool stone, like a consultation table */
  --paper: #F5F5F2;      /* raised panels */
  --ink: #2A2320;        /* ash-brown pigment, used for text */
  --ink-soft: #5D524C;   /* secondary text */
  --taupe: #8A6A5A;      /* brow pigment: links, buttons */
  --taupe-deep: #6E5245; /* hover / pressed */
  --line: #CDC9C2;       /* rules and borders */
  --wa: #1F7A55;         /* WhatsApp green, only on the booking bar */

  --display: "Gloock", "Georgia", serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: 2.375rem;
  --step-4: clamp(2.5rem, 6.4vw, 4.5rem);

  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--taupe-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
p { margin: 0 0 1em; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 40ch; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--stone) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); }
.brand b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.04em; }
.brand span { font-size: var(--step--1); color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 10px; border-radius: var(--radius); font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--paper); }
.nav .btn { margin-left: 8px; }
.nav a.btn, .nav a.btn:hover { color: var(--paper); background: var(--ink); border-radius: 999px; }
.nav a.btn:hover { background: var(--taupe-deep); }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 14px; font: inherit; color: var(--ink); cursor: pointer; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 12px 0 0; border-bottom: 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1px solid var(--ink); }
.btn:hover { background: var(--taupe-deep); border-color: var(--taupe-deep); color: var(--paper); }
.btn.quiet { background: transparent; color: var(--ink); }
.btn.quiet:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }
.hero .wrap > * { min-width: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-strokes { width: 100%; height: auto; color: var(--ink); }
.hero-strokes path { fill: none; stroke: currentColor; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .hero-strokes path { stroke-dasharray: 140; stroke-dashoffset: 140; animation: draw 1.6s cubic-bezier(.3,.6,.2,1) forwards; animation-delay: calc(var(--i) * 18ms); }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-strokes { max-width: 420px; order: -1; margin-bottom: 8px; }
}

/* Page header for inner pages */
.page-head { padding: clamp(36px, 6vw, 80px) 0 clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 18ch; }
.crumbs { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }

/* Sections */
section.band { padding: clamp(44px, 7vw, 96px) 0; }
section.band + section.band { border-top: 1px solid var(--line); }
.band.paper { background: var(--paper); }
.section-head { max-width: 46ch; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); }

/* Treatment index: each treatment is a row, not a card */
.treatments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.treatments li { border-bottom: 1px solid var(--line); }
.treatments a { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 10rem; gap: 24px; align-items: baseline; padding: 26px 0; text-decoration: none; color: var(--ink); }
.treatments a:hover .t-name { color: var(--taupe-deep); }
.t-name { font-family: var(--display); font-size: var(--step-2); line-height: 1.1; }
.t-desc { color: var(--ink-soft); margin: 0; }
.t-price { font-weight: 600; text-align: right; }
@media (max-width: 720px) { .t-price { text-align: left; } }
@media (max-width: 720px) {
  .treatments a { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
}

/* Pigment swatches — shade matching is part of the service */
.swatches { display: flex; flex-wrap: wrap; gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.swatches li { display: flex; align-items: center; gap: 10px; font-size: var(--step--1); color: var(--ink-soft); }
.swatches i { width: 28px; height: 28px; border-radius: 50%; display: inline-block; border: 1px solid rgba(42,35,32,.15); }

/* Media */
.media-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.media-row figure { margin: 0; min-width: 0; }
.media-row img, .media-row video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: #d9d6d0; }
.media-row figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 8px; }
@media (max-width: 720px) { .media-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .media-row figure:nth-child(3) { display: none; } }

/* Two-column service layout */
.service > * { min-width: 0; }
.service { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(36px, 5vw, 64px) 0; }
.service .prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.service .prose h2:first-child { margin-top: 0; }
.summary { position: sticky; top: 88px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.summary dl { margin: 0 0 20px; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 0.95rem; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; font-weight: 600; }
.summary .btn { width: 100%; }
.summary p { font-size: var(--step--1); color: var(--ink-soft); margin: 12px 0 0; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
}

/* Steps: a real sequence, so numbered */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--display); font-size: var(--step-2); line-height: 1; color: var(--taupe); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Comparison / price tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
table { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 460px; }
th, td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; border-bottom-color: var(--ink); }
td.price { white-space: nowrap; font-weight: 600; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 400; color: var(--taupe); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 16px; color: var(--ink-soft); max-width: var(--measure); }

/* Note box for things the owner must fill in */
.note { border-left: 3px solid var(--taupe); background: var(--paper); padding: 14px 18px; margin: 0 0 1.4em; font-size: 0.97rem; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(48px, 7vw, 88px) 0; }
.cta-band h2 { max-width: 20ch; }
.cta-band p { color: #CFC6C0; max-width: 52ch; }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn:hover { background: var(--stone); }
.cta-band a:not(.btn) { color: var(--paper); }

/* Footer */
.site-footer { padding: 48px 0 110px; font-size: 0.95rem; color: var(--ink-soft); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h3 { font-size: 1rem; color: var(--ink); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink-soft); }
.site-footer .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--step--1); }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* Mobile booking bar */
.book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: none; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.book-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; padding: 14px; border-radius: 999px; }
.book-bar svg { width: 20px; height: 20px; }
@media (max-width: 820px) { .book-bar { display: block; } }

/* Article */
.article { padding: clamp(36px, 5vw, 64px) 0; }
.article .prose h2 { font-size: var(--step-2); margin-top: 1.5em; }
.byline { color: var(--ink-soft); font-size: var(--step--1); }
