/* TIAC chapters: the look the conference pages share.

   Loaded wherever the saved content has the iac-tiac-chaptered wrapper
   (iac-page-assets.php): the TIAC 2027 landing page and the pages under it.
   The conference keeps its own paper, serif and brown identity (working rule
   18). Chapters change colour on straight seams; a numbered seal sits across
   each seam and a gilt thread runs through it, so a page reads as one bound
   story (an idea from Toronto Tech Week, drawn in the conference's sepia).
   What only the landing page uses is in tiac-landing.css; what only the inner
   pages use is in tiac-pages.css. Both load after this file.

   Contents
   1. Tokens, frame, chapters, seams and margin rules
   2. Shared type, links and buttons
   3. Date line, live offer and figures
   4. Pillars on a thread, and numbered entries
   5. Day tickets on a gilt thread
   6. Photos as mounted prints
   7. Ticket cards
   8. The organization's card
   9. Narrow chapters and phones
   10. Motion
   11. Background drawings (the ticket, the maple leaf)
   12. The record: participants and recommend scores (iac-tiac-record.php) */

/* 1. Tokens, frame, chapters, seams and margin rules ---------------------- */
/* The frame and the margin rules are shared with the conference footer
   (footer.css), which sits outside the page content: its edges line up with
   the chapters, and the rules run on through it to the foot of the page. */
.iac-tiac-chaptered,
.iac-tiac-page:has(.iac-tiac-chaptered) .iac-tiac-site-footer {
  --iac-tiac-gutter: clamp(1rem, 4vw, 3rem);
  --iac-tiac-frame: min(80rem, calc(100% - 2 * var(--iac-tiac-gutter)));
  /* Margin rules sit 2.5rem outside the frame, never closer than half a gutter to the edge. */
  --iac-tiac-rule-x: max(calc(var(--iac-tiac-gutter) / 2), calc((100% - var(--iac-tiac-frame)) / 2 - 2.5rem));
  --iac-tiac-rule: #302c251a;
  /* Registration ticks: a short gilt stroke across each margin rule. */
  --iac-tiac-ticks: linear-gradient(to right,
    transparent calc(var(--iac-tiac-rule-x) - .4375rem),
    var(--iac-gilt) 0 calc(var(--iac-tiac-rule-x) + .5rem),
    transparent 0 calc(100% - var(--iac-tiac-rule-x) - .5rem),
    var(--iac-gilt) 0 calc(100% - var(--iac-tiac-rule-x) + .4375rem),
    transparent 0);
}

.iac-tiac-page:has(.iac-tiac-chaptered) .iac-tiac-footer-frame { width: var(--iac-tiac-frame); }

/* The footer follows the last chapter on a seam, with no gap, and carries
   the margin rules with a tick near its top and bottom (layers 1 and 2 of
   a chapter's background, below). The rules are written out again because
   dark chapters recolour them on the chapter itself. */
.iac-tiac-page:has(.iac-tiac-chaptered) .iac-tiac-site-footer {
  margin-top: 0;
  background-image:
    linear-gradient(to right,
      transparent var(--iac-tiac-rule-x),
      var(--iac-tiac-rule) var(--iac-tiac-rule-x) calc(var(--iac-tiac-rule-x) + 1px),
      transparent calc(var(--iac-tiac-rule-x) + 1px) calc(100% - var(--iac-tiac-rule-x) - 1px),
      var(--iac-tiac-rule) calc(100% - var(--iac-tiac-rule-x) - 1px) calc(100% - var(--iac-tiac-rule-x)),
      transparent calc(100% - var(--iac-tiac-rule-x))),
    var(--iac-tiac-ticks),
    var(--iac-tiac-ticks);
  background-position: 0 0, 0 .875rem, 0 calc(100% - .875rem);
  background-size: auto, 100% 1px, 100% 1px;
  background-repeat: no-repeat;
}

.iac-tiac-chaptered {
  --iac-tiac-band-space: clamp(3.5rem, 7vw, 6rem);
  --iac-tiac-gap: clamp(2rem, 5vw, 5rem);
  /* From a chapter's heading row to its content, and between its main pieces. */
  --iac-tiac-stack: clamp(2.25rem, 4.5vw, 3.5rem);
  /* Dividers inside a chapter are dashed, like the perforation on the ticket
     stubs; frames and card edges stay solid. */
  --iac-tiac-dash: 1px dashed var(--iac-tiac-band-dash, var(--iac-gilt));
  /* The seal across each seam, and how far the thread reaches either side of it. */
  --iac-tiac-seal: clamp(3.5rem, 6vw, 4.75rem);
  --iac-tiac-thread-above: clamp(2rem, 4vw, 3.25rem);
  --iac-tiac-thread-below: calc(var(--iac-tiac-band-space) - .75rem);
  --iac-tiac-oat: var(--iac-paper-inset);
  --iac-tiac-card-radius: .5rem;
  --iac-tiac-lift: 0 .25rem 1rem #302c250d, 0 1.25rem 2.5rem -1rem #302c252e;
  /* Colours for the chapter a piece sits in; dark chapters redefine them. */
  --iac-tiac-band-ink: var(--iac-tiac-ink);
  --iac-tiac-band-muted: var(--iac-tiac-muted);
  --iac-tiac-band-line: var(--iac-tiac-line);
  --iac-tiac-band-mark: var(--iac-accent);
  --iac-tiac-band-bg: var(--iac-tiac-paper);
  /* Mounted pieces (prints, cards, tiles) share one soft, two-layer shadow. */
  --iac-tiac-mount-shadow: 0 .125rem .25rem #302c2514, 0 .75rem 1.5rem -.5rem #302c2538;
  /* The four gilt corners of a mounted piece as background layers, for a rule
     that adds a layer of its own (a drawing, say) or cannot join the shared
     list below: background: var(--iac-tiac-mount-corners), <paper colour>. */
  --iac-tiac-mount-corners:
    linear-gradient(135deg, var(--iac-gilt) 0 .4375rem, transparent 0) 0 0 / .875rem .875rem no-repeat,
    linear-gradient(225deg, var(--iac-gilt) 0 .4375rem, transparent 0) 100% 0 / .875rem .875rem no-repeat,
    linear-gradient(45deg, var(--iac-gilt) 0 .4375rem, transparent 0) 0 100% / .875rem .875rem no-repeat,
    linear-gradient(315deg, var(--iac-gilt) 0 .4375rem, transparent 0) 100% 100% / .875rem .875rem no-repeat;
  /* Background drawings. tools/design/landing-ornaments.mjs builds the lines
     between the two markers (npm run ornaments:build); do not edit them here. */
  /* ornaments:start */
  --iac-tiac-plate-ticket: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 270' fill='none' stroke='%23fffefb' stroke-opacity='.2' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg transform='rotate(-9 200 135) translate(20 34)'%3E%3Cpath d='M20 25H340a10 10 0 0 1 10 10V88a12 12 0 0 0 0 24V165a10 10 0 0 1-10 10H20a10 10 0 0 1-10-10V112a12 12 0 0 0 0-24V35a10 10 0 0 1 10-10Z' transform='rotate(7 180 100) translate(6 -14)' stroke-dasharray='5 6'/%3E%3Cpath d='M20 25H340a10 10 0 0 1 10 10V88a12 12 0 0 0 0 24V165a10 10 0 0 1-10 10H20a10 10 0 0 1-10-10V112a12 12 0 0 0 0-24V35a10 10 0 0 1 10-10Z'/%3E%3Cpath d='M262 33V167' stroke-dasharray='5 6'/%3E%3Cpath d='M36 62H150M36 84H214M36 100H186M36 140H112'/%3E%3Ccircle cx='306' cy='100' r='20'/%3E%3Ccircle cx='306' cy='100' r='12' stroke-dasharray='2 4'/%3E%3C/g%3E%3C/svg%3E");
  --iac-tiac-plate-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-112 -116 224 236' fill='none' stroke='%23b79d79' stroke-opacity='.36' stroke-width='1.25' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg transform='rotate(14)'%3E%3Cpath d='M0 -100L16.6 -67.4L21.2 -66L37.5 -75.5L27.3 -22.9L32.9 -20L54 -42.8L59.3 -30.4L62.9 -28.5L90 -34.3L80.7 -5.7L82.4 -1.7L93 3.3L46 41.4L45 45L50.8 61L7.8 53.5L2.3 58.4L3.6 104L-3.6 104L-2.3 58.4L-7.8 53.5L-50.8 61L-45 45L-46 41.4L-93 3.3L-82.4 -1.7L-80.7 -5.7L-90 -34.3L-62.9 -28.5L-59.3 -30.4L-54 -42.8L-32.9 -20L-27.3 -22.9L-37.5 -75.5L-21.2 -66L-16.6 -67.4Z'/%3E%3Cpath d='M0 52L0 -84M0 52L72 -27M0 52L-72 -27M0 52L36 46M0 52L-36 46' stroke-dasharray='3 5'/%3E%3C/g%3E%3C/svg%3E");
  --iac-tiac-plate-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 240' fill='none' stroke='%23b79d79' stroke-opacity='.5' stroke-width='1.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cg transform='rotate(10 100 120)'%3E%3Cpath d='M100 206C64 160 44 126 44 96a56 56 0 0 1 112 0c0 30-20 64-56 110Z'/%3E%3Ccircle cx='100' cy='96' r='22'/%3E%3Ccircle cx='100' cy='96' r='13' stroke-dasharray='3 5'/%3E%3Cellipse cx='100' cy='214' rx='46' ry='9' stroke-dasharray='4 6'/%3E%3C/g%3E%3C/svg%3E");
  /* ornaments:end */
  overflow-x: clip;
  counter-reset: iac-tiac-chapter;
}

