/* =====================================================================
   Pinelight Studios — site styles
   Palette: forest-first. Greens and browns carry the design; blue, red
   and mustard are rare accents. ALL colours live in :root below.
   Photos are never filtered, tinted or overlaid.
   ===================================================================== */

:root {
  /* ---- Core: ~90% of the UI ---- */
  --color-forest-deep: #1F3328;  /* deep pine: header, footer, dark sections, photo frames */
  --color-forest:      #2F4F3A;  /* pine: brand colour, headings, primary buttons */
  --color-moss:        #6B8A55;  /* moss: secondary-button outlines, line motif, large text only */
  --color-sage:        #A7B89A;  /* sage: dividers, decoration; text only on dark green */
  --color-bark:        #4A3426;  /* dark bark: body text on light backgrounds */
  --color-wood:        #825838;  /* warm wood: card borders, small labels, error text.
                                    (Spec #8A5E3C darkened 6% so small text passes AA on --color-paper-alt) */
  --color-paper:       #F3ECDD;  /* cream paper: main background */
  --color-paper-alt:   #E6DCC6;  /* darker cream: alternating sections, cards */

  /* ---- Accents: sparingly ---- */
  --color-accent-blue:    #4BA3C7;  /* focus ring on dark, current-page dot, active filter dot */
  --color-accent-red:     #B5412F;  /* ONLY the header "Book a Session" button */
  --color-accent-mustard: #D9A441;  /* ONLY discount / FREE badges */

  /* ---- Derived tokens (mixed from the palette above) ---- */
  --text:             var(--color-bark);
  --text-muted:       color-mix(in srgb, var(--color-bark) 82%, var(--color-paper));      /* ≥5.1:1 on both creams */
  --heading:          var(--color-forest);
  --text-on-dark:     var(--color-paper);
  --text-muted-dark:  color-mix(in srgb, var(--color-paper) 80%, var(--color-forest-deep)); /* 7.9:1 on deep pine */
  --line:             var(--color-sage);
  --line-on-dark:     color-mix(in srgb, var(--color-paper) 22%, transparent);
  --focus:            var(--color-forest-deep);
  --focus-on-dark:    var(--color-accent-blue);
  --cta-hover:        color-mix(in srgb, var(--color-accent-red) 82%, var(--color-forest-deep));
  --shadow-flat:      6px 6px 0 var(--color-forest-deep);
  --shadow-flat-lift: 9px 12px 0 var(--color-forest-deep);
  --stripe-moss:      color-mix(in srgb, var(--color-moss) 22%, transparent);
  --stripe-sage:      color-mix(in srgb, var(--color-sage) 40%, transparent);
  /* Faint paper fibre texture (inline SVG, <1KB): deep-pine speckles at ~4% opacity */
  --paper-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .2 0 0 0 0 .16 0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%234A3426' stroke-width='2.5' fill='none'/%3E%3C/svg%3E");

  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --card-border: 3px solid var(--color-wood);
  --frame: 3px solid var(--color-forest-deep);
  --gutter: 16px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  color-scheme: light;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--color-paper); }
