/*
 * Zoey Made — Meet Zoey.
 *
 * The composition of `/meet-zoey/`, and **only** the composition. Every sheet of paper on this
 * page is `components/surface.css`'s shared material, worn by core blocks that carry
 * `zoey-surface` and `zoey-surface__content` in the page's own content — so the tint, the grain,
 * the tears, the radius, the padding and the narrow container step are all declared once, in
 * `VS-004`'s file, and this one owns where the sheets sit and what is arranged on them.
 *
 * Material there, composition here — the split `SL-008` wrote down for the Cart, applied to a
 * page instead of to a plugin's markup.
 *
 * ## 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` supplied by `templates/page-meet-zoey.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 — core's own answer, set in the editor, not a width written
 * here. Nothing below sets `max-width`, `margin-inline: auto`, or padding on `.zoey-page`.
 *
 * ## Everything on this page is editable, which is why there is no renderer
 *
 * Meet Zoey is editorial. The copy, the portrait, the five favourite cards and the four
 * destinations are core blocks a parent edits in WordPress, so there is no render callback for
 * this stylesheet to be enqueued from. `zoey_made_enqueue_meet_zoey_style()` asks the template
 * instead, which is the same question `page-layout.css` is loaded by.
 *
 * What is *not* editable here is deliberate and small: the four destination colours, because
 * those are the site's approved section mapping rather than this page's content, and the
 * decorative accents, because they carry no meaning. Labels and URLs stay the editor's.
 */

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

/*
 * Portrait left, introduction right, at the 42/58 split the approved mockup composes. The two
 * widths are the *columns'* own attributes, set in the editor, so a later composition change is
 * an edit to the page rather than to this file; what is here is the vertical relationship
 * between them and the paper's slight lift off the page.
 *
 * Core stacks a Columns block below 782px on its own, which is the whole of the mobile answer:
 * the portrait goes above the introduction, nothing overlaps, and neither column is ever
 * narrower than the page's own gutter allows.
 */
.zoey-meet-zoey__hero .wp-block-columns {
  gap: var(--wp--preset--spacing--50);
}

/*
 * The introduction's sheet grows to the height of the row; the portrait's never does.
 *
 * Core stretches a *column* to its row's height but not what is inside one, so the introduction's
 * paper stopped at its last paragraph and the portrait's extra height showed as a hole in the
 * composition. One flex column fixes that — but only for the introduction, and the asymmetry is
 * the point.
 *
 * Which sheet is taller depends on the viewport. On a desktop the 3:4 portrait is, and the
 * introduction fills the difference. Between 782px and roughly 1100px the columns are still side
 * by side and the *introduction* is taller — and a portrait frame stretched to match it is a
 * frame with empty paper under the picture, which is the one thing a picture frame must not be.
 * So the portrait always hugs its image and only the introduction ever stretches.
 *
 * `:has()` rather than `:nth-child`, because what is being asked is "the column holding the
 * introduction", and the day someone swaps the two columns in the editor that question should
 * still have the same answer.
 */
.zoey-meet-zoey__hero .wp-block-column:has( > .zoey-meet-zoey__intro ) {
  display: flex;
}

/*
 * …and the sheet takes the column, rather than being sized by what is on it. A surface declares
 * inline-size containment, so a flex item that is not told to grow computes its width as if the
 * paper were empty: the introduction collapsed to an 86px ribbon 11,500px tall the one time this
 * line was missing.
 */
.zoey-meet-zoey__hero .wp-block-column > .zoey-meet-zoey__intro {
  flex: 1;
}

/*
 * …and the introduction sits in the middle of the sheet it was given.
 *
 * The approved portrait is 3:4, which is taller than the mockup's own crop, so matching the two
 * heights leaves the introduction with more paper than it has words. Centred, that reads as a
 * note placed on a sheet; top-aligned it read as a sheet that ran out of note. The alternative
 * was to cap the portrait, and the handoff is explicit that nothing may crop it.
 */
.zoey-meet-zoey__intro > .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. 1.25deg is small enough
 * that a corner never leaves the column it is in — measured at 320px, 768px and 1440px — and the
 * rotation is a static transform rather than motion, so there is nothing here for the
 * reduced-motion guard in `base.css` to turn off.
 */