.iac-tiac-chaptered .iac-tiac-frame,
.iac-tiac-chaptered .iac-tiac-shell {
  width: var(--iac-tiac-frame);
  margin-inline: auto !important;
}

/* Each chapter measures itself, so its layout follows enlarged text too.
   Its background is built in layers, front to back:
   1. Two faint rules down either side of the frame, like the margins of a
      printed page; they carry on through every chapter.
   2. A short gilt tick across each rule near the chapter's top and bottom,
      like a printer's registration marks.
   3. The outline ticket, in the tickets chapter only (section 13).
   4. On dark chapters, a soft warm light from the seal above.
   All of it is decoration in the background; none of it is content. */
.iac-tiac-chaptered .iac-tiac-band {
  position: relative;
  container: iac-tiac-band / inline-size;
  padding-block: var(--iac-tiac-band-space);
  background-color: var(--iac-tiac-band-bg);
  background-image:
    linear-gradient(to right,
      transparent var(--iac-tiac-rule-x),
      var(--iac-tiac-rule) var(--iac-tiac-rule-x) calc(var(--iac-tiac-rule-x) + 1px),
      transparent calc(var(--iac-tiac-rule-x) + 1px) calc(100% - var(--iac-tiac-rule-x) - 1px),
      var(--iac-tiac-rule) calc(100% - var(--iac-tiac-rule-x) - 1px) calc(100% - var(--iac-tiac-rule-x)),
      transparent calc(100% - var(--iac-tiac-rule-x))),
    var(--iac-tiac-ticks),
    var(--iac-tiac-ticks),
    var(--iac-tiac-plate, none),
    var(--iac-tiac-band-glow, none);
  background-position:
    0 0,
    0 .875rem,
    0 calc(100% - .875rem),
    var(--iac-tiac-plate-at, 0 0),
    0 0;
  background-size:
    auto,
    100% 1px,
    100% 1px,
    var(--iac-tiac-plate-size, auto),
    auto;
  background-repeat: no-repeat;
  color: var(--iac-tiac-band-ink);
}

.iac-tiac-chaptered .iac-tiac-band.is-oat { --iac-tiac-band-bg: var(--iac-tiac-oat); }

.iac-tiac-chaptered .iac-tiac-band:is(.is-ink, .is-brown) {
  --iac-tiac-band-ink: var(--iac-tiac-paper);
  --iac-tiac-band-muted: #e6dccb;
  --iac-tiac-band-line: #ffffff33;
  --iac-tiac-band-mark: var(--iac-gilt);
  --iac-tiac-rule: #ffffff1f;
}

