/* =========================================================
   AVOLVE IPO page (avolve-ipo.html) — all six sections.
   Used only by this page; every rule is scoped to .ipo-page or
   a class starting with ipo-, so no other page can change.
   Palette: burgundy #662c3e, peach #f5ae94, warm ivory/white.
   Illustrations: assets/ipo/ (cut from the approved references).
   ========================================================= */

.ipo-page {
  --ipo-wine: #662c3e;
  --ipo-wine-hi: #7a3a4f;
  --ipo-wine-deep: #5c1325;        /* closing section, matches its artwork */
  --ipo-wine-exp: #5e1928;         /* experience section, matches its artwork */
  --ipo-peach: #f5ae94;
  --ipo-peach-soft: #fdd7c9;       /* about section, matches its artwork */
  --ipo-ivory: #fdf4ed;            /* who-it's-for, matches its artwork */
  --ipo-cream: #fcf0e9;            /* next gathering, matches its artwork */
  --ipo-ink: #2d1b21;
  --ipo-wrap: 1200px;
  --ipo-side: clamp(20px, 5vw, 72px);
  --ipo-pad: clamp(56px, 7.6vw, 108px);
  background: var(--canvas);
  color: var(--ipo-ink);
}
:where(.ipo-page main) :where(h1, h2, h3, p, ul, dl, dd, figure) { margin: 0; }
.ipo-line { display: block; }

/* ---------- Shared navigation: IPO colours on this page only ---------- */
.ipo-page .primary-nav a[aria-current="page"] { background: var(--ipo-wine); color: #fff; }
.ipo-page .primary-nav a:hover { background: rgba(245, 174, 148, .3); }
.ipo-page .primary-nav a:focus-visible,
.ipo-page .site-header .brand:focus-visible { outline: 2px solid var(--ipo-wine); outline-offset: 3px; }
.ipo-page .ipo-header-cta { background: var(--ipo-wine); color: #fff; }
.ipo-page .ipo-header-cta:hover { background: var(--ipo-wine-hi); }
.ipo-page .ipo-header-cta:focus-visible { outline: 2px solid var(--ipo-wine); outline-offset: 3px; }
.ipo-page .mobile-menu a[aria-current="page"] { background: rgba(245, 174, 148, .35); font-weight: 500; }

/* ---------- Shared pieces ---------- */
.ipo-page main > section {
  position: relative;
  isolation: isolate;
  margin: 0 var(--frame-gap) var(--frame-gap);
  border-radius: var(--radius-frame);
  overflow: hidden;
  overflow: clip;
}
.ipo-page main > section:first-child { margin-top: var(--frame-gap); }
.ipo-wrap { width: min(100% - var(--ipo-side) * 2, var(--ipo-wrap)); margin-inline: auto; }
.ipo-eyebrow {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ipo-wine);
}
.ipo-eyebrow--rule { display: flex; align-items: center; gap: 18px; }
.ipo-eyebrow--rule::after { content: ""; width: 56px; height: 2px; background: var(--ipo-peach); }
.ipo-eyebrow--peach { color: var(--ipo-peach); letter-spacing: .22em; }
.ipo-eyebrow--spaced { letter-spacing: .32em; margin-right: -.32em; }
.ipo-h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ipo-wine);
}