.zoey-meet-zoey__portrait-frame {
  rotate: -1.25deg;
  box-shadow: var(--wp--preset--shadow--lifted);
}

.zoey-meet-zoey__intro {
  /* A flex column, so the content below can take the height the portrait set. */
  display: flex;
  flex-direction: column;
  rotate: 0.5deg;
  box-shadow: var(--wp--preset--shadow--soft);
}

/*
 * The portrait fills its frame's content box. `object-fit` is not used and must not be: the
 * supplied artwork is approved as delivered, and a cover crop is exactly the "cropping that cuts
 * off her face" the handoff forbids. The image keeps its own 1086×1448 aspect ratio and the
 * frame takes the height that gives it.
 */
.zoey-meet-zoey__portrait img {
  display: block;
  inline-size: 100%;
  block-size: auto;
}

/*
 * The heading, and the hand-drawn underline beneath it.
 *
 * The mockup draws the title in several colours with a purple brush stroke under it. One colour
 * and one stroke is the restrained reading of that: multi-coloured words would mean markup
 * inside the heading that an editor has to preserve by hand, and the moment someone retypes the
 * sentence it would be gone. The underline is a pseudo-element, so retyping cannot lose it.
 */
.zoey-meet-zoey__title {
  /*
   * **The one place on this page text is purple, and it is measured rather than chosen.**
   *
   * `docs/DESIGN-TOKENS.md` is explicit: Zoey Purple on Surface is **3.37:1** — large text only,
   * ≥24px or ≥18.66px bold — and on a pale tint it falls to 2.90–3.03 and stops clearing 3:1 at
   * all, *"which is why headings default to `ink` rather than to purple"*. Every other heading
   * and label here does. This one is `display`, which bottoms out at 3rem and steps to
   * `page-title` (2.75rem) on a phone, so it is large text at every width; against soft paper's
   * cream — 8% Zoey Yellow mixed into white — it measures **3.28:1**, above the 3:1 floor that
   * size is held to and below the 4.5:1 floor it is not.
   *
   * It is kept because the greeting *is* the mockup's signature and a 3rem heading is the one
   * place the palette's emphasis colour is allowed to be read. It is flagged for Product as a
   * measured decision rather than left as an assumption.
   */
  color: var(--wp--preset--color--zoey-purple);
  font-size: var(--wp--preset--font-size--display);
  margin-block-end: var(--wp--preset--spacing--50);
  /* The stroke is positioned against the heading's own box. */
  position: relative;
}

.zoey-meet-zoey__title::after {
  content: "";
  position: absolute;
  inset-block-start: 100%;
  inset-inline-start: 0;
  /* A stroke under the first few words rather than the whole line, as the mockup draws it. */
  inline-size: min(11rem, 60%);
  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);
}

/*
 * One step down when the sheet is narrow — and it is a **container** query, against the surface's
 * own named container, because the question is how wide this sheet is and not how wide the window
 * is.
 *
 * `display` bottoms out at 3rem, which puts "Hi, I'm Zoey! 👋" just over the column on a phone —
 * the wave lands alone on a second line with the brush stroke under it, which reads as a mistake
 * rather than as a flourish. A media query got that right at 390px and wrong at 820px, where the
 * window is wide, the columns are still side by side and the introduction's sheet is 400px. The
 * container sees the sheet. `page-title` is the next token down; no new size is introduced.
 *
 * `surface.css` declares `container: zoey-surface / inline-size` on every sheet, and naming it
 * here is what keeps this query aimed at the introduction's own paper rather than at whichever
 * container happens to be nearest.
 */
@container zoey-surface (max-width: 32rem) {
  .zoey-meet-zoey__title {
    font-size: var(--wp--preset--font-size--page-title);
  }
}

/* --- A Few Things I Love ----------------------------------------------------------------- */

/*
 * The banner heading. The mockup tapes a torn pink strip across the top of the lavender sheet
 * with three short spark strokes either side of it; this is that, as a background and two
 * pseudo-elements on the heading itself, which keeps it one editable sentence with no decorative
 * markup threaded through it.
 */
