/* ============================================================
   Serenity Now Solutions — site styles
   Built on tokens.css. Never hardcode a color or a font here.
   ============================================================ */

@import url("./tokens.css");

/* ---------- base ---------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--tracking-display);
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7vw, var(--size-display));
  line-height: var(--lh-display);
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, var(--size-section));
  line-height: 1.1;
}

h3 {
  font-size: var(--size-title);
  line-height: 1.2;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brown-80);
}

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

/* Skip link — first thing in the tab order, hidden until focused. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brown);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-surface) 0;
  z-index: 20;
}

.skip:focus {
  left: 0;
  color: var(--cream);
}

/* ---------- layout ---------- */

.wrap {
  width: min(100% - (var(--gutter) * 2), 84rem);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-gap);
}

.stack {
  display: flex;
  flex-direction: column;
}

/* Gap modifiers. These were inline style attributes; the production CSP sets
   style-src 'self', which blocks inline styles, so they live here instead. */
.stack--xs { gap: 0.75rem; }
.stack--sm { gap: 1.25rem; }
.stack--md { gap: 1.5rem; }
.stack--lg { gap: 2rem; }
.stack--xl { gap: 2.5rem; }

.label--spaced { margin-bottom: 1.5rem; }

.measure {
  max-width: var(--measure);
}

.label {
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brown-60);
}

.lead {
  font-size: clamp(1.125rem, 2.2vw, var(--size-lead));
  line-height: var(--lh-lead);
}

/* Standalone note under the service-area list. Was an inline style attribute;
   moved here so the Content-Security-Policy needs no 'unsafe-inline'. */
.areas-note {
  margin-top: 1.5rem;
}

.rule {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 0;
}

/* ---------- header ---------- */

/* ============================================================
   The "Calling Card" header + service footer. Built for V2 of the
   home page, now used by every page. The V1 .site-header /
   .site-footer components they replaced have been removed.
   ============================================================ */

/* stacked mark: name over a small letterspaced descriptor */
.mark-stack {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: 1.1;
}

.mark-stack b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  letter-spacing: var(--tracking-display);
}

.mark-stack span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-60);
}

.nav-caps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.1rem, 3vw, 2.4rem);
  font-size: 0.75rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.nav-caps a {
  text-decoration: none;
  padding-block: 0.2rem;
}

.nav-caps a[aria-current="page"] {
  border-bottom: 1px solid var(--brown);
}

.one-hdr {
  background: var(--linen);
  padding-block: clamp(1.75rem, 3.5vw, 2.6rem) 0;
  text-align: center;
}

.one-hdr__rule {
  margin-top: clamp(1.4rem, 3vw, 2rem);
  border: 0;
  height: 1px;
  background: var(--rule);
}

.one-hdr .nav-caps {
  padding-block: 1.1rem;
}

/* footer */
.ftr-a {
  background: var(--lavender);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
  margin-top: var(--section-gap);
}

.ftr-a__cols {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 40rem) {
  .ftr-a__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62rem) {
  .ftr-a__cols {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.2fr);
  }
}

/* the brand column repeats the stacked mark, left-aligned */
.ftr-a .mark-stack {
  text-align: left;
}

.ftr-col h3 {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brown-80);
  margin: 0 0 0.9rem;
}

.ftr-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.ftr-col a {
  text-decoration: none;
}

.ftr-col a:hover {
  text-decoration: underline;
}

.ftr-towns {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--brown-80);
  margin: 0;
}

.legal-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.75rem;
  color: var(--brown-80);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.1rem;
  border-top: 1px solid color-mix(in srgb, var(--brown) 22%, transparent);
}

.legal-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.legal-bar a {
  text-decoration: none;
}

/* ============================================================
   V2 call to action — copy left, photograph right.
   Off the image the type sits on plain linen, so it reads at full
   contrast and needs no scrim at all.
   ============================================================ */

.split-cta {
  padding-block: var(--section-gap);
}

.split-cta__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .split-cta__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  }
}

.split-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.6vw, 1.9rem);
  max-width: 34rem;
}

.split-cta__copy h2 {
  font-size: var(--size-band);
  line-height: 1.08;
}

.split-cta__copy p {
  font-size: var(--size-lead);
  line-height: var(--lh-lead);
}

.split-cta__media {
  position: relative;
}

