/* Terri's Glass Creations design system, components. Version 1.0, 2026-11-19.
   Only the components the home page uses, with the states they have.
   Every value comes from tokens.css; measured rules are noted. */

/* ===== Skip link =====
   Use when: first element of every page. Not when: never omitted. */
.skip-link {
  position: absolute; z-index: 1100; left: -100vw; top: 0;
  margin: var(--space-16);
  padding: var(--space-8) var(--space-20);
  border-radius: var(--radius-pill);
  background-color: var(--tgc-white);
  color: var(--tgc-ink);
  box-shadow: var(--shadow-skip);
}
.skip-link:focus { left: 0; }

/* ===== Icons (one 1px stroke, colored from the text) =====
   Use when: inside a button or link to say where it goes. Not when: decoration alone. */
.icon { width: 1.0625rem; height: auto; margin-top: 0.125rem; flex: none; }
.icon--arrow-lg { width: 1.625rem; margin-top: 0; }
.icon-stars { height: 1em; width: auto; }

/* ===== Button (pill) =====
   Use when: an action or a route to another page. Not when: a link inside a sentence,
   use an underlined link instead. Label starts with a verb or names the place. */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--space-8);
  min-height: 44px;
  padding: var(--space-12) var(--space-24);
  border: var(--line-hair) solid currentColor;
  border-radius: var(--radius-pill);
  font-size: var(--size-button);
  font-weight: var(--weight-medium);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}
.btn__label { transform: translateY(-5%); }
/* Solid: ink pill, white text (measured "All Events"); hover turns navy */
.btn--solid { background-color: var(--tgc-ink); border-color: var(--tgc-ink); color: var(--tgc-white); }
.btn--solid:hover { background-color: var(--tgc-navy); border-color: var(--tgc-navy); }
.btn--solid:active { background-color: var(--tgc-ink); }
/* Outline on navy: white line and text; hover fills white with ink text (measured) */
.btn--outline-light { border-color: var(--tgc-white); color: var(--tgc-white); background-color: transparent; }
.btn--outline-light:hover { background-color: var(--tgc-white); color: var(--tgc-ink); }
.btn--outline-light:active { background-color: var(--tgc-stone); color: var(--tgc-ink); }
/* Arrow only: ink outline on white; hover fills ink, arrow turns white (measured) */
.btn--arrow {
  border-color: var(--tgc-ink); color: var(--tgc-ink);
  padding: var(--space-16) calc(var(--space-44) + var(--space-8)) var(--space-16) calc(var(--space-36) + var(--space-8));
  transition: opacity var(--duration-base), color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
}
.btn--arrow:hover { background-color: var(--tgc-ink); color: var(--tgc-white); }
@media (max-width: 767px) {
  .btn { padding-inline: var(--space-20); }
  .btn--arrow { padding: 0.625rem calc(var(--space-20) + var(--space-8)) 0.75rem; }
}
/* Stretched: the button's link covers its whole card */
.btn--stretch::after { content: ""; position: absolute; inset: -100vh -100vw; }

/* ===== Site header and navigation =====
   Use when: top of every page. Desktop shows all links; under 992 a menu button
   opens a full-screen navy panel. Lists and a disclosure button, never role=menu. */
.site-header { position: relative; z-index: 100; }
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-20) var(--space-36);
}
.site-header__logo { position: relative; z-index: 1002; display: block; }
.site-header__logo img { height: 3.5rem; width: auto; aspect-ratio: 3.77; }
.site-nav { display: flex; align-items: center; }
.site-nav__list { display: flex; align-items: center; gap: var(--space-44); list-style: none; margin: 0; padding: 0; }
.site-nav__link {
  display: block;
  padding-block: var(--space-12);
  border-block: var(--line-hair) solid transparent;
}
.site-nav__link > span { display: block; transform: translateY(-5%); }
.site-nav__link:hover { border-bottom-color: currentColor; }
.site-nav__link[aria-current="page"] { border-bottom-color: currentColor; }
.menu-toggle { display: none; }

@media (max-width: 991px) {
  .site-header__bar { padding-inline: var(--space-24); }
  .site-header__logo img { height: 3rem; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; z-index: 1003; top: 1rem; right: 1.25rem;
    width: 44px; height: 44px; color: var(--tgc-white);
  }
  .menu-toggle__bars { position: relative; width: 2rem; height: 1.5rem; }
  /* The hand-drawn menu icon (the old site's Lottie): motion.js morphs it into an X. */
  .menu-toggle__icon { display: block; width: 2rem; height: 2rem; overflow: visible; }
  .menu-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px;
    background-color: currentColor; transition: transform var(--duration-base) var(--ease-soft), opacity var(--duration-base);
  }
  .menu-toggle__bars span:nth-child(1) { top: 0.075rem; }
  .menu-toggle__bars span:nth-child(2) { top: calc(50% - 1px); }
  .menu-toggle__bars span:nth-child(3) { bottom: 0.075rem; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(0.6rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-0.6rem) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0; z-index: 1001;
    min-height: 100vh;
    background-color: var(--tgc-navy);
    justify-content: center;
    visibility: hidden; transform: translateX(-107%);
    transition: transform var(--duration-menu-close) var(--ease-soft), visibility 0s linear var(--duration-menu-close);
  }
  /* Measured: slides in from the left in 0.5 s, linear; slides out in 1 s, easing off. */
  .site-header.is-open .site-nav { visibility: visible; transform: none; transition: transform var(--duration-menu-open) linear, visibility 0s linear 0s; }
  .site-nav__list { flex-direction: column; }
  .site-nav__link { font-size: var(--size-nav-overlay); }
}
@media (max-width: 767px) {
  .site-header__logo img { height: 2.5rem; }
  .menu-toggle { top: 0.75rem; right: 0.6rem; }
  .menu-toggle__bars { width: 1.75rem; height: 1.3rem; }
  .menu-toggle__icon { width: 1.75rem; height: 1.75rem; }
}
@media (max-width: 479px) {
  .site-header__logo img { height: 2.25rem; }
  .menu-toggle { top: 0.6rem; }
  .menu-toggle__bars { width: 1.5rem; height: 1.15rem; }
  .menu-toggle__icon { width: 1.5rem; height: 1.5rem; }
}

