/* ============================================================
   PET RESCUE PORTRAITS
   Editorial / brutalist system.

   Rules of the house:
   · Type does the shouting — Anton, huge, tight, uppercase.
   · Mono carries every label, number and piece of metadata.
   · Photography is duotoned to unify mismatched backdrops, and
     returns to full colour on hover / in heroes.
   · Nothing is centred that could be flush-left.
   · Grain over everything.
   ============================================================ */

:root {
  /* Warm paper, warm ink. The old cold blue-greys and near-black navy are
     what made this read as a tech company; the blue stays because it's in
     every photograph, but everything around it is now warm. */
  /* Peach is the ground everywhere now. Every value below is measured
     against it — the bright coral looked great but only managed 2.2:1,
     and white-on-coral buttons were 2.57:1, so the warm tones are
     deepened until they actually pass. */
  --paper:   #FDEADA;
  --paper-2: #FADFCB;     /* alt panels, one step deeper */
  --ink:     #2A1E16;     /* 13.9:1 */
  --ink-2:   #5C4839;     /*  7.4:1 */
  --muted:   #7A6553;     /*  4.7:1 — was 3.73, failed small text */

  --blue:    #2FA8DC;
  --blue-lt: #A7E0F6;
  --blue-dk: #1580B0;
  --blue-deep: #0F5E85;   /*  6.1:1 */

  --coral:   #D14A2B;     /* buttons: white on this is 4.4:1 */
  --coral-dk:#B23A18;     /* small text: 5.1:1 */
  --coral-lt:#FF7A59;     /* decoration only — never text, never a bg for text */
  --butter:  #FFC44D;

  --line: rgba(42,30,22,.14);
  --line-light: rgba(255,255,255,.22);

  --r: 18px;              /* nothing is sharp any more */
  --r-sm: 12px;
  --shadow: 0 14px 34px rgba(42,30,22,.10);

  --wrap: 1280px;
  --gutter: max(1.25rem, (100vw - var(--wrap)) / 2);

  /* Fraunces carries SOFT and WONK axes — literally built to make a face
     friendlier. Cranked up for display, dialled back for small sizes. */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "Inter", -apple-system, "Segoe UI", sans-serif;
  --f-brand: "Montserrat", "Inter", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain over the entire page. Pure decoration, pointer-transparent. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 400; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

/* ─────────────── Type ─────────────── */

/* Mixed case, not shouted caps. SOFT rounds the terminals, WONK swaps in
   the playful single-storey forms — this is the single biggest reason the
   page now feels warm instead of corporate. */
h1, h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "SOFT" 60, "WONK" 1, "opsz" 120;
  /* Fraunces runs tall and deep; 1.0 was clipping ascenders and descenders
     inside the reveal masks and crowding the lines. */
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.5rem); }
h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 1.3rem;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 30;
  letter-spacing: -.01em; line-height: 1.25; margin: 0 0 .5em;
}

p { margin: 0 0 1.1em; }
a { color: inherit; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap.flush-left { margin-inline: var(--gutter) auto; }
@media (max-width: 640px) {
  :root { --gutter: 1.15rem; }
  .wrap { width: min(var(--wrap), 100% - 2.3rem); }
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 500;
  background: var(--ink); color: var(--paper); padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Was uppercase mono with wide tracking — pure technical-documentation
   voice. Now a warm pill label: it reads as a friendly tag, not a header
   in a spec sheet. */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .01em; text-transform: none;
  color: var(--blue-deep); margin: 0 0 1.3rem;
  background: var(--blue-lt); border-radius: 999px;
  padding: .4rem .95rem .45rem;
}
.eyebrow::before {
  content: ""; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--coral); flex: none;
}
.eyebrow-light {
  color: #06212E; background: var(--blue-lt);
}
.eyebrow-light::before { background: var(--coral-lt); }

/* Emphasis on the key phrase.
   Three attempts to get here: a blue text-stroke outline (read as a glitch),
   then a hand-drawn SVG squiggle — but that was absolutely positioned, so it
   sliced straight through the descender of the "p", and preserveAspectRatio
   "none" stretched the curve into a lumpy mess at wide sizes.
   Native underline instead: skip-ink steps around descenders automatically,
   it stays crisp at every size, and it re-flows correctly if the phrase
   wraps onto two lines — which absolute positioning never could. */
.swoosh {
  display: inline; color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--butter);
  text-decoration-thickness: .075em;
  text-underline-offset: .16em;
  text-decoration-skip-ink: auto;
}
.swoosh svg { display: none; }
.hero-content .swoosh { color: #fff; }
.hero-content h1 { letter-spacing: -.026em; line-height: 1.06; }

/* ─────────────── Buttons ─────────────── */

/* Pills, not brutalist blocks. They lift and grow a touch on hover — the
   springy easing is what sells "playful" without being childish. */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-body); font-size: .95rem; font-weight: 600;
  letter-spacing: -.005em; text-transform: none; text-decoration: none;
  padding: .95rem 1.9rem; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; background: transparent;
  color: var(--ink);
  transition: transform .3s var(--bounce), box-shadow .3s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(.99); }

