/* ===========================================================
   page-share.css  --  Share Your SOTA Experience page
   ("Your story helps someone else begin.")
   -----------------------------------------------------------
   Wrapper: .page-share      Slug: ?page=Share-Your-SOTA-Experience
   Loaded by CMS via:
     Out ('\t<link rel="stylesheet" href="'+getVersionedFile('css/page-share.css')+'" />\n');
     Out ('\t<script src="'+getVersionedFile('js/page-share.js')+'" defer></script>\n');

   TWO SCRIPTS RUN THIS PAGE'S FORMS (keep both in mind when editing):
     js/site-request-form.js  (site-wide, CMS template) -- validation,
                               send, sent / failed states of BOTH
                               .reqform blocks, the Write/Video
                               placeholder swap, the video-link host
                               check and the units summary.
     js/page-share.js         (this page only) -- the live signature
                               preview under "How should we name you?".

   FRAME WIDTHS
     Desktop: Figma "Sharing Your Experience" 16911:2239, content at
     1200. Mobile: no frame; the designer's own prototype breakpoints
     (1180 / 980 / 640) are remapped to the site's 1024 / 767 tiers,
     with intrinsic (auto-fit) grids where the prototype stepped the
     column count. Flagged as unverified against a mobile design.

   PAGE FONT-SIZE BASE
     font-size: 18px on .page-share (dominant Figma paragraph size).
     Every non-clamp size is em against it; clamp endpoints are px.

   CLAMP FORMULA (1200 desktop / 400 mobile basis)
     slope_vw = (desktop_px - mobile_px) / 8
     value    = clamp(mobile_px, slope_vw vw + intercept_px, desktop_px)

   INHERITED FROM CMS-LOADED CSS (not re-declared):
     - font-family: 'Roboto', sans-serif
     - color-scheme: light only

   ASCII rule: this file MUST stay ASCII-clean.

   SECTION INDEX (search the block prefix)
     hero     1. Hero (gradient, photo, "Ask for an interview" link)
     talk     2. Rather just talk? (copy + the interview .reqform card)
     prompts  3. Your story, in your own time (six idea cards)
     film     4. Record it on your phone (promise pill, checklist, tips)
     send     5. Send us your story (story .reqform + contact rail)
     reqform  Shared request-form block, used by sections 2 and 5
              (same names as Repairs / Return Policy; keep in step)
=========================================================== */