.iac-tiac-chaptered .iac-tiac-band.is-ink {
  --iac-tiac-band-bg: var(--iac-tiac-ink);
  --iac-tiac-band-glow: radial-gradient(56rem 26rem at 50% 0, #463f35, transparent);
}

.iac-tiac-chaptered .iac-tiac-band.is-brown {
  --iac-tiac-band-muted: #f4ebde;
  --iac-tiac-band-mark: var(--iac-tiac-paper);
  /* Gilt barely shows on brown. */
  --iac-tiac-band-dash: #ffffff66;
  --iac-tiac-band-bg: var(--iac-accent);
  --iac-tiac-band-glow: radial-gradient(56rem 26rem at 50% 0, #83603f, transparent);
}

/* Each chapter lies over the one before like a turned page: a soft shadow
   falls along the seam onto the chapter above. */
.iac-tiac-chaptered .iac-tiac-band.has-seam { box-shadow: 0 -.5rem 1.25rem -.5rem #1d140b4d; }

/* Narrow screens have no room beside the frame for margin rules (they move
   off-screen, and their ticks go with them), and the thread stays short so
   it ends before the first line. */
@media (max-width: 48rem) {
  .iac-tiac-chaptered,
  .iac-tiac-page:has(.iac-tiac-chaptered) .iac-tiac-site-footer {
    --iac-tiac-rule-x: -2px;
    --iac-tiac-ticks: none;
  }

  .iac-tiac-chaptered { --iac-tiac-thread-above: 1.75rem; }
}

/* Mounted pieces: a white card with gilt corners, like a photo held in an
   album, and the shared soft shadow. Prints, figures, the topics card,
   testimonials and sponsor tiles all use it, so they read as one set. */
.iac-tiac-page .iac-tiac-chaptered :is(.iac-tiac-facts .iac-tiac-stat, .iac-tiac-album > .wp-block-image, .iac-tiac-print-stack > .wp-block-image, .iac-tiac-topics, .iac-testimonials-grid > .iac-testimonial, .iac-tiac-sponsor-logos > .iac-confirmed-sponsor-mark, .iac-tiac-card, .iac-tiac-keyfacts) {
  --iac-tiac-corner: .875rem;
  background:
    linear-gradient(135deg, var(--iac-gilt) 0 calc(var(--iac-tiac-corner) / 2), transparent 0) 0 0 / var(--iac-tiac-corner) var(--iac-tiac-corner) no-repeat,
    linear-gradient(225deg, var(--iac-gilt) 0 calc(var(--iac-tiac-corner) / 2), transparent 0) 100% 0 / var(--iac-tiac-corner) var(--iac-tiac-corner) no-repeat,
    linear-gradient(45deg, var(--iac-gilt) 0 calc(var(--iac-tiac-corner) / 2), transparent 0) 0 100% / var(--iac-tiac-corner) var(--iac-tiac-corner) no-repeat,
    linear-gradient(315deg, var(--iac-gilt) 0 calc(var(--iac-tiac-corner) / 2), transparent 0) 100% 100% / var(--iac-tiac-corner) var(--iac-tiac-corner) no-repeat,
    var(--iac-paper-raised);
  box-shadow: var(--iac-tiac-mount-shadow);
}

/* Seams. Chapters meet on a straight line. A seal with the chapter's number
   (as in its label, "01 / About TIAC") sits across the line, and a gilt
   double thread runs from the chapter before, through the seal, to a small
   ring above the new chapter's content. Both are drawn, never read aloud. */
.iac-tiac-chaptered .iac-tiac-band.has-seam { counter-increment: iac-tiac-chapter; }

/* The testimonials chapter has no number of its own. */
.iac-tiac-chaptered .iac-tiac-band.has-seam.iac-testimonials-slot { counter-increment: none; }

.iac-tiac-chaptered .iac-tiac-band.has-seam::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: calc(-1 * var(--iac-tiac-thread-above));
  left: 50%;
  width: 13px;
  height: calc(var(--iac-tiac-thread-above) + var(--iac-tiac-thread-below));
  translate: -50% 0;
  background:
    linear-gradient(var(--iac-gilt) 0 0) 3px 0 / 1px calc(100% - 12px) no-repeat,
    linear-gradient(var(--iac-gilt) 0 0) 9px 0 / 1px calc(100% - 12px) no-repeat,
    radial-gradient(circle closest-side, transparent 3.5px, var(--iac-gilt) 4px 5.5px, transparent 6px) 50% 100% / 13px 13px no-repeat;
  pointer-events: none;
}

.iac-tiac-chaptered .iac-tiac-band.has-seam::after {
  /* The second declaration hides the number from screen readers where supported. */
  content: counter(iac-tiac-chapter, decimal-leading-zero);
  content: counter(iac-tiac-chapter, decimal-leading-zero) / '';
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: var(--iac-tiac-seal);
  aspect-ratio: 1;
  /* The italic numerals' ink leans right of their box and sits a hair low;
     the uneven padding moves the ink onto the seal's centre. All ten digits
     share one height, so one correction suits every number. */
  padding: 0 .15em .04em 0;
  translate: -50% -50%;
  border: 1px solid var(--iac-gilt);
  border-radius: 50%;
  background: var(--iac-tiac-paper);
  /* An inner gilt ring, like a stamped seal. */
  box-shadow: inset 0 0 0 .3125rem var(--iac-tiac-paper), inset 0 0 0 calc(.3125rem + 1px) var(--iac-gilt), 0 .375rem 1rem #302c2524;
  color: var(--iac-accent);
  font: italic 400 max(1rem, calc(clamp(1.5rem, 2.4vw, 2rem) * var(--iac-ui-scale, 1)))/1 'DM Serif Display', Georgia, serif;
  letter-spacing: -.02em;
  pointer-events: none;
}

/* Testimonials: an open quote mark instead of a number. */
.iac-tiac-chaptered .iac-tiac-band.has-seam.iac-testimonials-slot::after {
  content: '\201C';
  content: '\201C' / '';
  padding: .45em 0 0;
  font-size: max(1rem, calc(clamp(2.75rem, 4.4vw, 3.5rem) * var(--iac-ui-scale, 1)));
  font-style: normal;
}

/* 2. Shared type, links and buttons -------------------------------------- */
.iac-tiac-chaptered h2 {
  font: 400 max(1rem, calc(clamp(2.25rem, 4.4vw, 3.75rem) * var(--iac-ui-scale, 1)))/1.06 'DM Serif Display', Georgia, serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.iac-tiac-chaptered h3 {
  margin: 0;
  font: 400 max(1rem, calc(clamp(1.5rem, 2.2vw, 1.875rem) * var(--iac-ui-scale, 1)))/1.15 'DM Serif Display', Georgia, serif;
  letter-spacing: -.02em;
}

/* Copy columns stack with even gaps instead of the flow layout's margins. */
.iac-tiac-chaptered :is(.iac-tiac-opening-copy, .iac-tiac-band-title, .iac-tiac-band-lead, .iac-tiac-pillar, .iac-tiac-day, .iac-tiac-lineup-copy, .iac-tiac-closing-sponsors, .iac-tiac-iac-heading, .iac-tiac-iac-copy) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.iac-tiac-chaptered :is(.iac-tiac-opening-copy, .iac-tiac-band-title, .iac-tiac-band-lead, .iac-tiac-pillar, .iac-tiac-day, .iac-tiac-lineup-copy, .iac-tiac-closing-sponsors, .iac-tiac-iac-heading, .iac-tiac-iac-copy) > * {
  margin: 0 !important;
}

.iac-tiac-chaptered .iac-tiac-chapter-label {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--iac-tiac-band-muted);
  font-size: var(--iac-type-small);
  line-height: 1.5;
}

/* A short rule before each label, in the chapter's mark colour. */
.iac-tiac-chaptered .iac-tiac-chapter-label::before {
  content: '';
  flex: 0 0 1.75rem;
  height: 2px;
  background: var(--iac-tiac-band-mark);
}

/* Title on the left, lead on the right, as on IAC Home. */
.iac-tiac-chaptered .iac-tiac-band-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem var(--iac-tiac-gap);
  align-items: end;
}

.iac-tiac-chaptered .iac-tiac-band-lead {
  max-width: 36rem;
  color: var(--iac-tiac-band-muted);
  font-size: var(--iac-type-reading);
  line-height: 1.75;
}

.iac-tiac-chaptered .iac-tiac-text-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 2rem;
}

.iac-tiac-chaptered .iac-tiac-text-links > * { margin: 0 !important; }

/* A link that wraps breaks evenly, so its arrow is never alone on a line. */
.iac-tiac-chaptered .iac-tiac-text-link { text-wrap: balance; }

