/* ============================================================
   Signs by Kennedy
   Global stylesheet. Every primitive more than one page needs
   lives HERE, never inside a page. Page-specific rules go in a
   clearly labeled block at the bottom of this file.

   Palette is sampled from Kennedy's own pricing card. Do not
   substitute colors by eye: olive carries every piece of text,
   because pink on cream measures 2.15:1 and fails.
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  /* color, sampled from the pricing card */
  --cream:        #FEFAF5;
  --cream-deep:   #FBF2E7;
  --pink:         #FB8D9C;
  --pink-deep:    #F96584;   /* fills, shapes, never text */
  --pink-ink:     #C22E51;   /* every pink that has to be read */
  --pink-soft:    #FDC1C4;
  --pink-mist:    #FEE9EA;
  --yellow:       #FED870;
  --yellow-soft:  #FDE8A1;
  --yellow-pale:  #FDEFC1;
  --yellow-wash:  #FEF6DA;   /* the only yellow that reads on the kraft band: 4.73:1 */
  --peach:        #FDD7BA;
  --kraft:        #C9A274;   /* the paper itself: mats, swatches */
  --kraft-band:   #8B673B;   /* the drenched section, dark enough to read on */
  --kraft-deep:   #A9814F;
  --kraft-dark:   #6E5330;
  --olive:        #40440B;
  --olive-soft:   #69693D;

  /* warm shadows, never gray */
  --sh-1: 0 2px 6px rgba(90, 64, 28, .10);
  --sh-2: 0 10px 22px -10px rgba(90, 64, 28, .30);
  --sh-3: 0 24px 46px -20px rgba(90, 64, 28, .42);

  /* type */
  --display: "Chewy", "Marker Felt", "Comic Sans MS", system-ui, sans-serif;
  --script:  "Caveat Brush", "Bradley Hand", cursive;
  --body:    "Nunito", ui-rounded, "Helvetica Neue", system-ui, sans-serif;

  /* motion */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);

  /* radius: generous on the big framed panels because her card is
     framed that way, restrained on small controls so it does not
     tip into the over-rounded look */
  --r-panel: 26px;
  --r-card:  18px;
  --r-input: 14px;

  /* semantic z-scale, no arbitrary values */
  --z-grain: 1;
  --z-sticky: 100;
  --z-nav-panel: 200;

  --measure: 68ch;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
:target, h1, h2, h3, .field, .size-opt, fieldset { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body, h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

body {
  /* The wallpaper. Yellow leads, pink answers, peach fills the gap.
     All content sits on opaque cream sheets so no text is ever set
     over the dots. */
  background-color: var(--cream);
  background-image:
    radial-gradient(var(--yellow)     7px, transparent 8px),
    radial-gradient(var(--pink-soft)  6px, transparent 7px),
    radial-gradient(var(--peach)      5px, transparent 6px),
    radial-gradient(var(--yellow-soft) 5px, transparent 6px);
  background-size: 122px 122px, 122px 122px, 122px 122px, 122px 122px;
  background-position: 0 0, 61px 42px, 30px 88px, 91px 100px;
  background-attachment: fixed;
  color: var(--olive);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Paper grain. The product is painted on paper, so the texture is
   the subject, not decoration. Kept at 5% so it reads as tooth. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- sheets ----------
   A section that needs to carry text puts its content on a sheet, so
   the dotted ground shows only in the gutters. Sections with their own
   full-bleed ground (the kraft band) skip this. */
.section--sheet > .wrap,
.section--sheet > .wrap--narrow {
  background: var(--cream);
  border: 3px solid var(--yellow);
  border-radius: 32px;
  padding: clamp(1.6rem, 4.5vw, 3.25rem);
  box-shadow: var(--sh-2);
}
.section--sheet { padding-block: clamp(1.5rem, 4vw, 2.75rem); }
.section--sheet + .section--sheet { padding-top: 0; }
/* a sheet in the brand's yellow, for the pricing band */
.sheet--yellow > .wrap,
.sheet--yellow > .wrap--narrow { background: var(--yellow-pale); border-color: var(--yellow); }

/* ---------- layout primitives ---------- */
.wrap { width: min(100% - 2.25rem, 1180px); margin-inline: auto; }
.section--sheet > .wrap { width: min(100% - 3rem, 1120px); }
.wrap--narrow { width: min(100% - 2.25rem, 840px); margin-inline: auto; }
.section--sheet > .wrap--narrow { width: min(100% - 3rem, 820px); }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; }
.stack > * + * { margin-top: 1rem; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--olive); color: var(--yellow);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--r-input) 0; z-index: 999;
}
.skip:focus { left: 0; }