/* -- TOKENS ------------------------------------------------ */
.page-share {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;

  /* Ink */
  /* Site palette (the four product colours and their -tint values,
     --color-white, --color-text, --surface-warm / --surface-cool and
     --color-btn-hover) is declared once on :root in site-page-base.css;
     a page re-declares one only to override it (audit C19). */
  --color-text-soft:   #4a6577; /* tile / checklist secondary lines, sent-card labels */
  --color-text-muted:  #7b8f9c; /* placeholders, "(optional)", example signature */
  --color-ink-strong:  #173a52; /* real signature */
  color: var(--color-text);

  /* Page accent: site-primary blue (non-product page). */
  --color-accent:      var(--color-water-ozonator);
  --color-accent-dark: #38769a;

  /* Surfaces & hairlines */
  --surface-selected:  #e6f2f9; /* ticked chip / option, icon badges */
  --color-rule:        #e2dbd7; /* input and chip borders */
  --color-rule-option: #e2e0d9; /* option-card border */
  --color-error:       #b3432f;
  --color-btn-hover:   #3b3b3b; /* designer's hover for every blue control on this page */
  --color-focus-ring:  color-mix(in srgb, var(--color-accent) 18%, transparent);
  --color-form-bg:     var(--color-white); /* form, sent, rail cards sit white on tinted sections */

  /* Decorative tints: hero gradient stops and the idea-card fills */
  --tint-cream:        #f9fbf6;
  --tint-warm-light:   #f5faf0;
  --tint-azure-light:  #e6f4f8;
  --tint-silver-pulser:   #dff0d3; /* also the "Leave the editing to us" pill */
  --tint-magnetic-pulser: #cee7e8;
  --tint-bio-tuner:       #e3dfef;
  --tint-water-ozonator:  #c8dfeb;

  /* Type scale (clamps: 1200/400 basis, px endpoints) */
  --text-hero:        clamp(40px, 1.75vw + 33px, 54px);    /* hero H1 54 -> 40 */
  --text-heading:     clamp(34px, 2vw + 26px, 50px);       /* section titles 50 -> 34 */
  --text-subheading:  clamp(19px, 0.375vw + 17.5px, 22px); /* section subheads 22 -> 19 */
  --text-lead:        clamp(18px, 0.25vw + 17px, 20px);    /* hero lead, talk body 20 -> 18 */
  --text-card-title:  clamp(22px, 0.375vw + 20.5px, 25px); /* idea-card / rail titles 25 -> 22 */
  --text-promise:     clamp(17px, 0.25vw + 16px, 19px);    /* editing promise 19 -> 17 */
  --text-sent:        clamp(26px, 0.75vw + 23px, 32px);    /* sent heading 32 -> 26 */
  --text-body:        1em;        /* 18px */
  --text-small:       0.889em;    /* 16px */
  --text-pill:        0.833em;    /* 15px: inputs, pill labels, summary rows */
  --text-eyebrow:     0.778em;    /* 14px uppercase block labels */

  /* Spacing */
  --space-section-y:  clamp(56px, 3vw + 44px, 80px);      /* 80 -> 56 */
  --space-container:  clamp(10px, 2.5vw, 30px);           /* 30 -> 10 gutter */
  --space-header-gap: 0.556em;    /* 10px title-to-subhead (site rule) */
  --space-block-gap:  2.778em;    /* 50px header-to-content on this design */

  /* Radii (px: corner-matching) */
  --radius-panel:  30px;  /* idea cards */
  --radius-form:   24px;  /* form, sent, rail and tip cards */
  --radius-photo:  20px;  /* hero photo */
  --radius-field:  16px;  /* inputs, summary box, quote boxes */
  --radius-option: 14px;  /* option cards, signature box */
  --radius-pill:   999px;
}

/* Base boilerplate (scoped reset, button/header resets, focus ring,
   .container, .sec-title base) is shared: css/site-page-base.css. */

/* -- Shared page utilities --------------------------------- */
.page-share .section { padding-block: var(--space-section-y); }
.page-share .section--base { background: var(--color-white); }
.page-share .section--warm { background: var(--surface-warm); }
.page-share .section--cool { background: var(--surface-cool); }
.page-share .sec-title { line-height: 1.2; } /* every title on this page: 60/50 */

/* Fixed role mapping (COMPONENTS.md): .text-ink is the site blue on
   EVERY page, .text-base the dark tone. */
.page-share .text-ink    { color: var(--color-water-ozonator); }
.page-share .text-accent { color: var(--color-accent); }
.page-share .text-base   { color: var(--color-text); }
.page-share .brand-sub   { font-size: 0.7em; line-height: 0; vertical-align: -0.15em; }

.page-share img { display: block; max-width: 100%; }
.page-share ul  { margin: 0; padding: 0; list-style: none; }
.page-share a   { color: inherit; }

