/*
 * Zoey Made — Contact.
 *
 * The composition of `/contact/`, and only the composition. Every sheet of paper, every piece of
 * tape and every decorative mark on this page belongs to `components/surface.css` and
 * `components/doodle.css`; those files name this page's pseudo-elements on their own rules, so the
 * materials and the drawings are still declared exactly once. This file owns where the sheets sit
 * and what is arranged on them — the same split `SL-008` wrote down and `MEET-ZOEY-001` accepted.
 *
 * ## What this page is, and what it deliberately is not
 *
 * A **parent-directed contact destination with no form**. The only action on it is a `mailto:`
 * link, opening the visitor's own mail application. There is no endpoint, no REST route, no
 * recipient store and no spam control, because none was approved — and nothing here may imply a
 * message was sent or received. The one control on the page is a core Button whose href is a
 * `mailto:` URL, and that is the whole of the mechanism.
 *
 * ## This file establishes no page width, gutter, or page-level spacing
 *
 * `COMPONENT-LIBRARY-CONTRACT.md`'s *Page layout* rule. The structural column is
 * `--wp--custom--layout--content` from `templates/page-contact.html`, the page's opening and
 * closing space is `components/page-layout.css`, and the four sections reach the wide column by
 * being `align="wide"` blocks set in the editor. Nothing below sets `max-width`,
 * `margin-inline: auto`, or padding on `.zoey-page`.
 *
 * ## Everything a reader sees is editable
 *
 * The greeting, the introduction, the address, the button's label and its `mailto:` target, the
 * feedback invitation, all three social labels and handles, the YouTube placeholder and the
 * grown-ups note are core blocks. What is *not* editable is deliberate and decorative only: which
 * mark a social card wears, the tape, and the accents. No editorial word lives in this file.
 */

/* --- The hero ---------------------------------------------------------------------------- */

/*
 * Bubbles left, greeting right, at the 44/56 split the approved mockup composes — the two widths
 * are the Columns block's own attributes, set in the editor.
 *
 * Core stacks a Columns block below 782px on its own, which is the whole of the mobile answer: the
 * illustration goes above the introduction, which is the reading order the handoff asks for.
 */
.zoey-contact__hero .wp-block-columns {
  gap: var(--wp--preset--spacing--50);
}

/*
 * Both sheets take the height of the row, and their content is centred in it.
 *
 * Unlike Meet Zoey's hero — where a 3:4 portrait sets the height and only the text sheet stretches
 * — neither sheet here has a strong intrinsic height: the artwork is a square capped well below
 * the column width, and the greeting is four short lines. So both stretch and both centre, and the
 * pair reads as two sheets laid side by side rather than as one tall and one short.
 */
.zoey-contact__hero .wp-block-column {
  display: flex;
}