/* ---------- typography ---------- */
.script {
  font-family: var(--script);
  color: var(--pink-ink);
  font-size: clamp(1.45rem, 3.4vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: .01em;
  transform: rotate(-2.2deg);
  transform-origin: left center;
  display: inline-block;
}
.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;      /* Chewy has a deep descender and a bouncy baseline */
  letter-spacing: .004em; /* and it needs a hair of air, not tightening */
  text-wrap: balance;
}
h1.display { font-size: clamp(2.45rem, 7.6vw, 4.6rem); }
h2.display { font-size: clamp(2.05rem, 5.6vw, 3.35rem); }
h3.display { font-size: clamp(1.4rem, 3vw, 1.85rem); }

.lede {
  font-size: clamp(1.075rem, 2.1vw, 1.25rem);
  color: var(--olive-soft);
  max-width: var(--measure);
  text-wrap: pretty;
}
p { max-width: var(--measure); text-wrap: pretty; }

/* The hero wordmark. Pink, but --pink-ink at 5.31:1, not the bright
   brand pink: #FB8D9C is 2.15:1 and #F96584 is 2.80:1, and neither
   clears even the 3:1 large-text floor. The soft-pink offset gives it
   the painted-shadow depth the bright pink would have implied. */
.display--brand {
  color: var(--pink-ink);
  text-shadow: 4px 4px 0 var(--pink-soft);
}

/* Poster treatment. Olive fill, stacked warm offsets. The fill is
   never yellow: yellow on cream measures about 1.3:1 and cannot carry
   a word, no matter how large it is set. */
.display--poster {
  color: var(--olive);
  text-shadow: 4px 4px 0 var(--pink-soft);
}

/* ---------- hand marks (traced off her card, never illustrations) ---------- */
.sparkle { color: var(--yellow); font-size: .8em; vertical-align: .35em; }
.rule-dotted {
  border: 0;
  border-top: 4px dotted var(--pink-soft);
  margin-block: clamp(1.75rem, 4vw, 2.75rem);
}
.squiggle { display: block; width: 100%; height: 14px; color: var(--pink-soft); }

/* ---------- dotted frame, the card's signature ---------- */
.dots {
  --dot-a: var(--pink-soft);
  --dot-b: var(--yellow);
  --dot-c: var(--peach);
  background-image:
    radial-gradient(var(--dot-a) 5px, transparent 6px),
    radial-gradient(var(--dot-b) 4px, transparent 5px),
    radial-gradient(var(--dot-c) 4px, transparent 5px);
  background-size: 132px 132px, 132px 132px, 132px 132px;
  background-position: 0 0, 66px 44px, 33px 92px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  font-family: var(--display);
  font-size: 1.0625rem;
  letter-spacing: .005em;
  border-radius: 999px;
  border: 3px solid var(--olive);
  background: var(--yellow);
  color: var(--olive);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--olive);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--yellow-soft); transform: translateY(-2px); box-shadow: 0 6px 0 var(--olive); }
}
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--olive); }
.btn:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 3px; }
.btn--pink { background: var(--pink); color: var(--olive); }
@media (hover: hover) and (pointer: fine) { .btn--pink:hover { background: var(--pink-soft); } }
.btn--ghost { background: transparent; box-shadow: 0 4px 0 var(--pink-soft); }
@media (hover: hover) and (pointer: fine) { .btn--ghost:hover { background: var(--pink-mist); } }