.zoey-meet-zoey__banner {
  position: relative;
  display: block;
  inline-size: fit-content;
  margin-inline: auto;
  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, not the mockup's purple. Zoey Purple on Zoey Pink Pale measures **2.90:1**, which misses
   * the 3:1 floor large text is held to — `docs/DESIGN-TOKENS.md`'s own number for purple on a
   * pale. The mockup's banner is lettered in a far deeper purple than this palette carries, and
   * the honest substitute for a colour the token set does not have is the colour headings
   * default to.
   */
  color: var(--wp--preset--color--ink);
}

/*
 * The spark strokes. Three short dashes each side, drawn with one repeating gradient rather than
 * six elements, and leaning away from the banner the way the mockup draws them.
 *
 * They are `background-image` on an empty pseudo-element, so they carry no meaning, cannot be hit
 * and are not in the accessibility tree — the same contract every mark on this page keeps.
 */
.zoey-meet-zoey__banner::before,
.zoey-meet-zoey__banner::after {
  content: "";
  position: absolute;
  inset-block-start: 50%;
  inline-size: 1.1rem;
  block-size: 1.9rem;
  translate: 0 -50%;
  /*
   * Three strokes, three lengths. A repeating gradient drew them all the same and the result read
   * as an equals sign rather than as a flourish; three separate gradients at three sizes is the
   * same number of declarations and looks like a hand did it.
   */
  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-meet-zoey__banner::before {
  inset-inline-end: 100%;
  margin-inline-end: var(--wp--preset--spacing--30);
  rotate: -14deg;
  /* The strokes taper away from the banner, so the short one is furthest from the words. */
  background-position: 100% 0, 100% 50%, 100% 100%;
}

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

/*
 * Five notes 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 note wants to be. The basis is deliberately small and the
 * maximum deliberately exact: **5 × 12.5rem plus four gaps is 1,096px inside a 1,150px band**, so
 * the row holds five on a desktop and is not one rounding error away from four-and-one. On a
 * phone an 8rem basis is what puts two side by side instead of a single column of lonely cards.
 */
.zoey-meet-zoey__cards {
  /* Room for the tape, which crosses the top edge of the row's first rank of notes. */
  padding-block-start: var(--wp--preset--spacing--20);
}

.zoey-meet-zoey__card {
  flex: 1 1 8rem;
  max-inline-size: 12.5rem;
  box-shadow: var(--wp--preset--shadow--soft);
  text-align: center;
}

/*
 * Each note lies at its own angle, and no two neighbours lean the same way.
 *
 * Five values rather than the odd/even pair the first round used: alternating reads as a pattern,
 * and a pile of paper does not have one. `:nth-child` is decoration keyed to position, which is
 * the one thing position is reliable for — adding or removing a note re-leans the row and changes
 * nothing else. The largest is 2.6deg, which is the most a 12.5rem note can lean before its
 * corner reaches its neighbour's at the narrowest width the row is ever five across.
 */
.zoey-meet-zoey__card:nth-child(5n + 1) { rotate: -2.4deg; }
.zoey-meet-zoey__card:nth-child(5n + 2) { rotate: 1.6deg; }
.zoey-meet-zoey__card:nth-child(5n + 3) { rotate: -1deg; }
.zoey-meet-zoey__card:nth-child(5n + 4) { rotate: 2.6deg; }
.zoey-meet-zoey__card:nth-child(5n + 5) { rotate: -1.8deg; }

/*
 * The note's own content: the mark above the words, centred, with the mark's space reserved by
 * `gap` rather than by a margin that would collapse differently on the first and last child.
 */
.zoey-meet-zoey__card > .zoey-surface__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--30);
}