/* ===== Home hero =====
   Use when: the home page opens. Title, one line of promise, the shop button,
   the Etsy reviews note, and Terri's framed photo that overlaps the next band. */
.hero { position: relative; margin-bottom: var(--space-96); }
.hero__title-wrap { padding-top: var(--space-80); }
.hero__title { max-width: var(--measure-hero); padding-bottom: var(--space-44); }
.hero__text {
  grid-column: 2 / span 4;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--space-52);
  padding-bottom: var(--space-96);
}
.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); }
.hero__reviews { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--space-12); row-gap: var(--space-6); }
.hero__reviews p { text-wrap: balance; }
.hero__picture {
  grid-column: 7 / span 8;
  position: relative; z-index: 2;
  aspect-ratio: 3 / 2;
  margin-bottom: calc(var(--space-96) * -1);
  overflow: hidden;
  background-color: var(--tgc-stone);
}
.hero__picture img { width: 100%; height: 110%; object-fit: cover; object-position: 50% 0%; } /* measured 110%: room to drift up as you scroll */
@media (max-width: 991px) { .hero__text { padding-bottom: 5rem; } }
@media (max-width: 767px) {
  .hero__text { grid-column: 2 / content-end; padding-bottom: 2rem; }
  .hero__picture { grid-column: content-start / full-end; }
}
@media (max-width: 479px) { .hero__title-wrap { padding-top: var(--space-20); } }

/* ===== Framed picture =====
   Use when: any photograph of Terri, her work or customers. 2px black frame. */
.frame { border: var(--line-frame) solid var(--line); }

/* ===== Color strip (the stained-glass band, a brand signature) =====
   Use when: closing the hero and the closing band. Decorative, hidden from readers. */
.color-strip { height: var(--strip-height); overflow: hidden; }
.color-strip img { width: 120%; max-width: none; height: 100%; object-fit: cover; }
.color-strip--hero { position: absolute; inset: auto 0 0 0; }

/* ===== Band heading block =====
   Use when: a band opens with a centered title. */