.btn-solid { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,122,89,.34); }
.btn-solid:hover { background: var(--coral-dk); box-shadow: 0 14px 28px rgba(255,122,89,.4); }

.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 8px 20px rgba(42,30,22,.25); }
.btn-ink:hover { background: #3B2B20; }

.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.btn-light:hover { background: var(--butter); }

.btn-sm { padding: .6rem 1.25rem; font-size: .85rem; }
.btn-lg { padding: 1.15rem 2.4rem; font-size: 1.02rem; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }

/* ─────────────── Header ─────────────── */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  padding: 1.1rem 0;
  transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.stuck {
  background: var(--paper);
  padding: .55rem 0; border-bottom-color: var(--ink);
}
.site-header.over-hero:not(.nav-open) {
  background: rgba(3,14,22,.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: .55rem 0;
}

.header-inner { display: flex; align-items: center; gap: 1.5rem; }

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); transition: color .3s var(--ease); }
/* Width always derived from height so the 200x190 mark keeps its ratio;
   object-fit is the safeguard against any rule pinning both dimensions. */
.logo-mark { width: auto; height: 44px; flex: none; object-fit: contain; transition: height .3s var(--ease); }
.site-header.stuck .logo-mark { height: 36px; }

.logo-text { display: flex; flex-direction: column; line-height: 1.12; }
.logo-text strong {
  font-family: var(--f-brand); font-weight: 800; font-size: 1rem;
  letter-spacing: -.01em; white-space: nowrap;
}
.logo-text strong b { color: var(--blue); font-weight: 800; }
.logo-text strong i {
  font-style: normal; font-weight: 400; font-size: .76em;
  letter-spacing: .17em; text-transform: uppercase;
}
.logo-text em {
  font-family: var(--f-mono); font-style: normal; font-size: .5rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-top: .25rem; white-space: nowrap;
}

.site-header:not(.stuck):not(.nav-open) .logo { color: #fff; }
.site-header:not(.stuck):not(.nav-open) .logo-text strong b { color: var(--blue-lt); }
.site-header:not(.stuck):not(.nav-open) .logo-text em { color: rgba(255,255,255,.7); }
.site-header:not(.stuck):not(.nav-open) .nav-links > a { color: rgba(255,255,255,.92); }
.site-header:not(.stuck):not(.nav-open) .nav-links > a::after { background: #fff; }
.site-header:not(.stuck):not(.nav-open) .burger span { background: #fff; }
.site-header:not(.stuck):not(.nav-open) .nav-cta { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 4px 4px 0 var(--blue); }

.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links > a {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-2);
  position: relative; padding: .35rem 0; white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav-links > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue); transition: width .28s var(--ease);
}
.nav-links > a:hover { color: var(--ink); }
.nav-links > a:hover::after,
.nav-links > a[aria-current="true"]::after { width: 100%; }
.nav-links > a[aria-current="true"] { color: var(--ink); }

.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; margin-left: auto; }
.burger span {
  display: block; width: 26px; height: 2.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
}
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 1060px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 auto 0; padding: 5.5rem 1.5rem 2rem;
    background: var(--paper); flex-direction: column; align-items: stretch; gap: 0;
    transform: translateY(-101%); transition: transform .42s var(--ease-out);
    border-bottom: 2px solid var(--ink); margin-left: 0;
  }
  .nav.open { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > a {
    font-family: var(--f-display); font-size: 2rem; letter-spacing: -.01em;
    text-transform: uppercase; padding: .55rem 0; border-bottom: 1px solid var(--line);
  }
  .nav-links > a::after { display: none; }
  .nav-cta { margin-top: 1.4rem; }
}
@media (max-width: 420px) {
  .logo-text em { display: none; }
  .logo-text strong { font-size: .82rem; }
  /* Height only — pinning width too would squash the non-square mark. */
  .logo-mark { height: 34px; }
}

/* ─────────────── Hero ─────────────── */

.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh;
  padding: 8rem 0 5rem;
  overflow: hidden; isolation: isolate;
}
.hero-sm { min-height: 78vh; min-height: 78svh; }

.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
}
.hero-img-pit { object-position: 50% 30%; }
@media (max-width: 900px) { .hero-img-pit { object-position: 50% 78%; } }

.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(3,14,22,.86) 0%, rgba(3,14,22,.6) 38%, rgba(3,14,22,.12) 68%, rgba(3,14,22,0) 88%),
    linear-gradient(to top, rgba(3,14,22,.82) 0%, rgba(3,14,22,.15) 45%, transparent 70%);
}

