/* SiteGleam shared reset — small, modern, opinionated only where it prevents bugs */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100dvh; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
h1, h2, h3, h4 { line-height: 1.1; font-weight: inherit; }
a { color: inherit; text-decoration-thickness: from-font; text-underline-offset: 0.12em; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* SiteGleam shared UI primitives. Templates set the variables; these rules stay generic. */
:root {
  --c-primary: #6b2f2a;
  --c-primary-dark: #4c1f1c;
  --c-primary-light: #f0e6e4;
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* templates override these neutrals */
  --c-ink: #1c1b19;
  --c-paper: #fbfaf7;
  --c-muted: #6b6a66;
  --c-line: #e3e0d9;
  --c-surface: #ffffff;
  --radius: 6px;
  --measure: 66ch;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --space-1: 0.5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem; --space-5: 4rem; --space-6: 6.5rem;
  --fs-0: 0.875rem; --fs-1: 1rem; --fs-2: 1.125rem; --fs-3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-4: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem); --fs-5: clamp(2.2rem, 1.6rem + 2.6vw, 3.5rem);
  --fs-6: clamp(2.8rem, 1.8rem + 4.5vw, 5.25rem);
}
body { font-family: var(--font-body); color: var(--c-ink); background: var(--c-paper); font-size: var(--fs-1); }
h1, h2, h3 { font-family: var(--font-display); color: var(--c-ink); }
h1 { font-size: var(--fs-6); letter-spacing: -0.015em; }
h2 { font-size: var(--fs-5); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-3); line-height: 1.25; }
p { max-width: var(--measure); }
.lead { font-size: var(--fs-2); color: var(--c-muted); }
.muted { color: var(--c-muted); }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--space-6); }
.section-tight { padding-block: var(--space-5); }
.stack > * + * { margin-top: var(--space-3); }
.grid-2 { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--c-ink); color: var(--c-paper); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.85em 1.4em; border-radius: var(--radius); font-weight: 600; text-decoration: none; line-height: 1; border: 1.5px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-primary:hover { background: var(--c-primary-dark); border-color: var(--c-primary-dark); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: currentColor; }
.btn-ghost:hover { background: var(--c-ink); color: var(--c-paper); }
.btn-lg { font-size: var(--fs-2); padding: 1em 1.6em; }
.btn-sm { font-size: var(--fs-0); padding: 0.65em 1.1em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--c-paper) 92%, transparent); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--c-line); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 72px; }
.brand { font-family: var(--font-display); font-size: 1.35rem; text-decoration: none; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: clamp(16px, 2.5vw, 32px); align-items: center; }
.nav-links a { text-decoration: none; font-weight: 500; color: var(--c-ink); font-size: var(--fs-0); }
.nav-links a.active { color: var(--c-primary-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: ''; transition: transform .2s ease; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--c-paper); border-bottom: 1px solid var(--c-line); padding: var(--space-2) var(--gutter) var(--space-3); display: none; }
  .nav-links a { padding: 12px 0; font-size: var(--fs-2); border-bottom: 1px solid var(--c-line); }
  .nav-links .btn { margin-top: var(--space-2); justify-content: center; }
  .site-header.nav-open .nav-links { display: flex; }
  .site-header.nav-open .nav-toggle span { background: transparent; }
  .site-header.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
}

/* Media with graceful no-photo state */
.media { position: relative; overflow: hidden; background-color: var(--c-primary-light); background-size: cover; background-position: center; }
.media.no-img { background-image: linear-gradient(135deg, var(--c-primary-light) 0%, color-mix(in srgb, var(--c-primary) 22%, var(--c-paper)) 100%); }
.media.no-img::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,.55), transparent 55%); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-1-1 { aspect-ratio: 1 / 1; }

/* Cards & lists */
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--space-3); }
.card h3 { margin-bottom: var(--space-1); }
.card p { color: var(--c-muted); font-size: var(--fs-1); }
.service-row { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); padding: var(--space-2) 0; border-bottom: 1px solid var(--c-line); align-items: baseline; }
.service-row:last-child { border-bottom: 0; }
.service-row .price { font-weight: 600; white-space: nowrap; }
.service-row p { color: var(--c-muted); margin-top: 0.25rem; }
.service-detail.no-media { grid-template-columns: 1fr !important; }
.testimonial { border-left: 3px solid var(--c-primary); padding-left: var(--space-3); }
.testimonial blockquote { font-family: var(--font-display); font-size: var(--fs-3); line-height: 1.35; }
.testimonial cite { display: block; margin-top: var(--space-2); font-style: normal; color: var(--c-muted); font-size: var(--fs-0); }
.rating { display: inline-flex; gap: 0.6em; align-items: baseline; color: var(--c-muted); font-size: var(--fs-0); }
.rating .stars { color: var(--c-primary); letter-spacing: 0.08em; font-size: 1.1rem; }
.faq details { border-bottom: 1px solid var(--c-line); padding: var(--space-2) 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: var(--fs-2); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--c-primary); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: var(--space-1); color: var(--c-muted); }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: var(--fs-0); color: var(--c-muted); margin-top: 6px; }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; }
.hours dt { font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); color: var(--c-muted); font-size: var(--fs-0); }
.facts strong { color: var(--c-ink); }