.band-stack { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ===== Empty list notice (measured from the events list) =====
   Use when: a live list has no items. Not when: there is content. */
.empty-notice { width: 100%; padding: 10px; background-color: var(--tgc-empty); color: var(--tgc-ink); text-align: left; }

/* ===== Statement with cycling word ("Inspired by") =====
   Signature motion, measured from the old site: once in view, the cursive word holds
   3 s on light, music, nature and light again, sliding up in 0.75 s (ease-soft) between
   them, and the icon above fades over 0.25 s to match; 11.75 s, then it starts over.
   Reduced motion: "light" and its icon, still. */
.statement { text-align: center; display: flex; flex-direction: column; align-items: center; }
.statement__icon { position: relative; width: 6rem; aspect-ratio: 1; margin-bottom: var(--space-20); }
.statement__icon img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.statement__icon img:nth-child(1) { opacity: 1; }
.statement__cycle { position: relative; display: block; width: 100%; overflow: hidden; -webkit-text-stroke-width: 0.5px; }
.statement__words { display: block; -webkit-text-stroke-width: 1px; }
.statement__words > span { display: block; padding-block: 2%; }
.statement__words > span + span { position: absolute; left: 0; right: 0; }
.statement__words > span:nth-child(2) { top: 100%; }
.statement__words > span:nth-child(3) { top: 200%; }
.statement__words > span:nth-child(4) { top: 300%; }
.statement.is-playing .statement__words { animation: tgc-word-loop 11.75s linear infinite; }
.statement.is-playing .statement__icon img:nth-child(1) { animation: tgc-icon-light 11.75s linear infinite; }
.statement.is-playing .statement__icon img:nth-child(2) { animation: tgc-icon-music 11.75s linear infinite; }
.statement.is-playing .statement__icon img:nth-child(3) { animation: tgc-icon-nature 11.75s linear infinite; }
/* Times: 3.5 s, 4.25 s, 7.25 s, 8 s, 11 s, 11.75 s of 11.75 s */
@keyframes tgc-word-loop {
  0%, 29.787% { transform: translateY(0); animation-timing-function: var(--ease-soft); }
  36.170%, 61.702% { transform: translateY(-100%); animation-timing-function: var(--ease-soft); }
  68.085%, 93.617% { transform: translateY(-200%); animation-timing-function: var(--ease-soft); }
  100% { transform: translateY(-300%); }
}
@keyframes tgc-icon-light {
  0%, 29.787% { opacity: 1; animation-timing-function: var(--ease-soft); }
  31.915%, 95.745% { opacity: 0; animation-timing-function: var(--ease-soft); }
  97.872%, 100% { opacity: 1; }
}
@keyframes tgc-icon-music {
  0%, 31.915% { opacity: 0; animation-timing-function: var(--ease-soft); }
  34.043%, 61.702% { opacity: 1; animation-timing-function: var(--ease-soft); }
  63.830%, 100% { opacity: 0; }
}
@keyframes tgc-icon-nature {
  0%, 63.830% { opacity: 0; animation-timing-function: var(--ease-soft); }
  65.957%, 93.617% { opacity: 1; animation-timing-function: var(--ease-soft); }
  95.745%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .statement.is-playing .statement__words, .statement.is-playing .statement__icon img { animation: none; }
}

/* ===== Testimonial cards (photo or quote, tilted, tinted) =====
   Use when: showing customers and their own words. Quotes word for word, never edited.
   Tints run lilac, aqua, lime, green, butter by position; tilts run with them. */
.card-list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grid-gap); width: 100%; list-style: none; margin: 0; padding: 0; }
.card {
  position: relative; overflow: hidden;
  flex: 1; min-width: 32%; max-width: 32.5%;
  aspect-ratio: 4 / 4.7;
  border: var(--line-frame) solid var(--line);
  border-radius: var(--radius-card);
  background-color: var(--tgc-tint-lilac);
  color: var(--tgc-ink);
}
.card:nth-child(5n + 1) { transform: rotate(var(--tilt-1)); --card-tint: var(--tgc-tint-lilac); }
.card:nth-child(5n + 2) { transform: rotate(var(--tilt-2)); --card-tint: var(--tgc-tint-aqua); }
.card:nth-child(5n + 3) { transform: rotate(var(--tilt-3)); --card-tint: var(--tgc-tint-lime); }
.card:nth-child(5n + 4) { transform: rotate(var(--tilt-4)); --card-tint: var(--tgc-tint-green); }
.card:nth-child(5n + 5) { transform: rotate(var(--tilt-5)); --card-tint: var(--tgc-tint-butter); }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__quote { position: absolute; inset: 0; padding: var(--space-24); overflow: auto; background-color: var(--card-tint); }
@media (max-width: 991px) { .card { min-width: 49%; } }
@media (max-width: 479px) { .card { min-width: 100%; } }

/* ===== Link cards (the closing "support" row) =====
   Use when: two to three routes out (shop, contact, social). Each whole card is one link. */
.link-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; list-style: none; margin: 0; padding: 0; }
.link-card {
  position: relative; overflow: hidden;
  min-height: 14rem;
  border-top: var(--line-frame) solid var(--line);
  border-right: var(--line-frame) solid var(--line);
  border-bottom: var(--line-frame) solid var(--line);
}
.link-card:last-child { border-right: none; }
.link-card__inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--space-52);
  height: 100%;
  padding: var(--space-64) 0 var(--space-80);
  background-color: var(--tgc-white);
  color: var(--tgc-ink);
}
.link-card__icon { width: var(--space-80); }
.link-card__title { display: flex; flex-direction: column; align-items: center; max-width: 80%; }
.link-card .btn--arrow:focus-visible { outline-offset: 6px; }
/* Hover, measured: the box turns paper, the icon lifts 10px, the arrow fills ink; 0.35 s each way */
.link-card__inner { transition: background-color var(--duration-card) var(--ease-soft); }
.link-card__icon { transition: transform var(--duration-card) var(--ease-soft); }
.link-card .btn--arrow { transition: background-color var(--duration-card) var(--ease-soft), color var(--duration-card) var(--ease-soft); }
.link-card:hover .link-card__inner { background-color: var(--tgc-paper); }
.link-card:hover .link-card__icon { transform: translateY(-10px); }
.link-card:hover .btn--arrow { background-color: var(--tgc-ink); color: var(--tgc-white); }
@media (max-width: 767px) {
  .link-cards { grid-template-columns: minmax(0, 1fr); border-bottom: var(--line-frame) solid var(--line); }
  .link-card { border-bottom-width: 0; border-right-width: 0; }
}

/* ===== Site footer (revealed under the last band) =====
   Use when: bottom of every page. The navy footer sits still while the page
   above slides off it. Holds the newsletter, the privacy link and the copyright. */