.split-cta__media img {
  width: 100%;
  border-radius: var(--radius-surface);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* The linen veil from the live site — Squarespace applies it as
   .fluidImageOverlay at rgba(229,224,218,0.51). It is what keeps the
   photography sitting back rather than competing with the type. */
.split-cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-surface);
  background: color-mix(in srgb, var(--linen) 51%, transparent);
}

/* ============================================================
   V2 hero — full-bleed photograph with the copy over it.
   ============================================================ */

.hero-photo {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: min(78vh, 40rem);
  padding-block: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-photo__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* One film over the whole hero, no panel behind the copy.
   NOTE: 30% is a deliberate look-first choice. Measured against the pixels
   behind the copy, body text lands around 3.2:1 at the darkest points, under
   the 4.5:1 AA asks for text this size — it will be hard to read for some
   people where the photograph is busy. 45% cleared large text; ~70% is what
   body copy needs. Raise this value if accessibility outweighs the look. */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--linen) 30%, transparent);
}

.hero-photo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 1.85rem);
  max-width: 46rem;
}

/* Tighter rhythm than V1's hero, and a wider measure so the lead reads in two
   lines rather than four. Scoped to .hero-photo so V1's spacing is untouched. */
.hero-photo .hero__h1 {
  gap: clamp(0.4rem, 1.2vw, 0.9rem);
}

.hero-photo .hero__notes {
  gap: clamp(1rem, 2.2vw, 1.6rem);
  margin-top: 0;
  max-width: 37rem;
}

/* The lavender fill only reaches ~1.3:1 against linen or a pale photograph,
   under the 3:1 WCAG asks for a control's edge, so it carries a brown outline
   anywhere it sits on a light ground. */
.hero-photo .btn--secondary,
.split-cta .btn--secondary {
  border-color: var(--brown);
}

.hero-photo .btn--secondary:hover,
.split-cta .btn--secondary:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

/* ============================================================
   V2 review cards — stars, quote, rule, attribution.
   Her fonts throughout: the quote runs in Almarai because it is body
   copy, which is what the type rules say and what makes it read as a
   real review rather than a pull quote.
   ============================================================ */

/* Horizontal carousel. Cards stretch to a common height so the row reads as
   one band — the longest testimonial sets it. Scrolls by touch, trackpad and
   keyboard on its own; the arrows are an addition, not a requirement. */
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(85%, 26rem);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  scrollbar-color: var(--brown-40) transparent;
}

.review {
  scroll-snap-align: start;
  margin: 0;
  background: var(--linen);
  border: 1px solid color-mix(in srgb, var(--brown) 14%, transparent);
  border-radius: 10px;
  padding: clamp(1.25rem, 2.2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.review__stars {
  --star: var(--gold);
  display: flex;
  gap: 0.15rem;
  color: var(--star);
}

.review__stars svg {
  width: 1rem;
  height: 1rem;
}

.review p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: normal;
}

/* Cards share a height, so pin the attribution to the bottom of the card.
   Left under the quote it looks like the card ran out of content; anchored,
   the names line up across the row and the space reads as deliberate. */
.review footer {
  margin-top: auto;
  border-top: 1px solid color-mix(in srgb, var(--brown) 16%, transparent);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.review cite {
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--fg);
}

.review__meta {
  font-size: 0.8125rem;
  color: var(--brown-80);
}

/* ============================================================
   V2 service area — leaf bullets + a map of the Triangle.
   Town positions in the map are projected from real coordinates,
   not drawn by eye. See tools note in CLAUDE.md.
   ============================================================ */

.areas-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .areas-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

.areas-leaf {
  list-style: none;
  margin: clamp(1.25rem, 3vw, 1.9rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.85rem 1.25rem;
}

.areas-leaf li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: var(--tracking-display);
}

.areas-leaf svg {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--brown-60);
  flex-shrink: 0;
}

/* Real county boundaries (US Census), projected and cropped to a landscape
   window around the towns. Lavender family: surrounding counties recede,
   the three she actually works in come forward. */
.areas-map__svg {
  display: block;
  width: 100%;
  height: auto;
}

.areas-map__land path {
  fill: var(--lavender-mist);
  stroke: var(--lavender);
  stroke-width: 1.2;
}

.areas-map__served path {
  fill: var(--lavender);
  stroke: var(--lavender-deep);
  stroke-width: 1.8;
}

.areas-map__dots {
  fill: var(--brown);
}

.areas-map__dots text {
  font-family: var(--font-body);
  font-size: 18px;
  fill: var(--brown);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.2;
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  border: 1px solid var(--brown);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background 150ms ease, color 150ms ease;
}

