/* Restore Laser Tattoo Removal - site styles.
   Template build, 2026-10-07. Spec: platform/specs/2026-10-07-restore-site-template.spec.md
   Phone first: every rule is written for a 390 px screen, and the media queries add room. */

/* Lexend, the typeface on Luke's current site. Self-hosted so no font service loads on a visit.
   SIL Open Font License 1.1, see fonts/OFL.txt. Latin subset, two weights. */
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lexend-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/lexend-latin-600.woff2") format("woff2"); }

:root {
  --blue: #134189;            /* Measured from Luke's logo file, 2026-10-07 */
  --blue-dark: #0d3270;
  --ink: #14171c;
  --ink-soft: #4a515c;
  --band: #f4f6f9;
  --line: #dfe4ec;
  --box: #d9dde3;             /* Gray placeholder boxes */
  --box-ink: #525963;         /* 5:1 or more on the gray boxes (#5b636e was 4.46:1) */
  --white: #ffffff;
  --radius: 6px;
  --wrap: 1180px;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
}

h1, h2, h3 { line-height: 1.2; font-weight: 600; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 4vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img { max-width: 100%; height: auto; display: block; }

a, button, summary, input, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(12, 63, 145, 0.15); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
/* Blue on the dark footer is 1.83:1; white is well over the 3:1 a focus ring needs (WCAG 1.4.11). */
.site-footer :focus-visible { outline-color: var(--white); }

/* Keyboard focus and in-page jumps stop below the pinned header, never under it (WCAG 2.4.11).
   The header is about 65 px tall on phones and 77 px from 1100 px up. The header's width breakpoints
   are in em (68.75em is 1100 px at the browser's normal text size), so a visitor who sets a larger
   text size keeps the phone menu until the full menu really fits (red-team fix, 2026-11-16). */
html { scroll-padding-top: 80px; }
@media (min-width: 68.75em) { html { scroll-padding-top: 92px; } }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--white); padding: 10px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--white); }

.nowrap { white-space: nowrap; }  /* keeps a phone number on one line */

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