.site-footer { position: relative; z-index: 1; margin-top: -100vh; }
.site-footer__spacer { height: 100vh; }
.site-footer__panel {
  position: sticky; bottom: 0;
  background-color: var(--tgc-navy);
  background-image: url("/assets/bg-logo.svg");
  background-position: 50% 20%;
  background-repeat: no-repeat;
  background-size: 50vw;
  color: var(--tgc-white);
}
.site-footer__inner {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-128);
  padding-top: var(--space-128); padding-bottom: var(--space-80);
}
.site-footer__content { display: flex; flex-direction: column; align-items: center; gap: var(--space-44); width: 100%; }
.site-footer__heading { display: flex; flex-direction: column; align-items: center; gap: var(--space-20); text-align: center; }
.site-footer__legal { display: flex; justify-content: center; gap: var(--space-30); }
.site-footer__legal a { text-decoration: underline; text-underline-offset: 0.15em; }
.site-footer__legal a:hover { text-decoration-thickness: 2px; }
@media (max-width: 991px) { .site-footer__panel { background-size: 60vw; } }
@media (max-width: 767px) { .site-footer__panel { background-position: 50% 30%; background-size: 65vw; } }
@media (max-width: 479px) {
  .site-footer__panel { background-size: 75vw; }
  .site-footer__legal { flex-direction: column; align-items: center; gap: var(--space-16); text-align: center; }
}

/* ===== Single-field form (newsletter) =====
   Use when: one email address and a send arrow. States: rest, focus, invalid,
   disabled, and a message line for sent or not sent. Label always present for readers. */
.field-form { width: min(100%, 30rem); }
.field-form__row {
  display: flex; overflow: hidden;
  border-radius: var(--radius-pill);
  background-color: var(--tgc-white);
  color: var(--tgc-ink);
}
.field-form__row:focus-within { outline: var(--focus-ring-width) solid var(--tgc-teal); outline-offset: 3px; }
.field-form__input {
  flex: 1; min-width: 0; min-height: 44px;
  padding: var(--space-16) var(--space-8) var(--space-16) var(--space-24);
  border: 0; background: transparent;
  font-size: var(--size-ui-large); font-weight: var(--weight-regular);
  line-height: var(--leading-heading);
}
.field-form__input::placeholder { color: color-mix(in srgb, var(--tgc-ink) 65%, transparent); }
.field-form__input:focus { outline: none; }
.field-form__input[aria-invalid="true"] { box-shadow: inset 0 -2px 0 var(--tgc-error); }
.field-form__send {
  flex: none; width: 4em; align-self: stretch;
  border-radius: var(--radius-pill);
  background: transparent url("/assets/icon-arrow-right-black.svg") 45% 50% no-repeat;
  transition: background-color var(--duration-base) var(--ease-soft);
}
.field-form__send:hover { background-color: var(--tgc-stone); }
.field-form__send:disabled { opacity: 0.4; cursor: not-allowed; }
.field-form__message {
  margin-top: var(--space-20);
  padding: var(--space-12) var(--space-24);
  border-radius: var(--radius-pill);
  font-size: var(--size-ui-small); line-height: var(--leading-heading);
}
.field-form__message:empty { display: none; }
.field-form__message--notice { background-color: var(--tgc-white); color: var(--tgc-ink); }
.field-form__message--error { background-color: var(--tgc-error); color: var(--tgc-white); }

/* =====================================================================
   Added for the inner pages (About, Events, Testimonials, Contact, Privacy).
   Nothing above this line was changed. Values measured from each page's own
   capture (material/pages/<slug>/styles.css); tokens.css is untouched, so the
   few measured values the home never needed are named here.
   ===================================================================== */
:root {
  --size-h5: clamp(1.625rem, 1.4226rem + 0.92vw, 2.296rem);         /* 36 / 26: section headings */
  --size-h6: clamp(1.5rem, 1.379rem + 0.55vw, 1.9025rem);           /* 30 / 24: captions, small titles */
  --size-text-large: clamp(1.375rem, 1.3354rem + 0.18vw, 1.509rem); /* 24 / 22: intro lines */
  --size-quote-large: clamp(2.5rem, 1.9742rem + 2.39vw, 4.2445rem); /* 66 / 40: About statement */
  --space-200: clamp(5.125rem, 2.738rem + 10.85vw, 13.0425rem);
  --leading-h5: 1.3em;
  --leading-quote-large: 1.2em;
  --tgc-peach: #ffd08a;       /* measured --button--date: "Contact me" disc, date pills */
  --tgc-sand: #b1a581;        /* measured: background lines and process arrows */
  --tgc-step-2: #ffbf1c;      /* measured: process step 2 tab */
  --tgc-step-3: #d95e92;      /* measured: process step 3 tab */
  --header-height: calc(var(--space-20) * 2 + 3.5rem);
}
@media (max-width: 991px) { :root { --header-height: calc(var(--space-20) * 2 + 3rem); } }
@media (max-width: 767px) { :root { --header-height: calc(var(--space-20) * 2 + 2.5rem); } }
@media (max-width: 479px) { :root { --header-height: calc(var(--space-20) * 2 + 2.25rem); } }