/* Section header: title + bold subhead, 10px apart (site rhythm) */
.page-share .sec-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-header-gap);
}
.page-share .sec-head--center { text-align: center; }
.page-share .sec-sub {
  margin: 0;
  font-size: var(--text-subheading);
  font-weight: 700;
  line-height: 1.364; /* 30/22 */
}
.page-share .eyebrow {
  margin: 0;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  line-height: 1.429; /* 20/14 */
  letter-spacing: 0.107em; /* 1.5px at 14 */
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Pill CTAs (same geometry as Repairs: 15px Black caps on blue).
   Hover: this design's flat swap to the dark ink. */
.page-share .pill {
  display: inline-flex;
  align-items: center;
  padding: 0.667em 1.6em; /* 10px 24px at 15 */
  border-radius: var(--radius-pill);
  font-size: var(--text-pill);
  font-weight: 900;
  line-height: 1.8; /* 27/15 */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.page-share .pill--primary { background: var(--color-accent); }
.page-share .pill:hover { background: var(--color-btn-hover); }

/* === SECTION 1: HERO ====================================== */
/* Figma 16911:2270. Soft green->blue gradient, regular-weight H1
   with a bold blue second line, lead, tricolour dashes, text +
   round-arrow link; photo right (554x420, r-20). The gradient
   runs 84px past the section bottom in the Figma; the next
   section's sand covers that, so it is not reproduced. */
.page-share .hero {
  background: linear-gradient(178deg, var(--tint-cream) 0%, var(--tint-warm-light) 40%, var(--tint-azure-light) 100%);
  overflow: hidden;
}
.page-share .hero__inner {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.75vw + 5px, 50px); /* 50 -> 20 */
  min-height: 27.389em; /* 493px */
}
.page-share .hero__text {
  flex: 1 1 0;
  /* Shrink floor: below this the PHOTO takes the squeeze so the hero
     stays side-by-side down to 767 (Repairs precedent). */
  min-width: 18em; /* ~324px */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.222em; /* 22px */
  padding-block: 2.222em;
}
.page-share .hero__title {
  margin: 0;
  padding-top: 0.111em; /* 6px (Figma) */
  font-size: var(--text-hero);
  font-weight: 400; /* deliberate: the Figma H1 is Regular */
  line-height: 1.08; /* 58.32/54 */
}
.page-share .hero__title .text-ink { font-weight: 700; }
.page-share .hero__lead {
  margin: 0;
  font-size: var(--text-lead);
  line-height: 1.53; /* 30.6/20 */
}
.page-share .hero__dashes { display: flex; gap: 5px; }
.page-share .hero__dash {
  width: 25px;
  height: 3px;
  border-radius: var(--radius-pill);
}
.page-share .hero__dash--silver-pulser   { background: var(--color-silver-pulser); }
.page-share .hero__dash--bio-tuner       { background: var(--color-bio-tuner); }
.page-share .hero__dash--magnetic-pulser { background: var(--color-magnetic-pulser); }

/* Text + round arrow link (same pattern as "Choose your unit" on
   Manuals & Troubleshooting). */
.page-share .hero__link {
  display: inline-flex;
  align-items: center;
  gap: 0.556em; /* 10px */
  font-size: 1.222em; /* 22px */
  font-weight: 700;
  line-height: 1.364; /* 30/22 */
  text-decoration: none;
}
.page-share .hero__link-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.909em; /* 42px at 22 */
  height: 1.909em;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  transition: background-color 0.2s ease;
}
.page-share .hero__link-icon .icon { font-size: 0.727em; } /* 16px glyph */
.page-share .hero__link:hover .hero__link-icon,
.page-share .hero__link:focus-visible .hero__link-icon { background: var(--color-btn-hover); }

.page-share .hero__media {
  flex: 0 1 31em; /* 558px */
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center; /* vertically centred on the text until the 767 stack (Brad, Nov 2026); the Figma sat it on the section edge */
  padding-block: 2.222em; /* 40px of air above and below the photo */
}
.page-share .hero__img {
  width: 100%;
  max-width: 30.778em; /* 554px */
  height: auto;
  aspect-ratio: 554 / 420;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

/* === SECTION 2: RATHER JUST TALK? ========================= */
/* Not in the Figma (designer addition, Nov 2026). Sand bg; copy
   left, the interview request card (a compact .reqform) right.
   The card is 500px wide in the prototype; kept proportional. */
.page-share .talk__inner {
  display: flex;
  align-items: center;
  gap: 3.333em; /* 60px */
}
.page-share .talk__copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.556em; /* 28px */
}
.page-share .talk__body {
  margin: 0;
  max-width: 34.444em; /* 620px */
  font-size: var(--text-lead);
  line-height: 1.5; /* 30/20 */
}
.page-share .talk__card {
  flex: 0 0 27.778em; /* 500px */
  min-width: 0;
}

/* === SECTION 3: YOUR STORY, IN YOUR OWN TIME ============== */
/* Figma 16911:2288. White bg, centred header, six tinted idea
   cards (r-30) each with a sample quote box. */