.iac-tiac-chaptered .iac-tiac-text-link a {
  color: var(--iac-tiac-band-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.iac-tiac-page .iac-tiac-chaptered .iac-tiac-text-link a:is(:hover, :focus-visible) {
  color: var(--iac-tiac-band-ink);
  text-decoration-thickness: 2px;
}

.iac-tiac-page .iac-tiac-chaptered :is(.is-ink, .is-brown, .iac-tiac-iac) a:hover { color: var(--iac-tiac-paper); }
.iac-tiac-page .iac-tiac-chaptered :is(.is-ink, .is-brown, .iac-tiac-iac) a:focus-visible { outline-color: var(--iac-tiac-paper); }

/* Light buttons on the dark chapters and the IAC card. */
.iac-tiac-page .iac-tiac-chaptered :is(.is-ink, .is-brown, .iac-tiac-iac) .wp-block-button__link {
  border-color: var(--iac-tiac-paper);
  background: var(--iac-tiac-paper);
  color: var(--iac-tiac-ink);
}

.iac-tiac-page .iac-tiac-chaptered :is(.is-ink, .is-brown, .iac-tiac-iac) .wp-block-button__link:hover {
  background: var(--iac-tiac-oat);
  color: var(--iac-tiac-ink);
}

.iac-tiac-page .iac-tiac-chaptered :is(.is-ink, .is-brown, .iac-tiac-iac) .iac-tiac-secondary .wp-block-button__link {
  background: transparent;
  color: var(--iac-tiac-paper);
}

.iac-tiac-page .iac-tiac-chaptered :is(.is-ink, .is-brown, .iac-tiac-iac) .iac-tiac-secondary .wp-block-button__link:hover {
  background: #ffffff1f;
  color: var(--iac-tiac-paper);
}

.iac-tiac-chaptered .iac-tiac-actions {
  justify-content: flex-start;
  margin: 0 !important;
}

.iac-tiac-chaptered .iac-tiac-eyebrow { color: var(--iac-tiac-muted); }

/* 3. Date line, live offer and figures ------------------------------------ */
/* Date and venue read as one line of a ticket stub. */
.iac-tiac-chaptered .iac-tiac-dateline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  width: fit-content;
  max-width: 100%;
  padding: .75rem 1.25rem .75rem 1rem;
  border-left: 4px solid var(--iac-accent);
  background: var(--iac-tiac-oat);
}

.iac-tiac-chaptered .iac-tiac-dateline > * { margin: 0 !important; }

.iac-tiac-chaptered .iac-tiac-dateline .iac-tiac-date {
  font: 400 max(1rem, calc(clamp(1.5rem, 2.4vw, 2rem) * var(--iac-ui-scale, 1)))/1.2 'DM Serif Display', Georgia, serif;
  letter-spacing: -.02em;
}

.iac-tiac-chaptered .iac-tiac-dateline .iac-tiac-venue {
  padding-left: 1.25rem;
  border-left: 1px dashed var(--iac-tiac-control-line, var(--iac-tiac-line));
  color: var(--iac-tiac-ink);
}

.iac-tiac-chaptered .iac-tiac-dateline .iac-tiac-venue a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.iac-tiac-chaptered :is(.iac-tiac-countdown-label, .iac-tiac-console-label, .iac-tiac-offer-label) {
  color: var(--iac-tiac-muted);
  font-size: var(--iac-type-small);
  line-height: 1.5;
}

/* The live offer ([iac_tiac_ticket_offer]): label, price, pass, end date. */
.iac-tiac-chaptered .iac-tiac-offer-line {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.iac-tiac-chaptered .iac-tiac-offer-line > * { margin: 0 !important; }

.iac-tiac-chaptered .iac-tiac-offer-price {
  font: 400 max(1rem, calc(clamp(1.75rem, 2.6vw, 2.25rem) * var(--iac-ui-scale, 1)))/1.15 'DM Serif Display', Georgia, serif;
}

.iac-tiac-chaptered .iac-tiac-offer-price del {
  margin-right: .375rem;
  color: var(--iac-tiac-muted);
  font-size: max(1rem, .6em);
}

.iac-tiac-chaptered .iac-tiac-offer-price ins { text-decoration: none; }

.iac-tiac-chaptered .iac-tiac-offer-what { font-weight: 600; line-height: 1.5; }
.iac-tiac-chaptered .iac-tiac-offer-note { color: var(--iac-tiac-muted); line-height: 1.5; }

/* The figures as mounted tiles (section 1), one row until tablet width: a
   double tile for the program mix, then four single figures. */
.iac-tiac-chaptered .iac-tiac-facts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.75rem, 1.5vw, 1rem);
  margin-top: clamp(1.5rem, 3vw, 2.25rem) !important;
}

.iac-tiac-page .iac-tiac-chaptered .iac-tiac-facts .iac-tiac-stat {
  --iac-tiac-corner: .75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  margin: 0 !important;
  padding: 1.5rem var(--iac-tiac-stat-pad, .75rem) 1.375rem;
  border: 1px solid var(--iac-tiac-line);
  border-radius: .25rem;
  text-align: center;
}

/* style.css gives the last tile a full row on phones; the mix tile has it here. */
.iac-tiac-page .iac-tiac-chaptered .iac-tiac-facts .iac-tiac-stat:last-child { grid-column: auto; }

.iac-tiac-chaptered .iac-tiac-facts :is(.iac-tiac-stat, .iac-tiac-mix-part) > * { margin: 0 !important; }

.iac-tiac-chaptered .iac-tiac-facts .iac-tiac-stat-value {
  font-size: max(1rem, calc(clamp(2.5rem, 4vw, 3.5rem) * var(--iac-ui-scale, 1)));
  line-height: 1.05;
}

.iac-tiac-chaptered .iac-tiac-facts .iac-tiac-stat-label {
  margin-top: .375rem !important;
  color: var(--iac-tiac-muted);
}

/* The program mix: business on the left, craft on the right, over a bar
   divided 85 to 15. The bar is drawn; the two figures say the same thing. */
.iac-tiac-page .iac-tiac-chaptered .iac-tiac-facts .iac-tiac-mix {
  --iac-tiac-stat-pad: clamp(1rem, 2vw, 1.5rem);
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem 1rem;
  align-content: center;
  align-items: end;
  text-align: left;
}

.iac-tiac-chaptered .iac-tiac-mix-part:last-child { text-align: right; }

.iac-tiac-chaptered .iac-tiac-mix::after {
  content: '';
  grid-column: 1 / -1;
  height: .375rem;
  border-radius: 1rem;
  background: linear-gradient(to right,
    var(--iac-accent) calc(85% - 2px),
    transparent 0 calc(85% + 2px),
    var(--iac-gilt) 0);
}

/* 4. Pillars on a thread, and numbered entries ------------------------------ */
/* Learn, Connect and Grow sit on one dashed thread that runs through their
   seals and ends in a small ring, like the thread across the seams. */
.iac-tiac-chaptered .iac-tiac-pillars {
  --iac-tiac-pillar-seal: 3.25rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: var(--iac-tiac-stack) !important;
}