.zoey-contact__hero .wp-block-column > .zoey-surface {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.zoey-contact__hero .wp-block-column > .zoey-surface > .zoey-surface__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*
 * The two sheets lean very slightly, the way paper laid on a desk does. Static transforms rather
 * than motion, so there is nothing here for the reduced-motion guard in `base.css` to turn off.
 */
.zoey-contact__art {
  rotate: -1.25deg;
  box-shadow: var(--wp--preset--shadow--lifted);
}

.zoey-contact__intro {
  rotate: 0.5deg;
  box-shadow: var(--wp--preset--shadow--soft);
}

/*
 * The tape across the top of the illustration panel. Adopted from `surface.css` — the silhouette,
 * the gloss, the ratio, the opacity, the inertness and the colour are all declared there; `content`
 * and the two insets are the only things a composition owns.
 *
 * `0.55` of the tear's depth is `MEET-ZOEY-REFINEMENT-001`'s measured number, reused rather than
 * re-derived: a strip centred on the element's top edge sits over nothing, because a torn edge is a
 * mask and the paper's painted top wanders down the sheet.
 */
.zoey-contact__art > .zoey-surface__content::before {
  content: "";
  --zoey-surface-tape-length: 6rem;

  inset-block-start: calc(
    var(--zoey-surface-edge-height) * 0.55
    - var(--zoey-surface-tape-length) * 22 / 160
  );
  inset-inline-start: 14%;
  rotate: -6deg;
}

/*
 * A third accent, on the sheet rather than on her — a small aqua star in the lower corner, which
 * is where the mockup puts one. Absolutely positioned so it is not a flex item of the centred
 * column above, and inert like every other mark on this page.
 */
.zoey-contact__art > .zoey-surface__content::after {
  content: "";
  --zoey-doodle-size: 1.5rem;

  position: absolute;
  inset-block-end: 12%;
  inset-inline-end: 11%;
  rotate: -10deg;
  color: var(--wp--preset--color--zoey-aqua);
  pointer-events: none;
}

/*
 * **Bubbles, at the size the approved master actually supports.**
 *
 * `theme/assets/images/bubble-mail.webp` is 528×528, and `inc/content/character.php` registers this
 * pose at the `invitation` step — 9rem stacked, 11rem beside a form. The hero's 44% column is
 * roughly 500px wide, so drawing her to fill it would ask for pixels the approved artwork does not
 * have. 17rem is the compromise and it is a measurement, not a preference: 272px is comfortable at
 * DPR 1 and 544px at DPR 2, which overruns the 528px master by 3% — imperceptible, and the only
 * honest alternative is a larger master from Product.
 *
 * `object-fit` is deliberately absent. The artwork is approved as delivered; nothing crops it and
 * nothing stretches it.
 */
.zoey-contact__bubbles {
  position: relative;
  margin-inline: auto;
}

/*
 * Two accents beside her — a star and a heart, adopted from `doodle.css`.
 *
 * The mockup fills the pink sheet's corners with a dozen crayon marks. Two is the restrained
 * reading of *"restrained hearts, stars, tape and crayon/doodle accents already supported by the
 * design system"*: enough that the sheet is decorated rather than empty, few enough that Bubbles
 * stays the subject. Both are inert decoration and are suppressed under forced colors with every
 * other mask on the page.
 *
 * They hang off the figure rather than the sheet because the figure is where she actually is —
 * the sheet is wider than the artwork, and marks pinned to its corners would float away from her.
 */
.zoey-contact__bubbles::before,
.zoey-contact__bubbles::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.zoey-contact__bubbles::before {
  --zoey-doodle-size: 2rem;

  inset-block-start: 4%;
  inset-inline-end: 8%;
  rotate: 12deg;
  color: var(--wp--preset--color--zoey-yellow);
}

.zoey-contact__bubbles::after {
  --zoey-doodle-size: 1.6rem;

  inset-block-end: 10%;
  inset-inline-start: 7%;
  rotate: -14deg;
  color: var(--wp--preset--color--zoey-pink);
}

.zoey-contact__bubbles img {
  display: block;
  inline-size: 100%;
  max-inline-size: 17rem;
  block-size: auto;
  margin-inline: auto;
}

/*
 * The greeting, and the hand-drawn stroke beneath it.
 *
 * The mockup letters it in two colours across two lines with a purple brush stroke under the
 * second. One colour and one stroke is the restrained reading: two-colour lettering means markup
 * inside the heading that an editor has to preserve by hand, and the first retype loses it. The
 * stroke is a pseudo-element and cannot be lost.
 *
 * **Purple here is measured, not chosen.** `docs/DESIGN-TOKENS.md`: Zoey Purple is 3.37:1 on
 * Surface — large text only, ≥24px or ≥18.66px bold — and 2.90–3.03 on a pale, where it clears
 * nothing. Against soft paper's cream this is **3.28:1**, above the 3:1 floor this size is held to.
 * It is the same decision Product accepted for Meet Zoey's greeting, and every other heading and
 * label on this page is ink.
 *
 * **No size is set here, and that is the point.** Meet Zoey's greeting is three words and takes
 * `display`; this one is five and a half, and at `display` it broke across three lines with the
 * brush stroke stranded under the third. `theme.json` already sizes an `h1` at `page-title`, which
 * holds it to two lines on a desktop and one step down on a phone without this file naming a
 * number — so the override, and the container query that was compensating for it, are both gone.
 */
.zoey-contact__title {
  position: relative;
  color: var(--wp--preset--color--zoey-purple);
  margin-block-end: var(--wp--preset--spacing--50);
  /*
   * Balanced, so the greeting breaks where a person would break it. Left to itself the line filled
   * to the edge and dropped the approved copy's trailing 💌 alone onto a second line with the brush
   * stroke under it — which reads as a mistake. `balance` gives the mockup's own two-line shape
   * without touching a word of approved copy, and degrades to ordinary wrapping where it is not
   * supported.
   */
  text-wrap: balance;
}

.zoey-contact__title::after {
  content: "";
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  inline-size: min(12rem, 62%);
  block-size: 0.28rem;
  margin-block-start: var(--wp--preset--spacing--10);
  border-radius: var(--wp--custom--radius--pill);
  background-color: var(--wp--preset--color--zoey-lavender);
}

/* --- The two panels: the address, and the game feedback ---------------------------------- */

.zoey-contact__panels .wp-block-columns {
  gap: var(--wp--preset--spacing--50);
}

.zoey-contact__panels .wp-block-column {
  display: flex;
}

.zoey-contact__panels .wp-block-column > .zoey-surface {
  flex: 1;
}

.zoey-contact__note-panel {
  box-shadow: var(--wp--preset--shadow--soft);
}

/*
 * The note panel is the page's primary action, so it is the one that reads most like a sheet
 * somebody pinned up: a strip of tape across its torn top edge, adopted from `surface.css` on the
 * same terms as the hero sheet and the social cards. `0.55` of the tear's depth is
 * `MEET-ZOEY-REFINEMENT-001`'s measured seat, reused rather than re-derived.
 */
.zoey-contact__note-panel > .zoey-surface__content::before {
  content: "";
  --zoey-surface-tape-length: 5.5rem;

  inset-block-start: calc(
    var(--zoey-surface-edge-height) * 0.55
    - var(--zoey-surface-tape-length) * 22 / 160
  );
  inset-inline-end: 12%;
  rotate: 5deg;
}

.zoey-contact__feedback {
  box-shadow: var(--wp--preset--shadow--soft);
}

/*
 * The blush header strip, as the mockup tapes one across the top of the note panel. An inline
 * background on the heading itself, so it stays one editable sentence with no decorative markup
 * threaded through it.
 */
.zoey-contact__banner {
  position: relative;
  display: block;
  inline-size: fit-content;
  margin-block-end: var(--wp--preset--spacing--50);
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
  rotate: -1deg;
  border-radius: var(--wp--custom--radius--small);
  background-color: var(--wp--preset--color--zoey-pink-pale);
  /* Ink: Zoey Purple on Zoey Pink Pale measures 2.90:1 and misses the 3:1 floor for large text. */
  color: var(--wp--preset--color--ink);
}

/*
 * The spark strokes either side of the banner — three dashes at three lengths, leaning away from
 * the words. This is `components/meet-zoey.css`'s accepted treatment for the same kind of heading,
 * reproduced here because `CONTACT-REFINEMENT-001` asks for *"consistent tape, surface, doodle and
 * paper treatments with Meet Zoey"*, and a banner that is nearly the same but not quite is worse
 * than either option.
 *
 * Three separate gradients rather than one repeating comb: a repeating gradient draws them all the
 * same length and the result reads as an equals sign rather than as a flourish.
 */
.zoey-contact__banner::before,
.zoey-contact__banner::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inline-size: 1.1rem;
  block-size: 1.9rem;
  translate: 0 -50%;
  background-image:
    linear-gradient(var(--wp--preset--color--zoey-pink) 0 0),
    linear-gradient(var(--wp--preset--color--zoey-pink) 0 0),
    linear-gradient(var(--wp--preset--color--zoey-pink) 0 0);
  background-size: 100% 0.15rem, 68% 0.15rem, 88% 0.15rem;
  background-repeat: no-repeat;
  pointer-events: none;
}