body {
  margin: 0;
  background-color: var(--color-paper);
  background-image: var(--paper-texture);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 1.05rem + 0.25vw, 1.1875rem); /* 18px → 19px */
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--color-forest); text-underline-offset: 0.2em; text-decoration-thickness: 1.5px; text-decoration-color: var(--color-moss); }
a:hover { color: var(--color-forest-deep); text-decoration-color: currentColor; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.005em;
  margin: 0 0 0.5em;
  color: var(--heading);
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.6rem, 1.8rem + 4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem); }
h3 { font-size: clamp(1.6rem, 1.4rem + 0.8vw, 2rem); font-weight: 700; }
h4 { font-size: 1.35rem; font-weight: 700; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-wood);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 2.5em; height: 2px; background: var(--color-moss); }
.lead { font-size: 1.2em; color: var(--text-muted); max-width: 40em; }
.muted { color: var(--text-muted); }
.small { font-size: 0.92em; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--color-paper); color: var(--color-forest-deep); padding: 12px 18px; border-radius: var(--radius);
  border: var(--frame); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible, .site-footer :focus-visible, .section--dark :focus-visible, .lightbox :focus-visible { outline-color: var(--focus-on-dark); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.section--raised { background-color: var(--color-paper-alt); background-image: var(--paper-texture); border-block: 2px solid var(--line); }
/* Deep-pine band (testimonials, FAQ, help) */
.section--dark { background: var(--color-forest-deep); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark .lead, .section--dark .muted { color: var(--text-muted-dark); }
.section--dark .eyebrow { color: var(--color-sage); }
.section--dark .eyebrow::before { background: var(--color-sage); }
.section--dark a:not(.btn) { color: var(--color-sage); text-decoration-color: currentColor; }
.section--dark a:not(.btn):hover { color: var(--text-on-dark); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head.center { margin-inline: auto; }
.grid-2 { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Buttons ---------- */
/* Secondary (default): moss outline, pine text */
.btn {
  --btn-bg: transparent; --btn-fg: var(--color-forest); --btn-border: var(--color-moss);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0.7em 1.5em;
  font: 700 1rem/1.2 var(--font-sans); letter-spacing: 0.02em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2.5px solid var(--btn-border); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { --btn-bg: var(--color-forest); --btn-fg: var(--color-paper); --btn-border: var(--color-forest); color: var(--btn-fg); transform: translateY(-2px); }
/* Primary: pine green with cream text and a flat shadow */
.btn--primary { --btn-bg: var(--color-forest); --btn-fg: var(--color-paper); --btn-border: var(--color-forest-deep); box-shadow: 3px 3px 0 var(--color-forest-deep); }
.btn--primary:hover, .btn--primary:active { --btn-bg: var(--color-forest-deep); --btn-fg: var(--color-paper); --btn-border: var(--color-forest-deep); box-shadow: 5px 6px 0 var(--color-moss); }
/* The one red call to action (header "Book a Session") */
.btn--cta { --btn-bg: var(--color-accent-red); --btn-fg: var(--color-paper); --btn-border: var(--color-paper); }
.btn--cta:hover, .btn--cta:active, .btn--cta[aria-current="page"] { --btn-bg: var(--cta-hover); --btn-fg: var(--color-paper); --btn-border: var(--color-paper); }
/* On deep-pine backgrounds */
.section--dark .btn, .site-footer .btn, .site-nav .btn { --btn-fg: var(--color-paper); --btn-border: var(--color-sage); }
.section--dark .btn:hover, .site-footer .btn:hover, .site-nav .btn:hover { --btn-bg: var(--color-paper); --btn-fg: var(--color-forest-deep); --btn-border: var(--color-paper); }
.section--dark .btn--primary, .site-footer .btn--primary, .site-nav .btn--primary { --btn-bg: var(--color-paper); --btn-fg: var(--color-forest-deep); --btn-border: var(--color-paper); box-shadow: none; }
.section--dark .btn--primary:hover, .site-footer .btn--primary:hover, .site-nav .btn--primary:hover { --btn-bg: var(--color-sage); --btn-fg: var(--color-forest-deep); --btn-border: var(--color-sage); box-shadow: none; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Text links only shown on phones/tablets (sms:) */
@media (hover: hover) and (pointer: fine) { .sms-only { display: none !important; } }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--color-forest-deep); color: var(--text-on-dark);
  border-bottom: 3px solid var(--color-moss);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1;
  color: var(--text-on-dark); text-decoration: none; margin-right: auto;
  display: inline-flex; align-items: center; min-height: 44px;
}
.brand:hover { color: var(--text-on-dark); }
/* Wordmark: "Pinelight" in the heading serif, "Studios" in italic sage */
.wordmark { font-family: var(--font-serif); font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.wordmark-sub { font-weight: 500; font-style: italic; color: var(--color-sage); }
.brand:hover .wordmark-sub { color: var(--text-on-dark); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav-list a {
  display: flex; align-items: center; min-height: 44px; padding: 0.4em 0.8em;
  color: var(--text-on-dark); text-decoration: none; font-size: 1rem; font-weight: 500;
  border-radius: var(--radius); position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0.8em; right: 0.8em; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--color-sage); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a:hover { color: var(--text-on-dark); }
.nav-list a[aria-current="page"] { color: var(--color-sage); font-weight: 700; }
/* Current page: one tiny blue dot */
.nav-list a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-blue); margin-right: 0.45em; }
.header-book { white-space: nowrap; gap: 0.3em; }
.nav-book { display: none; }
.menu-toggle {
  display: none; align-items: center; gap: 0.55em;
  min-height: 48px; padding: 0.5em 1em;
  background: transparent; color: var(--text-on-dark);
  border: 2.5px solid var(--color-sage); border-radius: 999px;
  font: 700 1rem var(--font-sans); cursor: pointer;
}
.menu-toggle:hover { border-color: var(--text-on-dark); }
.menu-icon { width: 18px; height: 12px; position: relative; }
.menu-icon span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.menu-icon span:nth-child(1) { top: 0; } .menu-icon span:nth-child(2) { top: 5px; } .menu-icon span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1059px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-forest-deep); border-bottom: 3px solid var(--color-moss);
    padding: 0.5rem var(--gutter) 1.5rem;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .js .site-nav[hidden] { display: none; }
  .js .nav-list { flex-direction: column; gap: 0; }
  .js .nav-list a { font-size: 1.2rem; min-height: 56px; border-bottom: 1px solid var(--line-on-dark); border-radius: 0; padding-inline: 0.25em; }
  .js .nav-list a::after { display: none; }
  .js .nav-book { display: flex; margin-top: 1.25rem; }
  /* No-JS fallback: nav wraps under the brand */
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.5rem; }
  html:not(.js) .site-nav { order: 3; width: 100%; }
  html:not(.js) .nav-list { flex-wrap: wrap; }
}
@media (min-width: 1060px) { .site-nav[hidden] { display: block; } }
@media (max-width: 479px) {
  .brand { font-size: 1.3rem; }
  .header-book { padding-inline: 1em; }
  .header-inner { gap: 0.5rem; }
  .menu-toggle { padding-inline: 0.85em; }
}
@media (max-width: 479px) { .header-book .long { display: none; } }
@media (max-width: 379px) { .brand .wordmark-sub { display: none; } }

/* ---------- Stripe / line motif (moss + sage, low opacity) ---------- */
.stripes {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(115deg,
    transparent 0 14px, var(--stripe-moss) 14px 16px,
    transparent 16px 30px, var(--stripe-sage) 30px 32px);
  /* Static on purpose: animating thin lines behind text made them shimmer/flicker. */
}
.stripes--soft { opacity: 0.7; }
.stripe-rule {
  position: relative; overflow: hidden;
  height: 16px; border: 0; margin: 0;
  opacity: 0.55;
  mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}
/* The animated line motif: slides one whole pixel at a time on its own layer, so it never shimmers */
.stripe-rule::before {
  content: ""; position: absolute; inset: 0 0 0 -22px;
  background-image: repeating-linear-gradient(90deg, var(--color-moss) 0 2px, transparent 2px 11px, var(--color-sage) 11px 13px, transparent 13px 22px);
  will-change: transform;
  animation: rule-slide 4.4s steps(22) infinite;
}
@keyframes rule-slide { to { transform: translateX(22px); } }

/* ---------- Photos (never filtered or overlaid) ---------- */
.media { position: relative; overflow: hidden; background: var(--color-paper-alt); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media picture { height: 100%; }
.zoom img { transition: transform 1s var(--ease); }
.zoom:hover img, a:focus-visible .zoom img, .zoom:focus-within img { transform: scale(1.05); }
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-tall { aspect-ratio: 3 / 4; }
.ratio-land { aspect-ratio: 3 / 2; }
.ratio-square { aspect-ratio: 1; }
.framed { position: relative; }
.framed::before { /* striped offset "shadow" behind the photo */
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  background-image: repeating-linear-gradient(115deg, var(--color-moss) 0 2px, transparent 2px 10px, var(--color-sage) 10px 12px, transparent 12px 20px);
  opacity: 0.6;
  border-radius: var(--radius-lg);
}
@media (max-width: 899px) { .framed::before { inset: 12px -12px -12px 12px; } }
.framed .media { border-radius: var(--radius-lg); border: var(--frame); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(4rem, 3rem + 4vw, 7rem); }
.hero .stripes { z-index: -1; mask-image: linear-gradient(100deg, black 0%, transparent 70%); -webkit-mask-image: linear-gradient(100deg, black 0%, transparent 70%); }
.hero::before { /* dappled forest light, behind everything */
  content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(closest-side at 22% 30%, color-mix(in srgb, var(--color-sage) 30%, transparent), transparent 70%),
    radial-gradient(closest-side at 70% 15%, color-mix(in srgb, var(--color-moss) 14%, transparent), transparent 70%),
    radial-gradient(closest-side at 40% 80%, color-mix(in srgb, var(--color-wood) 10%, transparent), transparent 70%);
  animation: dapple 18s ease-in-out infinite alternate;
}
@keyframes dapple { to { transform: translate3d(3%, 2%, 0) scale(1.05); } }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }
.hero h1 em { font-style: italic; color: var(--color-moss); } /* large text: 3.3:1 passes AA-large */
.hero .media { aspect-ratio: 4 / 5; max-height: 78vh; margin-inline: auto; width: 100%; }
@media (max-width: 899px) { .hero .framed { max-width: 520px; margin-inline: auto; width: calc(100% - 18px); } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; color: var(--text-muted); font-size: 0.95em; list-style: none; padding: 0; }
.hero-meta li::before { content: "—"; color: var(--color-moss); margin-right: 0.5em; font-weight: 700; }

.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 2px solid var(--line); }
.page-hero .stripes { z-index: -1; mask-image: linear-gradient(90deg, transparent 30%, black); -webkit-mask-image: linear-gradient(90deg, transparent 30%, black); }
.page-hero h1 { max-width: 16em; }