/* ===== More type roles (measured on the inner pages) ===== */
.t-display-roman {           /* "Meet Terri": display size, light, upright */
  font-family: var(--font-serif);
  font-size: var(--size-display);
  font-weight: var(--weight-light);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-display);
}
.t-h5 {
  font-family: var(--font-serif);
  font-size: var(--size-h5);
  font-weight: var(--weight-medium);
  line-height: var(--leading-h5);
  letter-spacing: 0;
  text-wrap: balance;
}
.t-h5.is-light { font-weight: var(--weight-light); }
.t-h6 {
  font-family: var(--font-serif);
  font-size: var(--size-h6);
  font-weight: var(--weight-medium);
  line-height: var(--leading-h5);
  letter-spacing: 0;
}
.t-text-large {
  font-size: var(--size-text-large);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-body);
}
.t-quote-large {
  font-family: var(--font-serif);
  font-size: var(--size-quote-large);
  font-weight: var(--weight-light);
  line-height: var(--leading-quote-large);
  letter-spacing: inherit; /* measured: keeps the body's -0.02em of 20px, not of its own size */
}
.t-semibold { font-weight: var(--weight-semibold); }

/* ===== Light header (every page but the home) =====
   Use when: the page opens on the paper background. Same markup as the home's
   header; ink logo and links, ink outline button, white phone menu. */
.site-header--light { color: var(--tgc-ink); --focus-ring-color: var(--tgc-navy); }
@media (max-width: 991px) {
  .site-header--light .menu-toggle { color: var(--tgc-ink); }
  .site-header--light .site-nav { background-color: var(--tgc-white); color: var(--tgc-ink); }
}
/* Outline on light: ink line and text; hover fills ink, text turns white (measured) */
.btn--outline-dark { border-color: var(--tgc-ink); color: var(--tgc-ink); background-color: transparent; }
.btn--outline-dark:hover { background-color: var(--tgc-ink); color: var(--tgc-white); }
.btn--outline-dark:active { background-color: var(--tgc-navy); border-color: var(--tgc-navy); color: var(--tgc-white); }

/* ===== Background lines (About) =====
   Decorative sand lines at 40% behind the top of the page, reaching up behind the header. */
.bg-lines {
  position: absolute; z-index: 0; left: 0; right: 0; top: calc(var(--header-height) * -1);
  display: flex; justify-content: center; overflow: hidden;
  color: var(--tgc-sand); opacity: 0.4; pointer-events: none;
}
.bg-lines svg { flex: none; width: 100%; aspect-ratio: 14.4 / 16.3; }
@media (max-width: 991px) { .bg-lines { align-items: flex-start; } .bg-lines svg { min-width: 120%; } }
@media (max-width: 479px) { .bg-lines svg { min-width: 180%; } }

/* ===== Portrait collage (About hero) =====
   Terri's framed portrait between two tilted photos, with a "Contact me" disc. */
.collage-hero__inner {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-20);
  padding-top: var(--space-80); text-align: center;
}
.collage-hero__lead { max-width: 42ch; }
.collage {
  position: relative; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  padding-top: var(--space-80);
}
.collage__pic {
  position: relative; overflow: hidden;
  border: 2.5px solid var(--line);
  background-color: var(--tgc-navy);
}
.collage__pic img { width: 100%; height: 100%; object-fit: cover; }
.collage__pic--center { z-index: 3; aspect-ratio: 4 / 5; width: 30vw; max-width: 400px; transform: rotate(3.4deg); }
.collage__pic--left, .collage__pic--right { position: absolute; z-index: 1; aspect-ratio: 4 / 3.1; width: 33vw; max-width: 500px; }
.collage__pic--left { top: 25%; left: 0; margin-left: 15%; transform: translate(-6%, 3%) rotate(-5.5deg); }
.collage__pic--right { top: 27%; right: 0; margin-right: 15%; transform: translate(3.3%, 1.3%) rotate(9.8deg); }
.collage__frame { position: absolute; right: 0; bottom: 0; width: 205%; max-width: none; height: auto !important; object-fit: fill !important; pointer-events: none; }
.collage__disc {
  position: absolute; z-index: 4; top: 22%; right: 10%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 9rem; aspect-ratio: 1;
  padding: var(--space-6) 0.25rem 0 0;
  border: var(--line-frame) solid var(--line); border-radius: 50%;
  background-color: var(--tgc-peach); color: var(--tgc-ink);
  text-align: center;
  transition: transform var(--duration-base) var(--ease-soft);
}
.collage__disc:hover { transform: scale(1.1); }
@media (max-width: 991px) {
  .collage__pic--center { border-width: 2px; width: 35vw; }
  .collage__pic--left, .collage__pic--right { border-width: 2px; width: 40vw; }
  .collage__disc { width: 8rem; }
}
@media (max-width: 767px) {
  .collage__pic--center, .collage__pic--left, .collage__pic--right { border-width: 1.5px; }
  .collage__disc { width: 7rem; right: 3%; }
}
@media (max-width: 479px) {
  .collage-hero__inner { padding-top: var(--space-20); }
  .collage__pic--center { width: 40vw; }
  .collage__pic--left, .collage__pic--right { width: 45vw; }
  .collage__disc { width: 6.5rem; top: 6%; right: -2%; }
}

/* ===== Bio rows (About) =====
   A heading in the left third and its paragraph to the right; stacks under 992. */