.page-share .prompts__header { margin-bottom: var(--space-block-gap); }
.page-share .prompts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 > 1024, 2 at 1024, 1 at 767 (Brad, Nov 2026: tier-pinned, not intrinsic) */
  gap: 1.111em; /* 20px */
}
.page-share .prompt {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.667em; /* 30px */
  border-radius: var(--radius-panel);
  background: var(--tint-azure-light);
}
.page-share .prompt--silver-pulser   { background: var(--tint-silver-pulser); }
.page-share .prompt--magnetic-pulser { background: var(--tint-magnetic-pulser); }
.page-share .prompt--bio-tuner       { background: var(--tint-bio-tuner); }
.page-share .prompt--water-ozonator  { background: var(--tint-water-ozonator); }
.page-share .prompt__text {
  display: flex;
  flex-direction: column;
  gap: 0.556em; /* 10px */
  padding-bottom: 1.111em; /* 20px */
}
.page-share .prompt__title {
  margin: 0;
  font-size: var(--text-card-title);
  font-weight: 700;
  line-height: 1.28; /* 32/25 */
}
.page-share .prompt__body {
  margin: 0;
  font-size: var(--text-body);
  line-height: 1.5; /* 27/18 */
}
.page-share .prompt__sample {
  margin: 0;
  padding: 0.889em 1em; /* 16px 18px */
  border-radius: var(--radius-field);
  background: var(--color-white);
  font-size: var(--text-body);
  font-style: italic;
  line-height: 1.333; /* 24/18 */
}

/* === SECTION 4: RECORD IT ON YOUR PHONE =================== */
/* Figma 16911:2534. Sand bg, centred header, the editing promise
   pill, then two white panels: the checklist (2fr) and the six
   phone tips (3fr). */
.page-share .film__inner {
  display: flex;
  flex-direction: column;
  gap: 2.222em; /* 40px */
}
/* "Leave the editing to us" -- the one promise people must not miss */
.page-share .film__promise {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.778em; /* 14px */
  max-width: 100%;
  margin-top: -0.778em; /* tucks up under the subhead */
  padding: 0.556em 1.556em 0.556em 0.556em; /* 10 28 10 10 */
  border-radius: var(--radius-pill);
  background: var(--tint-silver-pulser);
}
.page-share .film__promise-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.444em; /* 44px */
  height: 2.444em;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-accent);
}
.page-share .film__promise-icon .icon { font-size: 1.222em; } /* 22px glyph */
.page-share .film__promise p {
  margin: 0;
  font-size: var(--text-promise);
  line-height: 1.421; /* 27/19 */
}
.page-share .film__panels {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 1.333em; /* 24px */
  align-items: stretch;
}
.page-share .film__panel {
  display: flex;
  flex-direction: column;
  gap: 1.444em; /* 26px */
  padding: 2em 2.222em; /* 36px 40px */
  border-radius: var(--radius-form);
  background: var(--color-white);
}
/* Checklist */
.page-share .film__list {
  display: flex;
  flex-direction: column;
  gap: 1.333em; /* 24px */
}
.page-share .film__item {
  display: flex;
  align-items: flex-start;
  gap: 0.778em; /* 14px */
}
.page-share .film__item-icon,
.page-share .tip__badge {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.222em; /* 40px */
  height: 2.222em;
  border-radius: 50%;
  background: var(--surface-selected);
  color: var(--color-accent);
}
.page-share .film__item-icon .icon { font-size: 1em; } /* 18px tick */
.page-share .film__item-text,
.page-share .tip__text {
  display: flex;
  flex-direction: column;
  gap: 0.222em; /* 4px */
  padding-top: 0.389em; /* 7px: aligns the first line with the badge */
}
.page-share .film__item-title,
.page-share .tip__title {
  margin: 0;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.444; /* 26/18 */
}
.page-share .film__item-body,
.page-share .tip__body {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.5; /* 24/16 */
  color: var(--color-text-soft);
}
/* Phone tips */
.page-share .tips__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* two up to 767 (an auto-fit grid collapsed at ~1105) */
  gap: 1.333em 1.778em; /* 24px 32px */
}
.page-share .tip {
  display: flex;
  align-items: flex-start;
  gap: 0.778em; /* 14px */
}
.page-share .tip__badge .icon { font-size: 1.333em; } /* 24px sprite glyph */

/* === SECTION 5: SEND US YOUR STORY ======================== */
/* Figma 16911:2386. Pale-blue bg; left-aligned header; the story
   form (750) + contact rail (420). */
.page-share .send__header { margin-bottom: var(--space-block-gap); }
.page-share .send__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.786fr) minmax(0, 1fr);
  gap: 1.667em; /* 30px */
  align-items: start;
}
.page-share .send__main { min-width: 0; }