/*
 * **The tape, adopted from `surface.css` rather than restated here.**
 *
 * Everything that makes this look like masking tape — the torn silhouette, the gloss gradient,
 * the 160:44 ratio, the opacity, the inertness and the colour — is declared on that component's
 * own rules, which name this pseudo-element. What is left, and all that is left, is the two
 * things a composition owns: that there *is* a strip, and where it sits.
 *
 * **`0.55` of the edge height, and that number is what a torn edge costs.** The component's own
 * tape straddles its edge half-on and half-off, which is right for a straight edge and wrong for
 * a ragged one: a tear is a mask, so the paper's *painted* top wanders up to the full 16px down
 * the card, and a strip centred on the element's top edge had most of its body over nothing and
 * read as floating above the note rather than holding it down. Just over half the tear's depth
 * puts the strip's centre line on paper that is actually there, with its upper lip still crossing
 * the ragged edge. Measured on all five at 1440px, twice — the first attempt also subtracted the
 * surface's padding, which is wrong because the padding is *inside* this box rather than above
 * it, and that put the tape 41px into the air.
 *
 * Half the strip's own height (`length × 44 / 160 ÷ 2`) is what centres it, so the placement
 * holds however long the strip is set.
 */
.zoey-meet-zoey__card > .zoey-surface__content::before {
  content: "";
  --zoey-surface-tape-length: 4.25rem;

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

/*
 * Three placements cycling across the row, so the tape is not a ruled line either. A piece of
 * tape put on by hand is never in the same place twice.
 */
.zoey-meet-zoey__card:nth-child(3n + 1) > .zoey-surface__content::before {
  inset-inline-start: 18%;
  rotate: -7deg;
}

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

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

/*
 * **The mark, adopted from `doodle.css` the same way.** The mask, the artwork and the family's
 * drawing contract are that component's; the size, the colour and the order are this one's.
 *
 * `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.
 */
.zoey-meet-zoey__card > .zoey-surface__content::after {
  content: "";
  --zoey-doodle-size: 2.75rem;

  order: -1;
}

/*
 * A colour each, from the palette, chosen to echo the mockup's five rather than to match a hex it
 * never had. They are decoration and carry no meaning — the label is what names the favourite —
 * so none of them is held to a contrast floor, and all five are suppressed under forced colors
 * below along with every other mask on the page.
 */
.zoey-meet-zoey__card--reading > .zoey-surface__content::after { color: var(--wp--preset--color--zoey-purple); }
.zoey-meet-zoey__card--making > .zoey-surface__content::after { color: var(--wp--preset--color--zoey-pink); }
.zoey-meet-zoey__card--games > .zoey-surface__content::after { color: var(--wp--preset--color--zoey-aqua); }
.zoey-meet-zoey__card--imagination > .zoey-surface__content::after { color: var(--wp--preset--color--zoey-yellow); }
.zoey-meet-zoey__card--discovering > .zoey-surface__content::after { color: var(--wp--preset--color--zoey-purple); }

/*
 * The label is **body-sized text**, so it is held to 4.5:1 and purple cannot be used for it:
 * 3.28:1 against this note's cream. Ink at 600 carries the same emphasis the mockup's purple
 * was carrying and is legible at the size a card actually prints it.
 */
.zoey-meet-zoey__card-label {
  font-weight: 600;
}

/* --- Come Explore With Me ---------------------------------------------------------------- */

/*
 * A small star after the invitation, inline with it, so the heading reads as something written
 * rather than typeset. Adopted from `doodle.css`; only the size and the colour are here.
 */
.zoey-meet-zoey__explore 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-pink);
}

/*
 * The dotted flight path arcing in above the four destinations — the mockup's butterfly trail,
 * **without the butterfly**.
 *
 * It is a dashed border on a wide, shallow box with an elliptical top radius, which is the whole
 * of it: no asset, no new mark, and nothing for the doodle family to absorb. The butterfly itself
 * is recorded as a deviation rather than drawn, because a fourth new drawing is not *"a small,
 * cohesive extension"* and the trail is what carries the gesture.
 *
 * Absolutely positioned, so it is not a flex item of the Buttons block it hangs over, and hidden
 * below 782px where the two columns stack and there is no space above the tiles to arc through.
 */
.zoey-meet-zoey__destinations {
  position: relative;
}

.zoey-meet-zoey__destinations::before {
  content: "";
  position: absolute;
  inset-block-end: calc(100% + var(--wp--preset--spacing--20));
  inset-inline: 16% 6%;
  block-size: 2.6rem;
  /* Dotted rather than dashed: a trail of dots is a path, a row of dashes is a rule. */
  border-block-start: 3px dotted var(--wp--preset--color--zoey-lavender);
  border-start-start-radius: 100% 100%;
  border-start-end-radius: 100% 100%;
  pointer-events: none;
}