.ipo-reserve {
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  background: var(--ipo-wine);
  color: #fff;
  font: inherit;
  font-size: 1.12rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 26px -16px rgba(102, 44, 62, .8);
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.ipo-reserve:hover { background: var(--ipo-wine-hi); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(102, 44, 62, .75); }
.ipo-reserve:focus-visible { outline: 3px solid var(--ipo-wine); outline-offset: 4px; }
.ipo-reserve--lg { min-height: 60px; padding: 0 38px; font-size: clamp(1.08rem, 1.4vw, 1.28rem); }

/* fine grain for textured sections */
.ipo-grain::after,
.ipo-exp::after,
.ipo-close::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .9 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* discreet pause / resume for the decorative animation */
.ipo-pause {
  position: absolute;
  z-index: 4;
  right: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 24px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .8rem;
  opacity: .7;
  cursor: pointer;
}
.ipo-pause:hover, .ipo-pause:focus-visible { opacity: 1; }
.ipo-pause:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ipo-pause svg { width: 14px; height: 14px; }
.ipo-pause__i--play { display: none; }
.ipo-pause[aria-pressed="true"] .ipo-pause__i--play { display: block; }
.ipo-pause[aria-pressed="true"] .ipo-pause__i--pause { display: none; }
.ipo-pause[hidden] { display: none; }
.ipo-path { fill: none; }   /* no stroke by default; the visible thread copies it with <use> */

/* =========================================================
   01 HERO
   ========================================================= */
.ipo-hero {
  container-type: inline-size;
  padding-top: calc(var(--header-h) + clamp(18px, 2.6vw, 44px));
  background:
    radial-gradient(55% 45% at 50% 22%, #fffdfc 30%, rgba(255, 253, 252, 0) 75%),
    radial-gradient(40% 60% at 0% 55%, rgba(245, 174, 148, .55), transparent 70%),
    radial-gradient(40% 60% at 100% 55%, rgba(245, 174, 148, .5), transparent 70%),
    #fef7f4;
}
.ipo-hero::before {                /* subtle peach glow behind the group (static) */
  content: "";
  position: absolute;
  z-index: 0;
  left: 10%; right: 10%; bottom: 0; height: 55%;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 70%, rgba(245, 174, 148, .45), transparent 75%);
}
.ipo-hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--ipo-side);
  text-align: center;
}
.ipo-hero__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--ipo-wine);
}
.ipo-hero__sub {
  max-width: 40em;
  margin-top: clamp(14px, 1.6vw, 22px);
  font-size: clamp(1.06rem, 1.35vw, 1.2rem);
  line-height: 1.5;
  color: #3a2a2f;
  text-wrap: balance;
}
.ipo-hero .ipo-reserve { margin-top: clamp(20px, 2.2vw, 30px); }
.ipo-hero__brand {
  margin-top: 16px;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ipo-wine);
}
.ipo-hero__brand span { margin: 0 .45em; color: var(--ipo-peach); }
.ipo-hero__art {
  position: relative;
  z-index: 1;
  aspect-ratio: var(--ipo-crowd-ratio, 1586 / 624);
  margin-top: -3.4cqw;               /* side heads rise beside the brand line; never over the copy */
}
.ipo-hero__group { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; user-select: none; }
.ipo-hero__group[hidden] { display: none; }
/* role labels: invisible hotspots in the illustration's coordinates (the artwork itself never moves) */
.ipo-spots { position: absolute; inset: 0; z-index: 2; }
.ipo-spot {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
  z-index: var(--z, 2);          /* people in front win where hotspots overlap */
  padding: 0; border: 0; border-radius: 42%;
  background: transparent;
  cursor: default;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.ipo-spot:focus { outline: none; }
.ipo-spot:focus-visible { outline: 2px dashed rgba(102, 44, 62, .75); outline-offset: -6px; }
.ipo-spot-label {
  position: absolute;
  left: var(--lx); top: var(--ly);
  display: inline-flex; align-items: center; gap: .45em;
  padding: .42em .9em .42em .75em;
  border-radius: 999px;
  background: var(--ipo-wine);
  color: #fff;
  font-size: clamp(11px, 1cqw, 14px);
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(102, 44, 62, .7);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  --tx: 0%;
  transform: translate(var(--tx), -50%) translateY(5px);
  transition: opacity .22s ease, transform .22s ease;
}
.ipo-spot-label::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--ipo-peach); }
.ipo-spot-label--r { --tx: -100%; }
.ipo-spot-label--c { --tx: -50%; }
.ipo-spot-label.is-on { opacity: 1; transform: translate(var(--tx), -50%); }

/* =========================================================
   02 ABOUT (still)
   ========================================================= */