/* Unit chips (Figma "Share / Choice pill" 16913:26958) */
.page-share .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.556em; /* 10px */
}
.page-share .chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.625em; /* 10px at 16 */
  padding: 0.625em 1.125em; /* 10px 18px */
  border: 1.5px solid var(--color-rule);
  border-radius: var(--radius-pill);
  background: var(--color-white);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.375; /* 22/16 */
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.page-share .chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.page-share .chip__dot {
  flex: 0 0 auto;
  width: 0.625em; /* 10px */
  height: 0.625em;
  border-radius: 50%;
  background: var(--color-accent);
}
.page-share .chip--silver-pulser .chip__dot   { background: var(--color-silver-pulser); }
.page-share .chip--magnetic-pulser .chip__dot { background: var(--color-magnetic-pulser); }
.page-share .chip--water-ozonator .chip__dot  { background: var(--color-water-ozonator); }
.page-share .chip--bio-tuner .chip__dot       { background: var(--color-bio-tuner); }
.page-share .chip__tick {
  display: none;
  font-size: 0.875em; /* 14px */
  color: var(--color-accent);
}
.page-share .chip:hover { border-color: var(--color-accent); }
.page-share .chip--silver-pulser:hover   { border-color: var(--color-silver-pulser); }
.page-share .chip--magnetic-pulser:hover { border-color: var(--color-magnetic-pulser); }
.page-share .chip--bio-tuner:hover       { border-color: var(--color-bio-tuner); }
.page-share .chip:has(input:checked) {
  background: var(--surface-selected);
  border-color: var(--color-accent);
}
.page-share .chip:has(input:checked) .chip__tick { display: block; }
.page-share .chip:has(input:focus-visible) {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

/* Write / Send a video option cards */
.page-share .options {
  display: flex;
  align-items: stretch; /* both cards the same height */
  gap: 0.667em; /* 12px */
}
.page-share .option {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.333em; /* 6px */
  padding: 0.806em; /* 14.5px */
  border: 1px solid var(--color-rule-option);
  border-radius: var(--radius-option);
  background: var(--color-white);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.page-share .option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.page-share .option__top {
  display: flex;
  align-items: flex-start;
  gap: 0.444em; /* 8px */
}
/* Radio drawn in CSS (replaces the prototype's radio-on/off SVGs):
   20px ring, blue with a 6px white dot when checked. */
.page-share .option__radio {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 1.111em; /* 20px */
  height: 1.111em;
  margin-top: 0.139em;
  border: 1.5px solid var(--color-text-muted);
  border-radius: 50%;
  background: var(--color-white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.page-share .option__title {
  flex: 1 1 0;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.389; /* 25/18 */
}
.page-share .option__sub {
  font-size: var(--text-pill);
  line-height: 1.467; /* 22/15 */
  color: var(--color-text-muted);
}
.page-share .option:hover { border-color: var(--color-accent); }
.page-share .option:has(input:checked) {
  background: var(--surface-selected);
  border: 1.5px solid var(--color-accent);
  padding: 0.778em; /* 14px: keeps the box the same size with the thicker border */
}
.page-share .option:has(input:checked) .option__radio {
  border: 0.389em solid var(--color-accent); /* 7px ring leaves the 6px dot */
}
.page-share .option:has(input:focus-visible) {
  outline: 2px solid var(--color-accent-dark);
  outline-offset: 2px;
}

/* Signature preview (page-share.js shows it once a naming option
   is picked; the grey example until there is a name to build from) */
.page-share .signature {
  display: flex;
  flex-direction: column;
  gap: 0.111em;
  padding: 0.889em 1.111em; /* 16px 20px */
  border-radius: var(--radius-option);
  background: var(--surface-warm);
}
.page-share .signature[hidden] { display: none; }
.page-share .signature__label {
  font-size: var(--text-eyebrow);
  line-height: 1.429;
  color: var(--color-text-soft);
}
.page-share .signature__name {
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.444;
  color: var(--color-ink-strong);
}
.page-share .signature__name.is-example { color: var(--color-text-muted); }

/* === REQFORM: shared request-form block =================== */
/* Same names and behaviour as Repairs / Return Policy (keep in
   step until it is extracted to site-request-form.css). Two
   instances here: .reqform--compact (interview card, section 2)
   and the story form (section 5). Driven by site-request-form.js;
   page-share.js adds the signature preview to the story form. */
.page-share .reqform__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.111em; /* 20px */
  padding: 2.222em; /* 40px */
  background: var(--color-form-bg);
  border-radius: var(--radius-form);
}
.page-share .reqform__card[hidden] { display: none; }
.page-share .reqform__intro {
  display: flex;
  flex-direction: column;
  gap: 0.333em; /* 6px */
}
.page-share .reqform__intro-title {
  margin: 0;
  font-size: 1.444em; /* 26px */
  font-weight: 900;
  line-height: 1.231; /* 32/26 */
}
.page-share .reqform__intro p {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.5;
}

/* Field rows: flex-wrap with a min width, as the Figma auto-layout */
.page-share .reqform__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.889em 1.111em; /* 16px 20px */
}
.page-share .reqform__row > .reqform__field { flex: 1 1 13.333em; } /* min ~240px */
.page-share .reqform__group {
  display: flex;
  flex-direction: column;
  gap: 0.556em; /* 10px */
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.page-share .reqform__field {
  display: flex;
  flex-direction: column;
  gap: 0.444em; /* 8px */
  min-width: 0;
}
.page-share .reqform__label {
  display: block;
  padding: 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.389; /* 25/18 */
}
.page-share .reqform__opt {
  font-weight: 400;
  color: var(--color-text-muted);
}
.page-share .reqform__hint {
  margin: 0;
  font-size: var(--text-pill);
  line-height: 1.467; /* 22/15 */
  color: var(--color-text-muted);
}
.page-share .reqform__note {
  margin: 0;
  font-size: 1em;
  line-height: 1.389;
}

/* Inputs: 15px text, 22px line, 14/18 padding -> 52px tall */
.page-share .reqform__input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.933em 1.2em; /* 14px 18px at 15 */
  font-family: inherit;
  font-size: var(--text-pill);
  line-height: 1.467; /* 22/15 */
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-field);
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.page-share .reqform__input::placeholder { color: var(--color-text-muted); opacity: 1; }
.page-share .reqform__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}
.page-share .reqform__textarea {
  min-height: 15.267em; /* 229px at 15 */
  resize: vertical;
}

/* Errors: sprite "!" + message */
.page-share .reqform__err {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  margin: 0;
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.375; /* 22/16 */
  color: var(--color-error);
}
.page-share .reqform__err[hidden] { display: none; }
.page-share .reqform__err .icon {
  flex: 0 0 auto;
  font-size: 1.125em; /* 18px */
  margin-top: 0.111em;
}
.page-share .reqform__field.is-invalid .reqform__input,
.page-share .reqform__group.is-invalid .chip,
.page-share .reqform__group.is-invalid .option { border-color: var(--color-error); }

/* Honeypot: off-screen, never display:none (some bots skip those) */
.page-share .reqform__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer + send button */
.page-share .reqform__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.889em; /* 16px */
}
.page-share .reqform__send { gap: 0; }
.page-share .reqform__send:disabled { cursor: progress; opacity: 0.6; }
.page-share .reqform__send:disabled:hover { background: var(--color-accent); }
.page-share .reqform__spin {
  display: none;
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: reqform-spin 0.8s linear infinite;
}
.page-share .reqform__send.is-busy .reqform__spin { display: inline-block; }