/* ---------- taped photo, the core image treatment ----------
   Every photo Kennedy sends is taped to a wall. The tape is the
   brand, so the frame quotes it instead of inventing a shadow. */
.taped { position: relative; display: block; }
.taped__inner {
  position: relative;
  background: var(--kraft);
  padding: 10px;
  border-radius: var(--r-card);
  box-shadow: var(--sh-2);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.taped img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 10px;
  display: block;
}
.taped::before, .taped::after {
  content: "";
  position: absolute;
  width: 74px; height: 26px;
  background: var(--yellow);
  opacity: .82;
  box-shadow: var(--sh-1);
  z-index: 2;
}
.taped::before { top: -11px; left: 8px; transform: rotate(-7deg); }
.taped::after  { bottom: -11px; right: 8px; transform: rotate(-6deg); background: var(--pink-soft); }
.taped--alt::before { background: var(--peach); transform: rotate(6deg); left: auto; right: 10px; }
.taped--alt::after  { background: var(--yellow-soft); transform: rotate(7deg); right: auto; left: 10px; }
@media (hover: hover) and (pointer: fine) {
  .taped:hover .taped__inner { transform: translateY(-7px); box-shadow: var(--sh-3); }
}

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(9px);
  border-bottom: 4px solid var(--yellow);
}
.site-head__bar {
  display: flex; align-items: center; gap: 1rem;
  min-height: 72px;
}
.brand { display: flex; flex-direction: column; justify-content: center; text-decoration: none; line-height: 1; gap: 1px; min-height: 44px; }
.brand__script { font-family: var(--script); color: var(--pink-ink); font-size: 1.05rem; }
.brand__name {
  font-family: var(--display); font-size: 1.28rem; color: var(--olive);
  letter-spacing: -.01em;
}
.nav { margin-left: auto; display: none; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--olive); text-decoration: none; font-weight: 700;
  padding: .75rem 0; position: relative;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px;
  border-radius: 4px; background: var(--yellow);
  transform: scaleX(0); transform-origin: left;
  transition: transform 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--pink); }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; min-width: 44px; justify-content: center;
  background: var(--pink-mist); border: 3px solid var(--olive); border-radius: 999px;
  padding: .35rem 1rem; font-family: var(--display); cursor: pointer;
}
.nav-toggle:active { transform: scale(.97); }
.nav-panel {
  display: none;
  border-top: 3px dotted var(--pink-soft);
  padding: 1rem 0 1.4rem;
}
.nav-panel.is-open { display: block; }
.nav-panel a {
  display: block; padding: .8rem .25rem; text-decoration: none;
  color: var(--olive); font-family: var(--display); font-size: 1.15rem;
  border-bottom: 3px dotted var(--pink-soft);
}
.nav-panel a:last-of-type { border-bottom: 0; }
.nav-panel .btn { margin-top: .9rem; width: 100%; justify-content: center; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-toggle, .nav-panel { display: none !important; }
}

/* ---------- kraft section, the drench ---------- */
.kraft-band {
  background: var(--kraft-band);
  color: var(--cream);
  position: relative;
}
.kraft-band h2, .kraft-band h3, .kraft-band .lede, .kraft-band p { color: var(--cream); }
.kraft-band .script { color: var(--yellow-wash); }
/* torn top and bottom edge so the band reads as a sheet of paper */
.kraft-band::before, .kraft-band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 16px;
  background: var(--kraft-band);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' preserveAspectRatio='none'%3E%3Cpath d='M0 16 V6 Q10 0 20 5 T40 5 T60 7 T80 3 T100 6 T120 4 V16 Z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16' preserveAspectRatio='none'%3E%3Cpath d='M0 16 V6 Q10 0 20 5 T40 5 T60 7 T80 3 T100 6 T120 4 V16 Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 120px 16px; mask-size: 120px 16px;
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
}
.kraft-band::before { top: -15px; }
.kraft-band::after { bottom: -15px; transform: scaleY(-1); }

