/* ════════════════════════════════════════════════════════════════════
   WILD WEST DRYWALL — site styles

   ⚠️ CACHING — read before wondering why a deploy "didn't take".

   css/ and js/ are served with `Cache-Control: max-age=604800` (7 days), so every
   deploy has to give them a new URL or browsers keep the old file.

   This used to append `?v=<content hash>`, and that is NOT sufficient. Pages serves
   files by PATH and ignores the query string, so a request landing in the window
   right after a deploy — while the edge is still resolving the previous deployment —
   got the OLD body, and the edge then cached that old body under the NEW hash URL for
   the full 7 days. The symptom is nasty: index.html and the images update, the CSS
   silently does not, and re-deploying changes nothing because the hash is derived
   from content so the URL comes out identical. Hit for real on 2026-10-06 (the
   cactus sway): the apex served a 192-rule stylesheet while the deployment itself
   served 193.

   FIXED in tools/build.sh — the hash now goes in the FILENAME (style.<hash>.css). A
   new build writes a path the previous deployment does not have, so there is no old
   body to serve, and the worst case is a transient 404 that clears on refresh. Only
   the hashed names ship — shipping the plain name too leaves an unversioned path that
   the edge will serve a stale body from (measured: /js/main.js returning 15,604 bytes
   while the real file was 22,750). build.sh also fails the build if a referenced css/js
   file is missing, because a stylesheet that 404s is a blank page.

   If a deploy still looks stale: purge the cache — dashboard → Caching →
   Configuration → Purge Everything. The wrangler OAuth token cannot; it lacks
   cache_purge.
   ════════════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════════════
   Self-hosted fonts — no third-party requests, ever.
   All three are OFL (open licence), subset to the glyphs this site actually
   uses and compressed to woff2: 24 KB + 12 KB + 5 KB total.
     WWD West — Rye. A genuine western display face, for the brand name only:
                the ornate caps are the signature, not the sales pitch.
     WWD Display — Bevan. The hero headline: 19th-century woodtype, heavier and
                cleaner than Rye, so it reads as a sign rather than a novelty.
     WWD Slab — Zilla Slab Bold. A sturdy slab serif for headings: western
                in feel without tipping into wanted-poster pastiche.
   font-display: swap means text paints immediately in the fallback and
   upgrades when the font arrives — never an invisible headline.
   ════════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'WWD West';
  src: url('../assets/fonts/rye.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WWD Display';
  src: url('../assets/fonts/bevan.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'WWD Slab';
  src: url('../assets/fonts/zillaslab-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ════════════════════════════════════════════════════════════════════
   WILD WEST DRYWALL — site styles
   1. Reset & tokens   2. Base           3. Header/nav
   4. Hero             5. Sections/cards 6. Contact/form
   7. Footer           8. Responsive
   ════════════════════════════════════════════════════════════════════ */

/* 1. Reset & tokens */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  /* Palette taken from the logo: a gold horse on near-black navy (#000018).
     Bright neutral surfaces, deep navy for the contrast bands, and the logo gold as the
     single accent. The original warm browns were replaced — they fought the logo and read
     as muddy rather than professional.

     BRIGHTENING PASS: every surface and accent was lifted; every text pair was then
     re-checked against its old ratio, because brightening a surface is the easy way to
     quietly lose contrast. Two tokens had to be pulled back from their first candidates:
       · --adobe  #b85e35 measured 4.48:1 under white (below the 4.5 minimum) → #b2572e
       · --bronze #8a6a39 measured 4.63:1 on the new eggshell, too little margin → #826335
     Net effect: the page, nav, cards and bands are all brighter, and the hero headline
     gained contrast rather than losing it (5.81:1 → 7.58:1 on the hero ramp), because
     --sun got brighter while its backdrop did not. */
  --navy:        #172433;   /* deep navy — dark bands, headings on light */
  --navy-soft:   #243349;   /* lifted navy for gradients */
  --navy-line:   #37485c;   /* hairlines on dark */
  --cream:       #fdf7e8;   /* bright cream — the accent on navy. 14.7:1 on navy */
  --cream-deep:  #f3e9d3;   /* deeper cream — borders and tints on light surfaces */
  --sun:         #f7c873;   /* sunlit gold — headline and tumbleweed highlight. 7.58:1 on the warm hero */
  --sand:        #f9f4e7;   /* pale sandstone — the nav surface */
  --wood:        #4a2c17;   /* dark walnut — nav type on pale sand. 11.5:1 */
  --wood-deep:   #33200f;   /* nav hover */
  --adobe:       #b2572e;   /* adobe — southwest terracotta. white type = 4.89:1 */
  --adobe-deep:  #8f4523;   /* nav hover */
  --blue-deep:   #0d3b66;   /* dark blue — nav text on sky. 5.98:1 on sky */
  --blue-darker: #082a4a;   /* nav hover */   /* vivid sky — brand name on navy */
  --bronze:      #826335;   /* warm readable accent for text on light — 5.14:1 on eggshell */
  --page:        #fffefc;   /* page — bright warm white */
  --eggshell:    #f8f6f1;   /* alternating bands, a shade deeper than the page */
  --line:        #ebe8e1;   /* hairlines on light */
  --surface:     #ffffff;   /* cards sit pure white on the light page */
  --ink:         #101923;
  --muted:       #5f6a78;
  --white:       #ffffff;
  --shadow:      0 1px 2px rgba(16, 25, 35, .05), 0 10px 30px rgba(16, 25, 35, .07);
  --radius:      12px;
}
html { scroll-behavior: smooth; }