/* Failure alert (shared pattern; keeps the answers on screen) */
.page-share .reqform__alert {
  display: flex;
  flex-direction: column;
  gap: 0.667em;
  padding: 1.111em 1.222em;
  background: var(--color-white);
  border: 1px solid var(--color-error);
  border-radius: var(--radius-field);
}
.page-share .reqform__alert[hidden] { display: none; }
.page-share .reqform__alert-title {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.389;
  color: var(--color-error);
}
.page-share .reqform__alert p { margin: 0; line-height: 1.389; }
.page-share .reqform__alert a { color: var(--color-accent); }
.page-share .reqform__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.667em 1.111em;
}
.page-share .reqform__quiet {
  padding: 0;
  font-size: var(--text-pill);
  font-weight: 700;
  line-height: 1.8;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-share .reqform__copybox {
  display: flex;
  flex-direction: column;
  gap: 0.444em;
}
.page-share .reqform__copybox[hidden] { display: none; }

/* Sent state */
.page-share .reqform__sent:focus { outline: none; }
.page-share .reqform__tick {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.333em; /* 60px */
  height: 3.333em;
  border-radius: 50%;
  background: var(--color-silver-pulser);
  color: var(--color-white);
}
.page-share .reqform__tick .icon { font-size: 1.444em; } /* 26px glyph */
.page-share .reqform__sent-title {
  margin: 0;
  font-size: var(--text-sent);
  font-weight: 900;
  line-height: 1.25; /* 40/32 */
}
.page-share .reqform__lead {
  margin: 0;
  font-size: 1em;
  line-height: 1.556; /* 28/18 */
}
.page-share .reqform__summary {
  box-sizing: border-box;
  padding: 1.222em; /* 22px */
  background: var(--color-white);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-field);
}
.page-share .reqform__summary-title {
  margin: 0 0 0.667em;
  font-size: 0.722em; /* 13px */
  font-weight: 700;
  line-height: 1.385;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}