/* ---------- Cards (shared storybook style) ---------- */
.service-card, .price-card, .estimator, .quote {
  border: var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-flat);
}

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 1100px) { .service-grid { grid-template-columns: repeat(6, 1fr); } .service-grid > * { grid-column: span 2; } .service-grid > :nth-child(4) { grid-column: 2 / span 2; } }
.service-card {
  display: flex; flex-direction: column; background: var(--color-paper); overflow: hidden;
  color: var(--text); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover { transform: translate(-3px, -6px); box-shadow: var(--shadow-flat-lift); color: var(--text); }
.service-card .media { aspect-ratio: 4 / 3; border-bottom: var(--card-border); }
.service-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 0.3em; }
.service-card p { color: var(--text-muted); }
.service-card .from { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 2px solid var(--line); }
.service-card .from .per { font-size: 0.9rem; color: var(--text-muted); }
.service-card .from strong { font-family: var(--font-serif); font-size: 1.8rem; color: var(--color-forest); font-weight: 700; }
.service-card .go { font-weight: 700; font-size: 0.95rem; color: var(--color-forest); white-space: nowrap; }
/* Discount / FREE badges — the only mustard on the site */
.badge, .badge--outline, .save {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.35em 0.8em; border-radius: 999px; background: var(--color-accent-mustard); color: var(--color-bark);
  border: 2px solid var(--color-bark);
}