/* 2. Base */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 18px; line-height: 1.65;
  color: var(--ink); background: var(--page);
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
img { max-width: 100%; display: block; }
a { color: var(--navy-soft); }
a:hover { color: var(--muted); }
h1, h2, h3 { line-height: 1.2; font-family: 'WWD Slab', Georgia, 'Times New Roman', serif; }

/* 3. Header / nav */
.site-header {
  background: var(--sand); position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--adobe);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 52px; height: 52px; border-radius: 8px; }
.brand-name {
  font-family: 'WWD West', Georgia, serif; font-size: 25px; font-weight: 400; letter-spacing: .5px;
  color: var(--wood); text-transform: uppercase; letter-spacing: 1px;
}
.brand-name em { font-style: normal; color: var(--wood); }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--wood); text-decoration: none; font-size: 16.5px; font-weight: 600; letter-spacing: .4px; }
.site-nav a:hover { color: var(--wood-deep); }
.site-nav .nav-cta {
  background: var(--wood); color: var(--sand); padding: 9px 18px;
  border-radius: 6px; font-weight: 700;
}
.site-nav .nav-cta:hover { background: var(--wood-deep); color: #fffaf0; }
.nav-toggle { display: none; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; background: none; border: none; color: var(--wood); font-size: 26px; line-height: 1; cursor: pointer; }

/* 4. Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(232, 201, 122, .18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 70%, #2f1e0c 100%);
  color: var(--white); text-align: center; padding: 84px 22px 176px;
}
.hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 3; }
.hero-photo { position: relative; overflow: hidden; }
/* <picture> has to fill the hero so the img inside keeps its absolute positioning */
.hero-media { position: absolute; inset: 0; display: block; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%; z-index: 0;
}
/* the portrait crop is already composed for a phone, so centre it */
@media (max-width: 700px) {
  .hero-bg { object-position: center 50%; }
  /* On a phone the headline and body both sit over the middle of the photo, so the
     ramp needs to hold up across more of the frame than it does on desktop. */
  .hero-photo::after {
    background: linear-gradient(180deg,
      rgba(44, 23, 13, .52) 0%,
      rgba(44, 23, 13, .68) 22%,
      rgba(44, 23, 13, .74) 50%,
      rgba(44, 23, 13, .64) 72%,
      rgba(44, 23, 13, .86) 100%);
  }
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  /* BACK TO TAN, at Dan's request (2026-11-11). The navy ramp from 2026-10-26
     was cooler and did push the brand blue, but the warm wash over a warm room
     is the look he wants. This is the pre-navy ramp restored verbatim; the whip
     and z-index fixes from that commit are untouched.
     Darkest at the top and bottom where the text sits, lightest through the
     middle so the photograph still reads. */
  background: linear-gradient(180deg,
    rgba(44, 23, 13, .44) 0%,
    rgba(44, 23, 13, .62) 18%,
    rgba(44, 23, 13, .70) 42%,
    rgba(44, 23, 13, .60) 62%,
    rgba(44, 23, 13, .82) 100%);
}.hero-kicker {
  color: var(--cream); letter-spacing: 3px; text-transform: uppercase;
  font-size: 14.5px; font-weight: 700; margin-bottom: 18px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .60);
}
.hero h1 {
  /* Bevan — 19th-century woodtype, heavier and cleaner than Rye, which now stays
     on the brand mark. 48px is the largest size that keeps the whole line on one
     line inside the 736px hero column; 50px wraps. One weight, so no faux bold. */
  font-family: 'WWD Display', Georgia, serif;
  font-size: 48px; font-weight: 400; text-transform: uppercase; letter-spacing: .5px;
  color: var(--sun);              /* fallback if background-clip: text is unavailable */
  /* A filter, not text-shadow: the gradient glyphs are transparent, so a text-shadow
     would show through them as a dark duplicate. Three passes keep the wide halo that
     makes light-on-photo work while the tight pass keeps the edge crisp. */
  filter: drop-shadow(0 0 14px rgba(0, 0, 0, .35))
          drop-shadow(0 2px 8px rgba(0, 0, 0, .55))
          drop-shadow(0 1px 2px rgba(0, 0, 0, .8));
}

/* The gold is a gradient, per letter, so every cap gets the same light-to-bronze
   fall. The @supports guard means an old browser still gets flat --sun, not
   invisible text. */