.btn:hover {
  background: var(--brown-80);
  border-color: var(--brown-80);
  color: var(--cream);
}

.btn--secondary {
  background: var(--lavender);
  border-color: var(--lavender);
  color: var(--brown);
}

.btn--secondary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--brown);
}

.btn--outline {
  background: transparent;
  color: var(--brown);
}

.btn--outline:hover {
  background: var(--brown);
  color: var(--cream);
}

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

.hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
  padding-block: 0 clamp(2rem, 6vw, 5rem);
}

@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  }
}

/* Vertical rhythm measured off the live hero at a 1221px viewport:
   56px between the headline lines, 56px to the button, 122px to the lead,
   65px between the two paragraphs. */
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4.6vw, 3.5rem);
  align-items: center;
  text-align: center;
  padding-top: clamp(1.5rem, 5vw, 4rem);
}

/* Her headline is two stacked blocks in a ~500px box: the first line flush
   left, the second centred inside the same box. That is what produces the
   staggered look, not a single centred column. */
/* The headline box has to scale WITH the font, not sit at a fixed width.
   Her box runs ~41% of the viewport while the font runs 4.9vw, so the ratio
   stays constant and the line never breaks. A fixed 500px cap broke it around
   1250px, where the font reaches ~62px and the line needs ~519px.
   44vw leaves headroom; the 40rem cap pairs with the font's own 72px ceiling. */
.hero__h1 {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 4.6vw, 3.5rem);
  width: 100%;
  max-width: min(44vw, 40rem);
  font-size: var(--size-hero);
  line-height: 1;
}

.hero__h1 span {
  display: block;
}

.hero__h1 span:first-child {
  text-align: left;
}

.hero__h1 span:last-child {
  text-align: center;
}

/* Both hero paragraphs run at lead size on the live site — not lead + body. */
.hero__notes {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5.3vw, 4.0625rem);
  margin-top: clamp(0.5rem, 5.4vw, 4.125rem);
  max-width: 23.25rem;
}

.hero__notes p {
  font-size: var(--size-lead);
  line-height: var(--lh-lead);
}

/* The live hero image is a tall narrow strip — 413 x 1109 in a 1000px section —
   with a linen veil painted over it at 51%. That veil is what softens the
   photograph into the background instead of letting it compete with the
   headline. Squarespace does it with a sibling div; here it is a pseudo-element. */
.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  aspect-ratio: 413 / 1109;
}

/* On desktop the live image stretches to the height of the copy column
   rather than holding a fixed ratio. */
@media (min-width: 56rem) {
  .hero__media img {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--linen) 51%, transparent);
}

/* ---------- full-bleed band over an image ---------- */

.band {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  text-align: center;
  /* the live section measures 775px tall at 1000px wide */
  min-height: min(92vh, 48.5rem);
  padding-block: var(--section-gap);
  overflow: hidden;
  color: var(--cream);
}

.band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brown scrim at 45%, matching the live build — the photograph is bright, so
   the type reverses out of it in cream rather than sitting on a light wash. */
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--brown) 45%, transparent);
}

/* Her band sets the heading to ~60% of the viewport and the paragraph
   narrower again at ~45%. */
.band__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  max-width: min(58rem, 74%);
}

.band__inner p {
  max-width: min(34rem, 45vw);
}

.band h2 {
  font-size: var(--size-band);
  line-height: 1;
}

/* Body size here, not lead — the live band runs 16/24. */
.band p {
  font-size: var(--size-body);
  line-height: var(--lh-body);
}

/* ---------- version switcher (demo only — remove before launch) ---------- */

/* ---------- full-bleed section tints ----------
   Her sections each carry their own background: hero linen, CTA brown,
   testimonials CREAM, service area linen, footer lavender. The testimonial
   cards are linen sitting on that cream, which is what makes them read as
   cards at all — both are otherwise the same family. */

.section-quotes {
  background: var(--cream);
  padding-block: var(--section-gap);
}

.section-quotes .quote {
  background: var(--linen);
}

/* ---------- testimonials ---------- */

.quotes {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88%, 26rem);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  /* keep the scrollbar from cropping the cards */
  scrollbar-color: var(--brown-40) transparent;
}

.quote {
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius-surface);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.1875rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.quotes__controls {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.circle-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--brown-60);
  background: transparent;
  color: var(--brown);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.circle-btn:hover {
  background: var(--brown);
  color: var(--cream);
}