.zoey-contact__banner::before {
  inset-inline-end: 100%;
  margin-inline-end: var(--wp--preset--spacing--30);
  rotate: -14deg;
  background-position: 100% 0, 100% 50%, 100% 100%;
}

.zoey-contact__banner::after {
  inset-inline-start: 100%;
  margin-inline-start: var(--wp--preset--spacing--30);
  rotate: 14deg;
  background-position: 0 0, 0 50%, 0 100%;
}

/*
 * **The envelope moves out of the column and beside the words**, which is how the panel pays for
 * the emphasis below without getting taller.
 *
 * `CONTACT-REFINEMENT-001` asks for the address and the button to carry more weight *"without
 * substantially increasing panel height"* — two requirements that fight unless something gives
 * space back. Stacked, the illustration cost the panel its own height plus a block gap for a mark
 * that is decoration; floated, it sits in the space the instruction's short lines were leaving
 * empty anyway, which is also where the mockup draws it.
 *
 * It un-floats when the panel is narrow, because a 6rem float in a 20rem column leaves a
 * three-word measure beside it. A **container** query, so the question is how wide this panel is
 * rather than how wide the window is.
 */
.zoey-contact__envelope {
  float: inline-start;
  margin-block: 0 var(--wp--preset--spacing--30);
  margin-inline: 0 var(--wp--preset--spacing--50);
}