/* ---------- Featured strip ---------- */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 30%);
  gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 8px 1.25rem 0;
  scrollbar-color: var(--color-moss) transparent;
}
@media (max-width: 600px) { .strip { grid-auto-columns: 78%; } }
.strip > a { scroll-snap-align: start; display: block; text-decoration: none; }
.strip .media { aspect-ratio: 4 / 5; border: var(--frame); border-radius: var(--radius-lg); }
.strip-caption { display: block; padding-top: 0.6rem; font-size: 0.95rem; font-weight: 700; color: var(--color-forest); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote { margin: 0; padding: 2rem; background: var(--color-paper); color: var(--text); position: relative; border-color: var(--color-paper); box-shadow: 6px 6px 0 var(--color-moss); }
.quote::before { content: "\201C"; font-family: var(--font-serif); font-size: 5rem; line-height: 0.6; color: var(--color-wood); display: block; height: 2.2rem; }
.quote p { font-family: var(--font-serif); font-size: 1.45rem; line-height: 1.35; color: var(--text); }
.quote footer { font-weight: 700; font-size: 0.95rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; background-color: var(--color-paper-alt); background-image: var(--paper-texture); border-block: 3px solid var(--color-forest); }
.cta-band .stripes { z-index: -1; }
.cta-band h2 { max-width: 18em; margin-inline: auto; }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Pricing ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; list-style: none; padding: 0; }
.jump-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.4em 1.1em;
  border: 2px solid var(--color-moss); border-radius: 999px; color: var(--color-forest); text-decoration: none; font-size: 0.98rem; font-weight: 600;
  background: var(--color-paper);
}
.jump-nav a:hover { background: var(--color-forest); border-color: var(--color-forest); color: var(--color-paper); }
.pricing-head { display: grid; gap: 1.5rem 3rem; align-items: end; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .pricing-head { grid-template-columns: 1.4fr 1fr; } }
.pricing-head .media { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); border: var(--frame); }
.price-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: stretch; padding-right: 6px; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-paper-alt); color: var(--text);
  padding: 2rem 1.75rem 1.75rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.section--raised .price-card { background: var(--color-paper); }