.bio { padding-top: var(--space-200); padding-bottom: var(--space-156); display: flex; flex-direction: column; gap: var(--space-156); }
.bio-rows { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); row-gap: var(--space-64); }
.bio-row { grid-column: 2 / span 10; display: grid; grid-template-columns: subgrid; column-gap: var(--grid-gap); }
.bio-row__title { grid-column: span 4; padding-right: var(--space-30); }
.bio-row__text { grid-column: span 6; padding-top: var(--space-6); }
@media (max-width: 991px) {
  .bio-row { row-gap: var(--space-16); }
  .bio-row__title, .bio-row__text { grid-column: span 10; }
}
@media (max-width: 767px) {
  .bio-row { grid-column: 1 / span 12; }
  .bio-row__title, .bio-row__text { grid-column: span 12; }
}

/* ===== Statement with inline pictures (About) ===== */
.statement-pics { display: flex; flex-direction: column; align-items: center; gap: var(--space-30); text-align: center; }
.statement-pics__label { max-width: 44ch; }
.statement-pics__text { max-width: 27ch; }
.inline-pic {
  display: inline-block; width: 1.125em; aspect-ratio: 1; height: auto;
  margin: -10% var(--space-16) 0 var(--space-20);
  border-radius: 50%; object-fit: cover;
  background-color: var(--tgc-peach);
  box-shadow: 0 0.5rem 1.5rem -0.375rem rgb(0 0 0 / 0.35);
  transform: translateY(22%);
}

/* ===== Process steps (About) =====
   Three tilted pictures with a numbered tab, a title and a paragraph, joined by
   hand-drawn arrows. Arrows hide on small phones. */
.process { padding-bottom: var(--space-236); display: flex; flex-direction: column; gap: var(--space-200); }
.process__step { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--grid-gap); }
.process__item { position: relative; grid-column: 2 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); }
/* Measured item tilts; the whole step also turns from 4deg (third: -3.5deg) to 0 as it scrolls in (motion.js) */
.process__step:nth-child(1), .process__step:nth-child(2) { transform: rotate(4deg); }
.process__step:nth-child(3) { transform: rotate(-3.5deg); }
.process__item--1 { transform: rotate(-1deg); }
.process__item--2 { grid-column: 6 / span 7; transform: rotate(1.25deg); }
.process__item--3 { grid-column: 3 / span 7; transform: rotate(-1.5deg); }
@media (prefers-reduced-motion: reduce) { .process__step:nth-child(n) { transform: none; } }
.process__pic { position: relative; width: 100%; aspect-ratio: 4 / 2.5; border: var(--line-frame) solid var(--line); }
.process__pic > img { width: 100%; height: 100%; object-fit: cover; }
.process__no {
  position: absolute; left: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  width: 7.5rem; aspect-ratio: 1.2 / 1.1;
}
.process__no svg { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; overflow: visible; }
.process__no span { position: relative; margin-top: 15%; margin-left: -20%; }
.process__item--1 .process__no { color: var(--tgc-teal); }
.process__item--2 .process__no { color: var(--tgc-step-2); }
.process__item--3 .process__no { color: var(--tgc-step-3); }
.process__no span { color: var(--tgc-ink); }
.process__title { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-12); }
.process__arrow { position: absolute; z-index: 2; color: var(--tgc-sand); }
.process__arrow svg { width: 100%; height: 100%; }
.process__arrow--1 { height: 60%; aspect-ratio: 142 / 375; top: 60%; right: -26%; transform: rotate(2deg); }
.process__arrow--2 { height: 85%; aspect-ratio: 207 / 430; top: 42%; left: -40%; }
@media (max-width: 991px) {
  .process__item--1 { grid-column: 2 / span 9; }
  .process__item--2 { grid-column: 3 / span 9; }
  .process__item--3 { grid-column: 3 / span 9; }
  .process__arrow--1 { right: -30%; }
  .process__arrow--2 { left: -38%; transform: rotate(-12deg); }
}
@media (max-width: 767px) {
  .process__step { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .process__item--1, .process__item--3 { grid-column: 1 / span 5; }
  .process__item--2 { grid-column: 2 / span 5; }
  .process__no { width: 6rem; }
  .process__arrow--1 { top: 51%; right: -20%; transform: rotate(23deg); }
  .process__arrow--2 { height: 70%; top: 49%; left: -21%; transform: rotate(-24deg); }
}
@media (max-width: 479px) {
  .process__step { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .process__item--2 { grid-column: 1 / span 5; }
  .process__no { width: 4rem; }
  .process__arrow { display: none; }
}

/* ===== Full-width photo with caption pill (About booth) ===== */
.photo-band { position: relative; border-top: var(--line-frame) solid var(--tgc-ink); overflow: clip; }
.photo-band { aspect-ratio: 2.25; min-height: 0; overflow: hidden; } /* measured; the photo drifts up 10% inside it as you scroll */
.photo-band > img { width: 100%; }
@media (max-width: 991px) { .photo-band { aspect-ratio: 2; } }
@media (max-width: 767px) { .photo-band { aspect-ratio: 1.9; } }
.photo-band__caption { position: absolute; left: 0; right: 0; bottom: 15%; display: flex; justify-content: center; }
.photo-band__caption p { padding: var(--space-8) var(--space-24) var(--space-12); border-radius: var(--radius-pill); background-color: var(--tgc-tint-lilac); color: var(--tgc-ink); }

/* ===== Customer teaser and closing support band =====
   The home's layout for these two bands, made shared so other pages can use them.
   Same class names and the same values as the home's own layout block. */
.customers { position: relative; z-index: 5; padding-top: var(--space-156); }
.customers__inner { padding-bottom: var(--space-236); display: flex; flex-direction: column; align-items: center; }
.customers__title { position: sticky; top: 25vh; padding-bottom: var(--space-236); text-align: center; color: var(--tgc-sky); }
.customers__content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--space-128); }
.support { position: relative; z-index: 2; padding-top: var(--space-156); }
.support__head { display: flex; justify-content: center; padding-bottom: var(--space-80); text-align: center; }
.support__title { max-width: var(--measure-short); }
.support__strip { margin-top: -2px; }