/* ---------- panels ---------- */
.panel {
  background: var(--cream);
  border: 3px solid var(--yellow);
  border-radius: var(--r-panel);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.panel--mist { background: var(--pink-mist); border-color: var(--pink-soft); }
.panel--sun { background: var(--yellow-pale); border-color: var(--yellow); }

/* ---------- forms ---------- */
.field { display: block; margin-bottom: 1.25rem; }
.field > span {
  display: block; font-family: var(--display); font-size: 1rem;
  margin-bottom: .4rem; letter-spacing: -.005em;
}
.field small { display: block; font-family: var(--body); font-weight: 600; color: var(--olive-soft); font-size: .875rem; margin-top: -.2rem; margin-bottom: .45rem; }
.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: .75rem .95rem;
  background: var(--cream);
  border: 3px solid var(--yellow);
  border-radius: var(--r-input);
  color: var(--olive);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.textarea { min-height: 130px; resize: vertical; field-sizing: content; }
.input::placeholder, .textarea::placeholder { color: var(--olive-soft); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--peach); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: #fff;
  box-shadow: 0 0 0 4px var(--pink-mist);
}
.select { appearance: none; background-image: none; padding-right: 2.6rem; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 1.05rem; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 3px solid var(--olive); border-bottom: 3px solid var(--olive);
  transform: rotate(45deg); pointer-events: none;
}

/* size picker: radio cards drawn to real proportion */
.sizes { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.size-opt { position: relative; }
.size-opt input {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer; margin: 0;
}
/* purely visual, never the click target */
.size-opt__box { pointer-events: none; }
.size-opt__box {
  display: flex; flex-direction: column; gap: .5rem;
  pointer-events: none;
  padding: .85rem;
  border: 3px solid var(--yellow);
  border-radius: var(--r-card);
  background: var(--cream);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out);
}
.size-opt input:hover + .size-opt__box { border-color: var(--peach); }
.size-opt input:checked + .size-opt__box {
  border-color: var(--pink-ink);
  background: var(--pink-mist);
}
.size-opt input:focus-visible + .size-opt__box { outline: 3px solid var(--pink-ink); outline-offset: 3px; }
.size-opt input:active + .size-opt__box { transform: scale(.98); }
.size-opt__swatch { background: var(--kraft); border-radius: 6px; box-shadow: inset 0 0 0 2px var(--kraft-deep); }
.size-opt__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem .5rem; }
.size-opt__dim { font-family: var(--display); font-size: 1rem; white-space: nowrap; }
.size-opt__price { font-family: var(--display); color: var(--pink-ink); font-size: 1.35rem; }

.check {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .6rem 0; cursor: pointer;
}
.check { min-height: 44px; align-items: center; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--pink-ink); flex: none; }

/* ---------- pricing rows, drawn to scale like her card ---------- */
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "dim amt" "track track";
  align-items: center;
  gap: .5rem 1.25rem;
  padding-block: clamp(1rem, 2.5vw, 1.4rem);
  border-bottom: 4px dotted var(--pink-soft);
}
.price-row:last-of-type { border-bottom: 0; }
.price-row__dim { grid-area: dim; font-family: var(--display); font-size: clamp(1rem, 2.4vw, 1.2rem); }
.price-row__amt { grid-area: amt; font-family: var(--display); font-size: clamp(1.9rem, 5.5vw, 2.7rem); color: var(--pink-ink); line-height: 1; }
.price-row__track { grid-area: track; }
.price-row__bar {
  background: var(--kraft);
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px var(--kraft-deep), var(--sh-1);
  height: clamp(34px, 6vw, 52px);
}
@media (min-width: 640px) {
  .price-row {
    grid-template-columns: 7.5rem 1fr auto;
    grid-template-areas: "dim track amt";
    gap: 1.25rem;
  }
}