.price-card:hover, .price-card:focus-within { transform: translate(-3px, -8px); box-shadow: var(--shadow-flat-lift); }
.price-card h3 { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-wood); margin-bottom: 0.75rem; }
/* "Most popular": moss header band. Label is large bold text (≥18.66px) so cream on moss (3.3:1) passes AA-large. */
.price-card.is-featured h3 {
  margin: -2rem -1.75rem 1.25rem; padding: 0.85rem 1.75rem;
  font-size: 1.25rem; letter-spacing: 0.1em;
  background: var(--color-moss); color: var(--color-paper);
  border-bottom: var(--card-border); border-radius: calc(var(--radius-lg) - 3px) calc(var(--radius-lg) - 3px) 0 0;
}
.price-card .badge { position: absolute; top: 0.85rem; right: 1.25rem; background: var(--color-forest-deep); color: var(--color-paper); border-color: var(--color-forest-deep); }
.price { margin: 0; font-family: var(--font-serif); font-size: clamp(3rem, 2.6rem + 1.5vw, 3.6rem); font-weight: 700; line-height: 1; color: var(--color-forest); }
.price small { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--text-muted); margin-left: 0.25em; }
.price-was { margin-top: 0.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; color: var(--text-muted); }
.price-was s { font-size: 1.15rem; }
/* "Save $X" next to a struck-through price: plain wood text, so mustard stays rare */
.price-was .save { background: none; border: 0; padding: 0; color: var(--color-wood); font-size: 1rem; letter-spacing: 0; }
.save { white-space: nowrap; font-size: 0.85rem; padding: 0.2em 0.7em; letter-spacing: 0.02em; text-transform: none; }
.price-note { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.5rem; }
.features { list-style: none; padding: 0; margin: 1.5rem 0 1.75rem; border-top: 2px solid var(--line); }
.features li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 2px solid var(--line); }
.features li span:first-child { color: var(--text-muted); }
.features li span:last-child { font-weight: 700; text-align: right; }
.price-card .btn { margin-top: auto; }
.fine-print {
  margin-top: 2.25rem; padding: 1.25rem 1.5rem; border-left: 5px solid var(--color-moss);
  background: var(--color-paper); border-radius: 0 var(--radius) var(--radius) 0;
}
.section--raised .fine-print { background: var(--color-paper); }
.section:not(.section--raised) .fine-print { background: var(--color-paper-alt); }
.fine-print h3, .fine-print h4 { font-family: var(--font-sans); font-size: 1rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--color-forest); }
.fine-print ul { margin: 0; }
.fine-print li + li { margin-top: 0.35rem; }