.iac-tiac-chaptered .iac-tiac-pillars::before,
.iac-tiac-chaptered .iac-tiac-pillars::after {
  content: '';
  position: absolute;
  top: calc(var(--iac-tiac-pillar-seal) / 2);
  pointer-events: none;
}

.iac-tiac-chaptered .iac-tiac-pillars::before {
  inset-inline: 0 .6875rem;
  border-top: var(--iac-tiac-dash);
}

.iac-tiac-chaptered .iac-tiac-pillars::after {
  right: 0;
  width: .6875rem;
  aspect-ratio: 1;
  border: 1.5px solid var(--iac-gilt);
  border-radius: 50%;
  translate: 0 -50%;
}

.iac-tiac-chaptered .iac-tiac-pillar { gap: .75rem; }

.iac-tiac-chaptered .iac-tiac-pillar-label {
  color: var(--iac-accent);
  font-size: var(--iac-type-small);
  font-weight: 700;
}

/* A small seal with a sepia line drawing above each pillar: an open book,
   two speech bubbles and a sprout. Drawn, so never read aloud. */
.iac-tiac-chaptered .iac-tiac-pillar::before {
  content: '';
  /* Above the thread, which passes behind each seal. */
  position: relative;
  width: var(--iac-tiac-pillar-seal);
  aspect-ratio: 1;
  margin-bottom: .5rem;
  border: 1px solid var(--iac-gilt);
  border-radius: 50%;
  background: var(--iac-tiac-pillar-icon) center / 1.625rem no-repeat, var(--iac-tiac-paper);
  box-shadow: inset 0 0 0 .25rem var(--iac-tiac-paper), inset 0 0 0 calc(.25rem + 1px) #b79d7966, var(--iac-tiac-mount-shadow);
}