.circle-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Solid arrows, as on the live build. */
.circle-btn--solid {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.circle-btn--solid:hover {
  background: var(--brown-80);
  border-color: var(--brown-80);
}

/* ---------- v1: one testimonial at a time, matching the live carousel ----------
   Slide is 899 of 1000px with the next just visible; card padding 51.75px;
   quote Libre Baskerville 30.6/34.1 left-aligned; attribution Almarai 18.4. */

.quotes--solo {
  grid-auto-columns: min(90%, 64rem);
  /* let each slide size to its own content instead of stretching every card
     to match the longest testimonial */
  align-items: start;
}

.quotes--solo .quote {
  background: var(--linen);
  border-radius: 0;
  padding: clamp(1.75rem, 5vw, 3.23rem);
  gap: 2.5rem;
  justify-content: flex-start;
}

.quotes--solo .quote p {
  font-size: var(--size-quote);
  line-height: 1.113;
  letter-spacing: -0.01em;
  text-align: left;
}

.quotes--solo .quote cite {
  font-size: 1.152rem;
  line-height: 1.505;
  color: var(--fg);
}

/* v1 service area — her lines are headings with emoji pins inline */
/* Her town lines are hand-aligned with runs of literal spaces, and there is a
   deliberate empty line before "And Surrounding Communities". pre-wrap keeps
   that spacing instead of collapsing it. Every line carries a 32px margin. */
.area-line {
  font-family: var(--font-display);
  font-size: var(--size-area);
  line-height: 1.171;
  letter-spacing: var(--tracking-display);
  white-space: pre-wrap;
  margin: 0;
}

.area-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ---------- pillars ---------- */

.pillars {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  background: var(--lavender-mist);
  border-radius: var(--radius-surface);
  padding: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 48rem) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .pillar + .pillar {
    border-left: 1px solid var(--brown-40);
    padding-left: clamp(1.5rem, 3vw, 3rem);
  }
}

.pillar svg {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--brown);
}

.pillar h3 {
  max-width: 12ch;
}

.pillar__dash {
  width: 2.25rem;
  height: 2px;
  background: var(--lavender-deep);
  border: 0;
}

.pillar p {
  font-size: 0.9375rem;
  max-width: 26ch;
}

/* ---------- service area ---------- */

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.areas li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}

.areas svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brown-60);
  flex-shrink: 0;
}

/* ---------- galleries ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius-surface);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gallery figcaption {
  font-size: 0.8125rem;
  letter-spacing: var(--tracking-caption);
  color: var(--fg-muted);
}

/* before / after pairs */

.ba-set {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.ba {
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ba > h3 {
  grid-column: 1 / -1;
  font-size: 1.25rem;
}

.ba figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ba img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-surface);
}

.ba figcaption {
  font-size: 0.6875rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--brown-60);
}

/* ---------- split (about intro) ---------- */

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 56rem) {
  .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-surface);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- forms ---------- */

.form {
  display: grid;
  gap: 1.5rem;
  max-width: 42rem;
}

/* Spam trap. Off-screen rather than display:none — some bots skip anything
   that is hidden outright, and this stays out of the tab order either way. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form-status {
  font-size: 0.9375rem;
  max-width: 34rem;
}

.form-status[data-state="ok"] {
  color: var(--brown);
}

.form-status[data-state="error"] {
  color: var(--brown);
  font-weight: 700;
}

/* Sent: the button stops being a button. Brown on linen rather than the
   filled pill, so it reads as a statement instead of something to press. */
.btn.is-sent,
.btn.is-sent:hover {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown-40);
  cursor: default;
}

.btn:disabled {
  cursor: default;
}

@media (min-width: 40rem) {
  .form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field--narrow { max-width: 20rem; }

.field > label,
.fieldset > legend {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
}

.field input,
.field textarea,
.field select {
  font-family: var(--font-body);
  font-size: var(--size-body);
  color: var(--fg);
  background: var(--cream);
  border: 1px solid var(--brown-40);
  border-radius: var(--radius-surface);
  padding: 0.85rem 1rem;
  width: 100%;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--brown);
  outline: none;
}

.fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.6rem 1.25rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9375rem;
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--brown);
  flex-shrink: 0;
}

.req {
  color: var(--brown-60);
}

/* A plain, honest notice — this build has no form backend yet. */
/* ---------- footer ---------- */