/* ---------- Product estimator ---------- */
.estimator { background: var(--color-paper); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 2rem; }
@media (min-width: 860px) { .estimator { grid-template-columns: 1fr 1fr; align-items: start; } }
.estimator fieldset { border: 0; padding: 0; margin: 0; }
.stepper { display: flex; align-items: stretch; gap: 0.5rem; max-width: 22rem; }
.stepper button {
  flex: 0 0 56px; min-height: 56px; font-size: 1.6rem; font-weight: 700; line-height: 1; cursor: pointer;
  background: var(--color-paper); color: var(--color-forest); border: 2.5px solid var(--color-forest); border-radius: var(--radius);
}
.stepper button:hover { background: var(--color-forest); color: var(--color-paper); }
.stepper input[type="number"] { text-align: center; font-size: 1.4rem; font-weight: 700; }
.range { width: 100%; max-width: 22rem; margin-top: 1rem; accent-color: var(--color-forest); min-height: 44px; }
.switch { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; cursor: pointer; min-height: 44px; font-weight: 700; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track { flex: 0 0 62px; height: 36px; border-radius: 999px; background: var(--color-paper); border: 2.5px solid var(--color-forest); position: relative; transition: background .25s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; border-radius: 50%; background: var(--color-forest); transition: transform .25s var(--ease); }
.switch input:checked + .track { background: var(--color-forest); }
.switch input:checked + .track::after { transform: translateX(26px); background: var(--color-paper); }
.switch input:focus-visible + .track { outline: 3px solid var(--focus); outline-offset: 3px; }
.switch .state { font-weight: 500; color: var(--text-muted); }
.estimate { border-left: 2px solid var(--line); padding-left: clamp(0px, 2vw, 2rem); }
@media (max-width: 859px) { .estimate { border-left: 0; border-top: 2px solid var(--line); padding: 1.5rem 0 0; } }
.estimate-tier { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-wood); font-size: 0.95rem; }
.estimate-total { font-family: var(--font-serif); font-size: clamp(3rem, 2.5rem + 2vw, 4.2rem); font-weight: 700; line-height: 1.05; margin: 0.25rem 0 0.5rem; color: var(--color-forest); }
.estimate dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; margin: 1rem 0; }
.estimate dt { color: var(--text-muted); }
.estimate dd { margin: 0; font-weight: 700; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-btn {
  display: inline-flex; align-items: center;
  min-height: 48px; padding: 0.5em 1.2em; font: 700 1rem var(--font-sans); cursor: pointer;
  background: var(--color-paper); color: var(--color-forest); border: 2.5px solid var(--color-moss); border-radius: 999px;
  transition: background .2s, color .2s;
}
.filter-btn:hover { background: var(--color-paper-alt); }
.filter-btn[aria-pressed="true"] { background: var(--color-forest); border-color: var(--color-forest); color: var(--color-paper); }
/* Active filter: one tiny blue dot */
.filter-btn[aria-pressed="true"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent-blue); margin-right: 0.5em; }
.filter-btn .count { font-weight: 500; margin-left: 0.3em; }
.gallery { columns: 1; column-gap: 1.25rem; }
@media (min-width: 560px) { .gallery { columns: 2; } }
@media (min-width: 900px) { .gallery { columns: 3; } }
@media (min-width: 1300px) { .gallery { columns: 4; } }
.gallery-item { break-inside: avoid; margin-bottom: 1.25rem; }
.gallery-item[hidden] { display: none; }
.thumb {
  display: block; width: 100%; padding: 0; border: var(--frame); background: var(--color-paper-alt); cursor: zoom-in;
  border-radius: var(--radius-lg); overflow: hidden; position: relative; color: inherit;
}
.thumb .label { /* small UI chip shown on hover — not a photo overlay */
  position: absolute; left: 0.75rem; bottom: 0.75rem; font-size: 0.85rem; font-weight: 700;
  background: var(--color-forest-deep); color: var(--color-paper); padding: 0.3em 0.75em; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.thumb:hover .label, .thumb:focus-visible .label { opacity: 1; transform: none; }
.gallery-status { color: var(--text-muted); margin-bottom: 1rem; }

/* Lightbox: deep pine with cream UI */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--color-forest-deep); color: var(--text-on-dark);
}
.lightbox::backdrop { background: var(--color-forest-deep); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem var(--gutter); }
.lb-counter { color: var(--text-muted-dark); font-size: 0.95rem; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 var(--gutter); touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-stage img.is-entering { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.98); } }
.lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem var(--gutter) 1.25rem; }
.lb-caption { margin: 0; color: var(--text-muted-dark); font-size: 0.95rem; text-align: center; flex: 1; }
@media (max-width: 700px) {
  .lb-bottom { flex-wrap: wrap; }
  .lb-caption { order: -1; flex-basis: 100%; }
  .lb-bottom .lb-btn { flex: 1; }
}
.lb-btn {
  min-width: 52px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  background: transparent; color: var(--text-on-dark); border: 2.5px solid var(--color-sage); border-radius: 999px;
  font: 700 1rem var(--font-sans); padding: 0 1.1em; cursor: pointer;
}
.lb-btn:hover { background: var(--color-paper); color: var(--color-forest-deep); border-color: var(--color-paper); }