.iac-tiac-chaptered .iac-tiac-pillar:nth-child(1) { --iac-tiac-pillar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23795839' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3 5.5c3-1 6-.8 9 1.2 3-2 6-2.2 9-1.2v13c-3-1-6-.8-9 1.2-3-2-6-2.2-9-1.2z'/%3E%3Cpath d='M12 6.7v13.2'/%3E%3C/svg%3E"); }
.iac-tiac-chaptered .iac-tiac-pillar:nth-child(2) { --iac-tiac-pillar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23795839' stroke-width='1.5' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5h10A1.5 1.5 0 0 1 15 6v5.5a1.5 1.5 0 0 1-1.5 1.5H8l-3 2.75V13H3.5A1.5 1.5 0 0 1 2 11.5V6a1.5 1.5 0 0 1 1.5-1.5z'/%3E%3Cpath d='M17.5 8.5h3A1.5 1.5 0 0 1 22 10v5.5a1.5 1.5 0 0 1-1.5 1.5H19v2.75L16 17h-4.5a1.5 1.5 0 0 1-1.5-1.5V15'/%3E%3C/svg%3E"); }
.iac-tiac-chaptered .iac-tiac-pillar:nth-child(3) { --iac-tiac-pillar-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23795839' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-8.5'/%3E%3Cpath d='M12 12.5C12 8.6 9.2 6 5 6c0 3.9 2.8 6.5 7 6.5z'/%3E%3Cpath d='M12 10.5c0-3.3 2.5-5.5 6.5-5.5 0 3.3-2.5 5.5-6.5 5.5z'/%3E%3Cpath d='M7.5 21h9'/%3E%3C/svg%3E"); }

.iac-tiac-chaptered .iac-tiac-pillar p:not(.iac-tiac-pillar-label) {
  color: var(--iac-tiac-muted);
  line-height: 1.7;
}

/* What TIAC covers: the parts of an author business as numbered entries,
   three to a row, under a heading row set on the same three columns. Each
   entry is a short serif title over one plain line, so the list can be
   scanned by title and read by line. */
.iac-tiac-chaptered .iac-tiac-topics {
  --iac-tiac-topics-pad: clamp(1.5rem, 3.5vw, 2.75rem);
  --iac-tiac-topic-space: 1.25rem;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: var(--iac-tiac-stack) !important;
  /* The last row of entries brings its own space below. */
  padding: var(--iac-tiac-topics-pad) var(--iac-tiac-topics-pad) calc(var(--iac-tiac-topics-pad) - var(--iac-tiac-topic-space));
  border-radius: .25rem;
}

.iac-tiac-chaptered :is(.iac-tiac-topics, .iac-tiac-topics-head) > * { margin: 0 !important; }

.iac-tiac-chaptered :is(.iac-tiac-topics-head, .iac-tiac-topic-list) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
}

.iac-tiac-chaptered .iac-tiac-topics-head {
  row-gap: .875rem;
  align-items: start;
}

.iac-tiac-chaptered .iac-tiac-topics-note {
  color: var(--iac-tiac-muted);
  line-height: 1.7;
}

.iac-tiac-chaptered .iac-tiac-topic-list {
  padding: 0;
  list-style: none;
  counter-reset: iac-tiac-topic;
}

.iac-tiac-chaptered .iac-tiac-topic-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .25rem .875rem;
  align-content: start;
  margin: 0;
  padding: 1.125rem 0 var(--iac-tiac-topic-space);
  border-top: var(--iac-tiac-dash);
  color: var(--iac-tiac-muted);
  line-height: 1.65;
  counter-increment: iac-tiac-topic;
}

/* The entry's number, in the label face. Drawn, so it is not read aloud. */
.iac-tiac-chaptered .iac-tiac-topic-list li::before {
  content: counter(iac-tiac-topic, decimal-leading-zero);
  content: counter(iac-tiac-topic, decimal-leading-zero) / '';
  grid-row: 1 / span 2;
  padding-top: .3125rem;
  color: var(--iac-accent);
  font: 600 var(--iac-type-small)/1.5 'Courier New', monospace;
  letter-spacing: .06em;
}

.iac-tiac-chaptered .iac-tiac-topic-list li strong {
  display: block;
  color: var(--iac-tiac-ink);
  font: 400 max(1.125rem, calc(1.5rem * var(--iac-ui-scale, 1)))/1.25 'DM Serif Display', Georgia, serif;
  letter-spacing: -.01em;
}

/* 5. Day tickets on a gilt thread ------------------------------------------ */
/* Each day is a paper ticket lifted off the dark chapter, with a gilt thread
   running behind all three. Its last line is a stub, torn along a perforated
   line with a notch cut from each side; the whole stub links to the passes. */
.iac-tiac-chaptered .iac-tiac-days {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: var(--iac-tiac-stack) !important;
}

.iac-tiac-chaptered .iac-tiac-days::before {
  content: '';
  position: absolute;
  top: 3.5rem;
  inset-inline: 0;
  height: 7px;
  border-block: 1px solid var(--iac-gilt);
  pointer-events: none;
}

/* Paper colours inside each ticket, whatever the chapter around it. */
.iac-tiac-chaptered .iac-tiac-day {
  --iac-tiac-band-ink: var(--iac-tiac-ink);
  --iac-tiac-band-muted: var(--iac-tiac-muted);
  --iac-tiac-band-line: var(--iac-tiac-line);
  --iac-tiac-stub-pad: clamp(1.25rem, 2.5vw, 1.75rem);
  position: relative;
  gap: .75rem;
  padding: var(--iac-tiac-stub-pad);
  border-radius: .375rem;
  background: var(--iac-tiac-paper);
  color: var(--iac-tiac-ink);
  box-shadow: var(--iac-tiac-mount-shadow);
}

.iac-tiac-chaptered .iac-tiac-day-date {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  color: var(--iac-tiac-muted);
  font: 600 var(--iac-type-small)/1.4 'Courier New', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.iac-tiac-chaptered .iac-tiac-day-number {
  color: var(--iac-accent);
  font: 400 max(1rem, calc(clamp(3.5rem, 6vw, 5rem) * var(--iac-ui-scale, 1)))/.95 'DM Serif Display', Georgia, serif;
  letter-spacing: -.04em;
  text-transform: none;
}

.iac-tiac-chaptered .iac-tiac-day p:not(.iac-tiac-day-date, .iac-tiac-day-ticket) {
  color: var(--iac-tiac-muted);
  line-height: 1.7;
}

.iac-tiac-chaptered .iac-tiac-day .iac-tiac-day-extra { font-style: italic; }

.iac-tiac-chaptered .iac-tiac-day-ticket {
  position: relative;
  margin: auto calc(-1 * var(--iac-tiac-stub-pad)) calc(-1 * var(--iac-tiac-stub-pad)) !important;
  padding: 1rem var(--iac-tiac-stub-pad);
  border-top: 2px dashed var(--iac-tiac-control-line, var(--iac-tiac-line));
  border-radius: 0 0 .375rem .375rem;
  background: var(--iac-tiac-oat);
  font-weight: 700;
  line-height: 1.5;
  transition: background-color 200ms ease;
}

/* The notches: half circles in the chapter's own colour, drawn inside the
   stub's edges so nothing overflows it. */
.iac-tiac-chaptered .iac-tiac-day-ticket::before,
.iac-tiac-chaptered .iac-tiac-day-ticket::after {
  content: '';
  position: absolute;
  top: -1px;
  width: .625rem;
  height: 1.25rem;
  background: var(--iac-tiac-ink);
  translate: 0 -50%;
}

.iac-tiac-chaptered .iac-tiac-day-ticket::before { left: 0; border-radius: 0 100vmax 100vmax 0; }
.iac-tiac-chaptered .iac-tiac-day-ticket::after { right: 0; border-radius: 100vmax 0 0 100vmax; }

.iac-tiac-page .iac-tiac-chaptered .iac-tiac-day-ticket a {
  color: var(--iac-tiac-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

/* The whole stub is the link's target. */
.iac-tiac-chaptered .iac-tiac-day-ticket a::after {
  content: '';
  position: absolute;
  inset: 0;
}

.iac-tiac-chaptered .iac-tiac-day-ticket:hover { background-color: #ece5d8; }

.iac-tiac-page .iac-tiac-chaptered .iac-tiac-days .iac-tiac-day-ticket a:is(:hover, :focus-visible) {
  color: var(--iac-tiac-ink);
  text-decoration-thickness: 2px;
}

.iac-tiac-page .iac-tiac-chaptered .iac-tiac-days .iac-tiac-day-ticket a:focus-visible { outline-color: var(--iac-accent); }

.iac-tiac-chaptered .iac-tiac-days-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 2rem;
  margin-top: var(--iac-tiac-stack) !important;
  padding-top: 1.25rem;
  border-top: var(--iac-tiac-dash);
  color: var(--iac-tiac-band-muted);
}

.iac-tiac-chaptered .iac-tiac-days-note > * { margin: 0 !important; }

/* 6. Photos as mounted prints: a pair beside a heading, and an album ------- */
/* A print: the photo on a white mount (section 1) with its caption written
   underneath and a slight tilt. Prints overlap a little, like photos laid on
   a page; hovering one brings it to the front (section 12). */
.iac-tiac-page .iac-tiac-chaptered :is(.iac-tiac-album, .iac-tiac-print-stack) > .wp-block-image {
  position: relative;
  margin: 0 !important;
  padding: .5rem .5rem .75rem;
  border-radius: .1875rem;
  rotate: var(--iac-tiac-tilt, 0deg);
}

/* On dark chapters the mounts need a deeper shadow to lift off the page. */
.iac-tiac-chaptered .is-ink { --iac-tiac-mount-shadow: 0 .125rem .25rem #0000004d, 0 1rem 2rem -.75rem #00000080; }

.iac-tiac-page .iac-tiac-chaptered :is(.iac-tiac-album, .iac-tiac-print-stack) > .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0;
}

.iac-tiac-page .iac-tiac-chaptered :is(.iac-tiac-album, .iac-tiac-print-stack) > .wp-block-image figcaption {
  margin: .625rem .25rem 0 !important;
  color: var(--iac-tiac-ink);
  font-size: var(--iac-type-small);
  line-height: 1.45;
  text-align: left;
}

/* About: the title and lead on the left, two overlapping prints on the right. */
.iac-tiac-chaptered .iac-tiac-band-heading.has-photos {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'title photos' 'lead photos';
  align-items: start;
  row-gap: 1.75rem;
}

.iac-tiac-chaptered .iac-tiac-band-heading.has-photos > .iac-tiac-band-title { grid-area: title; }
.iac-tiac-chaptered .iac-tiac-band-heading.has-photos > .iac-tiac-band-lead { grid-area: lead; }

.iac-tiac-chaptered .iac-tiac-print-stack {
  grid-area: photos;
  position: relative;
  display: grid;
  align-self: center;
  justify-self: end;
  width: min(100%, 31rem);
  padding: 0 0 3.5rem 18%;
}

/* The second print sits lower and to the left, over the first one's corner. */
.iac-tiac-page .iac-tiac-chaptered .iac-tiac-print-stack > .wp-block-image:first-child { --iac-tiac-tilt: 2deg; }

.iac-tiac-page .iac-tiac-chaptered .iac-tiac-print-stack > .wp-block-image:last-child {
  --iac-tiac-tilt: -2.5deg;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 58%;
}

/* Past conferences: eight prints, four to a row, nudged up and down. */
.iac-tiac-chaptered .iac-tiac-album {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(.5rem, 1.5vw, 1rem);
  margin-top: var(--iac-tiac-stack) !important;
  padding-inline: .5rem;
}

.iac-tiac-page .iac-tiac-chaptered .iac-tiac-album > .wp-block-image:nth-child(4n + 1) { --iac-tiac-tilt: -1.5deg; }
.iac-tiac-page .iac-tiac-chaptered .iac-tiac-album > .wp-block-image:nth-child(4n + 2) { --iac-tiac-tilt: 1deg; translate: 0 1rem; }
.iac-tiac-page .iac-tiac-chaptered .iac-tiac-album > .wp-block-image:nth-child(4n + 3) { --iac-tiac-tilt: -.75deg; translate: 0 -.375rem; }
.iac-tiac-page .iac-tiac-chaptered .iac-tiac-album > .wp-block-image:nth-child(4n + 4) { --iac-tiac-tilt: 1.5deg; translate: 0 .75rem; }

.iac-tiac-chaptered .iac-tiac-past-lead {
  color: var(--iac-tiac-band-muted);
  font-size: var(--iac-type-reading);
  line-height: 1.75;
}

/* 7. Ticket cards ---------------------------------------------------------- */
.iac-tiac-chaptered .iac-tiac-booking .iac-ticket-selector { margin-top: var(--iac-tiac-stack); }

/* The pass with the early-bird price has a 4px top rule, the others 1px;
   this keeps every card's first line at the same height. */
.iac-tiac-chaptered .iac-tiac-booking .iac-ticket-options:not(.iac-ticket-options-addon) > .iac-ticket-option:not(.iac-ticket-option-featured) { padding-top: calc(1.25rem + 3px); }

.iac-tiac-page .iac-tiac-chaptered .iac-tiac-booking .iac-ticket-selector-head .iac-ticket-status {
  color: var(--iac-tiac-band-muted);
  font-size: var(--iac-type-body);
}

/* Every card is positioned, like the featured one, so each card's shadow
   falls behind the cards that follow it and not across the add-on card. */
.iac-tiac-chaptered .iac-tiac-booking .iac-ticket-option {
  position: relative;
  color: var(--iac-tiac-ink);
  box-shadow: 0 .75rem 2rem #1d140b33;
}

/* The pass with the early-bird price stands out on brown with an ink rule
   and the bookmark ribbon the console carries. */
.iac-tiac-chaptered .iac-tiac-booking .iac-ticket-option-featured {
  position: relative;
  border-top-color: var(--iac-tiac-ink);
}

.iac-tiac-chaptered .iac-tiac-booking .iac-ticket-option-featured::after {
  content: '';
  position: absolute;
  top: 0;
  right: 1.25rem;
  width: 1.125rem;
  height: 2.75rem;
  background: var(--iac-tiac-ink);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  pointer-events: none;
}

.iac-tiac-chaptered .iac-tiac-booking-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem clamp(1.25rem, 3vw, 2.5rem);
  margin-top: var(--iac-tiac-stack) !important;
  padding-top: 1.5rem;
  border-top: var(--iac-tiac-dash);
  color: var(--iac-tiac-band-muted);
}

.iac-tiac-chaptered .iac-tiac-booking-notes > p {
  position: relative;
  margin: 0 !important;
  padding-left: 1.5rem;
  line-height: 1.65;
}

/* A drawn tick beside each reassurance. */
.iac-tiac-chaptered .iac-tiac-booking-notes > p::before {
  content: '';
  position: absolute;
  top: .4em;
  left: 0;
  width: .45rem;
  height: .8rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.iac-tiac-chaptered .iac-tiac-booking .iac-tiac-text-links { margin-top: 1.25rem !important; }

/* 8. The organization's card ---------------------------------------------- */
.iac-tiac-page .iac-tiac-chaptered .iac-tiac-iac {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem var(--iac-tiac-gap);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: var(--iac-tiac-card-radius);
  box-shadow: var(--iac-tiac-lift);
  --iac-tiac-band-ink: var(--iac-tiac-paper);
  --iac-tiac-band-muted: #e6dccb;
  --iac-tiac-band-mark: var(--iac-gilt);
}

.iac-tiac-chaptered .iac-tiac-iac-heading { gap: .75rem; }

.iac-tiac-chaptered .iac-tiac-iac h2 { font-size: max(1rem, calc(clamp(2.25rem, 4vw, 3.25rem) * var(--iac-ui-scale, 1))); }

.iac-tiac-chaptered .iac-tiac-iac-copy { gap: 1rem; color: var(--iac-tiac-band-muted); }

.iac-tiac-chaptered .iac-tiac-iac-copy .iac-tiac-actions { margin-top: .5rem !important; }

/* 9. Narrow chapters and phones -------------------------------------------- */
/* Breakpoints follow the chapter's own width, so doubled text stacks as well.
   60rem: heading rows, the album, the days and the card stack. 46rem: a
   heading's photos stack too; a tablet keeps them beside the copy, so they
   stay small. 37.5rem: phone details. */
@container iac-tiac-band (max-width: 60rem) {
  .iac-tiac-chaptered .iac-tiac-band-heading:not(.has-photos) {
    grid-template-columns: minmax(0, 1fr);
  }

  .iac-tiac-chaptered .iac-tiac-band-heading:not(.has-photos) { gap: 1.25rem; }
  .iac-tiac-chaptered .iac-tiac-band-heading.has-photos { column-gap: clamp(1.5rem, 4cqi, 2.5rem); }

  .iac-tiac-page .iac-tiac-chaptered .iac-tiac-iac { grid-template-columns: minmax(0, 1fr); }

  /* Past conferences: two prints to a row. */
  .iac-tiac-chaptered .iac-tiac-album { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iac-tiac-page .iac-tiac-chaptered .iac-tiac-album > .wp-block-image:nth-child(2n) { --iac-tiac-tilt: 1deg; translate: 0 .75rem; }
  .iac-tiac-page .iac-tiac-chaptered .iac-tiac-album > .wp-block-image:nth-child(2n + 1) { --iac-tiac-tilt: -1deg; translate: none; }

  /* The figures: the mix and one figure, then three. */
  .iac-tiac-chaptered .iac-tiac-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* What TIAC covers: the heading and notes in one column, entries two to a row. */
  .iac-tiac-chaptered .iac-tiac-topics-head { grid-template-columns: minmax(0, 1fr); max-width: 38rem; }
  .iac-tiac-chaptered .iac-tiac-topic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* The tickets stack; the thread runs down the middle, between them. */
  .iac-tiac-chaptered .iac-tiac-days {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .iac-tiac-chaptered .iac-tiac-days::before {
    inset: 0 auto;
    left: 50%;
    width: 7px;
    height: auto;
    border-block: 0;
    border-inline: 1px solid var(--iac-gilt);
    translate: -50% 0;
  }

  .iac-tiac-chaptered .iac-tiac-day-date { flex-direction: row; align-items: baseline; gap: 1rem; }

  .iac-tiac-chaptered .iac-tiac-booking-notes { grid-template-columns: minmax(0, 1fr); }
}

@container iac-tiac-band (max-width: 46rem) {
  /* About: the prints follow the lead, centred. */
  .iac-tiac-chaptered .iac-tiac-band-heading.has-photos {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'title' 'lead' 'photos';
    row-gap: 1.25rem;
  }

  .iac-tiac-chaptered .iac-tiac-print-stack {
    justify-self: center;
    width: min(100%, 30rem);
    margin-top: 1rem !important;
    padding-left: 12%;
  }

  /* Learn, Connect, Grow: one under another, each seal beside its text. */
  .iac-tiac-chaptered .iac-tiac-pillars { grid-template-columns: minmax(0, 1fr); }
  .iac-tiac-chaptered .iac-tiac-pillars::before,
  .iac-tiac-chaptered .iac-tiac-pillars::after { content: none; }

  .iac-tiac-chaptered .iac-tiac-pillar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .5rem 1rem;
    padding-block: 1.5rem;
  }

  .iac-tiac-chaptered .iac-tiac-pillar:first-child { padding-top: 0; }
  .iac-tiac-chaptered .iac-tiac-pillar:last-child { padding-bottom: 0; }
  .iac-tiac-chaptered .iac-tiac-pillar + .iac-tiac-pillar { border-top: var(--iac-tiac-dash); }
  .iac-tiac-chaptered .iac-tiac-pillar::before { grid-row: 1 / span 3; margin: 0; }
}

@container iac-tiac-band (max-width: 37.5rem) {
  /* The figures: the mix across the top, then two by two. */
  .iac-tiac-chaptered .iac-tiac-facts { --iac-tiac-stat-pad: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iac-tiac-page .iac-tiac-chaptered .iac-tiac-facts .iac-tiac-stat { padding-block: 1.25rem; }
  .iac-tiac-page .iac-tiac-chaptered .iac-tiac-facts .iac-tiac-mix { --iac-tiac-stat-pad: 1.25rem; }

  .iac-tiac-chaptered .iac-tiac-topic-list { grid-template-columns: minmax(0, 1fr); }
}

/* 10. Motion --------------------------------------------------------------- */
/* Chapters keep the shared one-time entrance (iac-motion.js). Otherwise only a
   print moves, slightly, under a mouse. No scroll-linked effects. */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  /* A print under the mouse comes to the front and straightens. */
  .iac-tiac-page .iac-tiac-chaptered :is(.iac-tiac-album, .iac-tiac-print-stack) > .wp-block-image { transition: rotate 300ms ease, scale 300ms ease; }

  .iac-tiac-page .iac-tiac-chaptered :is(.iac-tiac-album, .iac-tiac-print-stack) > .wp-block-image:hover {
    z-index: 3;
    rotate: 0deg;
    scale: 1.03;
  }
}

/* 11. Background drawings -------------------------------------------------- */
/* Two outline drawings, each a layer of a background: they sit behind the
   content, take no room and are never read aloud. Standalone illustrations
   placed at the foot of chapters were tried twice and removed (sdd/56).

   Tickets: a paper ticket rising from the seam below, at the right of the
   frame. The inset is the margin beside the 80rem frame, or the gutter where
   the frame fills the screen: in a background position, 50% plus half the
   picture's width is half the chapter's width. */
.iac-tiac-chaptered .iac-tiac-booking {
  --iac-tiac-plate-w: clamp(13rem, 24vw, 20rem);
  --iac-tiac-plate: var(--iac-tiac-plate-ticket);
  --iac-tiac-plate-size: var(--iac-tiac-plate-w) auto;
  --iac-tiac-plate-at: right max(var(--iac-tiac-gutter), calc(50% + var(--iac-tiac-plate-w) / 2 - 40rem)) bottom calc(var(--iac-tiac-plate-w) * -.2);
}

/* The organization's card: a maple leaf in its lower right corner. */
.iac-tiac-page .iac-tiac-chaptered .iac-tiac-iac {
  background-image: var(--iac-tiac-plate-leaf);
  background-repeat: no-repeat;
  background-position: right -1.5rem bottom -2.5rem;
  background-size: clamp(11rem, 20vw, 16rem) auto;
}

/* Phones have no room for the ticket beside the links above it. */
@media (max-width: 48rem) {
  .iac-tiac-chaptered .iac-tiac-booking { --iac-tiac-plate: none; }
}

/* 12. The record: participants and recommend scores (iac-tiac-record.php) -- */
/* One mounted piece, like the figures: the label and lead, then a column per
   edition divided by the dashed rule, and the source underneath. Type only;
   no drawing and no motion. */
.iac-tiac-chaptered .iac-tiac-record-frame { margin-top: var(--iac-tiac-stack) !important; }

.iac-tiac-chaptered .iac-tiac-record {
  display: grid;
  grid-template-columns: minmax(12rem, 1.2fr) minmax(0, 3fr);
  gap: 1.5rem var(--iac-tiac-gap);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--iac-tiac-line);
  border-radius: .25rem;
  background: var(--iac-tiac-mount-corners), var(--iac-paper-raised);
  box-shadow: var(--iac-tiac-mount-shadow);
  color: var(--iac-tiac-ink);
}

.iac-tiac-chaptered .iac-tiac-record p { margin: 0; }

.iac-tiac-chaptered .iac-tiac-record-label { color: var(--iac-tiac-muted); }

.iac-tiac-chaptered .iac-tiac-record-lead {
  margin-top: .5rem !important;
  font: 400 max(1rem, calc(clamp(1.375rem, 2vw, 1.75rem) * var(--iac-ui-scale, 1)))/1.25 'DM Serif Display', Georgia, serif;
}

.iac-tiac-chaptered .iac-tiac-record-years {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.iac-tiac-chaptered .iac-tiac-record-year {
  display: grid;
  gap: .75rem;
  align-content: start;
  margin: 0;
  padding-inline: clamp(1rem, 2vw, 1.75rem);
  border-left: var(--iac-tiac-dash);
}

.iac-tiac-chaptered .iac-tiac-record-edition {
  color: var(--iac-tiac-muted);
  font: 600 var(--iac-type-small)/1.5 'Courier New', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.iac-tiac-chaptered .iac-tiac-record-figure {
  display: grid;
  align-content: start;
  gap: .125rem;
}

.iac-tiac-chaptered .iac-tiac-record-value {
  font: 400 max(1rem, calc(clamp(2rem, 3.2vw, 2.75rem) * var(--iac-ui-scale, 1)))/1.05 'DM Serif Display', Georgia, serif;
}

.iac-tiac-chaptered .iac-tiac-record-unit {
  color: var(--iac-tiac-muted);
  font-size: var(--iac-type-small);
  line-height: 1.4;
}

.iac-tiac-chaptered .iac-tiac-record-source {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: var(--iac-tiac-dash);
  color: var(--iac-tiac-muted);
  font-size: var(--iac-type-small);
  line-height: 1.6;
}

/* The one-line form, under a page's heading (Tickets). */
.iac-tiac-chaptered .iac-tiac-record-line {
  max-width: 40rem;
  margin-top: 1rem !important;
  color: var(--iac-tiac-band-muted);
  font-size: var(--iac-type-body);
  line-height: 1.65;
}

.iac-tiac-chaptered .iac-tiac-record-line strong { color: var(--iac-tiac-band-ink); font-weight: 700; }

@media (max-width: 60rem) {
  .iac-tiac-chaptered .iac-tiac-record { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 40rem) {
  .iac-tiac-chaptered .iac-tiac-record-years { grid-template-columns: minmax(0, 1fr); }

  .iac-tiac-chaptered .iac-tiac-record-year {
    grid-template-columns: 4.5rem repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    border-left: 0;
    border-top: var(--iac-tiac-dash);
  }

  .iac-tiac-chaptered .iac-tiac-record-year:first-child { border-top: 0; padding-top: 0; }

  .iac-tiac-chaptered .iac-tiac-record-edition { padding-top: .5rem; }
}