.ipo-about { padding: var(--ipo-pad) 0; background: var(--ipo-peach-soft); }
.ipo-about .ipo-h2 { margin-top: 14px; }
.ipo-about__lede { max-width: 38em; margin-top: 18px; font-size: clamp(1.06rem, 1.3vw, 1.18rem); line-height: 1.55; color: #3a2a2f; }
.ipo-about__pillars { position: relative; margin-top: clamp(36px, 4vw, 56px); }
.ipo-about__line {                  /* delicate connecting line, passes behind the illustrations */
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: clamp(220px, 23vw, 330px);
  overflow: visible;
}
.ipo-about__line path { fill: none; stroke: #ee9e80; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.ipo-pillars {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 32px clamp(24px, 3vw, 48px);
  padding: 0;
  list-style: none;
}
.ipo-pillar__art {
  display: block;
  height: clamp(220px, 23vw, 330px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left bottom;
}
.ipo-pillar--people .ipo-pillar__art { object-position: center bottom; margin-inline: auto; }
.ipo-pillar__title { margin-top: 18px; font-size: clamp(1.6rem, 2.3vw, 2.1rem); font-weight: 600; letter-spacing: -.02em; color: var(--ipo-wine); }
.ipo-pillar p { max-width: 21em; margin-top: 8px; font-size: clamp(1.02rem, 1.25vw, 1.12rem); line-height: 1.5; }

/* =========================================================
   03 EXPERIENCE (desktop: staged composition; small screens: vertical thread)
   ========================================================= */
.ipo-exp { background: var(--ipo-wine-exp); color: #f7e9e4; }
.ipo-exp__stage { position: relative; container-type: inline-size; }
@media (min-width: 900px) {
  .ipo-exp__stage { aspect-ratio: 1586 / 992; min-height: 640px; }
  .ipo-exp__head { position: absolute; z-index: 3; left: 5.7%; top: 8%; width: 70%; }
  .ipo-exp__band { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; aspect-ratio: 1586 / 412; }
  .ipo-exp__band img, .ipo-exp__glint { position: absolute; inset: 0; width: 100%; height: 100%; }
  .ipo-exp__items { position: absolute; inset: 0; z-index: 3; padding: 0; list-style: none; pointer-events: none; }
  .ipo-exp__item { position: absolute; width: 20%; pointer-events: auto; }
  .ipo-exp__item--1 { left: 11.5%; top: 48%; }
  .ipo-exp__item--2 { left: 43.5%; top: 41.5%; }
  .ipo-exp__item--3 { left: 74.9%; top: 49%; }
  .ipo-exp__vig { display: none; }
}
.ipo-exp__title { color: #fbeee8; }
.ipo-exp__peach { color: var(--ipo-peach); }
.ipo-exp .ipo-h2 { margin-top: 14px; }
.ipo-exp__intro { margin-top: 16px; font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.5; color: rgba(251, 238, 232, .9); }
.ipo-exp__item h3 { font-size: clamp(1.2rem, 1.75cqw, 1.6rem); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; color: #fbeee8; }
.ipo-exp__item p { margin-top: 8px; font-size: clamp(1rem, 1.2cqw, 1.12rem); line-height: 1.45; color: rgba(251, 238, 232, .86); }
.ipo-exp__glint { overflow: visible; mix-blend-mode: screen; }
.ipo-exp__glow { opacity: 0; transition: opacity .6s var(--ease); }
.ipo-exp.is-moving .ipo-exp__glow { opacity: .9; }
.ipo-exp .ipo-pause { color: #f7e9e4; }

@media (max-width: 899px) {
  .ipo-exp__stage { padding: var(--ipo-pad) var(--ipo-side) calc(var(--ipo-pad) + 30px); }
  .ipo-exp__band { display: none; }
  .ipo-exp__items {
    position: relative;
    display: grid;
    gap: 36px;
    margin-top: 40px;
    padding: 0 0 0 30px;
    list-style: none;
  }
  .ipo-exp__items::before {          /* the connecting thread, vertical */
    content: "";
    position: absolute;
    left: 8px; top: 20px; bottom: 20px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(var(--ipo-peach), #e9967a);
  }
  .ipo-exp__item { position: relative; }
  .ipo-exp__item::before {
    content: "";
    position: absolute;
    left: -28px; top: 60px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--ipo-peach);
    box-shadow: 0 0 0 4px var(--ipo-wine-exp);
  }
  .ipo-exp__vig { display: block; width: min(100%, 300px); height: auto; margin-bottom: 10px; }
  .ipo-exp .ipo-pause { display: none; }
}

/* =========================================================
   04 WHO IT'S FOR (still)
   ========================================================= */
.ipo-who { padding: var(--ipo-pad) 0; background: var(--ipo-ivory); }
.ipo-who__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.ipo-who__lede { max-width: 26em; margin-top: 20px; font-size: clamp(1.06rem, 1.3vw, 1.18rem); line-height: 1.55; color: #4a3a3f; }
.ipo-acc { margin-top: 30px; max-width: 30rem; }
.ipo-acc__h { font-size: inherit; font-weight: inherit; }
.ipo-acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1.5px solid rgba(245, 174, 148, .8);
  background: none;
  color: var(--ipo-wine);
  font: inherit;
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.ipo-acc__btn:hover { color: var(--ipo-wine-hi); }
.ipo-acc__btn:focus-visible { outline: 2px solid var(--ipo-wine); outline-offset: 3px; border-radius: 4px; }
.ipo-acc__icon { position: relative; flex: none; width: 16px; height: 16px; }
.ipo-acc__icon::before, .ipo-acc__icon::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; border-radius: 1px; background: currentColor;
  transition: transform .3s var(--ease);
}
.ipo-acc__icon::after { transform: rotate(90deg); }
.ipo-acc__btn[aria-expanded="true"] .ipo-acc__icon::after { transform: rotate(0deg); }
.ipo-acc__panel { padding: 14px 4px 18px; border-bottom: 1.5px solid rgba(245, 174, 148, .8); margin-top: -1.5px; }
.ipo-acc__panel:not([hidden]) { animation: ipo-acc-in .35s var(--ease); }
.ipo-acc__panel p { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.55; color: #4a3a3f; }
@keyframes ipo-acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.ipo-who__note { margin-top: clamp(32px, 4vw, 56px); font-style: italic; font-size: 1.05rem; color: var(--ipo-wine); }
.ipo-who__art { position: relative; }
.ipo-who__art img { display: block; width: 100%; height: auto; }
.ipo-tag {                           /* role annotations (live text, decorative) */
  position: absolute;
  font-size: clamp(.82rem, 1.1vw, 1rem);
  font-weight: 600;
  color: var(--ipo-wine);
  white-space: nowrap;
}
.ipo-tag::after {                    /* small curved pointer */
  content: "";
  position: absolute;
  left: 60%; top: 100%;
  width: 22px; height: 24px;
  border: 1.6px solid var(--ipo-wine);
  border-color: transparent transparent var(--ipo-wine) var(--ipo-wine);
  border-radius: 0 0 0 22px;
  transform: translate(0, 2px);
}
.ipo-tag--l::after { left: auto; right: 55%; border-color: transparent var(--ipo-wine) var(--ipo-wine) transparent; border-radius: 0 0 22px 0; }
.ipo-tag--founder  { left: 21.5%; top: 2.2%; }
.ipo-tag--creator  { left: 66.2%; top: 13.6%; }
.ipo-tag--designer { left: 3.2%;  top: 25.8%; }
.ipo-tag--editor   { left: 87.6%; top: 27.3%; }

/* =========================================================
   05 NEXT AVOLVE IPO
   ========================================================= */
.ipo-next { padding: var(--ipo-pad) 0; background: radial-gradient(60% 55% at 50% 45%, #fff8f4, transparent 75%), var(--ipo-cream); text-align: center; }
.ipo-next__inner { display: flex; flex-direction: column; align-items: center; }
.ipo-next__title { margin-top: 18px; font-size: clamp(1.9rem, 3.3vw, 3rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; color: var(--ipo-wine); }
.ipo-date { position: relative; container-type: inline-size; width: min(100%, 1100px); margin-top: clamp(16px, 2vw, 28px); }
.ipo-date__art { position: relative; aspect-ratio: 1250 / 370; margin-bottom: -2.4cqw; }   /* transparent artwork: shadows fade inside the canvas; the fade room overlaps the next line */
.ipo-date__art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ipo-date__text {                    /* the full date as real text; "17" is read out, shown by the artwork */
  position: absolute;
  z-index: 2;
  left: 53.6%;
  top: 23.2%;
  text-align: left;
  color: var(--ipo-wine);
}
.ipo-date__day { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ipo-date__my { display: flex; flex-direction: column; gap: .14em; }
.ipo-date__month, .ipo-date__year { font-size: 5.1cqw; font-weight: 500; line-height: 1; letter-spacing: .14em; text-transform: uppercase; }
.ipo-next__line { text-wrap: balance; margin-top: clamp(16px, 2vw, 26px); font-size: clamp(1.1rem, 1.8vw, 1.6rem); letter-spacing: .02em; color: var(--ipo-wine); }
.ipo-next__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  width: min(100%, 1080px);
  margin-top: clamp(24px, 2.6vw, 36px);
  padding-top: 20px;
  border-top: 1.5px solid rgba(102, 44, 62, .55);
}
.ipo-next__facts > div { display: flex; align-items: baseline; gap: 10px; padding: 0 clamp(14px, 2vw, 28px); }
.ipo-next__facts > div + div { border-left: 1.5px solid rgba(102, 44, 62, .35); }
.ipo-next__facts dt { font-size: .9rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ipo-wine); }
.ipo-next__facts dt::after { content: " —"; letter-spacing: 0; font-weight: 400; }
.ipo-next__facts dd { font-size: 1.05rem; color: #4a3a3f; }
.ipo-next .ipo-reserve { margin-top: clamp(26px, 3vw, 40px); }

/* =========================================================
   06 CLOSING CTA (still)
   ========================================================= */
.ipo-close {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  background: linear-gradient(180deg, #621626 0%, #67192a 55%, #731e2b 100%);
  color: #fbeee8;
}
.ipo-close__copy { position: relative; z-index: 3; padding: clamp(56px, 6vw, 96px) 0 clamp(56px, 6vw, 96px) clamp(24px, 6vw, 112px); }
.ipo-close__title { color: #fff6f1; font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.ipo-close__sub { margin-top: 14px; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; color: var(--ipo-peach); }
.ipo-close__body { max-width: 26em; margin-top: 18px; font-size: clamp(1.04rem, 1.3vw, 1.16rem); line-height: 1.55; color: rgba(251, 238, 232, .9); }
.ipo-close__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(26px, 3vw, 38px); }
.ipo-reserve--peach { background: var(--ipo-peach); color: var(--ipo-wine); border-radius: 12px; box-shadow: none; }
.ipo-reserve--peach:hover { background: #f8c1ab; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .45); }
.ipo-reserve--peach:focus-visible { outline-color: #fff; }
.ipo-close__link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1.5px;
}
.ipo-close__link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.ipo-close__link:hover svg { transform: translate(2px, -2px); }
.ipo-close__link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.ipo-close__art { align-self: end; justify-self: end; display: block; width: 100%; height: auto; max-height: 560px; object-fit: contain; object-position: right bottom; }

/* ---------- Registration dialog ---------- */
.ipo-dialog {
  width: min(92vw, 480px);
  padding: 32px 30px 26px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: var(--ipo-ink);
  box-shadow: 0 30px 70px -20px rgba(60, 20, 35, .5);
}
.ipo-dialog::backdrop { background: rgba(45, 18, 28, .55); }
.ipo-dialog__title { margin: 0; font-size: 1.45rem; font-weight: 600; line-height: 1.2; color: var(--ipo-wine); }
.ipo-dialog__text { margin: 12px 0 0; font-size: 1.05rem; line-height: 1.55; }
.ipo-dialog__close { margin-top: 22px; min-height: 48px; padding: 0 26px; border: 0; background: var(--ipo-wine); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.ipo-dialog__close:focus-visible { outline: 3px solid var(--ipo-wine); outline-offset: 3px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 899px) {
  .ipo-pillars { grid-template-columns: 1fr; gap: 44px; }
  .ipo-about__line { display: none; }
  .ipo-pillar__art, .ipo-pillar--people .ipo-pillar__art { height: auto; width: min(100%, 300px); margin: 0; }
  .ipo-pillar--people .ipo-pillar__art { width: min(100%, 420px); }
  .ipo-who__grid { grid-template-columns: 1fr; }
  .ipo-close { grid-template-columns: 1fr; }
  .ipo-close__copy { padding: 56px var(--ipo-side) 8px; }
  .ipo-close__art { max-height: none; }
}
@media (max-width: 899px) {           /* event details: one per line, no stray dividers */
  .ipo-next__facts { flex-direction: column; align-items: center; gap: 8px; }
  .ipo-next__facts > div + div { border-left: 0; }
}
@media (max-width: 599px) {
  .ipo-hero__title { font-size: clamp(2.2rem, 10.4vw, 2.6rem); }
  .ipo-hero .ipo-reserve { width: 100%; max-width: 320px; }
  .ipo-hero__art { margin-top: 10px; }
  .ipo-h2 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
  .ipo-next__title { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .ipo-date { width: 100%; }
  .ipo-next .ipo-reserve, .ipo-close .ipo-reserve { width: 100%; max-width: 320px; }
  .ipo-tag { display: none; }   /* labels would clip at phone width; the image keeps its text description */
}

@media (prefers-reduced-motion: reduce) {
  .ipo-reserve, .ipo-acc__icon::before, .ipo-acc__icon::after, .ipo-close__link svg { transition: none; }
  .ipo-spot-label { transition: opacity .2s ease; transform: translate(var(--tx), -50%); }
  .ipo-reserve:hover { transform: none; }
  .ipo-acc__panel:not([hidden]) { animation: none; }
  .ipo-exp__glow { display: none; }
  .ipo-pause { display: none; }
}