/* ---------- About ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { counter-increment: step; padding: 1.5rem; border-top: 3px solid var(--color-moss); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; color: var(--color-moss); line-height: 1; margin-bottom: 0.75rem; } /* large text */
.faq details { border-bottom: 2px solid var(--line-on-dark); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 60px; padding: 0.75rem 0; font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--color-sage); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.25rem; color: var(--text-muted-dark); }

/* ---------- Contact quick buttons (Book page) ---------- */
.quick-contact { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border: var(--card-border); border-radius: var(--radius-lg); background: var(--color-paper-alt); box-shadow: var(--shadow-flat); margin-bottom: 3rem; }
.quick-contact h2 { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); }
.quick-buttons { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin-top: 1rem; }
.btn--quick { flex-direction: column; gap: 0.15rem; min-height: 72px; border-radius: var(--radius-lg); padding: 0.75em 1em; }
.btn--quick .quick-label { font-size: 1.25rem; }
.btn--quick .quick-detail { font-size: 0.9rem; font-weight: 500; overflow-wrap: anywhere; text-align: center; }
.form-title { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); }
.phone-line { display: inline-flex; flex-wrap: wrap; gap: 0 1.25rem; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .form-layout { grid-template-columns: 1.6fr 1fr; align-items: start; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field[hidden] { display: none; }
label, legend { font-weight: 700; }
.hint { font-size: 0.92rem; color: var(--text-muted); font-weight: 400; }
.optional { font-weight: 400; color: var(--text-muted); font-size: 0.92em; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 54px; padding: 0.7em 0.9em;
  font: inherit; font-size: 1.05rem; color: var(--text);
  background: var(--color-paper); border: 2.5px solid var(--color-bark); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--color-forest); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--color-forest); }