.hero-content { position: relative; max-width: min(46rem, 68%); color: #fff; padding-bottom: 1rem; }
.hero-content h1 { color: #fff; margin-bottom: 1.5rem; }
.hero-content .lede { max-width: 46ch; }

.lede {
  font-size: 1.02rem; color: rgba(255,255,255,.82);
  margin-bottom: 2.2rem; line-height: 1.65;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }

.textlink {
  font-family: var(--f-mono); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.4);
  padding-bottom: 3px; transition: border-color .2s var(--ease);
}
.textlink:hover { border-bottom-color: var(--blue-lt); }

.scroll-cue {
  position: absolute; bottom: 1.8rem; right: var(--gutter);
  width: 1px; height: 60px; background: rgba(255,255,255,.25);
  overflow: hidden; display: block;
}
.scroll-cue span { position: absolute; inset: 0; background: var(--blue-lt); animation: cue 2.1s var(--ease) infinite; }
@keyframes cue {
  0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); }
}

@media (max-width: 900px) {
  .hero { padding: 7rem 0 4rem; }
  .hero-img { object-position: 54% 0%; }
  .hero-scrim {
    background: linear-gradient(to top, rgba(3,14,22,.94) 0%, rgba(3,14,22,.72) 42%, rgba(3,14,22,.25) 72%, rgba(3,14,22,.05) 100%);
  }
  .hero-content { max-width: none; }
  .scroll-cue { display: none; }
}
/* ─────────────── Sections ─────────────── */

.section { padding: 8rem 0; position: relative; }
.section-tight { padding-bottom: 5rem; }
.section-alt { background: var(--paper-2); overflow: hidden; }
/* Oversized ghost mark bleeding off the edge. */
.section-alt::before {
  content: ""; position: absolute; top: -4rem; right: -6rem;
  width: 26rem; height: 26rem; border: 2px solid var(--blue);
  opacity: .16; border-radius: 50%; pointer-events: none;
}

.section-head { max-width: min(40rem, 72%); margin-bottom: 4rem; }
.section-sub {
  font-size: 1.02rem; color: var(--ink-2); max-width: 52ch;
  margin-top: 1.4rem; font-family: var(--f-body);
}

/* ─────────────── Stats ─────────────── */

.stats { background: var(--paper-2); color: var(--ink); padding: 4.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat {
  display: flex; flex-direction: column; align-items: flex-start; gap: .6rem;
  padding: 0 2rem; border-left: 1px solid var(--line);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat::before { content: none; }
.stat-num {
  font-family: var(--f-display); font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: .9; color: var(--coral); font-variant-numeric: tabular-nums;
  font-variation-settings: "SOFT" 70, "WONK" 1, "opsz" 140;
}
.stat-label {
  font-family: var(--f-mono); font-size: .74rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; line-height: 1.5;
}
.stat-label em {
  display: block; font-style: normal; font-weight: 400;
  color: var(--muted); margin-top: .3rem; font-size: .92rem;
}
@media (max-width: 780px) {
  .stats-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat { padding: 0; border-left: 0; }
}

/* ─────────────── Pillars ─────────────── */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2.5rem; }
.pillar { position: relative; padding-top: 2.2rem; border-top: 3px solid var(--butter); }
/* Every third block drops, breaking the baseline. */
.pillar:nth-child(even) { transform: translateY(2.5rem); }
.pillar-num {
  display: block; font-family: var(--f-display); font-size: 3.2rem;
  line-height: .8; color: var(--blue); margin-bottom: 1rem; letter-spacing: -.02em;
}
.pillar h3 { margin-bottom: .8rem; font-size: 1.3rem; }
.pillar p { color: var(--ink-2); font-size: .97rem; margin: 0; }

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; gap: 2.5rem; }
  .pillar:nth-child(even) { transform: none; }
}

/* ─────────────── Bands ─────────────── */

.band {
  position: relative; display: flex; align-items: center;
  min-height: 74vh; padding: 7rem 0; overflow: hidden; isolation: isolate;
}
.band-tall { min-height: 88vh; }

.band-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 34%;
  /* Duotone: strip colour, then the scrim tints it blue. Unifies the
     mismatched studio backdrops into one palette. */
  filter: grayscale(1) contrast(1.15) brightness(.85);
}
.band-img-right { object-position: 70% 28%; }

/* Blend modes here forced the compositor to re-blend a full-bleed photo
   on every scroll frame. The alphas below reproduce the same look with
   plain painting, which costs nothing. */
.band-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(0,46,74,.93) 0%, rgba(0,46,74,.72) 42%, rgba(0,52,84,.32) 75%, rgba(0,80,120,.14) 100%),
    linear-gradient(to top, rgba(3,14,22,.8), transparent 55%);
}