/* ---------- footer ---------- */
.site-foot { background: var(--kraft-dark); color: var(--cream); padding-block: 3rem 2.25rem; border-top: 6px solid var(--yellow); }
.site-foot a { color: var(--yellow); }
.site-foot .brand__name { color: var(--cream); }
.site-foot .brand__script { color: var(--yellow); }
.foot-grid { display: grid; gap: 2rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a { font-weight: 700; }
.foot-fine { color: #EFE5D6; font-size: .95rem; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* ---------- reveal ----------
   Content is visible by default. The class only enhances it, so a
   headless renderer or a background tab never ships a blank page. */
@media (prefers-reduced-motion: no-preference) {
  .reveal.will-animate { opacity: 0; transform: translateY(18px); }
  .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
  }
  .reveal.is-in:nth-child(2) { transition-delay: 60ms; }
  .reveal.is-in:nth-child(3) { transition-delay: 120ms; }
  .reveal.is-in:nth-child(4) { transition-delay: 180ms; }
}

/* ============================================================
   PAGE BLOCKS
   Only genuinely single-page layout lives below. Anything a second
   page starts needing gets promoted up into the primitives above.
   ============================================================ */

/* --- home: hero --- */
.hero { padding-block: clamp(2.25rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); position: relative; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__copy .script { margin-bottom: .35rem; }
.hero h1 { margin-bottom: 1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.hero__note { margin-top: 1.15rem; font-weight: 700; color: var(--olive-soft); font-size: .95rem; }
.hero__art { position: relative; width: min(100%, 420px); margin-inline: auto; }
.hero__art .taped__inner { padding: 12px; }
.hero__art img { aspect-ratio: 4 / 5; object-position: 50% 32%; }
.hero__badge {
  position: absolute; z-index: 3;
  right: -6px; bottom: -22px;
  background: var(--cream);
  border: 3px solid var(--olive);
  border-radius: 999px;
  padding: .6rem 1.15rem;
  font-family: var(--display);
  box-shadow: var(--sh-2);
  transform: rotate(-4deg);
  text-align: center;
  line-height: 1.05;
}
.hero__badge b { display: block; color: var(--pink-ink); font-size: 1.3rem; }
.hero__badge span { font-family: var(--body); font-weight: 700; font-size: .8rem; letter-spacing: .04em; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
  .hero__art { margin-inline: 0 auto; }
}
/* No ken burns on the portrait. Slow drift on a person's face reads as
   motion for its own sake; the taped frame already carries the interest. */

/* --- home: how it works, a real 4-step sequence --- */
.steps { display: grid; gap: 1.6rem; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.step__n {
  counter-increment: step;
  width: 54px; height: 54px; flex: none;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--olive);
  border: 3px solid var(--kraft-dark);
  font-family: var(--display); font-size: 1.35rem;
  box-shadow: var(--sh-1);
}
.step__n::after { content: counter(step); }
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--cream); max-width: 46ch; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.25rem 2.75rem; } }

/* --- gallery grids --- */
.gal { display: grid; gap: 1.15rem; }
@media (min-width: 620px) { .gal { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1000px) { .gal { grid-template-columns: repeat(3, 1fr); gap: 1.9rem; } }
.gal figure { margin: 0; }
.gal img { aspect-ratio: 4 / 3; }
.gal figcaption {
  margin-top: .85rem;
  font-family: var(--script);
  color: var(--pink-ink);
  font-size: 1.2rem;
  line-height: 1.25;
}
.gal figcaption em { display: block; font-family: var(--body); font-style: normal; font-weight: 700; font-size: .85rem; color: var(--olive-soft); }
/* first tile spans wide on the gallery page so the grid is not a
   flat repeating field of identical rectangles */
.gal--feature > figure:first-child img { aspect-ratio: 16 / 10; }
@media (min-width: 1000px) { .gal--feature > figure:first-child { grid-column: span 2; } }

/* --- order page --- */
.order-grid { display: grid; gap: 1.75rem; }
@media (min-width: 980px) { .order-grid { grid-template-columns: 1.35fr .8fr; align-items: start; gap: 3rem; } }
.aside-card { position: sticky; top: 96px; }
.aside-card ol { padding-left: 1.15rem; margin: .5rem 0 0; }
.aside-card li { margin-bottom: .5rem; }
.form-note { font-size: .92rem; color: var(--olive-soft); font-weight: 600; }