textarea { min-height: 160px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75em; cursor: pointer;
  background-image: var(--select-chevron);
  background-repeat: no-repeat; background-position: right 1em center;
}
select:disabled { background-color: var(--color-paper-alt); color: var(--text-muted); cursor: not-allowed; }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; }
/* Errors: red is reserved for the Book button, so errors use wood + a "!" icon + clear text */
[aria-invalid="true"] { border-color: var(--color-wood) !important; border-width: 3px !important; border-style: dashed !important; }
.error-msg { color: var(--color-wood); font-weight: 700; font-size: 0.98rem; display: flex; gap: 0.4em; }
.error-msg:empty { display: none; }
.error-msg::before { content: "!"; flex: 0 0 1.35em; height: 1.35em; border-radius: 50%; background: var(--color-wood); color: var(--color-paper); display: inline-grid; place-items: center; font-size: 0.85em; }
.error-summary { border: 3px solid var(--color-wood); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; margin-bottom: 2rem; background: var(--color-paper); box-shadow: 6px 6px 0 var(--color-wood); }
.error-summary h2 { font-family: var(--font-sans); font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--color-bark); }
.error-summary ul { margin: 0; }
.error-summary a { color: var(--color-wood); font-weight: 700; text-decoration-color: currentColor; }
.form-note { padding: 1rem 1.25rem; border: 2px solid var(--line); border-radius: var(--radius); background: var(--color-paper-alt); font-size: 0.98rem; }
.form-status { border-radius: var(--radius-lg); padding: 2rem; border: 3px solid var(--color-forest); background: var(--color-paper); box-shadow: 6px 6px 0 var(--color-moss); margin-bottom: 2rem; }
.form-status h2 { font-size: 2.2rem; }
.form-status.is-error { border-color: var(--color-wood); box-shadow: 6px 6px 0 var(--color-wood); }
.form-status .summary-copy { white-space: pre-wrap; font: inherit; background: var(--color-paper-alt); padding: 1rem; border-radius: var(--radius); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check-row { display: flex; align-items: center; gap: 0.75rem; min-height: 44px; font-weight: 600; cursor: pointer; }
.check-row input { width: 24px; height: 24px; accent-color: var(--color-forest); }

/* ---------- Prose (privacy) ---------- */
.prose h2 { font-size: 2rem; margin-top: 2.5rem; }
.prose p, .prose li { max-width: 42em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-forest-deep); color: var(--text-on-dark); border-top: 4px solid var(--color-moss); padding-top: clamp(3rem, 2rem + 3vw, 5rem); font-size: 1rem; }
.site-footer .muted { color: var(--text-muted-dark); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.footer-brand { font-family: var(--font-serif); font-size: 1.8rem; font-weight: 600; color: var(--text-on-dark); margin-bottom: 0.5rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-sage); margin-bottom: 0.75rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a, .site-footer address a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-on-dark); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover, .site-footer address a:hover { color: var(--color-sage); text-decoration: underline; }
address { font-style: normal; }
.footer-bottom { margin-top: 3rem; padding-block: 1.25rem; border-top: 2px solid var(--line-on-dark); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; color: var(--text-muted-dark); }
.footer-bottom a { color: var(--text-on-dark); display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: currentColor; }
.footer-bottom a:hover { color: var(--color-sage); }
.footer-credit { text-align: center; padding: 0.75rem 0 1.5rem; color: var(--text-muted-dark); font-size: 0.95rem; }
.footer-credit a { color: var(--text-on-dark); display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: currentColor; }
.footer-credit a:hover { color: var(--color-sage); }

/* ---------- Scroll reveal (only when JS + motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.from-left { transform: translateX(-28px); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .3s var(--ease); }
  .js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
  .js .reveal-stagger.is-visible > :nth-child(2) { transition-delay: .08s; }
  .js .reveal-stagger.is-visible > :nth-child(3) { transition-delay: .16s; }
  .js .reveal-stagger.is-visible > :nth-child(4) { transition-delay: .24s; }
  .js .reveal-stagger.is-visible > :nth-child(5) { transition-delay: .32s; }
  .js .reveal-stagger.is-visible > .price-card:hover, .js .reveal-stagger.is-visible > .service-card:hover,
  .js .reveal-stagger.is-visible > .price-card:focus-within { transform: translate(-3px, -8px); transition-delay: 0s; }

  /* Cross-page transitions (supporting browsers) */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out .25s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in .35s var(--ease) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
  .site-header { view-transition-name: site-header; }
}

/* ---------- Reduced motion: switch off everything non-essential ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important; scroll-behavior: auto !important;
  }
  .stripe-rule::before, .hero::before { animation: none !important; }
  .zoom:hover img, .price-card:hover, .service-card:hover, .btn:hover { transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .stripes { display: none; }
  body { background: var(--color-paper); color: var(--color-bark); }
}