/* ===== Page title row with a side form (Events) =====
   Title on the left, a labeled single-field form at the bottom right; stacks under 768. */
.title-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: var(--grid-gap);
  padding-top: var(--space-64); padding-bottom: var(--space-96);
}
.title-row__title { flex: 1; }
.title-row__title h1 { max-width: 12ch; }
.title-row__side { flex: none; }
@media (max-width: 767px) {
  .title-row { flex-direction: column; align-items: stretch; }
  .title-row__side { padding-top: var(--space-52); }
}

/* Single-field form with a visible label and an ink outline (measured "Get updates") */
.field-form--labeled { display: flex; flex-direction: column; gap: var(--space-12); width: 24.25rem; max-width: 100%; }
.field-form--labeled .field-form__row { border: var(--line-hair) solid var(--tgc-ink); }
.field-form__label { font-size: var(--size-body); font-weight: var(--weight-semibold); line-height: var(--leading-heading); }
@media (max-width: 767px) { .field-form--labeled { width: 100%; } }

/* ===== Event list (Events) =====
   Upcoming first (or its empty line), then past events in a three-column grid of cards. */
.event-list { display: flex; flex-direction: column; gap: var(--space-156); }
.event-list__group { display: flex; flex-direction: column; gap: var(--space-36); }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); list-style: none; margin: 0; padding: 0; }
@media (max-width: 991px) { .event-grid { grid-template-columns: minmax(0, 1fr); } }

/* Event card: white card, stone inner line, a date tab in the corner (paper for past
   events, peach for upcoming ones), title, place, and a small "Visit site" button. */
.event-card { position: relative; overflow: hidden; min-height: 18em; padding: var(--space-8); border-radius: var(--radius-card); background-color: var(--tgc-white); color: var(--tgc-ink); }
.event-card__inner {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  height: 100%; border: var(--line-hair) solid var(--tgc-stone); border-radius: var(--space-8);
}
.event-card__date {
  position: relative; top: -1px; left: -1px;
  display: flex; gap: var(--space-6);
  padding: var(--space-12) var(--space-20);
  border-top-left-radius: var(--space-8); border-bottom-right-radius: var(--space-8);
  background-color: var(--tgc-peach); mix-blend-mode: multiply;
  font-weight: var(--weight-semibold); line-height: var(--leading-heading);
}
.event-card--past .event-card__date { background-color: var(--tgc-paper); }
/* Hover, measured: the inner line darkens and "Visit site" fills ink; 0.35 s each way */
.event-card__inner { transition: border-color var(--duration-card) var(--ease-soft); }
.event-card .btn--small { transition: background-color var(--duration-card) var(--ease-soft), color var(--duration-card) var(--ease-soft); }
.event-card:hover .event-card__inner { border-color: var(--tgc-stone-deep); }
.event-card:hover .btn--small { background-color: var(--tgc-ink); color: var(--tgc-white); }
.event-card__details { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-20); width: 100%; padding: var(--space-36) var(--space-24); }
.event-card__text { display: flex; flex-direction: column; gap: var(--space-8); }
.event-card__place { font-weight: var(--weight-medium); }
@media (max-width: 991px) { .event-card { min-height: 12em; } }

/* Small outline button (measured "Visit site"): 18px, ink line, hover fills ink */
.btn--small {
  min-height: 0; gap: var(--space-8);
  padding: var(--space-8) var(--space-16);
  border-color: var(--tgc-ink); color: var(--tgc-ink);
  font-size: var(--size-ui-small); letter-spacing: var(--tracking-heading);
}
.btn--small .icon { width: 0.75em; transform: translateY(-6%); }
.btn--small:hover { background-color: var(--tgc-ink); color: var(--tgc-white); }
@media (max-width: 991px) { .btn--small { font-size: 1.25rem; } }
@media (max-width: 767px) { .btn--small { padding-inline: var(--space-20); } }
@media (max-width: 479px) { .btn--small { font-size: 1.125rem; } }

/* ===== Page title band (Testimonials, Privacy) =====
   A plain left-aligned page title on paper. */
.page-title { padding-top: var(--space-64); padding-bottom: var(--space-64); }
.page-title h1 { max-width: 16ch; }
@media (max-width: 479px) { .page-title { padding-top: var(--space-20); } }