.zoey-contact__envelope img {
  display: block;
  inline-size: 6rem;
  block-size: auto;
}

@container zoey-surface (max-width: 22rem) {
  .zoey-contact__envelope {
    float: none;
    margin-inline-end: 0;
  }
}

/*
 * **The address and the button, as the panel's one loud moment.**
 *
 * Both step up one size on the type scale and gain their own padding, and the three blocks that
 * make up the action — instruction, address, button — are pulled closer together than the panel's
 * default rhythm so they read as one unit rather than three stacked paragraphs.
 *
 * **Measured at 1440px, the page got shorter rather than taller**: 2,186px before this refinement
 * and 2,100px after. The floated envelope and the tighter rhythm gave back more than the larger
 * address and button took. The panel itself is 366px either way, because the row's height is set
 * by the taller mint panel beside it and the note panel's own content comes to 362px.
 */
.zoey-contact__note-panel > .zoey-surface__content > * + * {
  margin-block-start: var(--wp--preset--spacing--40);
}

/*
 * **The address, on a highlighter strip.**
 *
 * The mockup draws it on a yellow marker stroke, and this is that: Zoey Yellow behind ink, which
 * measures **11.4:1**. It is `inline` rather than a block so the strip is the width of the words
 * and not the width of the panel — which is also what keeps a long address from reading as a
 * banner.
 *
 * `overflow-wrap: anywhere` is the one defensive line on this page. `hello@zoeyscreativestation.com`
 * is 31 unbreakable characters; at 320px with a reader's text at 200% it is wider than the panel,
 * and without this the paper scrolls sideways.
 */
.zoey-contact__email {
  /*
   * Clears the envelope, so the address and the button below it both start at the panel's own
   * edge. Without it the float still overhung the instruction's two short lines and indented the
   * address while leaving the button flush — two left edges where there should be one.
   */
  clear: inline-start;
  /*
   * A **block** box that is only as wide as its words. `inline-block` was the obvious choice and
   * the wrong one: `clear` has no effect on an inline-level box, so the strip kept sitting beside
   * the floated envelope while the button below it cleared — two left edges where there should be
   * one. `fit-content` keeps the strip the width of the address rather than the width of the panel.
   */
  display: block;
  inline-size: fit-content;
  padding: 0.25em 0.6em;
  border-radius: var(--wp--custom--radius--small);
  background-color: var(--wp--preset--color--zoey-yellow);
  color: var(--wp--preset--color--ink);
  font-size: var(--wp--preset--font-size--card-title);
  font-weight: 700;
  /* A hand-drawn marker stroke is never quite level. */
  rotate: -0.6deg;
  overflow-wrap: anywhere;
}