.page-share .reqform__summary dl {
  display: flex;
  flex-direction: column;
  gap: 0.667em; /* 12px */
  margin: 0;
}
.page-share .reqform__sum-row {
  display: flex;
  gap: 1.067em; /* 16px at 15 */
  font-size: var(--text-pill);
  line-height: 1.467; /* 22/15 */
}
.page-share .reqform__sum-row[hidden] { display: none; }
.page-share .reqform__sum-row dt {
  flex: 0 0 10em; /* 150px at 15 */
  color: var(--color-text-muted);
}
.page-share .reqform__sum-row dd {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-weight: 500;
  overflow-wrap: anywhere;
}
/* "Send another": quiet blue text link (this design has no underline) */
.page-share .reqform__again {
  align-self: flex-start;
  padding: 0.8em 0 0;
  font-size: var(--text-pill);
  font-weight: 700;
  line-height: 1.467;
  color: var(--color-accent);
  transition: color 0.2s ease;
}
.page-share .reqform__again:hover { color: var(--color-btn-hover); }

/* Compact variant: the interview card in section 2 (32px padding,
   16px labels, 11/14 inputs, 14px errors, two-up fields). */
.page-share .reqform--compact .reqform__card { padding: 1.778em; } /* 32px */
.page-share .reqform--compact .reqform__row { gap: 0.778em; } /* 14px */
.page-share .reqform--compact .reqform__row > .reqform__field { flex-basis: 11em; } /* two up in a 500 card */
.page-share .reqform--compact .reqform__field { gap: 0.333em; } /* 6px */
.page-share .reqform--compact .reqform__label {
  font-size: var(--text-small);
  line-height: 1.375; /* 22/16 */
}
.page-share .reqform--compact .reqform__input {
  padding: 0.733em 0.933em; /* 11px 14px at 15 */
  border-radius: 12px;
}
.page-share .reqform--compact .reqform__err { font-size: var(--text-eyebrow); line-height: 1.429; } /* 14/20 */
.page-share .reqform--compact .reqform__sent-title {
  font-size: 1.444em; /* 26px */
  line-height: 1.231;
}
.page-share .reqform--compact .reqform__lead {
  font-size: var(--text-small);
  line-height: 1.5;
}

/* Contact rail (white cards, Hanken Grotesk titles -> Roboto Bold; sticky on desktop) */
.page-share .reqform__rail {
  display: flex;
  flex-direction: column;
  gap: 1.111em; /* 20px */
  /* Designer request (Nov 2026): the contact cards ride along with the
     long story form on desktop. The sticky top clears the site's sticky
     70px menu bar (site-menu.css) plus the designer's 24px breathing
     room; .send__grid is align-items: start, which sticky needs. */
  position: sticky;
  top: 94px;
}
.page-share .reqform__info {
  display: flex;
  flex-direction: column;
  gap: 0.889em; /* 16px */
  padding: 1.778em; /* 32px */
  background: var(--color-form-bg);
  border-radius: var(--radius-form);
}
.page-share .reqform__info-title {
  margin: 0;
  font-size: var(--text-card-title);
  font-weight: 700;
  line-height: 1.12; /* 28/25 */
}
.page-share .reqform__info-strong {
  margin: 0;
  font-size: 1.111em; /* 20px */
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-accent);
}
.page-share .reqform__info-strong a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
.page-share .reqform__info-strong a:hover { color: var(--color-btn-hover); }
.page-share .reqform__info-body {
  margin: 0;
  font-size: 1em;
  line-height: 1.389; /* 25/18 */
}