.hero-title .l > span {
  color: var(--sun);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-title .l > span {
    background: linear-gradient(180deg, #fff3d1 0%, #f7c873 40%, #d99a38 74%, #c8872f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
.hero-sub {
  font-size: 20px; color: var(--cream-deep); margin: 18px auto 28px; max-width: 620px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .60);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-phone { margin-top: 26px; }
.hero-phone a { color: var(--cream); font-size: 26px; font-weight: 700; text-decoration: none; letter-spacing: 1px; }
.hero-phone a:hover { color: #fffaf0; }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 6px;
  font-weight: 700; font-size: 17px; letter-spacing: .6px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
/* Sand fill, walnut label. The border has to carry the button on white cards
   (sand against white is barely a tint), so it is a warm tan at 3.5:1 rather
   than a hairline — a control boundary needs 3:1 to be seen at all. */
.btn-gold { background: var(--sand); color: var(--wood); border-color: #b39a63; }
.btn-gold:hover { background: #fffdf8; color: var(--wood-deep); }
/* On the white form the cream button has almost no contrast against its own
   background, and "Send Request" is the one thing we most want clicked. Invert it
   there: navy fill, cream label. Same palette, correct emphasis per context. */
.quote-form .btn-gold {
  background: var(--navy); color: var(--cream); border-color: var(--navy);
}
.quote-form .btn-gold:hover { background: var(--navy-soft); color: #fffaf0; }
.btn-outline { border-color: var(--bronze); color: var(--bronze); }
/* Over the hero photo the button must be cream, or bronze disappears into the image. */
.hero .btn-outline { border-color: var(--cream); color: var(--cream); }
.hero .btn-outline:hover { background: rgba(246, 239, 221, .14); color: #fffaf0; }
.btn-outline:hover { background: rgba(232, 201, 122, .12); }
.btn-block { width: 100%; }

/* 5. Sections & cards */
.section { padding: 72px 0; }
.section-dark { background: var(--eggshell); color: var(--ink); }
.section-kicker {
  color: var(--muted); text-transform: uppercase; letter-spacing: 3px;
  font-size: 13.5px; font-weight: 700; text-align: center; margin-bottom: 8px;
}
.section-dark .section-kicker { color: var(--bronze); }
.section-title { text-align: center; font-size: 40px; color: var(--navy-soft); margin-bottom: 40px; }
.section-dark .section-title { color: var(--navy); }
.grid { display: grid; gap: 22px; }

.services-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--white); border: 1px solid #efe9dd; border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); border-top: 4px solid var(--cream-deep);
}
.card-icon { font-size: 32px; margin-bottom: 10px; min-height: 200px; display: flex; align-items: center; justify-content: center; }
.card h3 { color: var(--navy-soft); font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16.5px; }

/* Card photos — flush to the card's top edge, above the gold rule */
.card { overflow: hidden; }
.card-photo {
  width: calc(100% + 52px); margin: -26px -26px 18px;
  height: 200px; object-fit: cover; background: #f6f2ea;
  border-bottom: 3px solid var(--cream-deep);
}

/* Work gallery */
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.shot {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
/* Lazy-loaded photos: until one arrives the tile shows a warm placeholder with the alt
   text styled as a caption. Full-page screenshots capture this state because the images
   are below the viewport and have not been requested yet — it is not a broken image. */
.shot img {
  background: linear-gradient(135deg, #f8f5ef 0%, #efe9dd 100%);
  color: var(--muted); font-size: 13px; line-height: 1.45; padding: 14px;
}
.shot img { width: 100%; height: 230px; object-fit: cover; object-position: center; }
.shot figcaption { padding: 12px 15px; font-size: 13.5px; color: #cfc7ba; }

.why-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.why-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.why-item h3 { color: var(--navy); font-size: 20px; margin-bottom: 6px; }
.why-item p { color: var(--muted); font-size: 16.5px; }

/* 6. Service area + contact */
.area-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.area-wrap .section-title, .area-wrap .section-kicker { text-align: left; }
.area-wrap p { color: var(--muted); margin-bottom: 12px; }
.area-callout {
  background: var(--surface); border: 1px solid #efe9dd; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); border-left: 6px solid var(--cream-deep);
}
.area-callout-title { font-family: 'WWD Slab', Georgia, serif; font-size: 23px; color: var(--navy-soft); font-weight: 700; }

.contact-grid { grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: start; }
.contact-info h3 { color: var(--navy); font-size: 26px; margin-bottom: 14px; }
.contact-info p { color: var(--muted); margin-bottom: 8px; }
.contact-line a { color: var(--bronze); text-decoration: none; font-weight: 600; }
.contact-line a:hover { color: var(--navy); }
/* Was #b7ae9f, which measured about 2.1:1 on the light page — well under the 4.5
   minimum, and it carried an !important that hid it. Now on --muted (5.45:1). */
.contact-note { font-style: italic; color: var(--muted) !important; margin-top: 16px; font-size: 15.5px; }

.quote-form {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.quote-form label { display: block; font-weight: 700; font-size: 13.5px; letter-spacing: .5px; text-transform: uppercase; color: var(--navy-soft); margin: 14px 0 5px; }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 11px 12px; font-size: 17px; font-family: inherit;
  border: 1px solid #e6ded2; border-radius: 6px; background: #fffefc; color: var(--ink);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(125, 95, 51, .18);
}
.quote-form .btn { margin-top: 18px; }
.form-hint { font-size: 14.5px; color: var(--muted); margin-top: 10px; }

/* Honeypot: hidden from people, still present for bots. Deliberately not display:none —
   some bots skip hidden fields, so this is moved off-screen and shrunk instead. */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

/* 7. Footer — the film is a wide backdrop, not a player. */
.site-footer {
  position: relative; overflow: hidden;
  background: #190f08; color: var(--cream);
  padding: 40px 0 22px; border-top: 3px solid var(--adobe);
  min-height: 400px;
  display: flex; flex-direction: column; justify-content: center;
}
.footer-media, .footer-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; object-fit: cover; object-position: center 42%;
}
.footer-media { display: block; }
.footer-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.footer-video { pointer-events: none; background: #190f08; }
.footer-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(18, 10, 5, .90) 0%, rgba(18, 10, 5, .72) 42%, rgba(18, 10, 5, .38) 78%, rgba(18, 10, 5, .30) 100%),
    linear-gradient(180deg, rgba(18, 10, 5, .30) 0%, rgba(18, 10, 5, .12) 45%, rgba(18, 10, 5, .80) 100%);
}
.footer-row { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; border-radius: 6px; }
.footer-brand em { color: var(--sun); }
.footer-links a { color: var(--cream); text-decoration: none; display: inline-block; margin-right: 16px; font-size: 15px; }
.footer-links a:hover { color: var(--sun); }
.footer-audio { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-contact a { color: var(--cream); text-decoration: none; }
.footer-contact a:hover { color: var(--sun); }
.footer-legal { position: relative; z-index: 2; text-align: center; margin-top: 24px; font-size: 14.5px; color: rgba(253, 247, 232, .72); }
.site-footer .sound-toggle { color: var(--cream); border-color: rgba(253, 247, 232, .6); }
.site-footer .sound-toggle:hover { background: rgba(255, 255, 255, .1); border-color: var(--sun); }
.site-footer .sound-toggle[aria-pressed="true"] { color: var(--sun); border-color: var(--sun); }
@media (max-width: 900px) {
  .site-footer { min-height: 520px; padding: 48px 0 28px; }
  .footer-shade {
    background:
      linear-gradient(180deg, rgba(18, 10, 5, .60) 0%, rgba(18, 10, 5, .82) 55%, rgba(18, 10, 5, .92) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-video { display: none; }
}

/* 8. Responsive */
@media (max-width: 860px) {
  .area-wrap, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .nav-toggle { display: grid; place-items: center; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--sand); flex-direction: column; gap: 4px;
    padding: 12px 22px 20px; border-bottom: 3px solid var(--adobe);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; width: 100%; border-bottom: 1px solid rgba(74,44,23,.18); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .card-photo, .card-icon { min-height: 180px; height: 180px; }
}

/* ════════════════════════════════════════════════════════════════════
   9. Motion, depth & polish  (added 2026-10-03)
   ────────────────────────────────────────────────────────────────────
   Everything here degrades gracefully: with JavaScript off the content is
   fully visible, and with reduced-motion on there is no movement at all.
   ════════════════════════════════════════════════════════════════════ */

/* --- Scroll reveal -------------------------------------------------- */
/* Default state is VISIBLE. JS opts elements into the animated state by adding
   .reveal-ready, so a broken script can never hide the site. */
.reveal { opacity: 1; }
.reveal-ready .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* Stagger siblings so grids cascade instead of popping in together */
.reveal-ready .services-grid .reveal:nth-child(2),
.reveal-ready .gallery-grid  .reveal:nth-child(2),
.reveal-ready .why-grid      .reveal:nth-child(2) { transition-delay: .07s; }
.reveal-ready .services-grid .reveal:nth-child(3),
.reveal-ready .gallery-grid  .reveal:nth-child(3),
.reveal-ready .why-grid      .reveal:nth-child(3) { transition-delay: .14s; }
.reveal-ready .services-grid .reveal:nth-child(4),
.reveal-ready .gallery-grid  .reveal:nth-child(4),
.reveal-ready .why-grid      .reveal:nth-child(4) { transition-delay: .21s; }
.reveal-ready .services-grid .reveal:nth-child(5),
.reveal-ready .gallery-grid  .reveal:nth-child(5),
.reveal-ready .why-grid      .reveal:nth-child(5) { transition-delay: .28s; }
.reveal-ready .services-grid .reveal:nth-child(6),
.reveal-ready .gallery-grid  .reveal:nth-child(6),
.reveal-ready .why-grid      .reveal:nth-child(6) { transition-delay: .35s; }

/* --- Header that reacts to scrolling -------------------------------- */
.site-header { transition: padding .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, .45); }
.site-header.is-scrolled .brand-logo { width: 42px; height: 42px; }
.brand-logo { transition: width .25s ease, height .25s ease; }

/* --- Hero: slow drift on the background photo ----------------------- */
@keyframes heroDrift {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.12) translateY(-10px); }
}
.hero-bg { animation: heroDrift 26s ease-in-out infinite alternate; }

/* --- Counters ------------------------------------------------------- */
.stat-band {
  background: var(--eggshell);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 52px 0;
}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num {
  font-family: 'WWD Slab', Georgia, serif; font-size: 46px; font-weight: 700;
  color: var(--navy); line-height: 1; display: block;
}
.stat-num .stat-suffix { font-size: .6em; }
.stat-label {
  display: block; margin-top: 8px; font-size: 14.5px; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--muted);
}

/* --- Gallery: click to enlarge -------------------------------------- */
.shot { cursor: zoom-in; }
.shot img { transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.shot:hover img { transform: scale(1.05); }
.shot:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 500; display: none;
  align-items: center; justify-content: center;
  background: rgba(12, 9, 5, .94); padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
  color: #d8d2c6; font-size: 15.5px; padding: 0 20px; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: none; border: 0;
  color: var(--cream); font-size: 40px; line-height: 1; cursor: pointer;
}

/* --- Nicer link hovers ---------------------------------------------- */
.contact-line a, .footer-contact a { transition: color .2s ease; }

/* --- Respect the user's motion preference --------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-bg { animation: none !important; }
  .shot img { transition: none !important; }
  .shot:hover img { transform: none !important; }
  html { scroll-behavior: auto; }
  .site-header, .brand-logo { transition: none !important; }
}

@media (max-width: 860px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .stat-num { font-size: 36px; }
}

/* ════════════════════════════════════════════════════════════════════
   10. Hero entrance — the main text rises in, staggered
   ────────────────────────────────────────────────────────────────────
   Pure CSS, runs on load. Disabled entirely under prefers-reduced-motion,
   and because every element ends at opacity 1 the text is always readable
   even if the animation never runs.
   ════════════════════════════════════════════════════════════════════ */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-kicker,
.hero h1,
.hero-sub,
.hero-actions,
.hero-phone {
  animation: heroRise .95s cubic-bezier(.22, .61, .36, 1) both;
}
.hero-kicker  { animation-delay: .05s; }
.hero h1      { animation-delay: .18s; }
.hero-sub     { animation-delay: .34s; }
.hero-actions { animation-delay: .48s; }
.hero-phone   { animation-delay: .62s; }

@media (prefers-reduced-motion: reduce) {
  .hero-kicker, .hero h1, .hero-sub, .hero-actions, .hero-phone {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Hero headline: letters fly in large and settle into place ─────────
   Each letter arrives oversized (scale 2.3) and slightly high, then settles
   to its natural size. transform does not affect layout, so every letter
   lands in exactly the right spot — the effect is purely visual.

   No clipping mask here on purpose: a mask would crop the enlarged letters
   and kill the whole idea. Overlap between neighbours during the sweep is
   what makes it read as movement rather than a fade. */
.hero-title { line-height: 1.12; }
.hero-title .w {
  display: inline-block;
  white-space: nowrap;
}
.hero-title .l {
  display: inline-block;
  vertical-align: bottom;
}
.hero-title .l > span {
  display: inline-block;
  transform-origin: 50% 84%;
  opacity: 0;
  filter: blur(6px);
  transform: scale(2.8) translateY(-.16em);
  animation: letterSettle 1.35s cubic-bezier(.19, .72, .28, 1) forwards;
}

/* Big and slow. The key to keeping it from becoming a mash: each letter stays
   near-invisible while it is at its largest, and fades in as it shrinks — so the
   oversized glyphs read as arriving from a distance rather than colliding.
   The blur clears as it lands, which adds depth without a hard edge. */
@keyframes letterSettle {
  0%   { opacity: 0;   filter: blur(6px); transform: scale(2.8) translateY(-.16em); }
  30%  { opacity: .45; filter: blur(3.5px); }
  65%  { opacity: .92; filter: blur(.8px); }
  100% { opacity: 1;   filter: blur(0); transform: scale(1) translateY(0); }
}


/* The old whole-headline rise would fight the word reveal — replace it. */
.hero h1 { animation: none; }

@media (prefers-reduced-motion: reduce) {
  /* filter: none is load-bearing, not tidying. The rule above sets filter: blur(6px)
     and the animation is what used to clear it; with the animation switched off the
     blur simply stayed, so reduced-motion visitors got a headline that was
     permanently soft and faded — the exact opposite of the intent. */
  .hero-title .l > span {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}


/* ════════════════════════════════════════════════════════════════════
   11. Micro-interactions
   ────────────────────────────────────────────────────────────────────
   Small, quick, and purposeful. Each one tells you something: that a link
   is clickable, that a card is a thing you can act on, that a heading has
   just arrived. All of it disappears under prefers-reduced-motion.
   ════════════════════════════════════════════════════════════════════ */

/* Nav link: an underline that sweeps out from the left on hover. */
.site-nav a:not(.nav-cta) {
  position: relative;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: var(--adobe);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .26s cubic-bezier(.22, .61, .36, 1);
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }

/* Cards lift very slightly on hover — reads as "this is interactive". */
.card, .why-item, .area-callout { transition: transform .28s ease, box-shadow .28s ease; }
@media (hover: hover) {
  .card:hover, .why-item:hover, .area-callout:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(74, 44, 23, .13);
  }
}

/* Gallery tiles arrive in sequence rather than all at once. */
.gallery-grid .shot:nth-child(3n+1) { transition-delay: 0s; }
.gallery-grid .shot:nth-child(3n+2) { transition-delay: .09s; }
.gallery-grid .shot:nth-child(3n)   { transition-delay: .18s; }

/* Photography settles in with a gentle scale, so tiles don't just blink on. */
.shot img { transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.shot:hover img { transform: scale(1.035); }

/* Buttons: a sheen that crosses on hover. Subtle — it should register as
   polish, not as an effect. */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg); pointer-events: none;
}
.btn:hover::after { animation: btnSheen .62s ease-out; }
@keyframes btnSheen {
  from { left: -60%; }
  to   { left: 120%; }
}

/* Section heading: a short rule that draws itself in beneath the title. */
.section-title::after {
  content: ""; display: block; width: 46px; height: 3px; margin: 14px auto 0;
  background: var(--adobe);
  transform: scaleX(0); transform-origin: center;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1) .1s;
}
.is-visible .section-title::after,
.section-dark .section-title::after { transform: scaleX(1); }

/* One global switch: honour the OS setting for everything above. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   12. Wild West
   ────────────────────────────────────────────────────────────────────
   Two touches of character, both earning their keep:
     · the logo swings once on load, like a sign just hung
     · a tumbleweed blows across the hero every so often
   Neither blocks anything, both are aria-hidden, and reduced-motion
   removes them completely.

   Three things about the tumbleweed were wrong and are fixed here:
     1. It was spinning at a rate unrelated to how fast it travelled, so it
        read as sliding while a fan turned. Roll rate is now derived from
        distance over circumference — see the --roll note below.
     2. The bounce was a flat -20px for every weed, so the 44px weed bounced
        as far as the 92px one. It is a percentage now, so it scales.
     3. It was drawn IN FRONT of the hero copy (z-index 4 over the z-index 3
        text), so weeds crossed the headline and the buttons. They now pass
        behind the copy.
   ════════════════════════════════════════════════════════════════════ */

/* The logo hangs from a nail: it swings once as the page settles, then stops.
   It used to sway forever. Perpetual motion in a sticky header is not character,
   it is a draft — and because the header also shrinks the logo on scroll, a
   permanently animating transform repainted on every scroll frame. A damped
   swing is both calmer and truer to a real sign losing energy. */
.brand-logo, .brand-name {
  transform-origin: 50% -20%;
  animation: signSway 2.6s cubic-bezier(.25, .6, .3, 1) both;
}
@keyframes signSway {
  0%   { transform: rotate(-3.2deg); }
  35%  { transform: rotate(2.1deg); }
  60%  { transform: rotate(-1.1deg); }
  80%  { transform: rotate(.5deg); }
  100% { transform: rotate(0deg); }
}

/* The tumbleweed.
   Travel is X only, on the standalone `translate` property. That deliberately
   leaves `transform` free for the bounce, so the two run at DIFFERENT periods —
   a real tumbleweed does not bounce in lockstep with its own crossing, and a
   single keyframe animation could not express that without tying them together. */
.tumbleweed {
  position: absolute; bottom: 6px; left: 0;
  z-index: 2;                 /* above the photo and its ramp (0/1), BEHIND the copy (3) */
  pointer-events: none; opacity: 0;
  animation: twTravel 17s linear infinite, twBounce 3.4s ease-in-out infinite;
  will-change: translate, transform;
}

/* The shared gradient is defined once at the top of the hero. Zero-size rather
   than display:none, so the paint server is still available to the four weeds. */
.tw-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* A herd, not a clone: each weed differs in size, lane, speed and phase. Negative
   delays start them part-way through so they never set off in lockstep — the spread
   is what stops them reading as one shape repeated.

   SIZES AND LANES, 2026-11-11. They were 72/54/38 in a 104px strip under the phone
   number, and at 1440 they read as two small sparks at the fold. They are now
   112/84/60 and the hero's bottom padding is 176px, so the bigger weeds have a
   clear floor to tumble on instead of being clipped by it.

   They were briefly lifted into the middle of the hero. That put the tangle inside
   the outlined "Our Services" button, which read as a texture bug rather than a
   tumbleweed, so they came back down. The size and the brighter edge are what make
   them visible; the copy stays z-index 3, so they still pass behind it.

   Heights plus bounce (32% of height) have to stay inside the floor: 112 x 1.32 =
   148, and 8 + 148 = 156 from the bottom, clear of the 176px padding. */
.tumbleweed:nth-of-type(1) { width: 112px; height: 112px; bottom: 8px;   animation-duration: 17s, 3.4s; animation-delay: 0s, 0s;       --roll: 3.65s; }
.tumbleweed:nth-of-type(2) { width: 84px;  height: 84px;  bottom: 40px;  animation-duration: 18s, 2.4s; animation-delay: -5.5s, -0.4s;  --roll: 2.80s; }
.tumbleweed:nth-of-type(3) { width: 60px;  height: 60px;  bottom: 74px;  animation-duration: 19s, 1.9s; animation-delay: -11s, -0.9s;   --roll: 2.10s; }
.tumbleweed--d { width: 46px; height: 46px; bottom: 112px;
  animation-duration: 21s, 2.1s; animation-delay: -15.5s, -1.1s; --roll: 1.85s; }

.tumbleweed svg {
  width: 100%; height: 100%; display: block;
  /* --roll is ONE REVOLUTION. The static values above are the correct physics for a
     1440px viewport; js/main.js recomputes them for the real viewport width, because
     the travel distance is 100vw and so the right rate changes with the screen.
     A rolling wheel turns distance / (pi * diameter) times, so the big weed must
     turn slower than the small one — which is the opposite of what it did. */
  animation: twRoll var(--roll, 3s) linear infinite;
  /* Crisp, not lit. The old 7px currentColor glow read as a spark at 112px; a hard
     offset shadow separates the tangle from the photo without fuzzing its edges. */
  filter: drop-shadow(.6px .9px 0 rgba(20, 10, 4, .85)) drop-shadow(0 2px 2px rgba(20, 10, 4, .4));
}
@keyframes twTravel {
  0%   { translate: -140px 0; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { translate: calc(100vw + 60px) 0; opacity: 0; }
}
/* The bounce, in percentages of the weed's own height. Each arc uses ease-out going
   up and ease-in coming down — that is the ballistic shape a real bounce has, and it
   is why it no longer looks like a sine wave. Heights are deliberately uneven so the
   ground reads as rough rather than as a metronome. */
@keyframes twBounce {
  0%   { transform: translateY(0);    animation-timing-function: ease-out; }
  13%  { transform: translateY(-24%); animation-timing-function: ease-in; }
  26%  { transform: translateY(0);    animation-timing-function: ease-out; }
  39%  { transform: translateY(-32%); animation-timing-function: ease-in; }
  52%  { transform: translateY(0);    animation-timing-function: ease-out; }
  65%  { transform: translateY(-15%); animation-timing-function: ease-in; }
  78%  { transform: translateY(0);    animation-timing-function: ease-out; }
  89%  { transform: translateY(-27%); animation-timing-function: ease-in; }
  100% { transform: translateY(0); }
}
@keyframes twRoll {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Small screens: same 176px floor, smaller weeds, same px anchoring. Peaks are
   112/118/129 from the bottom, so they stay clear of the phone and the copy. */
@media (max-width: 700px) {
  .tumbleweed:nth-of-type(1) { width: 76px; height: 76px; bottom: 12px; }
  .tumbleweed:nth-of-type(2) { width: 56px; height: 56px; bottom: 44px; }
  .tumbleweed:nth-of-type(3) { width: 42px; height: 42px; bottom: 74px; }
  .tumbleweed--d { width: 34px; height: 34px; bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo, .brand-name { animation: none !important; transform: none !important; }
  .tumbleweed { display: none !important; }
}

/* ════════════════════════════════════════════════════════════════════
   13. The whip
   ────────────────────────────────────────────────────────────────────
   Click the hero and a lash snaps toward the pointer. The visual always
   plays (unless reduced-motion is set); the crack is opt-in via the
   footer toggle, so no visitor is ambushed by sound.

   The first version was a 160px constant-width gold stroke. A stroke cannot
   taper, so no colour was ever going to make it read as a whip — it looked
   like a glowing noodle, and at that size it landed on a single word. Three
   things changed:

   1. IT IS A SHAPE, NOT A STROKE. js/main.js samples one cubic curve and
      offsets each sample along the normal by a width that falls from 26px at
      the grip to a needle at the tip, then closes the edges into a filled
      outline. That taper IS the whip; the gradient and the sheen only trim it.

   2. IT IS BIG. 640x240 with the tip under the pointer, so it crosses the
      hero instead of sitting on a word.

   3. IT UNCOILS. The outline is rebuilt every frame from grip to tip over
      200ms, so the tip genuinely travels and the crack fires when it arrives.
      A dash-offset reveal cannot do that to a filled shape.
   ════════════════════════════════════════════════════════════════════ */
.whip-lash {
  position: fixed; width: 640px; height: 240px;
  margin-left: -612px; margin-top: -34px;   /* the pointer becomes the tip */
  pointer-events: none;
  /* BEHIND THE COPY, in front of the photo. At z-index 400 it crossed the headline
     and the body text, which on a phone put the crack straight through a sentence.
     The tumbleweeds already sit at z-index 2 for the same reason. */
  z-index: 2;
  /* Rotate and scale about the TIP, so a random angle still cracks where clicked. */
  transform-origin: 612px 34px;
  transform: rotate(var(--rot, 0deg)) scale(var(--ls, 1));
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .65));
  transition: opacity .26s ease-in;
}
.whip-lash.is-spent { opacity: 0; }
.whip-lash svg { display: block; width: 100%; height: 100%; overflow: visible; }

/* Leather, not metal: a dark walnut grip with a light top edge, a brass collar,
   a wrist loop, and a braided thong that ends in a fall and cracker. */
.lash-wrist          { fill: none; stroke: #3a2412; stroke-width: 6; stroke-linecap: round; }
.lash-wrist-light    { fill: none; stroke: rgba(255, 220, 160, .3); stroke-width: 1.3; stroke-linecap: round; }
.lash-handle         { stroke: #1a0d05; stroke-width: 1; }
.lash-handle-light   { fill: none; stroke: rgba(255, 220, 160, .35); stroke-width: 1.2; stroke-linecap: round; }
.lash-wraps          { fill: none; stroke: #1e1007; stroke-width: 1.1; opacity: .8; }
.lash-pommel         { fill: #3a2412; }
.lash-pommel-edge    { fill: none; stroke: #8a5a2a; stroke-width: 1; }
.lash-ferrule        { fill: #c9962f; stroke: #6b4516; stroke-width: .6; }
.lash-ferrule-light  { fill: none; stroke: rgba(255, 240, 190, .6); stroke-width: .9; stroke-linecap: round; }
.lash-thong          { stroke: #1a0d05; stroke-width: 1.05; stroke-linejoin: round; } /* hairline edge */
.lash-sheen          { fill: none; stroke: rgba(255, 244, 219, .28); stroke-linecap: round; }
.lash-edge           { fill: none; stroke: rgba(255, 238, 198, .55); stroke-linecap: round; }
.lash-underside      { fill: none; stroke: rgba(20, 10, 4, .45); stroke-width: 1.2; stroke-linecap: round; }
.lash-braid          { fill: none; stroke: rgba(15, 8, 3, .6); stroke-width: 1.1; opacity: .78; }
.lash-fall-shadow    { fill: none; stroke: #1a0d05; stroke-width: 2.8; stroke-linecap: round; }
.lash-fall           { fill: none; stroke: #d6a75c; stroke-width: 2; stroke-linecap: round; }
.lash-fall-core      { fill: none; stroke: #f6dfb2; stroke-width: 1; stroke-linecap: round; opacity: .85; }
.lash-cracker        { fill: none; stroke: #f3ddb0; stroke-width: 2; stroke-linecap: round; }
.lash-cracker-fray   { fill: none; stroke: #e8c88a; stroke-width: 1.2; stroke-linecap: round; opacity: .9; }

/* The crack: a star, a shock ring and a couple of sparks, scaled up together from
   the tip. Fires once the outline has finished arriving. */
.lash-spark { opacity: 0; transform-box: view-box; transform-origin: 612px 34px;
  filter: drop-shadow(0 0 4px rgba(255, 226, 170, .85)); }
.lash-spark.is-lit { animation: crackFlash .42s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes crackFlash {
  0%   { opacity: 0; transform: scale(.35); }
  16%  { opacity: 1; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.55); }
}

/* A phone cannot show 640px of whip; scale from the tip so the crack still lands
   under the finger. */
@media (max-width: 700px) { .whip-lash { --ls: .62; } }

/* The sound toggle — small, quiet, and clearly a control. */
.sound-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid #7a5a3c;
  color: var(--wood); font: inherit; font-size: 14.5px; line-height: 1;
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.sound-toggle:hover { background: rgba(74, 44, 23, .08); border-color: var(--adobe); }
.sound-toggle[aria-pressed="true"] { border-color: var(--adobe); color: var(--adobe); }
.sound-toggle:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
.sound-toggle:disabled { opacity: .55; cursor: not-allowed; }
.sound-icon { font-size: 15px; }
.theme-toggle .sound-icon { font-size: 16px; }

/* Skip link — the first keyboard stop on every page. Hidden until focused. */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px;
  overflow: hidden; z-index: 10000;
}
.skip-link:focus {
  position: fixed; left: 12px; top: 12px; width: auto; height: auto;
  padding: 10px 14px; background: #fff; color: #111;
  border: 2px solid #111; border-radius: 6px;
  font-weight: 600; text-decoration: none;
  outline: 3px solid #FF5A66; outline-offset: 2px;
}
#main { scroll-margin-top: 90px; }

/* ════════════════════════════════════════════════════════════════════
   13. Tile page
   ────────────────────────────────────────────────────────────────────
   The tile page reuses the home page's type, buttons, cards and gallery.
   Only the pieces that page needs are added here, and every one of them
   collapses to one column on a phone.
   ════════════════════════════════════════════════════════════════════ */

/* Current page in the nav: the same underline the hover state uses, held on. */
.site-nav a[aria-current="page"] { color: var(--adobe); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* The tile hero has no tumbleweed floor, so it does not need the home hero's
   176px bottom padding. */
.tile-hero { padding-bottom: 120px; }
.tile-hero .hero-inner { max-width: 860px; }

.tile-lead-wrap { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.tile-lead { font-size: 21px; color: var(--navy-soft); margin-bottom: 12px; }
.tile-lead-wrap p + p { color: var(--muted); }
.tile-points { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Three numbered steps. The number is decorative, hence aria-hidden in the HTML;
   the heading carries the meaning. */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border-top: 4px solid var(--cream-deep);
}
.step-num {
  display: block; font-family: 'WWD Slab', Georgia, serif; font-size: 34px;
  font-weight: 700; line-height: 1; color: var(--adobe); margin-bottom: 10px;
}
.step h3 { color: var(--navy); font-size: 21px; margin-bottom: 7px; }
.step p { color: var(--muted); font-size: 16.5px; }

/* The base .shot figcaption is a light colour for a dark overlay that was never
   used; on these white cards it would be unreadable. */
.tile-gallery .shot figcaption { color: var(--muted); background: var(--surface); }

.tile-cta { text-align: center; }
.tile-cta .section-title { margin-bottom: 14px; }
.tile-cta > p:not(.section-kicker):not(.tile-cta-note) {
  color: var(--muted); max-width: 640px; margin: 0 auto 24px;
}
.tile-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tile-cta-note { font-size: 16px; margin-top: 18px; color: var(--muted); }
.tile-cta-note a { color: var(--bronze); font-weight: 600; }
.tile-cta-note a:hover { color: var(--navy); }

/* The Tile card's link on the home services grid. */
.card-link {
  display: inline-block; margin-top: 12px; color: var(--adobe);
  font-weight: 700; font-size: 16px; text-decoration: none;
}
.card-link:hover { color: var(--adobe-deep); text-decoration: underline; }

@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
  .tile-hero { padding-bottom: 96px; }
  .tile-lead { font-size: 19px; }
}

/* The June hero is a bright, white-tiled room. The home hero's warm ramp was
   built for a dark kitchen photo and turned this tile brown, so the tile page
   gets its own, lighter ramp. It is still darkest behind the headline and the
   phone number, where the cream copy needs it. */
.tile-hero.hero-photo::after {
  /* A soft pool of shade behind the copy, not a full-frame overlay. The window
     and the tile field stay bright and readable while the slow zoom runs; the
     copy keeps its contrast from the centre of the pool plus text shadows. */
  background:
    radial-gradient(ellipse 70% 82% at 50% 52%,
      rgba(8, 12, 16, .60) 0%,
      rgba(8, 12, 16, .46) 44%,
      rgba(8, 12, 16, .14) 74%,
      rgba(8, 12, 16, 0) 100%),
    linear-gradient(180deg,
      rgba(8, 12, 16, .18) 0%,
      rgba(8, 12, 16, 0) 20%,
      rgba(8, 12, 16, 0) 74%,
      rgba(8, 12, 16, .34) 100%);
}
/* Lift the tile itself a little; the pool still protects the copy. */
.tile-hero .hero-bg { filter: brightness(1.08) saturate(1.03); }
.tile-hero .hero-kicker { text-shadow: 0 1px 8px rgba(0, 0, 0, .75); }
.tile-hero .hero-sub { text-shadow: 0 2px 10px rgba(0, 0, 0, .70), 0 1px 3px rgba(0, 0, 0, .80); }
.tile-hero .hero-phone a { text-shadow: 0 2px 10px rgba(0, 0, 0, .70), 0 1px 3px rgba(0, 0, 0, .80); }

@media (max-width: 700px) {
  .tile-hero.hero-photo::after {
    background:
      radial-gradient(ellipse 90% 58% at 50% 48%,
        rgba(8, 12, 16, .62) 0%,
        rgba(8, 12, 16, .46) 44%,
        rgba(8, 12, 16, .10) 76%,
        rgba(8, 12, 16, 0) 100%),
      linear-gradient(180deg,
        rgba(8, 12, 16, .20) 0%,
        rgba(8, 12, 16, 0) 18%,
        rgba(8, 12, 16, 0) 72%,
        rgba(8, 12, 16, .36) 100%);
  }
}

/* Client review band — the real Google review, kept near the work. */
.review-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
}
.review-wrap { max-width: 900px; text-align: center; }
.review-band .section-kicker { color: var(--sun); }
.review-heading {
  font-family: 'WWD Slab', Georgia, serif; font-size: 34px;
  color: var(--cream); margin-bottom: 16px;
}
.review-shot { max-width: 620px; margin: 0 auto; }
.review-shot a { display: block; }
.review-shot img {
  width: 100%; height: auto; border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .38); background: var(--white);
}
.review-shot figcaption {
  margin-top: 14px; font-size: 13.5px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--cream-deep);
}
.review-shot figcaption span { color: var(--sun); }
@media (max-width: 700px) {
  .review-heading { font-size: 28px; }
  .review-shot { max-width: 100%; }
}