@media (max-width: 781px) {
  .zoey-meet-zoey__destinations::before {
    content: none;
  }
}

/*
 * The four destinations, as core Buttons: a label and a URL a parent edits, shaped into the
 * mockup's tiles here.
 *
 * `theme.json` gives every button a pink pill; these are stitched paper squares, so the radius,
 * the colour and the border are all restated. That is the documented cost of composing with a
 * core block — 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.
 *
 * The inset highlight is the tile's top edge catching the light, which is what stops a dashed
 * outline from reading as a form field. One shadow declaration carries both it and the lift.
 */
.zoey-meet-zoey__destinations .wp-block-button__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--wp--preset--spacing--20);
  inline-size: 7rem;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
  border-radius: var(--wp--custom--radius--medium);
  border: 2px dashed color-mix(in srgb, var(--wp--preset--color--ink) 22%, transparent);
  color: var(--wp--preset--color--ink);
  box-shadow:
    var(--wp--preset--shadow--soft),
    inset 0 1px 0 var(--wp--preset--color--surface);
}

/*
 * The mark above each label, and the arrow below it. Both are pseudo-elements, and that is an
 * accessibility decision rather than a layout one: a destination's accessible name should be
 * *Make*, not "scissors Make right-arrow". Putting either character in the button's own text
 * would put it in the name, because a core Button has no markup inside its label for
 * `aria-hidden` to go on.
 *
 * The mark is the approved doodle for that destination, adopted from `doodle.css`, which is what
 * makes the four of them one family at one weight instead of four characters at four.
 */
.zoey-meet-zoey__destinations .wp-block-button__link::before {
  content: "";
  --zoey-doodle-size: 1.75rem;
}

.zoey-meet-zoey__destinations .wp-block-button__link::after {
  content: "\2192";
  font-weight: 400;
  line-height: 1;
}

/*
 * Hover and focus. `theme.json` flips a button to ink-on-white on hover, which would throw away
 * the colour that identifies the destination — so these keep their tint and lift instead.
 */
.zoey-meet-zoey__destinations .wp-block-button__link:hover,
.zoey-meet-zoey__destinations .wp-block-button__link:focus {
  background-color: var(--zoey-meet-zoey-destination);
  color: var(--wp--preset--color--ink);
  box-shadow:
    var(--wp--preset--shadow--lifted),
    inset 0 1px 0 var(--wp--preset--color--surface);
}

/*
 * The four tints are the site's **approved section mapping**, not this page's content, which is
 * why they are here and not an editor colour choice. `DESIGN-CONTRACT.md` §2 and `SL-012`'s `D6`
 * pair Make with blush, Learn with pale yellow, Play with sky and Discover with mint, and
 * `components/world-mode.css` draws the homepage's four paths from exactly that list. The
 * mockup's own four colours differ; the existing component wins, which is the handoff's rule for
 * illustrative chrome that disagrees with what the site already has.
 *
 * The mark beside each is the same mapping again — `doodle.css` keys the artwork to these same
 * modifier classes, so a destination's tint and its drawing cannot drift apart.
 */
.zoey-meet-zoey__destination {
  --zoey-meet-zoey-destination: var(--wp--preset--color--zoey-lavender-pale);
}

.zoey-meet-zoey__destination .wp-block-button__link {
  background-color: var(--zoey-meet-zoey-destination);
}

.zoey-meet-zoey__destination--make {
  --zoey-meet-zoey-destination: var(--wp--preset--color--zoey-pink-pale);
}

/*
 * Learn's pale yellow is **not** a token, and this is the second place to say so rather than the
 * first. `world-mode.css` records the same absence: the pale family is pink 18%, lavender 32%,
 * aqua 26%, mint 45% and sky 30%, and there is no `zoey-yellow-pale`. `SL-012`'s `D6` approved
 * mixing it at the soft-paper strength instead of inventing a token, and this mix is that same
 * 8% of Zoey Yellow. If a third surface ever needs it, the answer is a `zoey-yellow-pale` preset
 * in `theme.json` and a Product decision — not a third copy of this expression.
 */
