/* ============================================================
   ▶ START: ARTICLE PAGE (MASTER BLOCK)
   ============================================================
   SUMMARY: The look of article.html, the base mold for every
   article. It uses "Front Page Split": a full, newspaper-style page
   with content on the left AND right, instead of one thin column in
   the middle. A calm cream page, bold Inter headings, and Source
   Serif 4 for the writing, a font made for long reading on screens.
   Top to bottom: a full-width banner (cover photo with the title
   over it, like the Blog page), a byline row, How we chose beside
   the short list, the products (4 boxes each, like a checkerboard),
   How we choose beside Common questions, the bottom line, keep
   reading. The page runs wide (up to 1440px) so big screens are
   used well.
   COMPACT ON LAPTOPS: on screens 1400px wide and smaller (laptops,
   tablets, phones) the type, photos and spacing all shrink a step,
   so the page is quicker to scroll. Big desktop screens stay roomy.
   Every part can be removed: the page closes up by itself.
   INSIDE: ARTICLE > Colors · ARTICLE > Page width ·
           ARTICLE > Title · ARTICLE > Sections ·
           ARTICLE > Side by side · ARTICLE > Short list ·
           ARTICLE > Buttons · ARTICLE > Products ·
           ARTICLE > Questions and bottom line ·
           ARTICLE > Keep reading · ARTICLE > Laptops ·
           ARTICLE > Tablets · ARTICLE > Phones
   HOW TO EDIT: colors and reading sizes live in ARTICLE > Colors.
   Breakpoints use em units so the layout still works when someone
   zooms in.
   ============================================================ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Colors
   ------------------------------------------------------------
   SUMMARY: Named sizes and colors for this page only. A soft cream
   page, near-black headings, espresso buttons, a beige panel color
   (--ar-panel) for the picks box and notes, and an antique gold
   (--ar-accent) for small labels. --ar-line is the thin line between
   parts. The --ar-read values set the writing's font, size, line
   spacing, paragraph spacing and longest line (40rem is about 70
   letters, a comfortable length). --ar-width is the widest the
   whole page gets (90rem = 1440px). --ar-wine and --ar-cream match
   the Blog page: wine for the banner label and italic title word,
   cream for the fade over the banner photo.
   ------------------------------------------------------------ */
.ar {
  --ar-width: max(90rem, 1440px); /* page width: kept the same on laptops (does not shrink with the laptop dial) */
  --ar-wine: #801826;
  --ar-cream: #fbf8f2;
  --ar-sheet: #fffdf9; /* the bright header sheet */
  --ar-taupe: #7a6450; /* the damask and vine color (warm taupe, not gold) */
  --ar-byline: #3b3129; /* darker brown for the byline, easier to read */
  --ar-page: #fdfbf7;
  --ar-panel: #f2ede4;
  --ar-line: #e7dfd2;
  --ar-rule: #cdbfa8; /* faint taupe line above "The picks" */
  --ar-accent: #86681f;
  --ar-dark: #1d1209;
  --ar-on-dark: #fff8ec;
  --ar-head: #111;
  --ar-text: #14100c; /* almost black, so the writing reads firmly */
  --ar-soft: #5b5248;
  --ar-brand: #4a4037; /* brand line under a product name */
  --ar-head-font: "Inter", system-ui, sans-serif;
  --ar-read-font: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ar-read-size: 1.125rem;
  --ar-read-line: 1.6;
  --ar-read-gap: 1.125rem;
  --ar-read-width: 40rem;
  --ar-space: 2.5rem;
  background: var(--ar-page);
  color: var(--ar-text);
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Colors
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Page width
   ------------------------------------------------------------
   SUMMARY: One page width for the article, so everything shares
   the same left and right edges. The banner photo runs edge to
   edge, but its words and the byline line up with these edges.
   ------------------------------------------------------------ */
.ar-page {
  width: 100%;
  max-width: calc(var(--ar-width) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Page width
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Title
   ------------------------------------------------------------
   SUMMARY: CARD ON DAMASK. The header is one bright cream card
   floating on a band of taupe damask with taupe vines in two corners
   (the band is ARTICLE > Header sheet and page art). The left half
   of the card holds the words: the category in small spaced-out wine
   capitals, a Playfair headline whose last word is italic wine, one
   plain line, then the byline ("By", "Caravan & Co" in gold Great
   Vibes script, the date), the commission line under it, then the
   gold "Share this guide" pill (look: style.css SHARE PANEL). The
   right half is the cover photo frame, wide (not tall), so the
   header stays short and readers reach the article fast. The
   commission line stays up here, before the first Buy button, so
   readers can't miss it.
   PHOTO ("soft backdrop"): the frame never changes size. Any photo,
   any shape, shows WHOLE inside it (object-fit: contain), centered,
   so nothing is ever cut off. If the photo's shape doesn't match the
   frame, the empty space is filled by a blurred copy of the same
   photo (.ar-hero__blur, a second <img> the program fills in), so it
   never looks like plain bars. Like album art in Apple Music.
   HOW IT WORKS: .ar-cover is a grid: an empty side column, the
   card's two columns (46% words, 54% photo of the page width), and
   another empty side column. .ar-banner uses display: contents, so
   its words and photo sit straight in that grid, next to the byline,
   without changing the page's HTML. The card itself is drawn by
   .ar-cover::after, placed over the two middle columns. The script
   name gets extra room (padding + a taller line) so its curls are
   never cut off.
   HOW TO EDIT: --ar-card-pad is the space inside the card; the
   column sizes are in grid-template-columns on .ar-cover;
   min-height on .ar-hero is the shortest the photo gets.
   ------------------------------------------------------------ */
.ar-cover {
  --ar-card-pad: 2.75rem;
  --ar-inner: min(var(--ar-width), 100% - var(--gutter) * 2);
  display: grid;
  grid-template-columns:
    minmax(0, 1fr) calc(var(--ar-inner) * 0.46) calc(var(--ar-inner) * 0.54)
    minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  padding-block: 1.75rem;
}
/* the card: a bright sheet with a thin taupe edge and a soft shadow */
.ar-cover::after {
  content: "";
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  z-index: 0;
  border-radius: 1.25rem;
  background: var(--ar-sheet);
  box-shadow:
    0 0 0 1px rgba(122, 100, 80, 0.24),
    0 1.5rem 3rem -2rem rgba(59, 49, 41, 0.55);
}
.ar-banner {
  display: contents;
}
.ar-top {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
  padding: var(--ar-card-pad) var(--ar-card-pad) 0;
}
.ar-eyebrow {
  font: 600 0.75rem / 1.4 var(--ar-head-font);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ar-wine);
}
.ar-h1 {
  font: 500 clamp(2rem, 1.4rem + 1.6vw, 2.875rem) / 1.08 var(--font-head);
  letter-spacing: -0.015em;
  color: var(--ar-head);
  text-wrap: balance;
}
.ar-h1 em {
  font-style: italic;
  color: var(--ar-wine);
}
.ar-deck {
  max-width: 26em;
  font: 500 1.0625rem / 1.45 var(--ar-head-font);
  color: var(--ar-text);
  text-wrap: pretty;
}
.ar-hero {
  grid-column: 3;
  grid-row: 1 / 3;
  z-index: 1;
  position: relative;
  min-height: 18rem;
  margin: 0;
  overflow: hidden;
  border-radius: 0 1.25rem 1.25rem 0;
  background: #ebe4da; /* soft taupe-cream while the photo loads */
}
/* the real photo: shown whole and centered in the frame. The frame's
   size comes from the card (not the photo), so the page never jumps
   while it loads. !important beats the old focus-dot position the
   program writes on each photo, because a whole photo is always
   centered. */
.ar-hero img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50% !important;
}
/* the backdrop: the same photo, zoomed a little past the frame and
   blurred, behind the real one. It fills any space the real photo
   leaves. It is only decoration (empty alt, hidden from screen
   readers). */
.ar-hero img.ar-hero__blur {
  inset: -12%;
  z-index: 0;
  width: 124%;
  height: 124%;
  object-fit: cover;
  filter: blur(1.75rem) saturate(1.05);
  opacity: 0.85;
}
.ar-byline {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  min-width: 0;
  padding: 1.25rem var(--ar-card-pad) var(--ar-card-pad);
}
.ar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* "By", the name and the date sit on one middle line */
  column-gap: 0.4rem;
  font: 500 0.875rem / 1.5 var(--ar-head-font);
  color: var(--ar-text);
}
/* "Caravan & Co" in hand-written script, gold darkening into black.
   The script's curls reach past its letter box, and the gold color
   only paints inside that box, so the box gets extra room (padding +
   a taller line) and the negative margin keeps the spacing the same. */