/* Page-bottom wave: the wrapper, image rule and the .section--wave
   padding kill are owned by the shared css/site-footer.css; this page
   only adds the air above the wave. */
.page-share .page-wave { margin-top: var(--space-section-y); }

/* === RESPONSIVE: 1024 (layout / column count) ============= */
@media (max-width: 1024px) {
  /* Copy and the interview card stack; the card fills the column */
  .page-share .talk__inner { flex-direction: column; align-items: stretch; gap: 2.222em; }
  .page-share .talk__card { flex-basis: auto; max-width: 35.556em; } /* 640px */
  .page-share .prompts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Checklist beside the tips becomes checklist above the tips */
  .page-share .film__panels { grid-template-columns: 1fr; }
  /* Form + rail stack; the rail goes straight to ONE column (standard:
     column count jumps to the phone count at 1024 -- the prototype's
     tablet two-up rail is a flagged deviation). */
  .page-share .send__grid { grid-template-columns: 1fr; }
  .page-share .reqform__rail { position: static; } /* stacked under the form: nothing to ride along with */
}

/* === RESPONSIVE: 767 (phone spacing / stacking) =========== */
@media (max-width: 767px) {
  /* DOCUMENTED EXCEPTION to the "layout at 1024" rule (Repairs
     precedent): the hero stays side-by-side down to 767, the photo
     shrinking in the 768-1024 zone; the stack itself lives here. */
  .page-share .hero__inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-block: 2.222em; /* 40px */
    gap: 1.778em; /* 32px */
  }
  .page-share .hero__text { min-width: 0; padding-block: 0; }
  .page-share .hero__media {
    flex-basis: auto;
    width: 100%;
    padding-block: 0;
  }
  .page-share .hero__title { line-height: 1.1; } /* 44/40 */
  .page-share .hero__lead { line-height: 1.556; } /* 28/18 */
  .page-share .sec-sub { line-height: 1.421; } /* 27/19 */
  .page-share .talk__body { line-height: 1.556; }
  .page-share .prompt { padding: 1.333em; } /* 24px */
  .page-share .prompt__title { line-height: 1.273; } /* 28/22 */
  .page-share .film__panel { padding: 1.444em 1.222em; gap: 1.222em; } /* 26px 22px */
  .page-share .film__promise {
    align-items: flex-start;
    margin-top: -0.444em;
    padding: 0.889em; /* 16px */
    border-radius: var(--radius-photo);
  }
  .page-share .film__promise p { line-height: 1.471; } /* 25/17 */
  .page-share .reqform__card { padding: 1.333em 1.111em; } /* 24px 20px */
  .page-share .reqform--compact .reqform__card { padding: 1.333em 1.111em; }
  .page-share .reqform__info { padding: 1.444em 1.333em; } /* 26px 24px */
  .page-share .prompts__grid,
  .page-share .tips__grid { grid-template-columns: 1fr; }
  .page-share .options { flex-direction: column; }
  .page-share .option { width: 100%; }
  /* 16px inputs on phones: iOS Safari zooms any field under 16px on
     focus (Figma is 15px; deliberate deviation). */
  .page-share .reqform__input { font-size: var(--text-small); }
  .page-share .reqform__sum-row { flex-direction: column; gap: 0.133em; }
  .page-share .reqform__sum-row dt { flex-basis: auto; }
  .page-share .reqform__send,
  .page-share .chip { white-space: normal; }
}

/* Page-unique keyframes (allowed outside the wrapper per STANDARDS 3) */
@keyframes reqform-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .page-share .reqform__spin { animation-duration: 2.4s; }
  .page-share .pill,
  .page-share .hero__link-icon,
  .page-share .chip,
  .page-share .option,
  .page-share .option__radio,
  .page-share .reqform__input,
  .page-share .reqform__again,
  .page-share .reqform__info-strong a { transition: none; }
}