/* Forms */
.form { display: grid; gap: var(--space-2); }
.form label { display: grid; gap: 6px; font-size: var(--fs-0); font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; padding: 0.8em 0.9em; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); font-weight: 400; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--c-primary); outline-offset: 1px; border-color: var(--c-primary); }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form .hp { position: absolute; left: -9999px; }
.form-sent { display: none; padding: var(--space-3); border: 1px solid var(--c-primary); border-radius: var(--radius); background: var(--c-primary-light); }
.form-wrap.is-sent .form { display: none; }
.form-wrap.is-sent .form-sent { display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--c-line); padding-block: var(--space-5) var(--space-3); color: var(--c-muted); font-size: var(--fs-0); }
.site-footer .cols { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer h3 { font-family: var(--font-body); font-size: var(--fs-0); font-weight: 600; color: var(--c-ink); margin-bottom: var(--space-1); }
.site-footer a { color: inherit; }
.site-footer .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-4); padding-top: var(--space-2); border-top: 1px solid var(--c-line); }

/* Motion: one page-load moment, everything else responds to the visitor */
@media (prefers-reduced-motion: no-preference) {
  .hero-enter { animation: heroEnter .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-enter-media { animation: heroMedia 1.2s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes heroEnter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes heroMedia { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
}

/* Professional services — ink & ivory, one family carries the type, a single vertical rule */
:root {
  --c-ink: #1b2233;
  --c-paper: #f5f3ee;
  --c-muted: #5e6270;
  --c-line: #dcd8cf;
  --c-surface: #fbfaf7;
  --radius: 2px;
  --measure: 62ch;
}
body { line-height: 1.65; }
h1, h2, h3 { font-weight: 400; }
p { line-height: 1.7; }
.brand { font-weight: 700; font-size: 1.3rem; }
.nav-links a { font-family: var(--font-body); }
.btn { border-radius: 0; font-family: var(--font-body); letter-spacing: 0.01em; }

/* Hero: type column + rule + narrow portrait */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 3px minmax(0, 340px); gap: clamp(28px, 4vw, 64px); align-items: stretch; padding-block: var(--space-5) var(--space-6); }
.hero .rule { background: var(--c-primary); }
.hero .copy { display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); }
.hero .eyebrow { color: var(--c-muted); font-family: var(--font-body); }
.hero h1 { font-size: var(--fs-6); max-width: 18ch; }
.hero .lead { font-size: var(--fs-3); color: var(--c-ink); max-width: 46ch; font-family: var(--font-display); line-height: 1.45; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-2); }
.hero .media { aspect-ratio: 3 / 4; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } .hero .rule { display: none; } .hero .media { aspect-ratio: 16 / 10; order: -1; } }

/* Services: ruled list (home) and detail (services page) */
.ruled { border-top: 1px solid var(--c-line); }
.ruled .service-row { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--space-3); padding: var(--space-3) 0; align-items: start; }
.ruled .service-row .name { font-family: var(--font-display); font-size: var(--fs-3); }
.ruled .service-row p { margin-top: 0; }
.ruled .service-row .price { display: none; }
@media (max-width: 720px) { .ruled .service-row { grid-template-columns: 1fr; gap: 0.5rem; } }
.service-detail { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr) minmax(0, 240px); align-items: start; padding: var(--space-4) 0; border-bottom: 1px solid var(--c-line); }
.service-detail .media { aspect-ratio: 4 / 3; }
.service-detail h3 { font-size: var(--fs-4); margin-bottom: 0.75rem; }
.service-detail .price { color: var(--c-muted); font-family: var(--font-body); margin-top: 0.5rem; }
@media (max-width: 720px) { .service-detail { grid-template-columns: 1fr; } }
.services-layout .index { display: flex; flex-wrap: wrap; gap: 0 var(--space-3); margin-bottom: var(--space-4); font-family: var(--font-body); }
.services-layout .index a { color: var(--c-muted); padding: 0.4rem 0; }
.services-layout .index a:hover { color: var(--c-primary); }

/* Credentials / why */
.why .card { background: transparent; border: 0; border-top: 2px solid var(--c-ink); padding: var(--space-2) 0 0; }
.why .card h3 { font-size: var(--fs-2); }
.why .card p { font-family: var(--font-body); }

/* Statement */
.statement { background: var(--c-ink); color: var(--c-paper); }
.statement h2, .statement blockquote { color: var(--c-paper); }
.statement .testimonial { border-left-color: var(--c-primary); }
.statement .testimonial cite, .statement .rating { color: color-mix(in srgb, var(--c-paper) 70%, transparent); }

/* About */
.about-split { display: grid; gap: var(--space-5); grid-template-columns: minmax(0, 1fr) minmax(0, 380px); align-items: start; }
.about-split .media { aspect-ratio: 3 / 4; }
@media (max-width: 880px) { .about-split { grid-template-columns: 1fr; } }

/* Consultation */
.consult { border-top: 3px solid var(--c-primary); }
.consult h2 { max-width: 22ch; }
.consult .actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }

/* Contact */
.contact-grid { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; display: block; }
.form input, .form select, .form textarea { border-radius: 0; font-family: var(--font-body); }
.form label { font-family: var(--font-body); }
.site-footer, .facts, .hours, .card p, .lead { font-family: var(--font-body); }