/*
 * The one control on the page.
 *
 * `theme.json` gives every button a pink pill; this is a stitched paper label, so the radius, the
 * colour and the border are restated. Global styles print after a component stylesheet, so the
 * selector names the core class and is specific enough to win rather than relying on order.
 *
 * It is a link to a `mailto:` URL and nothing else — see this file's header. Nothing about its
 * appearance may suggest a form: no spinner, no success state, no "sent" affordance.
 */
.zoey-contact__send .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: var(--wp--preset--spacing--30);
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--70);
  border-radius: var(--wp--custom--radius--medium);
  border: 2px dashed color-mix(in srgb, var(--wp--preset--color--ink) 26%, transparent);
  background-color: var(--wp--preset--color--zoey-pink-pale);
  color: var(--wp--preset--color--ink);
  font-size: var(--wp--preset--font-size--card-title);
  /* Lifted at rest, not only on hover: this is the one thing the page is asking a visitor to do. */
  box-shadow:
    var(--wp--preset--shadow--lifted),
    inset 0 1px 0 var(--wp--preset--color--surface);
}

/*
 * Hover and focus keep the blush. `theme.json` flips a button to ink-on-white, which would throw
 * away the one colour that marks this as the page's action.
 */
.zoey-contact__send .wp-block-button__link:hover,
.zoey-contact__send .wp-block-button__link:focus {
  background-color: var(--wp--preset--color--zoey-pink-pale);
  color: var(--wp--preset--color--ink);
  box-shadow:
    var(--wp--preset--shadow--lifted),
    inset 0 1px 0 var(--wp--preset--color--surface);
}

/* The gamepad beside the feedback invitation, adopted from `doodle.css`. */
.zoey-contact__feedback h2::after {
  content: "";
  --zoey-doodle-size: 1.6rem;

  margin-inline-start: var(--wp--preset--spacing--30);
  translate: 0 0.14em;
  color: var(--wp--preset--color--zoey-aqua);
}

/*
 * Every mark on this page is inert, including the three that sit *in flow* beside a heading rather
 * than being positioned over something.
 *
 * The two that hang off the artwork already say so where they are placed. These three had no
 * reason to be hit — they are empty pseudo-elements beside text, and the hit tests confirmed every
 * control and every card heading is still the topmost thing at its own centre — but saying it once
 * here means the guarantee does not depend on their staying in flow. A decoration that becomes a
 * pointer target one refactor later is exactly the bug this costs one line to prevent.
 */
.zoey-contact__social-card > .zoey-surface__content::after,
.zoey-contact__feedback h2::after,
.zoey-contact__note h2::after {
  pointer-events: none;
}

/* --- Follow Our Adventures --------------------------------------------------------------- */

.zoey-contact__social h2 {
  margin-block-end: var(--wp--preset--spacing--30);
}

/* The same inline star Meet Zoey's *Come Explore With Me!* carries, for the same reason. */
.zoey-contact__social h2::after {
  content: "";
  --zoey-doodle-size: 1.4rem;

  margin-inline-start: var(--wp--preset--spacing--30);
  translate: 0 0.12em;
  color: var(--wp--preset--color--zoey-yellow);
  pointer-events: none;
}

/*
 * Three cards that wrap rather than a fixed grid. The Group's own `flex` layout is what wraps them
 * — core's attribute, visible in the editor — so the only thing here is how wide a card wants to
 * be: three across on a wide band, two-plus-one at an intermediate width, and a single column on a
 * phone. No breakpoint is written for any of those.
 */
.zoey-contact__social-cards {
  padding-block-start: var(--wp--preset--spacing--30);
}

.zoey-contact__social-card {
  flex: 1 1 13rem;
  max-inline-size: 20rem;
  box-shadow: var(--wp--preset--shadow--soft);
  text-align: center;
}

/* Each card at its own angle, so a row of three reads as three pieces of paper. */
.zoey-contact__social-card:nth-child(3n + 1) { rotate: -1.8deg; }
.zoey-contact__social-card:nth-child(3n + 2) { rotate: 1.4deg; }
.zoey-contact__social-card:nth-child(3n + 3) { rotate: -1.1deg; }