.ar-meta__who {
  padding: 0 0.3em 0 0.2em;
  margin-inline: -0.1em;
  font: 400 1.625rem / 1.5 "Great Vibes", "Parisienne", cursive;
  background: linear-gradient(100deg, #9a7428 0%, #6b4c18 45%, var(--ar-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* the gold "Share this guide" pill (look: style.css SHARE PANEL) */
.ar-share {
  margin-top: 0.75rem;
}
.ar-disclosure {
  max-width: 34em;
  font: italic 400 0.875rem / 1.5 var(--ar-read-font);
  color: var(--ar-byline);
  text-wrap: pretty;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Title
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Header sheet and page art
   ------------------------------------------------------------
   SUMMARY: The whole header (the .ar-cover box) is a soft warm band
   with WARM TAUPE damask and taupe vines in its top-left and
   bottom-right corners (.ar-cover::before), and the title card
   floats on it. A soft shadow falls under the band and a crisp black
   line closes it off, so the header never melts into the page below.
   Under the header, a faint taupe damask covers the whole page
   (.ar::before), strong enough that the middle is not plain white
   but still quiet behind the words, and on big screens bronze vines
   climb the empty left and right margins (.ar::after), the same
   artwork and maths as the Blog page. The right vine is a mirror
   image of the left.
   HOW THE TAUPE WORKS: the pattern files are gold, so instead of
   showing them as pictures, each layer is painted in plain taupe
   (--ar-taupe) and the gold file is used as a STENCIL (mask): the
   taupe only shows where the pattern's shapes are. Like spray paint
   through a cut-out. Change --ar-taupe and every pattern on article
   pages changes color, no new image files needed.
   In the header, one stencil holds three shapes: the two corner
   vines and the damask. The damask is made fainter than the vines by
   "intersecting" it with a see-through layer (the linear-gradient).
   HOW IT WORKS: z-index: -1 keeps the damask and vines behind the
   words. The header sits above them (z-index: 1) with its own
   solid color, so the art only shows below it. --v is the width of
   the empty side margin, so the vines never sit behind words or
   buttons. Below 1024px there is no spare margin, so the vines
   hide (same as the Blog page) and only the damask shows.
   HOW TO EDIT: --ar-taupe (top of the file) is the color. Opacity
   on .ar-cover::before sets how strong the header vines look, and
   the 0.3 in its linear-gradient sets how faint its damask is
   compared to them. Opacity on .ar::before sets the page damask;
   opacity on .ar::after sets the bronze side vines. The box-shadow
   on .ar-cover sets how lifted the header looks.
   ------------------------------------------------------------ */
.ar {
  position: relative;
  isolation: isolate;
}
.ar-cover {
  position: relative;
  z-index: 1;
  /* the header band: a soft warm off-white (the card floats on it,
     ARTICLE > Title) */
  background: #f7f3ee;
  border-bottom: 2px solid var(--ar-dark);
  box-shadow: 0 1.375rem 2.125rem -1.375rem rgba(60, 35, 15, 0.4);
}
/* the taupe vines and damask over the band (behind the card): plain
   taupe paint, shown only through the pattern stencils (masks).
   Layers, top to bottom: top-left vine, bottom-right vine, damask,
   and a 30% see-through layer that the damask is cut down by
   ("intersect"), so the damask is fainter than the vines. The
   -webkit- lines are the same thing for older Safari and Chrome. */
.ar-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--ar-taupe);
  opacity: 0.6;
  -webkit-mask-image:
    url("images/patterns/vine-gold-corner-top-left.webp"),
    url("images/patterns/vine-gold-corner-bottom-right.webp"),
    url("images/patterns/damask-gold.webp"),
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  -webkit-mask-position: left top, right bottom, center, 0 0;
  -webkit-mask-size: auto 115%, auto 115%, 11rem, 100% 100%;
  -webkit-mask-repeat: no-repeat, no-repeat, repeat, no-repeat;
  -webkit-mask-composite: source-over, source-over, source-in, source-over;
  mask-image:
    url("images/patterns/vine-gold-corner-top-left.webp"),
    url("images/patterns/vine-gold-corner-bottom-right.webp"),
    url("images/patterns/damask-gold.webp"),
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  mask-position: left top, right bottom, center, 0 0;
  mask-size: auto 115%, auto 115%, 11rem, 100% 100%;
  mask-repeat: no-repeat, no-repeat, repeat, no-repeat;
  mask-composite: add, add, intersect, add;
}
.ar::before,
.ar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* the faint taupe damask over the whole page (taupe paint through
   the damask stencil, same idea as the header) */
.ar::before {
  background: var(--ar-taupe);
  opacity: 0.13;
  -webkit-mask: url("images/patterns/damask-gold.webp") repeat center top /
    13rem;
  mask: url("images/patterns/damask-gold.webp") repeat center top / 13rem;
}
@media (min-width: 64.0625em) {
  .ar::after {
    --v: min(12rem, calc(max(var(--gutter), 50vw - 45rem) - 0.5rem));
    background:
      url("images/patterns/vine-tall-bronze.webp") left calc(var(--v) - 13rem)
        top / 13rem auto repeat-y,
      url("images/patterns/vine-tall-bronze-mirror.webp") right
        calc(var(--v) - 13rem) top / 13rem auto repeat-y;
    opacity: 0.75;
  }
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Header sheet and page art
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Sections
   ------------------------------------------------------------
   SUMMARY: Every section has the same thin line above it and the same
   space above and below (--ar-space). The heading sits above its
   words, in the same Playfair as the article title (.ar-h2). The
   products section opens like a newspaper masthead: a faint thin
   taupe line (--ar-rule), the small wine "The picks" label, then the title
   in the same Playfair as the article title with the last words in
   wine italic (.ar-picks-title). All the writing on the page shares the --ar-read
   values, so it stays easy to read however long an article gets.
   LINKS in the writing are underlined in wine (see the end).
   ------------------------------------------------------------ */
.ar-sec {
  padding-block: var(--ar-space);
  border-top: 1px solid var(--ar-line);
}
.ar-page > .ar-sec:first-child {
  border-top: 0;
}
.ar-sec__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ar-h2 {
  font: 500 clamp(1.625rem, 1.35rem + 0.8vw, 2rem) / 1.15 var(--font-head);
  letter-spacing: -0.01em;
  color: var(--ar-head);
  text-wrap: balance;
}
.ar-sec:has(> .ar-products) {
  border-top: 1px solid var(--ar-rule);
}
.ar-sec:has(> .ar-products) > .ar-sec__grid {
  gap: 0.5rem;
}
.ar-picks-title {
  font: 500 clamp(2rem, 1.5rem + 1.6vw, 2.75rem) / 1.08 var(--font-head);
  letter-spacing: -0.015em;
  color: var(--ar-head);
  text-wrap: balance;
}
.ar-picks-title em {
  font-style: italic;
  color: var(--ar-wine);
}
.ar-sec__body {
  display: flex;
  flex-direction: column;
  gap: var(--ar-read-gap);
  min-width: 0;
}
.ar-sec__body > p,
.ar-writing p,
.ar-qa p {
  max-width: var(--ar-read-width);
  font-family: var(--ar-read-font);
  font-size: var(--ar-read-size);
  font-weight: 400;
  line-height: var(--ar-read-line);
  color: var(--ar-text);
}
/* Links inside the writing (sources, product pages): the words keep
   their color with a thin wine underline, and turn wine on hover.
   :not([class]) leaves buttons and other styled links alone. */
.ar p a:not([class]),
.ar li a:not([class]) {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--ar-wine);
  text-decoration-thickness: 0.0625em;
  text-underline-offset: 0.18em;
  transition: color 0.15s ease;
}
.ar p a:not([class]):hover,
.ar li a:not([class]):hover {
  color: var(--ar-wine);
  text-decoration-thickness: 0.09em;
}
.ar p a:not([class]):focus-visible,
.ar li a:not([class]):focus-visible {
  outline: 2px solid var(--ar-wine);
  outline-offset: 2px;
  border-radius: 2px;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Sections
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Side by side
   ------------------------------------------------------------
   SUMMARY: Two pairs of sections sit next to each other, like
   columns in a newspaper. .ar-front: How we chose on the left (the
   narrower column), the short list on the right (the wider one, so
   each pick fits on one line). .ar-pair: How we choose on the left,
   Common questions on the right. Remove one section of a pair and
   the other one widens to fill the row (:only-child).
   HOW IT WORKS: each pair is a two-column grid. :has(.ar-short) finds
   the section holding the short list and puts it in column 2, so it
   stays on the right even though it comes first in the HTML (on
   phones it stays first, for readers in a hurry).
   ------------------------------------------------------------ */
.ar-front,
.ar-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.5rem 3.5rem;
  padding-block: var(--ar-space);
}
.ar-front {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
}
.ar-pair {
  border-top: 1px solid var(--ar-line);
}
.ar-front > .ar-sec,
.ar-pair > .ar-sec {
  grid-row: 1;
  padding-block: 0;
  border-top: 0;
}
.ar-front > .ar-sec:has(.ar-short) {
  grid-column: 2;
}
.ar-front > .ar-sec:not(:has(.ar-short)) {
  grid-column: 1;
}
.ar-front > .ar-sec:only-child,
.ar-pair > .ar-sec:only-child {
  grid-column: 1 / -1;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Side by side
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Short list
   ------------------------------------------------------------
   SUMMARY: The answer for people in a hurry, in a soft beige box with
   round corners, kept compact so it takes little room. On laptops
   and bigger, each pick is ONE short line: a dark number circle, the
   label · name, the price, and a small Buy button. On phones
   (IMPROVE #5) each pick becomes its own white card: a small copy
   of the product photo on the left, "Pick 1", the label and the
   name beside it, and a full-width Buy button along the bottom
   (see Phones). The photo is hidden on bigger screens. The page counts the rows itself (counter-reset and
   counter-increment, printed by li::before), so never type a
   number. A blank price simply disappears.
   HOW IT WORKS: grid-template-areas names the spots in each row
   (num, name, price, button), like labelled boxes on a form. The
   phone layout just rearranges the same boxes (see Phones).
   ------------------------------------------------------------ */
.ar-short {
  padding: 0.25rem 1.125rem;
  border-radius: 1rem;
  background: var(--ar-panel);
  list-style: none;
  counter-reset: ar-row;
}
.ar-short li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) 4.5rem auto;
  grid-template-areas: "num name price button";
  align-items: center;
  gap: 0.125rem 0.875rem;
  padding-block: 0.625rem;
  counter-increment: ar-row;
}
.ar-short li::before {
  content: counter(ar-row);
  grid-area: num;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--ar-dark);
  color: #fff;
  font: 600 0.8125rem / 1 var(--ar-head-font);
}
.ar-short li + li {
  border-top: 1px solid var(--ar-line);
}
.ar-short__item {
  grid-area: name;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.5rem;
  min-width: 0;
}
.ar-short__label {
  font: 600 0.8125rem / 1.3 var(--ar-head-font);
  letter-spacing: 0.02em;
  color: var(--ar-accent);
}
.ar-short__label::after {
  content: " ·";
  color: var(--ar-soft);
}
/* No label on a product: the row shows just the name (no stray dot). */
.ar-short__label:empty {
  display: none;
}
.ar-short__name {
  font: 600 1.0625rem / 1.3 var(--ar-head-font);
  letter-spacing: -0.01em;
  color: var(--ar-head);
}
.ar-short__price {
  grid-area: price;
  font: 500 0.875rem / 1.3 var(--ar-head-font);
  color: var(--ar-soft);
  white-space: nowrap;
}
.ar-short__price:empty {
  display: none;
}
.ar-short__photo {
  display: none; /* only phones show it (see Phones) */
}
.ar-short .ar-buy {
  grid-area: button;
  max-width: 11rem;
  min-height: 2.25rem;
  padding: 0.375rem 1rem;
  font-size: 0.8125rem;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Short list
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Art box (framed print)
   ------------------------------------------------------------
   SUMMARY: a small picture box under the short list, on every
   article and every screen. It shows the abstract cream, gold and
   wine wave (images/patterns/approach-wave.webp) inside a thin
   cream "mat", like a print in a frame, so it adds warmth without
   shouting. It has no words; it replaced the "Our approach" lines.
   It is fixed in article.html (data-lock), so writers never touch it.
   GOLD OUTLINE: the frame has a 2px "24 karat" gold edge. It is a
   gold gradient (dark, bright, dark gold) so it shines like metal
   instead of looking like flat yellow.
   HOW IT WORKS: .ar-trust is the frame (cream fill, round corners, a
   little padding = the mat). The gold edge uses a two-layer
   background trick: the border is see-through, the top layer is
   cream and stops inside the border (padding-box), and the bottom
   layer is the gold gradient reaching under the border (border-box),
   so only a 2px ring of gold shows. .ar-trust__art is the
   picture, painted as a background so we can choose which part of
   the wave shows: background-size "cover" fills the box, and
   background-position picks the spot (the wine curve). On phones the
   picture is zoomed in (background-size 260%) so the curve still
   fills the smaller box instead of shrinking to a thin line.
   HOW TO EDIT: change the height on .ar-trust__art to make the box
   taller or shorter; change background-position to show a different
   part of the wave. The gold colors are the list in the
   linear-gradient on .ar-trust; the 2px in its border is the
   thickness.
   ------------------------------------------------------------ */
.ar-trust {
  margin-top: 1.5rem;
  padding: 0.625rem;
  border: 2px solid transparent;
  border-radius: 1rem;
  background:
    linear-gradient(var(--ar-cream), var(--ar-cream)) padding-box,
    linear-gradient(135deg, #8a6a1f 0%, #d9b45a 18%, #f6e3a3 32%, #c79a3b 50%, #f3d98c 66%, #a77f2a 82%, #e8c977 100%) border-box;
}
.ar-trust__art {
  height: 9rem;
  border-radius: 0.5rem;
  background: url("images/patterns/approach-wave.webp") 62% 60% / cover no-repeat;
}
@media (max-width: 42em) {
  .ar-trust {
    margin-top: 1.25rem;
    padding: 0.5rem;
  }
  .ar-trust__art {
    height: 8rem;
    background-size: 260% auto;
    background-position: 68% 58%;
  }
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Art box (framed print)
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Buttons
   ------------------------------------------------------------
   SUMMARY: The espresso pill Buy button and the small "Also at" line
   under it. Each button names its store, so readers know where they
   are going. Long store names wrap instead of spilling out.
   ALSO AT: a product sold at other stores gets one line: "Also at"
   then each store as an underlined link, with commas between
   them ("Also at Store Two, Store Three, ..."). Any number of
   stores fits: the line wraps like a sentence. The program
   (make-article-pages.js) builds the line from the product's list.
   HOW IT WORKS: the words come from data-store in article.html, and
   ::before writes them on the button. :has() lets a rule ask "does
   this product contain an empty price?" If yes, a product's button
   reads "View price at" and the short list's reads "See price at"
   instead of "Buy at".
   BACK TO THE BLOG (IMPROVE #3, #6): the last button on the page, under
   The bottom line, is espresso like the Buy button but simply goes
   back to the blog page (.ar-back), with a small arrow before the
   words. Since IMPROVE #6 it has square edges (a slight 4px corner)
   and is a little taller, so it reads as a solid block, not a pill.
   ------------------------------------------------------------ */
.ar-buy,
.ar-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.375rem;
  border-radius: 999px;
  background: var(--ar-dark);
  color: var(--ar-on-dark);
  font: 600 0.875rem / 1.2 var(--ar-head-font);
  text-align: center;
  transition: background-color 0.2s ease;
}
.ar-buy:hover,
.ar-back:hover {
  background: #3a2717;
  color: var(--ar-on-dark);
}
.ar-buy::before {
  content: "Buy at " attr(data-store);
}
.ar-prod:has(.ar-price:empty) .ar-buy::before {
  content: "View price at " attr(data-store);
}
.ar-short li:has(.ar-short__price:empty) .ar-buy::before {
  content: "See price at " attr(data-store);
}
.ar-back {
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.25rem;
}
.ar-back::before {
  content: "\2190"; /* a left arrow */
  margin-right: 0.5em;
}
.ar-also {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font: 500 0.875rem / 1.3 var(--ar-head-font);
  color: var(--ar-accent);
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
/* "Also at Walmart, Target, REI": plain words with commas, so a
   long list wraps onto a second line like a sentence. The tall
   line height leaves room to tap each store on a phone. */
.ar-also-list {
  flex: 1 1 14rem;
  margin: 0;
  font: 500 0.875rem / 2.25 var(--ar-head-font);
  color: var(--ar-soft);
}
.ar-also-list .ar-also {
  display: inline;
  min-height: 0;
}
.ar-buy:focus-visible,
.ar-back:focus-visible,
.ar-also:focus-visible,
.ar-more__link:focus-visible {
  outline: 2px solid var(--ar-accent);
  outline-offset: 2px;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Buttons
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Products
   ------------------------------------------------------------
   SUMMARY: A black line across the page marks where each product
   starts, and one more black line under the last product marks
   where the products end, like chapter breaks in a book.
   Every product repeats the same zig-zag. On top,
   centered: the label in wine capitals (optional: left empty, a
   small wine numeral like "01" shows instead), the name in bold, nearly
   black Playfair with a thin line on each side, and the brand.
   Row 1: the big photo on the left, the first paragraphs, price and
   Buy button on the right (half and half). Row 2: more writing and
   the notes (good to know / keep in mind) on the left, and Our
   Take, a smaller beige box, on the right. Our Take is about 60% as
   wide as the big photo, so the two photos are clearly different
   sizes and the writing gets the extra room. Laptops and tablets
   keep this same layout, just tighter (see Laptops).
   THE PHOTO KEEPS ITS SIZE: it is always 4:3 and sits at the top of
   its row (align-self: start), so long writing beside it makes the
   row taller but never makes the photo bigger. Short writing is
   centered beside the photo. The writer can pick Small, Medium or
   Large (data-size) in the photo window; the photo keeps its shape
   and the words take the rest of the row.
   PRICE ROW (option 1, Apple style): the price and its date sit on
   the left, the Buy button on the right, on one line, with the
   "Also at" stores small underneath on the right. With a blank
   price, the left side reads "Available at <store>" with "Prices
   change often" under it, and the button reads "View price at
   <store>", so the row keeps the same shape. The store name comes
   from data-store on the price line (class="ar-price-box").
   Phones: everything stacks and centres, with a full-width button.
   READING: product writing and notes are one step heavier (500) and
   almost black, so they read firmly and do not look faded.
   LOGO BOX (ar-take): "Emblem + Our Pick". The Caravan & Co gold
   emblem (coin on gold lattice and silk) with a small gold OUR PICK
   line under it (drawn once in article.html and reused with <use>)
   sits right on the cream page with no box behind it, like a seal
   of approval. The spot stretches to the height of the writing
   beside it and the stamp stays in the middle. Stamp width: 14rem
   big screens, 12rem laptops and tablets, 11rem phones (wider than
   the old ribbon seal because the coin is only about half of the
   emblem picture; this keeps the coin a similar size). It never
   grows past its column (min(100%, ...)). ar-sprite keeps the hidden drawing at
   zero size (not display:none, which would stop its gold colors
   from showing).
   NOTES: Good to know and Keep in mind sit side by side. Either one
   can be hidden; the other then fills the row, and with both hidden
   the notes line disappears, so no empty space is left.
   HOW IT WORKS: the row is cut into 10 equal columns, and
   grid-template-areas names the spots (head, photo, main, more,
   take): photo 5 + main 5 on the first row, more 7 + take 3 on the
   second. :has() asks questions like "does this product
   still have a logo box?" If a box is removed, its neighbour
   widens to fill the row, so the page closes up by itself.
   HOW TO EDIT: the page counts the products itself (counter-reset
   starts at zero, counter-increment adds one per product, and
   .ar-rank::before prints the number). Remove a product and the rest
   renumber, so never type a number into the rank line.
   LEFT THE SHOP (is-gone): if a published product leaves the shop
   list, the page shows "Currently unavailable" in amber instead of
   a price, and hides the price date.
   ------------------------------------------------------------ */
.ar-products {
  margin-top: 1rem;
  border-bottom: 2px solid var(--ar-dark);
  counter-reset: ar-pick;
}
.ar-prod {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-areas:
    "head head head head head head head head head head"
    "photo photo photo photo photo main main main main main"
    "more more more more more more more take take take";
  gap: 1.75rem 2.75rem;
  padding-block: 2.5rem;
  border-top: 2px solid var(--ar-dark);
  counter-increment: ar-pick;
}
.ar-prod:not(:has(.ar-take)) .ar-prod__more,
.ar-prod:not(:has(.ar-prod__more)) .ar-take,
.ar-prod:not(:has(.ar-prod__photo)) .ar-prod__main,
.ar-prod:not(:has(.ar-prod__main)) .ar-prod__photo {
  grid-column: 1 / -1;
}
.ar-prod__head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  text-align: center;
}
.ar-rank {
  font: 700 0.8125rem / 1.4 var(--ar-head-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ar-wine);
}
.ar-rank::before {
  content: counter(ar-pick) ". ";
}
/* NO LABEL: the label is optional. Left empty, the loud capitals
   step aside and only a quiet wine numeral (01, 02...) sits above
   the name, so the product name becomes the star of the heading. */
.ar-rank:empty::before {
  content: counter(ar-pick, decimal-leading-zero);
  font: italic 500 1.25rem / 1 var(--font-head);
  font-variant-numeric: lining-nums;
  letter-spacing: 0.04em;
  text-transform: none;
}
.ar-rank:empty {
  margin-bottom: 0.25rem;
}
.ar-h3 {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  font: 600 2.25rem / 1.12 var(--font-head);
  letter-spacing: -0.01em;
  color: var(--ar-head);
  text-wrap: balance;
}
.ar-h3::before,
.ar-h3::after {
  content: "";
  flex: 1;
  min-width: 1.5rem;
  border-top: 1px solid var(--ar-line);
}
.ar-brand {
  font: 500 0.875rem / 1.5 var(--ar-head-font);
  color: var(--ar-brand);
}
/* PHOTO SIZE: Medium is the standard 5 | 5 split. The writer can
   pick Small (4 | 6, more room for words) or Large (6 | 4). */
.ar-prod:has(> .ar-prod__photo[data-size="s"]) {
  grid-template-areas:
    "head head head head head head head head head head"
    "photo photo photo photo main main main main main main"
    "more more more more more more more take take take";
}
.ar-prod:has(> .ar-prod__photo[data-size="l"]) {
  grid-template-areas:
    "head head head head head head head head head head"
    "photo photo photo photo photo photo main main main main"
    "more more more more more more more take take take";
}
.ar-prod__photo {
  grid-area: photo;
  align-self: start;
  justify-self: stretch;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 1.125rem;
  background: var(--ar-panel);
}
.ar-prod__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ar-prod__main {
  grid-area: main;
}
.ar-prod__more {
  grid-area: more;
}
.ar-prod__main,
.ar-prod__more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  min-width: 0;
}
.ar-writing {
  display: flex;
  flex-direction: column;
  gap: var(--ar-read-gap);
  min-width: 0;
}
.ar-prod .ar-writing p {
  font-weight: 500;
  color: var(--ar-text);
}
/* The price row: price on the left, Buy button on the right,
   "Also at" small underneath on the right */
.ar-prod__buy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.25rem 1rem;
  text-align: left;
}
.ar-prod__buy .ar-price-box {
  flex: 1 1 auto;
  min-width: 0;
}
.ar-prod__buy > .ar-also,
.ar-prod__buy > .ar-also-list {
  flex: 1 1 100%;
  justify-content: flex-end;
  text-align: right;
}
/* No price: "Available at <store>" over "Prices change often" */
.ar-price-box:has(.ar-price:empty) .ar-price,
.ar-price-box:has(.ar-price:empty) .ar-price-date {
  display: none;
}
.ar-price-box:has(.ar-price:empty)::before {
  content: "Available at " attr(data-store);
  display: block;
  font: 500 0.9375rem / 1.35 var(--ar-head-font);
  color: var(--ar-head);
}
/* No price and no Buy link: nothing to say, so the line hides */
.ar-prod__buy:not(:has(.ar-buy)) .ar-price-box:has(.ar-price:empty) {
  display: none;
}
.ar-price-box:has(.ar-price:empty)::after {
  content: "Prices change often";
  display: block;
  font: 400 0.8125rem / 1.5 var(--ar-head-font);
  color: var(--ar-soft);
}
.ar-price {
  display: block;
  font: 600 1.25rem / 1.2 var(--ar-head-font);
  color: var(--ar-head);
}
.ar-price-date {
  display: block;
  font: 400 0.8125rem / 1.5 var(--ar-head-font);
  color: var(--ar-soft);
}
.ar-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: var(--ar-read-width);
  padding-top: 1rem;
  border-top: 1px solid var(--ar-line);
}
.ar-notes h4 {
  margin-bottom: 0.375rem;
  font: 600 0.75rem / 1.5 var(--ar-head-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-head);
}
.ar-notes li {
  position: relative;
  padding-left: 1rem;
  font: 500 1rem / 1.55 var(--ar-read-font);
  color: var(--ar-text);
}
.ar-notes li::before {
  position: absolute;
  left: 0;
  color: var(--ar-accent);
  font-weight: 600;
}
.ar-notes__good li::before {
  content: "+";
}
.ar-notes__mind li::before {
  content: "–";
}
/* NOTES CLOSE UP: with one box hidden, the other takes the whole
   row; with both hidden, the notes line goes too. */
.ar-notes:not(:has(> div + div)) {
  grid-template-columns: minmax(0, 1fr);
}
.ar-notes:not(:has(> div)) {
  display: none;
}
.ar-take {
  grid-area: take;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0.5rem;
}
.ar-take__seal {
  display: block;
  width: min(100%, 14rem);
  height: auto;
  aspect-ratio: 220 / 280;
  overflow: visible;
}
.ar-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ar-prod.is-gone .ar-price {
  color: #7a5410;
  font-weight: 600;
}
.ar-prod.is-gone .ar-price-date {
  display: none;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Products
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Questions and bottom line
   ------------------------------------------------------------
   SUMMARY: Common questions, each separated by a thin line, with
   each question in Playfair to match the headings. The
   bottom line puts its words on the left and a "Back to the blog"
   button on the right (the :has(> .ar-end) rule finds that one section).
   It is a two-column grid, so when the writing has several
   paragraphs they stack down the left column (with the normal
   reading gap), and the button stays beside the first one. The left
   column is exactly as wide as the writing; the right column takes
   the empty space left over, and the button sits in its middle
   (IMPROVE #6), instead of hugging the page's far right edge. Phones
   stack everything, with the button full width underneath.
   ------------------------------------------------------------ */
.ar-qa {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.ar-qa + .ar-qa {
  padding-top: 1.125rem;
  border-top: 1px solid var(--ar-line);
}
.ar-qa h3 {
  font: 600 1.1875rem / 1.3 var(--font-head);
  letter-spacing: 0;
  color: var(--ar-head);
}
.ar-sec__body:has(> .ar-end) {
  display: grid;
  grid-template-columns: minmax(0, var(--ar-read-width)) minmax(max-content, 1fr);
  grid-auto-flow: row dense;
  align-items: center;
  gap: var(--ar-read-gap) 3rem;
}
.ar-sec__body:has(> .ar-end) > :not(.ar-end) {
  grid-column: 1;
}
.ar-end {
  display: flex;
  flex: none;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Questions and bottom line
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Keep reading
   ------------------------------------------------------------
   SUMMARY: Three same-size cards: a rounded photo framed by a thin
   black border, then the category in small spaced-out gold capitals
   and the title in Playfair, on the cream page. Each whole card is
   one link.
   ------------------------------------------------------------ */
.ar-more {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding-block: var(--ar-space) 3.5rem;
  border-top: 1px solid var(--ar-line);
}
.ar-more__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.ar-more__link {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.75rem;
  height: 100%;
  color: var(--ar-head);
}
.ar-more__link img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--ar-dark);
  border-radius: 0.875rem;
}
.ar-more__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ar-more__kicker {
  font: 600 0.6875rem / 1.4 var(--ar-head-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ar-accent);
}
.ar-more__title {
  font: 600 1.1875rem / 1.25 var(--font-head);
  letter-spacing: 0;
  text-wrap: balance;
}
.ar-more__link:hover .ar-more__title {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Keep reading
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Contact band
   ------------------------------------------------------------
   SUMMARY: On article pages only, the "Questions or ideas?" band
   above the footer wears the article's own background (the same
   cream and faint taupe damask) instead of the darker beige, with a
   faint taupe line on top, so the page flows into it seamlessly.
   Every other page keeps its normal band (style.css > FOOTER >
   Contact).
   HOW IT WORKS: body:has(.ar) only matches pages that contain an
   article. The colors are written out because the footer sits
   outside .ar, where the --ar colors live.
   ------------------------------------------------------------ */
body:has(.ar) .footer__contact {
  background: #fdfbf7;
  border-top: 1px solid #cdbfa8;
}
body:has(.ar) .footer__contact::before {
  background: #7a6450; /* same as --ar-taupe */
  opacity: 0.13;
  -webkit-mask: url("images/patterns/damask-gold.webp") repeat center top /
    13rem;
  mask: url("images/patterns/damask-gold.webp") repeat center top / 13rem;
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Contact band
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Laptops
   ------------------------------------------------------------
   SUMMARY: The compact page for laptops and every smaller screen
   (1400px wide and below). Same layout, everything one step smaller,
   so readers can scroll through quickly:
   - smaller headings and reading text, less space between
     sections (--ar-space);
   - a little less room inside the header card;
   - the product boxes sit closer together.
   PRODUCTS ON LAPTOPS AND TABLETS (673px to 1400px): the same
   zig-zag as desktop (big photo | words, then words | smaller Our
   Take), only tighter. The big photo keeps its 4:3 shape at every
   width, so a long paragraph never stretches it. A product with
   no writing beside the photo shows it wide (21:9).
   ------------------------------------------------------------ */
@media (max-width: 99.99em) {
  .ar {
    --ar-read-size: 1.0625rem;
    --ar-read-line: 1.55;
    --ar-read-gap: 0.875rem;
    --ar-space: 1.375rem;
  }
  .ar-cover {
    --ar-card-pad: 2.25rem; /* a little less room inside the header card */
  }
  .ar-meta {
    font-size: 0.8125rem;
  }
  .ar-meta__who {
    font-size: 1.625rem;
  }
  .ar-disclosure {
    font-size: 0.875rem;
  }
  .ar-h2 {
    font-size: 1.625rem;
  }
  .ar-sec__grid {
    gap: 0.75rem;
  }
  .ar-picks-title {
    font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.375rem);
  }
  .ar-front,
  .ar-pair {
    gap: 1rem 2.5rem;
  }
  .ar-short li {
    padding-block: 0.5rem;
  }
  .ar-short__name {
    font-size: 1rem;
  }
  .ar-buy,
  .ar-also {
    min-height: 2.625rem;
  }
  .ar-products {
    margin-top: 1rem;
  }
  .ar-prod {
    gap: 1rem 2rem;
    padding-block: 1.25rem;
  }
  .ar-prod__photo {
    border-radius: 0.875rem;
  }
  .ar-h3 {
    font-size: 1.75rem;
  }
  .ar-notes {
    gap: 1rem;
    padding-top: 0.75rem;
  }
  .ar-take__seal {
    width: min(100%, 12rem);
  }
  .ar-notes li {
    font-size: 0.9375rem;
  }
  .ar-qa h3 {
    font-size: 1.125rem;
  }
  .ar-more__title {
    font-size: 1.125rem;
  }
  .ar-more {
    padding-bottom: 2.5rem;
  }
}
@media (min-width: 42.0625em) and (max-width: 99.99em) {
  .ar-prod:not(:has(.ar-prod__main)) .ar-prod__photo {
    aspect-ratio: 21 / 9;
  }
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Laptops
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Tablets
   ------------------------------------------------------------
   SUMMARY: Up to 896px wide, the side-by-side pairs (How we chose /
   short list, How we choose / questions) stack into one column, short
   list first. Up to 832px, the header card stacks (CARD ON DAMASK):
   the wide cover photo across the top of the card (16 by 9), then
   the title and words, then the byline, all inside the page edges
   with the damask showing around the card. The products keep their 4 boxes, and the notes stack
   into one column so the words keep a comfortable width.
   ------------------------------------------------------------ */
@media (max-width: 56em) {
  .ar-front,
  .ar-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ar-space);
  }
  .ar-front > .ar-sec,
  .ar-pair > .ar-sec,
  .ar-front > .ar-sec:has(.ar-short),
  .ar-front > .ar-sec:not(:has(.ar-short)) {
    grid-row: auto;
    grid-column: 1;
  }
}
@media (max-width: 52em) {
  /* the header card stacks: wide photo on top, words under it */
  .ar-cover {
    --ar-card-pad: 1.75rem;
    grid-template-columns:
      minmax(var(--gutter), 1fr)
      minmax(0, calc(100% - var(--gutter) * 2))
      minmax(var(--gutter), 1fr);
    grid-template-rows: auto auto auto;
    padding-block: 1.5rem;
  }
  .ar-cover::after {
    grid-column: 2;
    grid-row: 1 / 4;
  }
  .ar-hero {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 1.25rem 1.25rem 0 0;
  }
  .ar-top {
    grid-row: 2;
    align-self: start;
    padding-top: 1.5rem;
  }
  .ar-byline {
    grid-row: 3;
    padding-top: 1rem;
  }
  .ar-prod {
    column-gap: 1.5rem;
  }
  .ar-notes {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.625rem;
  }
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Tablets
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   ▶ START: ARTICLE > Phones
   ------------------------------------------------------------
   SUMMARY: One column. The header card is tighter: the wide photo
   on top, then the title, then the byline. Less space inside the
   card and between product parts, and product photos are 16 by 9,
   so phones scroll less. The byline stacks: "By Caravan & Co",
   then the date on its own line (its dot hides), then the
   commission line, all starting on the same left edge. Each product's 4 boxes stack
   in reading order: name, photo, first writing with price and
   button, more writing and notes, then the logo box (the
   emblem and OUR PICK centered under the notes). Buttons go full
   width for easy tapping; the price row stacks and centres. The bottom line
   puts its button under the words, and Keep reading cards become
   rows with a small photo on the left. The writing stays at a
   comfortable phone size. Short list (up to 576px): name first, then the
   See price button centred in the box under it.
   ------------------------------------------------------------ */
@media (max-width: 42em) {
  .ar {
    --ar-read-line: 1.6;
  }
  .ar-cover {
    --ar-card-pad: 1.25rem; /* tighter card on phones */
    padding-block: 1rem;
  }
  .ar-top {
    padding-top: 1.125rem;
  }
  .ar-byline {
    padding-top: 0.75rem;
  }
  .ar-meta__dot {
    display: none;
  }
  .ar-meta__date {
    flex-basis: 100%;
  }
  .ar-prod {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
  }
  .ar-prod__photo {
    align-self: stretch; /* full width at every photo size */
    aspect-ratio: 16 / 9;
  }
  .ar-h3 {
    gap: 0.875rem;
    font-size: 1.625rem;
  }
  .ar-take {
    padding: 0.5rem 0 0;
  }
  .ar-take__seal {
    width: min(100%, 11rem);
  }
  .ar-prod__buy {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .ar-prod__buy > .ar-also,
  .ar-prod__buy > .ar-also-list {
    flex-basis: auto;
    text-align: center;
  }
  .ar-prod__buy .ar-buy {
    width: 100%;
  }
  .ar-prod__buy .ar-also {
    width: 100%;
    justify-content: center;
  }
  /* The "Also at" line: centred under the full-width Buy button */
  .ar-prod__buy .ar-also-list {
    flex-basis: 100%;
    text-align: center;
  }
  .ar-prod__buy .ar-also-list .ar-also {
    width: auto;
  }
  .ar-sec__body:has(> .ar-end) {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--ar-read-gap);
  }
  .ar-end .ar-back {
    width: 100%;
  }
  .ar-more__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .ar-more__link {
    grid-template-rows: none;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
  }
}
@media (max-width: 36em) {
  /* IMPROVE #5 (phone photo cards): the beige box gives way to one
     white card per pick, with soft round corners and a faint edge.
     Each card: the small product photo on the left; "Pick 1", the
     label and the name beside it; then the Buy button across the
     whole card, easy to tap. A pick with no photo just leaves the
     photo spot out. */
  .ar-short {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    background: none;
  }
  .ar-short li {
    grid-template-columns: 5rem minmax(0, 1fr);
    grid-template-areas:
      "photo num"
      "photo name"
      "photo price"
      "button button";
    grid-template-rows: auto auto 1fr auto;
    align-items: start;
    gap: 0.25rem 0.875rem;
    padding: 0.875rem;
    border-radius: 1rem;
    background: var(--ar-sheet);
    box-shadow: 0 0 0 1px var(--ar-line), 0 0.75rem 1.5rem -1.25rem rgba(59, 49, 41, 0.35);
  }
  .ar-short li:not(:has(.ar-short__photo:not([hidden]))) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "num" "name" "price" "button";
  }
  .ar-short li + li {
    border-top: 0;
  }
  /* the row number becomes a small gold "Pick 1" label */
  .ar-short li::before {
    content: "Pick " counter(ar-row);
    display: block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    color: var(--ar-accent);
    font: 600 0.75rem / 1.3 var(--ar-head-font);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .ar-short__photo {
    display: block;
    grid-area: photo;
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    object-fit: cover;
    background: var(--ar-panel);
  }
  .ar-short__item {
    flex-direction: column;
    gap: 0.125rem;
  }
  .ar-short__label {
    font-size: 0.8125rem;
  }
  .ar-short__label::after {
    content: none;
  }
  .ar-short__price {
    margin-top: 0.125rem;
  }
  .ar-short .ar-buy {
    width: 100%;
    max-width: none;
    min-height: 2.75rem;
    margin-top: 0.625rem;
    padding-inline: 1rem;
    font-size: 0.875rem;
  }
}
@media (max-width: 22.5em) {
  /* small phones: a slightly smaller photo so the name keeps room */
  .ar-short li {
    grid-template-columns: 4.25rem minmax(0, 1fr);
    gap: 0.25rem 0.75rem;
    padding: 0.75rem;
  }
  .ar-short__photo {
    width: 4.25rem;
    height: 4.25rem;
  }
  .ar-more__link {
    grid-template-columns: 6rem minmax(0, 1fr);
  }
}
/* ------------------------------------------------------------
   ■ END: ARTICLE > Phones
   ------------------------------------------------------------ */
/* ============================================================
   ■ END: ARTICLE PAGE (MASTER BLOCK)
   ============================================================ */