/* Placeholders. Square brackets mark words Luke writes; gray boxes mark photos still owed. */
.ph-text { color: var(--box-ink); background: #eef1f5; border-radius: 3px; padding: 0 0.2em; }
.ph-box {
  background: var(--box); color: var(--box-ink);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 0.9rem; padding: 12px; border-radius: var(--radius);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 2px solid var(--blue); cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-fill { background: var(--blue); color: var(--white); }
.btn-fill:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-line { background: var(--white); color: var(--blue); }
.btn-line:hover { background: #eaf0fa; color: var(--blue-dark); }
.btn-big { min-height: 56px; padding: 0 30px; font-size: 1.125rem; }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Top bar (wide screens only) ---------- */
/* Top bar: Luke's blue, like his current site. Address (to his Google listing) on the left, phone on
   the right. On phones the address shortens to "Directions" so the number is never cut off, and each
   link is a full 40 px tall for a thumb. It scrolls away; only the header below it stays on screen. */
.topbar { background: var(--blue); color: var(--white); font-size: 0.9rem; line-height: 1.3; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar-where { display: flex; align-items: center; gap: 18px; margin: 0; min-width: 0; }
.topbar-link { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: var(--white); font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar-link:hover, .topbar-link:focus-visible { color: var(--white); }  /* beats the site-wide a:hover blue */
.topbar-link:hover span, .topbar-link:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }
.topbar-link:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; border-radius: 2px; }
.topbar-icon { width: 15px; height: 15px; flex: none; fill: currentColor; }
.topbar-long, .topbar-note { display: none; }
.topbar-note { color: rgba(255, 255, 255, 0.85); }
@media (min-width: 768px) {
  .topbar-link { min-height: 36px; }
  .topbar-long { display: inline; }
  .topbar-short { display: none; }
}
@media (min-width: 1024px) { .topbar-note { display: inline; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
/* The logo never shrinks to make room (red-team fix, 2026-10-08: from 1100 to 1179 px it was squashed
   to 107 px wide). The menu's gaps give way instead, below. */
.logo { order: 1; margin-right: auto; display: block; line-height: 0; flex: none; }
.logo img { height: 46px; width: auto; max-width: none; }
@media (min-width: 68.75em) { .logo img { height: 54px; } }
.header-actions { order: 2; display: flex; align-items: center; gap: 10px; }
.header-actions .btn-line { display: none; }
@media (min-width: 600px) { .header-actions .btn-line { display: inline-flex; } }
.site-nav { order: 3; flex-basis: 100%; }
@media (max-width: 399px) {
  .logo img { height: 38px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-small { padding: 0 12px; }
}
@media (max-width: 359px) {
  .wrap { padding: 0 14px; }
  .logo img { height: 34px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-small { padding: 0 10px; }
  .hero .hero-photo { margin: 0 -14px; }
}
/* On small phones a long button label may wrap rather than push the page sideways. */
@media (max-width: 26.25em) { .btn { white-space: normal; text-align: center; } }
/* When a button label or an FAQ question has to wrap, both lines come out about the same length,
   never one word left alone on the second line. text-wrap-style, not the text-wrap shorthand: the
   shorthand would also switch the buttons' nowrap back to wrapping. */
.btn, .faq summary { text-wrap-style: balance; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0;
  background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; cursor: pointer;
}
.no-js .menu-toggle { display: none; }
/* With scripts blocked the whole menu shows inside the header (over 500px tall on a phone), so the
   header scrolls away instead of staying pinned over the page and over any question a link lands on. */
.no-js .site-header { position: static; }
.menu-toggle-bars { width: 18px; height: 12px; position: relative; display: inline-block; }
.menu-toggle-bars::before, .menu-toggle-bars::after, .menu-toggle-bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars span { top: 5px; }
.menu-toggle-bars::after { bottom: 0; }
/* Open, the three bars turn into an X. */
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { bottom: 5px; transform: rotate(-45deg); }
/* Windows High Contrast drops background colors, so the bars use the system's button text color. */
@media (forced-colors: active) {
  .menu-toggle-bars::before, .menu-toggle-bars::after, .menu-toggle-bars span { background: ButtonText; }
}

/* The menu. Without JavaScript it simply shows as a list under the header. */
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.site-nav .nav-estimate { display: block; }
.site-nav .nav-phone { display: block; }
/* From 600 px the header shows its own Get a Free Estimate button, so the menu does not repeat it. */
@media (min-width: 600px) { .site-nav .nav-estimate { display: none; } }

.site-nav { border-top: 1px solid var(--line); padding: 12px 0 18px; }
.site-nav li a { display: block; padding: 10px 0; }
.site-nav .nav-estimate .btn { display: flex; width: 100%; margin-bottom: 8px; color: var(--blue); }
.site-nav .nav-phone a { color: var(--blue); }

.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
/* The open menu is about 580 px tall. On a sideways phone (390 px high) it scrolls inside itself, so
   the last entries are never off screen (red-team fix, 2026-10-08). site.js sets the exact height
   when the menu opens; this line is the fallback. */
@media (max-width: 68.74em) {
  .js .site-nav.is-open { max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; }
  /* 6 px of room on each side, so the scrolling menu does not cut off the sides of a focus ring. */
  .js .site-nav.is-open { padding-left: 6px; padding-right: 6px; margin-left: -6px; margin-right: -6px; flex-basis: calc(100% + 12px); }
}

@media (min-width: 68.75em) {
  .menu-toggle { display: none; }
  .header-row { flex-wrap: nowrap; gap: 28px; min-height: 76px; }
  /* The keyboard follows the row as it is seen (logo, menu, buttons), not the page's code order. */
  .header-row { reading-flow: flex-visual; }
  .logo { margin-right: 0; }
  .js .site-nav, .site-nav { order: 2; flex-basis: auto; display: block; border-top: 0; padding: 0; margin-right: auto; }
  .site-nav ul { display: flex; gap: 22px; }
  .site-nav li a { padding: 6px 0; font-size: 0.98rem; white-space: nowrap; }
  .site-nav .nav-estimate, .site-nav .nav-phone { display: none; }
  .header-actions { order: 3; }
}
/* Just above the menu collapse point the row is tight: smaller gaps keep the full logo and every
   menu entry on one line. The collapse point itself stays at 1100 px (settled 2026-10-07). */
@media (min-width: 68.75em) and (max-width: 73.74em) {
  .header-row { gap: 18px; }
  .site-nav ul { gap: 14px; }
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-band { background: var(--band); }
.section-head { max-width: 640px; margin-bottom: 24px; }
.section-head p { color: var(--ink-soft); }
.center { text-align: center; }
.center .section-head { margin-left: auto; margin-right: auto; }
.center .btn-row { justify-content: center; }
.after-cta { margin-top: 28px; }
@media (min-width: 900px) { .section { padding: 72px 0; } }
/* A section that ends in a paragraph gets the same space at its bottom as one that ends in a button. */
.section .wrap > :last-child, .prose > :last-child { margin-bottom: 0; }

.page-head { padding: 40px 0 8px; }
.page-head p { color: var(--ink-soft); max-width: 640px; }
@media (min-width: 900px) { .page-head { padding: 64px 0 12px; } }

/* ---------- Home hero ---------- */
.hero { padding: 0 0 32px; }
.hero-photo { height: 210px; border-radius: 0; margin: 0 -20px; overflow: hidden; background: var(--box); }
/* Home photo: the patio photo Luke picked on 2026-11-15. 50% 30% keeps her face and the tattoo in
   view at every size; it is the crop Luke saw and approved in the 2026-11-14 screenshots. */
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-text { padding-top: 22px; }
.hero h1 { margin-bottom: 0.4em; }
.hero-lead { color: var(--ink-soft); max-width: 560px; }
.hero-price { font-weight: 600; font-size: 1.1rem; margin-bottom: 18px; }
/* Luke asked (2026-10-13) for a "Why Choose Restore" link right above the price line, styled like it. */
.hero-why { font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
/* Book Now is the largest button on the first screen of Home (contract 2.4(c)). */
.hero .btn-big { min-width: 240px; }
@media (max-width: 599px) { .hero .btn-big { width: 100%; } }
/* On a phone the box stays at 210 px up to 437 px wide, so Book Now fits on a 390 x 664 screen. */
@media (max-width: 599.98px) {
  .hero-photo { height: max(210px, 48vw); }
}
/* On an upright tablet the box grows with the width. A window under 840 px tall keeps the 210 px box,
   so Book Now sits as high as it can there. */
@media (min-width: 600px) and (max-width: 899.98px) and (min-height: 840px) {
  .hero-photo { height: max(210px, 48vw); }
}
@media (min-width: 900px) {
  .hero { padding: 56px 0; }
  .hero .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
  .hero-text { padding-top: 0; order: 1; }
  /* The box has a 3 by 2 shape. */
  .hero-photo { order: 2; height: auto; aspect-ratio: 3 / 2; border-radius: var(--radius); margin: 0; }
}

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 16px; }
/* position: relative keeps each card's hidden ", Google review" label inside the card. Without it,
   a card scrolled out of view in the flipper pushed the label past the page edge, and the page
   scrolled sideways (2026-10-16). */
.review { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; }
.review blockquote { margin: 0; font-size: 1.05rem; }
.review blockquote > :last-child { margin-bottom: 0; }
/* Card top: profile picture; first name, the month and five yellow stars stacked beside it; a small
   Google G at the top right (Luka, 2026-10-16: like a Google review, but no speech bubble). */
.review-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; }
.review-avatar-letter {
  display: grid; place-items: center; background: #ec407a; color: var(--white);
  font-weight: 600; font-size: 1.15rem; line-height: 1;
}
.review-who { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.3; }
.review-name { font-weight: 600; color: var(--ink); }
.review-date { font-size: 0.875rem; color: var(--ink-soft); }
/* The G sits in the card's top right corner, out of the row, so a long date never wraps around it. */
.review-g { position: absolute; top: 24px; right: 22px; width: 18px; height: 18px; margin: 0; }
.review-stars { display: block; width: 90px; height: 18px; margin-top: 4px; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Cards line up at the top: Marissa's review is about 2.5 times Lauren's, and stretched short cards
   read as empty boxes (Luke's reviews, 2026-10-15). */
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(3, 1fr); align-items: start; } }

/* The flipper (2026-10-16, spec 2026-10-16-restore-call-changes). site.js adds .is-flip; without it
   the grid above stays, so with scripts blocked every review shows. The row scrolls sideways with a
   snap at each card, which is also the phone swipe. Cards keep their own height, so the row is as
   tall as the tallest card and the buttons under it never move. Below 768 px (one card in view) a
   card lines up at the bottom, right above the buttons, so the review Next brings in shows where the
   visitor pressed; from 768 px they line up at the top. */
.review-flipper.is-flip .reviews {
  display: flex; gap: 16px; align-items: flex-start;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.review-flipper.is-flip .reviews::-webkit-scrollbar { display: none; }
.review-flipper.is-flip .review { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 768px) { .review-flipper.is-flip .review { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 767.98px) { .review-flipper.is-flip .reviews { align-items: flex-end; } }
.review-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.review-controls[hidden], .review-controls [hidden] { display: none; }
.review-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 48px; min-height: 48px; padding: 0 12px; border-radius: 24px;
  font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--blue);
  background: var(--white); border: 2px solid var(--blue); cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.review-btn:hover { background: #eaf0fa; color: var(--blue-dark); }
.review-btn svg { width: 20px; height: 20px; flex: none; }
.review-count { min-width: 4.5em; text-align: center; font-variant-numeric: tabular-nums; color: var(--ink-soft); }

/* ---------- Before and after ---------- */
/* Two photos side by side, same size, before on the left. No slider, no captions, no names (spec
   section 2, contract 2.6). Add a pair by adding a list item: the grid wraps by itself. */
.ba-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-pair img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); background: var(--box); }
@media (min-width: 900px) { .ba-list { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ---------- Awards ---------- */
.awards { display: flex; flex-wrap: wrap; gap: 16px; }
.award { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); max-width: 360px; }
.award-badge { flex: none; width: 88px; }
.award-badge img { width: 100%; border-radius: 3px; }
.award span { font-weight: 600; }

/* ---------- Instagram ---------- */
/* Instagram: Luke's blue band so it stands apart from the gray bands either side of it; the feed
   sits in a white card because the widget draws its own white header. */
.section-ig { background: var(--blue); color: var(--white); }
.section-ig .section-head { margin-bottom: 28px; }
.section-ig h2 { margin: 0; }
.ig-card {
  max-width: 1040px; margin: 0 auto; text-align: left;
  background: var(--white); color: var(--ink);
  border-radius: 14px; padding: 6px 12px 12px;
  overflow: hidden;
}
@media (min-width: 900px) { .ig-card { padding: 10px 28px 28px; } }
/* Room for the feed before it arrives, so the page below does not jump when it fills in (red-team
   fix, 2026-10-08: the card grew from 18 px to 852 px on a phone). The widget changes its own layout
   at these widths, so each line follows the card's measured height there, set a little under it.
   Remeasure with scratch/restore-checks/ig-heights.cjs if the widget's settings change.
   Remeasured 2026-11-16 for Luke's own widget: it needs 557 px at 320 wide, 630 at 390, 660 at 414,
   and 982 from 1100 up, so the phone and computer lines were lowered or raised to sit just under
   that. The lines from 424 to 1099 px still sit well under what it needs, which is the safe side
   (the card grows a little when the feed arrives; it never leaves an empty gap). */
.js .ig-card { min-height: calc(108vw + 200px); }
@media (min-width: 424px) { .js .ig-card { min-height: calc(100vw + 120px); } }
@media (min-width: 665px) { .js .ig-card { min-height: calc(100vw + 55px); } }
@media (min-width: 724px) { .js .ig-card { min-height: calc(66vw + 78px); } }
@media (min-width: 976px) { .js .ig-card { min-height: calc(42vw + 168px); } }
@media (min-width: 1100px) { .js .ig-card { min-height: 950px; } }
.js .ig-card.ig-off { min-height: 0; }
/* The white space between posts (Luka, 2026-10-16) and the thin blue line between stacked posts on a
   phone (Luke, 2026-10-13) were drawn here for the old widget. Luke's own widget (2026-11-13) draws its
   posts inside its own sealed box (a shadow root), which this file cannot reach, so those rules were
   removed on 2026-11-16. Post spacing now has to be set in Luke's Elfsight editor. */
.ig-fallback { margin: 12px 0 6px; text-align: center; }
.js .ig-fallback { display: none; }
.js .ig-off .ig-fallback { display: block; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ig-grid .ph-box { aspect-ratio: 1 / 1; font-size: 0.75rem; border-radius: 3px; }
@media (min-width: 900px) { .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; } }

/* ---------- Find us ---------- */
.find-us { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.find-us .ph-box { min-height: 240px; }
.map-frame { display: block; width: 100%; height: 240px; border: 0; border-radius: var(--radius); background: var(--box); }
.map-slot { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--box-ink); font-size: 0.9rem; }
.hours { width: 100%; max-width: 360px; border-collapse: collapse; margin-bottom: 16px; }
.hours th, .hours td { text-align: left; padding: 4px 0; font-weight: 400; vertical-align: top; }
.hours th { padding-right: 16px; font-weight: 600; }
@media (min-width: 900px) { .find-us { grid-template-columns: 1.2fr 1fr; align-items: center; } .find-us .ph-box { min-height: 340px; } .map-frame { height: 340px; } }
/* Contact (Luka, 2026-10-16): the first heading sits close under the page title (it was 72 px below it
   on a phone, 109 px on a computer), each group gets air above it (it was 17 px), and on a computer the
   map runs the full height of the text beside it. */
.section-after-head { padding-top: 8px; }
.contact-info h2:not(:first-child) { margin-top: 1.4em; }
@media (min-width: 900px) {
  .section-after-head { padding-top: 12px; }
  .find-us-contact { align-items: start; }
  .find-us-contact .map-frame { height: 100%; min-height: 340px; }
}

/* ---------- Two-column text and photo ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
/* Two columns from 600 px, so the headshot does not fill a tablet and push the title off the first screen. */
@media (min-width: 600px) { .split { grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; } }
@media (min-width: 900px) { .split { gap: 56px; } }
/* Luke's credentials, right under his photo on About (his content, 2026-10-14). */
.owner-photo { margin: 0; }
.owner-photo img { width: 100%; border-radius: var(--radius); background: var(--box); }
.owner-photo figcaption { margin-top: 12px; font-weight: 600; color: var(--ink-soft); }

.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.reasons li { background: var(--white); border-left: 3px solid var(--blue); padding: 14px 18px; }
@media (min-width: 768px) { .reasons { grid-template-columns: 1fr 1fr; } }

/* ---------- Text pages ---------- */
/* Text stays in a 660 px reading column, but the column starts at the page's left edge like every
   other heading, instead of centering on wide screens (red-team fix, 2026-10-08: h1 and h2 left edges
   zig-zagged between 150 px and 390 px at 1440). */
.wrap.prose > * { max-width: 660px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.stack > * + * { margin-top: 40px; }
.maker-links { list-style: none; padding: 0; margin: 0 0 16px; }
.maker-links li { padding: 6px 0; }

/* ---------- Pricing ---------- */
.price-big { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 600; margin-bottom: 8px; }
.bands { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.band { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--white); }
.band strong { display: block; }
/* Four sizes since Luke added extra small (2026-11-02): two by two on a phone and a tablet, so the
   tall photos do not make a very long page; one row from 1024 px. */
@media (min-width: 1024px) { .bands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.packages { width: 100%; max-width: 560px; border-collapse: collapse; }
.packages th, .packages td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.packages td { font-variant-numeric: tabular-nums; }
/* One example photo per size (Luke, 2026-10-16), full width at the top of the box. 3 by 5, the shape
   that holds the whole large tattoo. */
.band-photo { margin: -18px -18px 14px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--box); }
.band-photo img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; }
/* Two cards side by side on a phone: tighter padding keeps "$175 per session" on one line from 336 px up. */
@media (max-width: 599px) {
  .band { padding: 12px; }
  .band span { font-size: 0.95rem; }
  .band-photo { margin: -12px -12px 12px; }
}
/* Packages and Special pricing in one section: stacked on a phone, side by side from 900 px. The
   special prices sit in rows like the packages table beside them. */
.price-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.offers { list-style: none; max-width: 560px; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.offers li { padding: 10px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .price-pair { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

/* ---------- Free Quote form ---------- */
.quote-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 900px) { .quote-layout { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h2 { font-size: 1.35rem; }
.quote-side { display: grid; gap: 20px; }

.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.92rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #7d8796; border-radius: var(--radius); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input[type="file"] {
  width: 100%; font: inherit; font-size: 0.95rem; padding: 12px; border: 1px dashed #7d8796; border-radius: var(--radius); background: var(--band);
}
.field input[type="file"]::file-selector-button { font: inherit; }
/* One button for up to six photos. site.js adds js-photos only when this browser can copy the
   chosen photos into the six hidden fields; otherwise the first three fields show on their own. */
.photo-picker { display: none; }
.js-photos .photo-picker { display: block; }
.js-photos .photo-slot, .photo-extra { display: none; }
.req { color: var(--ink-soft); font-weight: 400; }
.where-it-goes { background: #eaf0fa; border-left: 3px solid var(--blue); padding: 12px 14px; margin: 0; font-size: 0.97rem; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
@media (min-width: 600px) { .form .btn { width: auto; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 36px 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
/* A chevron that turns when the answer opens. site.js adds is-closing while an answer slides shut,
   so the chevron turns back at the start of the close, not the end. */
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
}
.faq details[open]:not(.is-closing) summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { margin: 0 0 14px; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 8px; }

/* ---------- Thank-you page ---------- */
.thanks-promise { font-size: 1.1rem; }
/* "We have your photo." wraps as one piece, so the heading never breaks as "Thanks. We / have your photo." */
.keep-together { display: inline-block; }
.next-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 32px; display: grid; gap: 12px; }
.next-steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 62px; border: 1px solid var(--line); border-radius: var(--radius); }
.next-steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.95rem;
}
.next-steps strong { display: block; }
.tip { background: var(--band); border-left: 3px solid var(--blue); padding: 16px 18px; margin-bottom: 24px; }
.tip h2 { font-size: 1.1rem; margin: 0 0 6px; }
.tip p { margin: 0; }
.faster h2 { margin-top: 0; }

/* ---------- Blog ---------- */
.post-list { list-style: none; margin: 0; padding: 0; max-width: 760px; }
.post-list li { border-bottom: 1px solid var(--line); padding: 22px 0; }
.post-list h2 { font-size: 1.3rem; margin-bottom: 4px; }
.post-list h2 a { text-decoration: none; color: var(--ink); }
.post-list h2 a:hover { color: var(--blue); }
.post-date { color: var(--ink-soft); font-size: 0.95rem; display: block; margin-bottom: 8px; }
.back-link { display: inline-block; margin-bottom: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d6dbe3; padding: 44px 0 28px; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
/* Footer links get a taller tap area, and the phone and email lines stop sitting 5 px apart. */
.site-footer li a, .site-footer p a { display: inline-block; padding: 4px 0; }
.footer-logo { display: inline-block; margin-bottom: 14px; line-height: 0; }
.footer-logo img { height: 52px; width: auto; filter: brightness(0) invert(1); }
.footer-grid { display: grid; gap: 28px; }
.footer-grid h2 { font-size: 0.95rem; color: var(--white); margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { padding: 3px 0; }
.footer-hours th, .footer-hours td { text-align: left; padding: 2px 12px 2px 0; font-weight: 400; vertical-align: top; }
.footer-hours th { font-weight: 600; color: var(--white); }
.footer-hours { border-collapse: collapse; }
.footer-note { border-top: 1px solid #333a44; margin-top: 32px; padding-top: 18px; color: #aab2bf; font-size: 0.88rem; }
.footer-note p { margin-bottom: 6px; max-width: 70ch; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.1fr 1.3fr 0.8fr 0.8fr; } }
.footer-hours td, .hours td { white-space: nowrap; }

/* ---------- Gentle fade-in (section 2 of the spec) ----------
   The hidden starting state exists only when site.js has run AND the visitor allows motion.
   With scripts blocked, or with reduced motion on, every section is simply there. */
@media (prefers-reduced-motion: no-preference) {
  /* Luke asked for "just a touch more" slide (2026-10-14, after bonsaitattooremoval.com, whose top
     lines rise 30px and whose lower sections rise 20px, fading over about 0.6 to 0.7s): longer
     distances that stay within Bonsai's, timing a little longer, and a curve that starts quick and
     settles slowly, so the move reads as a slide. */
  .motion-ok .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
  .motion-ok .reveal.is-in { opacity: 1; transform: none; }
  /* A link to a part of a page (Home's "Why Choose Restore" goes to about.html#why-title) lands on it:
     the section holding the link's target shows in place at once. Sliding it in would move it 20px up
     after the browser's jump and tuck the heading under the pinned header. */
  .motion-ok .reveal:has(:target) { opacity: 1; transform: none; transition: none; }

  /* Cards in a row arrive one after another once their section is in view. */
  .motion-ok .reveal :is(.reviews, .ba-list, .awards, .bands) > * {
    opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .motion-ok .reveal.is-in :is(.reviews, .ba-list, .awards, .bands) > * { opacity: 1; transform: none; }
  .motion-ok .reveal.is-in :is(.reviews, .ba-list, .awards, .bands) > :nth-child(2) { transition-delay: 0.12s; }
  .motion-ok .reveal.is-in :is(.reviews, .ba-list, .awards, .bands) > :nth-child(3) { transition-delay: 0.24s; }
  .motion-ok .reveal.is-in :is(.reviews, .ba-list, .awards, .bands) > :nth-child(n+4) { transition-delay: 0.36s; }

  /* On page load: the top of every page rises into place; on Home the hero text arrives line by line.
     CSS only, so it runs with scripts blocked too. It moves but does not fade: a first screen that
     starts invisible counts as not loaded yet, which made Home's main content arrive 0.7 to 1.1 s
     later on a slow phone (red-team fix, 2026-10-08). Sections further down still fade in on scroll. */
  @keyframes rise { from { transform: translateY(24px); } to { transform: none; } }
  main > :first-child:not(.hero) { animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
  /* A link to one item in the top section (faq.html#how-many-sessions) lands on that item. The rise
     would move it 24px up after the browser has jumped, tucking it under the pinned header, so a
     top section holding the link's target arrives already in place. A zero duration, not "none":
     changing the animation's name later (when the visitor moves on to another part of the page)
     would replay the rise, and changing its duration does not. */
  main > :first-child:has(:target) { animation-duration: 0s; }
  .hero-text > * { animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.15s; }
  .hero-text > :nth-child(3) { animation-delay: 0.3s; }
  .hero-text > :nth-child(n+4) { animation-delay: 0.45s; }

  .faq summary::after { transition: transform 0.25s ease; }
}

/* Printing or saving as PDF shows every section, including ones the visitor never scrolled to. */
@media print {
  .motion-ok .reveal,
  .motion-ok .reveal :is(.reviews, .ba-list, .awards, .bands) > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}