/* Upright card grid (Testimonials): the home's customer cards without the tilt,
   one per row from 768 down. */
.card-list--upright .card { transform: none; }
@media (max-width: 767px) { .card-list--upright .card { min-width: 100%; } }

/* Raised main (Contact, measured is-contact): a short page keeps its content above the footer */
.page-main--raised { z-index: 2; }

/* ===== Contact layout (Contact) =====
   Text and links in the left half, the form card in the right half; stacks under 768. */
.contact { padding-top: var(--space-80); padding-bottom: var(--space-156); }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid-gap); }
.contact__text { grid-column: span 5; }
.contact__text h1 { max-width: 10ch; }
.contact__lead { padding-top: var(--space-44); }
.contact__form { grid-column: 7 / span 6; }
@media (max-width: 767px) {
  .contact__grid { display: flex; flex-direction: column; gap: var(--space-80); }
}
@media (max-width: 479px) { .contact { padding-top: var(--space-20); } }

/* Icon links (Contact): icon, two-line label, small arrow button; the whole block is one link */
ul.icon-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); padding-top: var(--space-52); list-style: none; margin: 0; }
.icon-link { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.icon-link__icon { width: var(--space-64); }
.icon-link__label { padding-top: var(--space-12); }
.icon-link__label .t-h6 { display: block; }
.icon-link__action { padding-top: var(--space-24); }
/* Hover, measured: the icon lifts 8px and the arrow button fills white; 0.5 s each way.
   The whole block is the link, so this is also what pointing at the arrow shows. */
.icon-link__icon { transition: transform var(--duration-card-slow) var(--ease-soft); }
.icon-link .btn--arrow-small { transition: background-color var(--duration-card-slow) var(--ease-soft); }
.icon-link:hover .icon-link__icon { transform: translateY(-8px); }
.icon-link:hover .btn--arrow-small { background-color: var(--tgc-white); color: var(--tgc-ink); }
@media (max-width: 991px) { ul.icon-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Small arrow-only button (measured 56 x 32 on Contact) */
.btn--arrow-small {
  min-height: 0; padding: var(--space-8) 1.25rem;
  border-color: var(--tgc-ink); color: var(--tgc-ink);
}
.btn--arrow-small .icon { width: 0.875rem; margin-top: 0; }
.btn--arrow-small:hover { background-color: var(--tgc-ink); color: var(--tgc-white); }
@media (max-width: 767px) { .btn--arrow-small { padding-inline: var(--space-16); } }

/* ===== Form card (Contact) =====
   White card with a stone inner line; labeled fields with an ink outline. */
.form-card { height: 100%; padding: var(--space-8); border-radius: var(--radius-card); background-color: var(--tgc-white); color: var(--tgc-ink); }
.form-card__inner { height: 100%; padding: var(--space-80); border: var(--line-hair) solid var(--tgc-stone); border-radius: var(--space-8); }
@media (max-width: 991px) { .form-card__inner { padding: var(--space-52); } }
@media (max-width: 479px) { .form-card__inner { padding: var(--space-30); } }
.form-stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-36); }
.form-stack::after { content: ""; } /* measured: the live card keeps one more gap below the button */
.form-field { display: flex; flex-direction: column; gap: var(--space-12); width: 100%; }
.form-field__label { font-size: var(--size-body); font-weight: var(--weight-semibold); line-height: var(--leading-heading); }
.form-field__input {
  width: 100%; padding: var(--space-12) var(--space-16);
  border: var(--line-hair) solid var(--tgc-ink); border-radius: var(--space-8);
  background-color: var(--tgc-white); color: var(--tgc-ink);
  font: inherit; font-size: var(--size-ui-large); line-height: var(--leading-heading); letter-spacing: normal;
  min-height: 2.5em; /* measured 55 at 22px */
}
.form-field__input::placeholder { color: color-mix(in srgb, var(--tgc-ink) 50%, transparent); }
.form-field__input:focus { outline: var(--focus-ring-width) solid var(--tgc-navy); outline-offset: 2px; }
.form-field__input[aria-invalid="true"] { border-color: var(--tgc-error); box-shadow: inset 0 0 0 1px var(--tgc-error); }
textarea.form-field__input { min-height: var(--space-156); resize: vertical; }
@media (max-width: 479px) { textarea.form-field__input { min-height: var(--space-236); } }
.form-stack .btn--solid { font-size: var(--size-ui-large); letter-spacing: normal; border-width: 0; } /* measured Submit: no line, normal spacing */
.form-stack__message { padding: var(--space-12) var(--space-24); border-radius: var(--radius-pill); font-size: var(--size-ui-small); line-height: var(--leading-heading); }
.form-stack__message:empty { display: none; }
.form-stack__message--notice { background-color: var(--tgc-paper); color: var(--tgc-ink); }
.form-stack__message--error { background-color: var(--tgc-error); color: var(--tgc-white); }

/* ===== Text page (Privacy) =====
   A narrow 52rem column for long legal text; paragraphs 8px apart. */
.container--text { max-width: 52rem; }
.rich-text { width: 100%; }
.rich-text p { margin-block: var(--space-8); }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text [id] { scroll-margin-top: var(--space-24); }