.zoey-contact__social-card > .zoey-surface__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--30);
}

/*
 * `gap` owns the rhythm inside a card, so core's flow-layout sibling margin must not also.
 *
 * The content wrapper is a Group block with the default flow layout, which gives every sibling a
 * `margin-block-start` — and that margin is still honoured when the box is turned into a flex
 * container. Measured: 24px of core margin stacking on top of 12px of `gap`, which put 36px
 * between a card's name and its handle and read as two unrelated things.
 */
.zoey-contact__social-card > .zoey-surface__content > * {
  margin-block: 0;
}

/* Tape, adopted. `MEET-ZOEY-REFINEMENT-001`'s measured seat on a torn edge, reused. */
.zoey-contact__social-card > .zoey-surface__content::before {
  content: "";
  --zoey-surface-tape-length: 4.5rem;

  inset-block-start: calc(
    var(--zoey-surface-edge-height) * 0.55
    - var(--zoey-surface-tape-length) * 22 / 160
  );
}

.zoey-contact__social-card:nth-child(3n + 1) > .zoey-surface__content::before {
  inset-inline-start: 20%;
  rotate: -7deg;
}

.zoey-contact__social-card:nth-child(3n + 2) > .zoey-surface__content::before {
  inset-inline-start: 50%;
  translate: -50% 0;
  rotate: 3deg;
}

.zoey-contact__social-card:nth-child(3n + 3) > .zoey-surface__content::before {
  inset-inline-end: 18%;
  rotate: 6deg;
}

/*
 * The mark, adopted from `doodle.css`. `order: -1` rather than markup order, because a
 * pseudo-element cannot be written before the content it sits above — and because the alternative,
 * an empty block in the page's content for a parent to trip over in the editor, is a worse page for
 * a better stylesheet.
 *
 * It is decoration: the card's heading is what names the network, so the mark carries no meaning,
 * is in no accessible name, and is suppressed under forced colors with everything else.
 */
.zoey-contact__social-card > .zoey-surface__content::after {
  content: "";
  --zoey-doodle-size: 2.5rem;

  order: -1;
}

.zoey-contact__social-card--instagram > .zoey-surface__content::after { color: var(--wp--preset--color--zoey-pink); }
.zoey-contact__social-card--tiktok > .zoey-surface__content::after { color: var(--wp--preset--color--zoey-aqua); }
.zoey-contact__social-card--youtube > .zoey-surface__content::after { color: var(--wp--preset--color--zoey-pink); }

/*
 * The handle, on its own tinted strip the way the mockup writes it.
 *
 * `overflow-wrap: anywhere` for the same reason as the address: `@zoeyscreativestation` is 22
 * unbreakable characters, and a 13rem card at 200% text is narrower than that.
 */
.zoey-contact__social-handle {
  display: inline-block;
  padding: 0.15em 0.6em;
  border-radius: var(--wp--custom--radius--small);
  background-color: var(--wp--preset--color--zoey-pink-pale);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.zoey-contact__social-card--tiktok .zoey-contact__social-handle {
  background-color: var(--wp--preset--color--zoey-aqua-pale);
}

/*
 * **YouTube's placeholder, and the fact that it was replaced without a deployment.**
 *
 * The card shipped carrying a plain, non-interactive *Coming soon!* strip — no `href`, no
 * `aria-disabled`, no `tabindex`, no invented URL or handle — because the channel URL was not yet
 * known. The design requirement attached to that was explicit: *"allow a future editor to replace
 * the YouTube placeholder with a proper linked card without a code deployment."*
 *
 * **It was.** Product supplied `https://www.youtube.com/@zoeyscreativestation` on 2026-10-22, and
 * turning the placeholder into a real linked handle took an edit to the paragraph and nothing else
 * — no template, no PHP, no new rule. The `zoey-contact__social-handle--soon` modifier that tinted
 * the placeholder yellow is gone with it rather than left behind as a rule nothing selects; it is
 * recorded here instead, which is the cheaper place to keep a decision that is no longer running.
 *
 * The three cards now differ only in their mark, their tape and their handle's tint, which is what
 * the row was always meant to look like.
 */

/* --- A Note for Grown-Ups ---------------------------------------------------------------- */

/*
 * The quietest sheet on the page: no tint, the softest shadow, one torn edge along the bottom and
 * the type a step down. It must stay secondary to the address panel and the social cards, and it
 * must not read as legal boilerplate.
 */
.zoey-contact__note {
  box-shadow: var(--wp--preset--shadow--soft);
}

.zoey-contact__note h2 {
  font-size: var(--wp--preset--font-size--section-small);
}

/* One small heart, and that is the whole of the decoration this section gets. */
.zoey-contact__note h2::after {
  content: "";
  --zoey-doodle-size: 1.05rem;

  margin-inline-start: var(--wp--preset--spacing--30);
  translate: 0 0.1em;
  color: var(--wp--preset--color--zoey-pink);
}

.zoey-contact__note p {
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--body-small);
}