.band-content { color: #fff; max-width: min(42rem, 64%); }
.band-content h2 { color: #fff; margin-bottom: 1.4rem; }
.band-content p { color: rgba(255,255,255,.85); font-size: 1.02rem; line-height: 1.65; max-width: 46ch; }
.band-content .btn { margin-top: 1.4rem; }

.band-kicker {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem,2.6vw,2.2rem) !important;
  color: var(--blue-lt) !important; margin-top: 2rem; margin-bottom: 0; line-height: 1.2;
}
.band-fine {
  font-family: var(--f-mono); font-size: .72rem !important; line-height: 1.7;
  letter-spacing: .04em; color: rgba(255,255,255,.55) !important;
  margin-top: 2rem; margin-bottom: 0; max-width: 44ch;
}

@media (max-width: 900px) {
  .band, .band-tall { min-height: 0; padding: 5rem 0; }
  .band-content { max-width: none; }
  .band-scrim {
    background: linear-gradient(to bottom, rgba(0,60,95,.7) 0%, rgba(0,45,72,.92) 55%, rgba(3,14,22,.95) 100%);
  }
  .band-img { object-position: center 30%; }
}

/* ─────────────── Split ─────────────── */

.split { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
.split > :only-child { max-width: 62ch; }
.ticks { list-style: none; padding: 0; margin: 2.4rem 0 0; }
.ticks li {
  position: relative; padding-left: 3.4rem; margin-bottom: 1.5rem;
  color: var(--ink-2); font-size: 1rem; line-height: 1.6;
  counter-increment: tick;
}
.ticks li strong { color: var(--ink); font-weight: 700; }
/* Numbered in mono rather than ticked — keeps the metadata voice. */
.ticks { counter-reset: tick; }
.ticks li::before {
  content: counter(tick, decimal-leading-zero);
  position: absolute; left: 0; top: .1em;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 700;
  color: var(--blue-dk); letter-spacing: .08em;
}
.ticks-sm li { font-size: .93rem; margin-bottom: 1rem; padding-left: 2.6rem; }
.ticks-light li { color: rgba(255,255,255,.85); }
.ticks-light li strong { color: #fff; }
.ticks-light li::before { color: var(--blue-lt); }

/* ─────────────── Tiers ─────────────── */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tier {
  position: relative; border: 2px solid var(--ink); padding: 2.6rem 1.9rem;
  background: var(--paper); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tier:hover { transform: translate(-4px,-4px); box-shadow: 8px 8px 0 var(--ink); }
.tier h3 { margin-bottom: .4rem; font-size: 1.35rem; }
.tier-meta {
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1.6rem;
}
.tier-feature { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier-feature h3 { color: #fff; }
.tier-feature .ticks li { color: rgba(255,255,255,.8); }
.tier-feature .ticks li::before { color: var(--blue-lt); }
.tier-feature:hover { box-shadow: 0 22px 44px rgba(42,30,22,.3); }
.tier-flag {
  position: absolute; top: -1px; right: -1px;
  background: var(--blue); color: #fff; font-family: var(--f-mono);
  font-size: .62rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: .45rem .8rem;
}
.tier-foot { margin-top: 3rem; color: var(--muted); font-size: .95rem; }
.tier-foot a { color: var(--blue-dk); }

@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } }

/* ─────────────── About + reel ─────────────── */

.about-grid {
  display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr);
  gap: 4.5rem; align-items: start;
}
.about-copy { max-width: 58ch; }
.about-copy p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.72; }
.about-copy a { color: var(--blue-dk); text-underline-offset: 3px; }
.about-inner { max-width: 62ch; }
.about-inner p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.72; }
.about-inner a { color: var(--blue-dk); }

.sig {
  font-family: var(--f-display); font-size: 2rem; text-transform: uppercase;
  color: var(--ink) !important; margin-top: 2.6rem; line-height: .95;
}
.sig em {
  display: block; font-family: var(--f-mono); font-size: .68rem; font-style: normal;
  color: var(--muted); letter-spacing: .12em; margin-top: .7rem; text-transform: uppercase;
}

.reel { margin: 0; position: sticky; top: 6rem; }
.reel video {
  width: 100%; height: auto; display: block; border: 2px solid var(--ink);
  background: var(--ink); aspect-ratio: 9/16; object-fit: cover;
  box-shadow: 10px 10px 0 var(--blue);
}
.reel figcaption {
  font-family: var(--f-mono); margin-top: 1.4rem; font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.6;
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .reel { position: static; max-width: 300px; }
}

/* ─────────────── Callout ─────────────── */

.callout {
  background: var(--ink); color: var(--paper);
  padding: 4rem clamp(1.6rem, 4vw, 4rem);
  display: grid; grid-template-columns: 1.4fr auto; gap: 3rem; align-items: center;
  border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--blue);
}
.callout h2 { color: #fff; margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.callout p { color: rgba(255,255,255,.78); margin: 0; max-width: 52ch; }
.callout-actions { display: flex; flex-direction: column; gap: .9rem; }
@media (max-width: 900px) {
  .callout { grid-template-columns: 1fr; gap: 2rem; box-shadow: 8px 8px 0 var(--blue); }
  .callout-actions { flex-direction: column; align-items: stretch; }
}

/* ─────────────── Donate ─────────────── */

.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
@media (max-width: 920px) { .donate-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.donate-card { background: var(--paper); border: 2px solid var(--ink); padding: 2.6rem; box-shadow: 10px 10px 0 var(--blue); }
.donate-card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.donate-note { font-family: var(--f-mono); font-size: .7rem; line-height: 1.7; letter-spacing: .04em; color: var(--muted); margin: 0; }

.amounts { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 2rem 0 1.6rem; border: 2px solid var(--ink); }
.amount {
  display: block; text-align: center; text-decoration: none; padding: 1rem .4rem;
  font-family: var(--f-display); font-size: 1.5rem; color: var(--ink);
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.amount:nth-child(3n) { border-right: 0; }
.amount:nth-child(n+4) { border-bottom: 0; }
.amount span {
  display: block; font-family: var(--f-mono); font-size: .58rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .35rem;
}
.amount:hover, .amount[aria-pressed="true"] { background: var(--blue); color: #fff; }
.amount:hover span, .amount[aria-pressed="true"] span { color: rgba(255,255,255,.75); }
.amount[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.donate-cta { width: 100%; }

.usage { list-style: none; padding: 0; margin: 0; }
.usage li {
  display: flex; gap: 1.4rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: .97rem;
}
.usage li:last-child { border-bottom: 0; }
.usage b { color: var(--ink); font-weight: 700; }
.usage-amt {
  flex: none; width: 4.6rem; font-family: var(--f-display); font-size: 1.6rem;
  line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums;
}

/* ─────────────── Donor wall ─────────────── */

.donors { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 0; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.donor {
  background: var(--paper); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  padding: 1.2rem 1.3rem; display: flex; align-items: baseline; justify-content: space-between; gap: .8rem;
}
.donor-name { font-weight: 700; font-size: .95rem; }
.donor-amt { font-family: var(--f-display); color: var(--blue-dk); font-size: 1.3rem; white-space: nowrap; }
.donor-note { grid-column: 1/-1; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 1.2rem 0 0; }

.donors-empty { border: 2px dashed var(--ink); padding: 4rem 2rem; text-align: center; }
.donors-empty h3 { font-family: var(--f-display); font-size: clamp(1.8rem,4vw,3rem); text-transform: uppercase; margin-bottom: 1rem; }
.donors-empty p { color: var(--ink-2); max-width: 46ch; margin: 0 auto 2rem; }

/* ─────────────── Contact ─────────────── */

.contact { background: var(--blue); color: #fff; padding: 8rem 0; }
.contact h2 { color: #fff; margin-bottom: 2.6rem; }
.contact-inner { text-align: left; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.contact .btn-solid { background: var(--ink); border-color: var(--ink); box-shadow: 6px 6px 0 rgba(255,255,255,.7); }
.contact .btn-solid:hover { box-shadow: 3px 3px 0 rgba(255,255,255,.7); }
.contact-email { font-family: var(--f-mono); margin-top: 2.6rem; color: rgba(255,255,255,.75); font-size: .78rem; letter-spacing: .08em; }
.contact-email a { color: #fff; text-underline-offset: 4px; }

/* ─────────────── Footer ─────────────── */

.site-footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 0 0 3rem; font-size: .85rem; }
.footer-inner { border-top: 1px solid rgba(255,255,255,.16); padding-top: 3rem; display: grid; gap: 2rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.footer-brand .logo { color: #fff; }
.footer-brand .logo-mark { height: 52px; }
.footer-brand .logo-text strong b { color: var(--blue-lt); }
.footer-brand .logo-text em { color: rgba(255,255,255,.5); }
.footer-brand > span:last-child { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-nav a {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; transition: color .2s var(--ease);
}
.footer-nav a:hover { color: var(--blue-lt); }
.footer-legal { font-family: var(--f-mono); margin: 0; font-size: .62rem; letter-spacing: .08em; color: rgba(255,255,255,.35); text-transform: uppercase; }

@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-legal { grid-column: 1/-1; }
}

/* ─────────────── Lightbox ─────────────── */

.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(3,14,22,.96);
  display: flex; align-items: center; justify-content: center; padding: 4rem 1rem;
  opacity: 0; transition: opacity .28s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.on { opacity: 1; }
.lightbox img { max-width: min(92vw,780px); max-height: 86vh; width: auto; height: auto; object-fit: contain; border: 2px solid var(--paper); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: 0; color: rgba(255,255,255,.7);
  cursor: pointer; line-height: 1; padding: .6rem 1rem; transition: color .2s var(--ease);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: #fff; }
.lb-close { top: 1.1rem; right: 1.4rem; font-size: 2.6rem; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 3.4rem; }
.lb-prev { left: .6rem; } .lb-next { right: .6rem; }

/* ─────────────── Reveal ─────────────── */

/* Scoped to .js so with scripting off — or broken — everything is simply
   visible. The animation is an enhancement, never a prerequisite for reading. */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
  .btn:hover, .tier:hover, .amount:hover { transform: none; }
  .pillar:nth-child(even) { transform: none; }
}

/* ============================================================
   MOTION LAYER
   ============================================================ */

/* ── Preloader ─────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 600; background: var(--ink);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: var(--gutter); color: var(--paper);
  transition: clip-path 1.1s var(--ease-out), opacity .4s .7s;
  clip-path: inset(0 0 0 0);
}
#preloader.gone { clip-path: inset(0 0 100% 0); pointer-events: none; }
.pre-num {
  font-family: var(--f-display); font-size: clamp(5rem, 22vw, 20rem);
  line-height: .78; letter-spacing: -.03em; color: var(--paper);
  font-variant-numeric: tabular-nums;
}
.pre-meta {
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  text-align: right; line-height: 1.9; padding-bottom: 1rem;
}
.pre-meta b { display: block; color: var(--blue-lt); font-weight: 700; }
@media (max-width: 640px) { .pre-meta { display: none; } }

/* Hold the hero still until the wipe finishes. */
html:not(.loaded) body { overflow: hidden; }
html:not(.loaded) .hero-content { opacity: 0; }
.hero-content { transition: opacity .6s .25s var(--ease-out); }

/* ── Masked word reveals ───────────────────────────── */
/* The reveal masks each word in an overflow:hidden box. That box is sized by
   line-height — and Fraunces has tall ascenders and deep descenders, so at the
   tight display line-height the box was SHORTER than the glyphs and sliced the
   tops and tails off letters right across the site.
   Padding grows the clip box past the glyph bounds; the matching negative
   margin means layout and line spacing are completely unchanged. */
[data-split].split-ready .w {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: .22em .04em .28em;
  margin: -.22em -.04em -.28em;
}
[data-split].split-ready .wi {
  display: inline-block; transform: translateY(130%);
  transition: transform 1s var(--ease-out);
}
[data-split].split-in .wi { transform: translateY(0); }

/* ── Clip-path media reveals ───────────────────────── */
.media-hidden { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); }
.media-in { clip-path: inset(0 0 0 0); }

/* Hero image is transformed by JS; keep the origin sane. */
.hero-img { transform-origin: 50% 40%; }


@media (prefers-reduced-motion: reduce) {
  #preloader { display: none; }
  [data-split].split-ready .wi { transform: none; }
  .media-hidden { clip-path: none; }
}

/* ── Cross-document page transitions ──────────────────
   Native View Transitions: the browser crossfades between documents,
   so navigating no longer white-flashes. Unsupported browsers just
   navigate normally — there is no JS router to go wrong. */
@view-transition { navigation: auto; }

::view-transition-old(root) {
  animation: vt-out .32s cubic-bezier(.4,0,1,1) both;
}
::view-transition-new(root) {
  animation: vt-in .5s cubic-bezier(.16,1,.3,1) both;
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px) scale(.995); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(22px); } }

/* The header and logo persist across the swap instead of being
   redrawn, so the chrome feels continuous. */
.site-header { view-transition-name: site-header; }
.logo        { view-transition-name: site-logo; }
::view-transition-group(site-header),
::view-transition-group(site-logo) { animation-duration: .5s; }

/* ── Pinned horizontal rail ───────────────────────── */
.hscroll { position: relative; }
.hscroll-sticky { padding: 6rem 0; }
.hscroll-track { display: block; }

.hscroll-on .hscroll-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; overflow: hidden; padding: 0;
}
.hscroll-on .hscroll-track {
  display: flex; align-items: stretch; gap: 4rem;
  padding-inline: var(--gutter);
}
.hscroll-on .hscroll-track > * { flex: 0 0 clamp(20rem, 25vw, 26rem); }
/* Leading panel carries the section heading so the rail has real travel
   and the title scrolls away with the content, not above it. */
.hscroll-on .hs-head { flex: 0 0 clamp(24rem, 36vw, 38rem); align-self: center; }
.hs-head h2 { margin-bottom: 0; }
.hscroll-on .pillar:nth-child(even) { transform: none; }
.section-rail { padding: 0; }

/* A mono progress readout for the rail — the metadata voice again. */
.hscroll-rule {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 3.5rem;
  height: 2px; background: var(--line); display: none;
}
.hscroll-on .hscroll-rule { display: block; }
.hscroll-bar {
  display: block; height: 100%; width: 0; background: var(--blue);
  transform-origin: left;
}

/* ── Stacked sticky cards ─────────────────────────── */
@media (min-width: 961px) {
  .tiers-stack { display: block; }
  .tiers-stack .tier {
    position: sticky; margin-bottom: 2rem;
    transition: none;
  }
  .tiers-stack .tier:nth-child(1) { top: 7rem; }
  .tiers-stack .tier:nth-child(2) { top: 9rem; }
  .tiers-stack .tier:nth-child(3) { top: 11rem; }
  .tiers-stack .tier:hover { transform: none; box-shadow: 10px 10px 0 var(--ink); }
  .tiers-stack .tier-feature:hover { box-shadow: 10px 10px 0 var(--blue); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .hscroll-on .hscroll-sticky { position: static; height: auto; overflow: visible; }
  .hscroll-on .hscroll-track { display: grid; grid-template-columns: 1fr; }
}

/* ── Work grid (placeholders) ──────────────────────
   No <img> yet — these are CSS blocks at a strict 9:16 so the
   layout is real and photos can drop straight in later. */
.wgrid {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; padding-inline: 12px;
}
.wgrid .shot {
  margin: 0; position: relative; overflow: hidden;
  aspect-ratio: 9/16;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #123a50 0%, var(--ink) 70%);
  border: 1px solid rgba(127,210,242,.18);
}
.wgrid { counter-reset: shot; }
.wgrid .shot::before {
  counter-increment: shot;
  content: counter(shot, decimal-leading-zero);
  position: absolute; left: 1rem; bottom: .9rem;
  font-family: var(--f-mono); font-size: .66rem; font-weight: 700;
  letter-spacing: .14em; color: rgba(127,210,242,.55);
}
.wgrid .shot::after {
  content: "9:16";
  position: absolute; right: 1rem; bottom: .9rem;
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em;
  color: rgba(255,255,255,.22);
}
@media (max-width: 900px) { .wgrid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding-inline: 8px; } }
@media (max-width: 560px) { .wgrid { grid-template-columns: repeat(2, 1fr); gap: 6px; padding-inline: 6px; } }
/* ============================================================
   WARM PASS
   The structure above was built cold and sharp. This block does
   the conversion in one place: kills the uppercase/wide-tracked
   "spec sheet" voice, rounds every remaining hard corner, and
   swaps the cold slabs for warm ones.
   ============================================================ */

/* — Small labels: sentence case, normal tracking, readable size — */
.nav-links > a,
.textlink,
.stat-label,
.tier-meta,
.tier-flag,
.sig em,
.reel figcaption,
.donate-note,
.donor-note,
.contact-email,
.footer-nav a,
.footer-legal,
.footer-brand > span:last-child,
.band-fine,
.logo-text em,
.amount span,
.donors-empty h3 {
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--f-body);
}
.nav-links > a { font-size: .96rem; font-weight: 500; }
.textlink { font-size: .97rem; font-weight: 600; }
.stat-label { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.stat-label em { font-size: .93rem; color: var(--muted); }
.tier-meta { font-size: .9rem; font-weight: 600; color: var(--coral-dk); }
.tier-flag { font-size: .76rem; font-weight: 600; border-radius: 999px; background: var(--coral); }
.band-fine { font-size: .92rem !important; line-height: 1.65; }
.footer-nav a { font-size: .95rem; font-weight: 500; }
.footer-legal { font-size: .82rem; }
.footer-brand > span:last-child { font-size: .95rem; }
.contact-email { font-size: 1rem; }
.donate-note { font-size: .9rem; line-height: 1.6; }
.reel figcaption { font-size: .9rem; }
.logo-text em { font-size: .58rem; letter-spacing: .04em; }
.sig em { font-size: .92rem; }
.donors-empty h3 { font-family: var(--f-display); }
.pre-meta { font-family: var(--f-body); text-transform: none; letter-spacing: normal; font-size: .9rem; }

/* — Numerals get the friendly Fraunces treatment — */
.stat-num, .pillar-num, .usage-amt, .donor-amt, .amount, .pre-num, .donors-empty h3 {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 80, "WONK" 1, "opsz" 100;
  font-weight: 800;
}
.stat-num { color: var(--coral); line-height: .95; }
.pillar-num { color: var(--coral); font-size: 2.8rem; line-height: .95; }
.usage-amt, .donor-amt { color: var(--coral-dk); }

/* — Nothing sharp survives — */
.tier, .donate-card, .callout, .donors-empty, .reel video,
.wgrid .shot, .split-photo img, .amounts, .donor, .lightbox img {
  border-radius: var(--r);
}
.amount { border-radius: 0; }
.amounts { overflow: hidden; border: 1px solid var(--line); }
.amount { border-color: var(--line); }
.amount:hover, .amount[aria-pressed="true"] { background: var(--coral); }
.donors { border-color: var(--line); }
.donor { border-color: var(--line); }
.donors-empty { border: 2px dashed var(--blue); }

/* — Cards: soft, and very slightly askew so the grid feels hand-placed — */
.tier {
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow); transform: rotate(-.5deg);
  transition: transform .35s var(--bounce), box-shadow .3s var(--ease);
  padding: 2.4rem 1.9rem;
}
.tier:nth-child(even) { transform: rotate(.6deg); }
.tier:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 22px 44px rgba(42,30,22,.16); }
.tier-feature { background: var(--ink); border-color: var(--ink); }
.tier-feature:hover { box-shadow: 0 22px 44px rgba(42,30,22,.3); }
.tiers-stack .tier, .tiers-stack .tier:nth-child(even) { transform: none; }
.tiers-stack .tier:hover { transform: translateY(-4px); }

.donate-card { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.callout { border: 0; box-shadow: var(--shadow); background: var(--ink); }
.reel video { border: 0; box-shadow: var(--shadow); }

/* — Pillars: a butter rule instead of a hard black one — */
.pillar { border-top: 3px solid var(--butter); padding-top: 2.2rem; }

/* — Warm slabs — */
.stats { background: var(--paper-2); color: var(--ink); }
.stat { border-left: 1px solid var(--line); }
.section-alt { background: var(--paper-2); }
.section-alt::before { border-color: var(--coral-lt); opacity: .25; }
.contact { background: var(--blue); }
.site-footer { background: var(--ink); }
.ticks li::before { color: var(--coral-dk); font-family: var(--f-body); font-size: .85rem; letter-spacing: normal; }
.ticks-light li::before { color: var(--butter); }

/* — Header sits on warm paper — */
.site-header.stuck { background: rgba(255,247,238,.94); border-bottom-color: var(--line); }
.nav-links > a::after { background: var(--coral); }

/* — Placeholder tiles, warmed — */
.wgrid .shot {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #3C6E88 0%, #23405A 70%);
  border: 1px solid rgba(167,224,246,.28);
}
.wgrid .shot::before, .wgrid .shot::after { font-family: var(--f-body); letter-spacing: normal; }

@media (max-width: 1060px) {
  .nav-links > a { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; text-transform: none; }
}

/* ── How it works: friendly three-up ─────────────────
   Replaces the pinned horizontal rail. Big soft numerals in circles,
   cards very slightly askew so it feels hand-placed. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); padding: 3.4rem 1.8rem 2.1rem;
  box-shadow: var(--shadow); transform: rotate(-.6deg);
  transition: transform .35s var(--bounce), box-shadow .3s var(--ease);
}
.step:nth-child(2) { transform: rotate(.5deg); }
.step:nth-child(3) { transform: rotate(-.3deg); }
.step:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 22px 44px rgba(42,30,22,.16); }

.step-num {
  position: absolute; top: -1.5rem; left: 1.7rem;
  width: 3.1rem; height: 3.1rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coral); color: #fff;
  font-family: var(--f-display); font-weight: 800; font-size: 1.6rem;
  font-variation-settings: "SOFT" 90, "WONK" 1, "opsz" 40;
  box-shadow: 0 6px 16px rgba(209,74,43,.34);
  border: 3px solid var(--paper);
}
.step:nth-child(2) .step-num { background: var(--blue-dk); box-shadow: 0 6px 16px rgba(21,128,176,.34); }
.step:nth-child(3) .step-num { background: var(--ink); box-shadow: 0 6px 16px rgba(42,30,22,.3); }

.step h3 { margin-bottom: .6rem; }
.step p { color: var(--ink-2); margin: 0; font-size: .99rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 2.6rem; }
  .step, .step:nth-child(2), .step:nth-child(3) { transform: none; }
}

/* The rail styles are unused now — keep the section padding sane. */
.section-rail { padding: 8rem 0; }

/* ── Work grid: eight photos, square ────────────────
   The sources are 900x900, so a 1:1 tile shows the whole frame with no
   crop at all — nothing is cut off the top of an ear or the tip of a
   tail. That also makes object-position irrelevant, so it's gone.
   No border either: the outline read as a UI chrome box around each
   photo, and these should look like photographs, not thumbnails. */
.wgrid .shot {
  aspect-ratio: 1 / 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.wgrid .shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  display: block;
}
/* Hover: a slow, gentle push in. The WebGL ripple that used to live here
   is gone — it fought object-fit and never stopped looking wrong. */
.wgrid .shot img { transition: transform 1.1s var(--ease-out); }
.wgrid .shot:hover img { transform: scale(1.06); }
/* The placeholder labels have no job now that there are photos. */
.wgrid .shot::before, .wgrid .shot::after { content: none; }

/* Eight tiles: 4 x 2 on desktop, 2 x 4 on phones. Both compose as a
   filled rectangle — no orphan tile on the last row at any breakpoint. */
.wgrid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .wgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding-inline: 10px; } }