.zoey-meet-zoey__destination--learn {
  --zoey-meet-zoey-destination: color-mix(in srgb, var(--wp--preset--color--zoey-yellow) 8%, var(--wp--preset--color--surface));
}

.zoey-meet-zoey__destination--play {
  --zoey-meet-zoey-destination: var(--wp--preset--color--zoey-sky-pale);
}

.zoey-meet-zoey__destination--discover {
  --zoey-meet-zoey-destination: var(--wp--preset--color--zoey-mint-pale);
}

/* The mark's own colour: the saturated partner of the tile's pale, as the homepage pairs them. */
.zoey-meet-zoey__destination--make .wp-block-button__link::before { color: var(--wp--preset--color--zoey-pink); }
.zoey-meet-zoey__destination--learn .wp-block-button__link::before { color: var(--wp--preset--color--zoey-yellow); }
.zoey-meet-zoey__destination--play .wp-block-button__link::before { color: var(--wp--preset--color--zoey-sky); }
.zoey-meet-zoey__destination--discover .wp-block-button__link::before { color: var(--wp--preset--color--zoey-aqua); }

/* --- A Little 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. §6's restraint, and the mockup's own reading — this note is for a parent
 * skimming it once, and it must stay visually secondary to Zoey's own words.
 */
.zoey-meet-zoey__note {
  box-shadow: var(--wp--preset--shadow--soft);
}

.zoey-meet-zoey__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-meet-zoey__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-meet-zoey__note p {
  color: var(--wp--preset--color--ink-soft);
  font-size: var(--wp--preset--font-size--body-small);
}

/*
 * The divider the mockup draws between the heading and the note — dotted rather than dashed, so
 * it reads as a stitch line on paper and not as a rule in a table. 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-meet-zoey__note-body {
  border-inline-start: 3px dotted var(--wp--preset--color--zoey-lavender);
  padding-inline-start: var(--wp--preset--spacing--50);
}

@media (max-width: 781px) {
  .zoey-meet-zoey__note-body {
    border-inline-start: 0;
    padding-inline-start: 0;
    border-block-start: 3px dotted var(--wp--preset--color--zoey-lavender);
    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 banner's fill, the tape, the marks, the
 * flight path and the spark strokes.
 */
@media print {
  .zoey-meet-zoey__portrait-frame,
  .zoey-meet-zoey__intro,
  .zoey-meet-zoey__card,
  .zoey-meet-zoey__banner {
    rotate: none;
    box-shadow: none;
  }

  .zoey-meet-zoey__banner {
    background-color: transparent;
    padding-inline: 0;
  }

  .zoey-meet-zoey__banner::before,
  .zoey-meet-zoey__banner::after,
  .zoey-meet-zoey__card > .zoey-surface__content::before,
  .zoey-meet-zoey__destinations::before,
  .zoey-meet-zoey__explore h2::after,
  .zoey-meet-zoey__note h2::after {
    content: none;
  }

  .zoey-meet-zoey__card > .zoey-surface__content::after {
    display: none;
  }

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

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

/*
 * **Every decorative mark on this page is a mask or a background, and forced colors paints over
 * both.** `doodle.css` says why that is acceptable and when it is not: 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 no meaning. Nothing here carries meaning — every label is text — so the marks,
 * the tape, the flight path and the spark strokes all go rather than being left as ghosts, which
 * is the treatment `surface.css` already gives its own tape.
 *
 * What stays is what the visitor needs: the four destination tiles keep a hairline in `CanvasText`
 * so they are still four tiles, exactly as every surface keeps one.
 */
@media (forced-colors: active) {
  .zoey-meet-zoey__destinations .wp-block-button__link {
    border: 1px solid CanvasText;
  }

  .zoey-meet-zoey__title::after,
  .zoey-meet-zoey__banner::before,
  .zoey-meet-zoey__banner::after,
  .zoey-meet-zoey__card > .zoey-surface__content::before,
  .zoey-meet-zoey__card > .zoey-surface__content::after,
  .zoey-meet-zoey__destinations::before,
  .zoey-meet-zoey__destinations .wp-block-button__link::before,
  .zoey-meet-zoey__explore h2::after,
  .zoey-meet-zoey__note h2::after {
    display: none;
  }
}