/*
 * The stitched divider the mockup draws between the heading and the note. It is a border on the
 * second column, so when core stacks the columns below 782px it becomes a line *above* the body
 * copy rather than a hairline hanging in the margin — one declaration, both orientations.
 */
.zoey-contact__note-body {
  border-inline-start: 3px dotted var(--wp--preset--color--zoey-pink-pale);
  padding-inline-start: var(--wp--preset--spacing--50);
}

@media (max-width: 781px) {
  .zoey-contact__note-body {
    border-inline-start: 0;
    padding-inline-start: 0;
    border-block-start: 3px dotted var(--wp--preset--color--zoey-pink-pale);
    padding-block-start: var(--wp--preset--spacing--40);
  }
}

/* --- Print -------------------------------------------------------------------------------- */

/*
 * §11's economical ink. `surface.css` already flattens its own paper for print; what is left is
 * this file's own decoration — the leans, the lifts, the strips, the tape and the marks. The
 * address and the handles keep their text and lose their highlighter, because on paper the words
 * are the point.
 */
@media print {
  .zoey-contact__art,
  .zoey-contact__intro,
  .zoey-contact__social-card,
  .zoey-contact__banner {
    rotate: none;
    box-shadow: none;
  }

  .zoey-contact__banner,
  .zoey-contact__email,
  .zoey-contact__social-handle {
    background-color: transparent;
    padding-inline: 0;
  }

  .zoey-contact__art > .zoey-surface__content::before,
  .zoey-contact__social-card > .zoey-surface__content::before,
  .zoey-contact__feedback h2::after,
  .zoey-contact__note h2::after {
    content: none;
  }

  .zoey-contact__social-card > .zoey-surface__content::after {
    display: none;
  }

  .zoey-contact__send .wp-block-button__link {
    box-shadow: none;
  }
}

/* --- Forced colors ------------------------------------------------------------------------ */

/*
 * Every decorative mark here is a mask or a background, and forced colors paints over both.
 * `doodle.css` says why that is acceptable: a mask disappears under a high-contrast scheme, which
 * is fatal for a shape that has to be recognised and fine for one that carries none. Nothing here
 * carries meaning — every label is text, and the social marks sit beside headings that name the
 * network — so the marks, the tape and the greeting's stroke go rather than being left as ghosts.
 *
 * What stays is what a visitor needs: the send button and the three cards keep a hairline in
 * `CanvasText`, so the action is still a control and the cards are still cards.
 */
@media (forced-colors: active) {
  .zoey-contact__send .wp-block-button__link,
  .zoey-contact__social-card {
    border: 1px solid CanvasText;
  }

  .zoey-contact__title::after,
  .zoey-contact__art > .zoey-surface__content::before,
  .zoey-contact__bubbles::before,
  .zoey-contact__bubbles::after,
  .zoey-contact__social-card > .zoey-surface__content::before,
  .zoey-contact__social-card > .zoey-surface__content::after,
  .zoey-contact__feedback h2::after,
  .zoey-contact__note h2::after {
    display: none;
  }
}
