/* oa.css: Omar Ali kit for Squarespace 7.1, served from omarali-sq.pages.dev.
   PART A is the style kit (omar-kit.css, Some Shape moves), merged in with two changes:
   it never hides the system cursor, and its font @import moved into oa.js (an @import
   here would hold back this whole stylesheet until Google Fonts answers).
   PART B styles the components oa.js mounts.
   Everything is scoped under .oa-kit. Source: ~/Code/omarali-squarespace (README). */

/* ==========================================================================
   PART A. STYLE KIT
   ========================================================================== */
/* ==========================================================================
   OMAR ALI STYLE KIT  (omar-kit.css)
   Moves borrowed from Some Shape Studio, rebuilt for omarali.xyz.
   Everything is scoped under .oa-kit, so nothing here touches the rest
   of the Squarespace site. Put markup inside <div class="oa-kit">…</div>
   (a Code block, or a page wrapper added by code injection).

   Fonts (both free, SIL Open Font License, served by Google Fonts):
     Display  Archivo at width 125 (Archivo Expanded)
     Text     Instrument Sans
   Load them once, either with this @import (Squarespace Custom CSS
   accepts it at the very top) or with this tag in Settings > Code
   Injection > Header:
   <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,300..600&family=Instrument+Sans:wdth,wght@75..100,400..600&display=swap">
   ========================================================================== */
/* ---------- 1. Tokens ---------------------------------------------------- */
.oa-kit {
  /* color */
  --oa-paper: #f6f6f2;        /* page base: chalk white, low chroma */
  --oa-white: #ffffff;
  --oa-ink: #17171b;          /* text and hairlines */
  --oa-ink-soft: #4a4a52;     /* secondary text */
  --oa-rule: rgba(23, 23, 27, 0.2);
  --oa-poppy: #ef4a24;        /* the one loud accent: giant words, fills, cursor */
  --oa-poppy-text: #c8361a;   /* poppy for small text on light grounds (4.8:1) */
  --oa-sky: #cfe3f4;          /* block tint + text highlight */
  --oa-blush: #f9d6dd;        /* block tint */
  --oa-lilac: #dcd6f7;        /* block tint */

  /* type */
  --oa-font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --oa-font-text: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --oa-display-stretch: 125%;
  --oa-step-giant: clamp(4.5rem, 14.5vw, 15rem);   /* one word that owns a section */
  --oa-step-split: clamp(3.4rem, 10.6vw, 10.5rem); /* split headline words */
  --oa-step-h2: clamp(2.4rem, 5.6vw, 5.25rem);     /* section titles */
  --oa-step-h3: clamp(1.5rem, 2.6vw, 2.5rem);      /* line titles, service names */
  --oa-step-lead: clamp(1.25rem, 2.05vw, 1.9rem);  /* big quotes, lead statements */
  --oa-step-text: clamp(1rem, 1.32vw, 1.22rem);    /* statements and body */
  --oa-step-small: 0.875rem;                       /* captions, footnotes */
  --oa-step-label: 0.9375rem;                      /* buttons, nav, tags */
  --oa-track-display: -0.035em;
  --oa-track-text: 0.004em;
  --oa-track-label: 0.03em;

  /* space */
  --oa-gutter: max(16px, 2vw);          /* page side margin (Some Shape: 2vw) */
  --oa-gap: 11px;                       /* grid gap (Fluid Engine default) */
  --oa-section-y: clamp(64px, 9vw, 150px);
  --oa-stack-s: 12px;
  --oa-stack-m: 24px;
  --oa-stack-l: 48px;

  /* motion */
  --oa-ease: cubic-bezier(0.19, 1, 0.22, 1); /* ease-out-expo, as on Some Shape */
  --oa-dur: 0.8s;
  --oa-dur-fast: 0.35s;
  --oa-marquee-speed: 32s;
  --oa-pin-top: 16px;                   /* where pinned words stop; set to header height on Squarespace */

  background: var(--oa-paper);
  color: var(--oa-ink);
  font-family: var(--oa-font-text);
  font-size: var(--oa-step-text);
  line-height: 1.3;
  letter-spacing: var(--oa-track-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- 1b. Squarespace theme guard -------------------------------- */
/* Squarespace colors headings, paragraphs and links from the section theme, so on a
   dark section they turn white. Inside the kit, Squarespace's color variables point
   back to kit ink, and text inherits the panel's ink unless a kit class sets its own
   color. Kit class rules come later and outrank this reset. */
.oa-kit {
  --headingExtraLargeColor: var(--oa-ink, #17171b);
  --headingLargeColor: var(--oa-ink, #17171b);
  --headingMediumColor: var(--oa-ink, #17171b);
  --headingSmallColor: var(--oa-ink, #17171b);
  --headingLinkColor: var(--oa-ink, #17171b);
  --paragraphLargeColor: var(--oa-ink, #17171b);
  --paragraphMediumColor: var(--oa-ink, #17171b);
  --paragraphSmallColor: var(--oa-ink, #17171b);
  --paragraphLinkColor: var(--oa-ink, #17171b);
}
.oa-kit :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, figcaption, label, a) { color: inherit; }

/* local reset, scoped */
.oa-kit *, .oa-kit *::before, .oa-kit *::after { box-sizing: border-box; }
.oa-kit :where(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
.oa-kit :where(ul, ol) { list-style: none; }
.oa-kit :where(img) { display: block; max-width: 100%; }
.oa-kit :where(a) { color: inherit; text-decoration: none; }
.oa-kit :where(h1, h2, h3, h4) { font-weight: 400; }

/* ---------- 2. Type helpers --------------------------------------------- */
.oa-kit .oa-caps { text-transform: uppercase; }
.oa-kit .oa-statement {               /* Some Shape's uppercase statement paragraph */
  font-size: var(--oa-step-text);
  line-height: 1.3;
  text-transform: uppercase;
  max-width: 34ch;
}
.oa-kit .oa-body { font-size: var(--oa-step-text); line-height: 1.38; max-width: 46ch; }
.oa-kit .oa-body + .oa-body { margin-top: 0.9em; }
.oa-kit .oa-lead { font-size: var(--oa-step-lead); line-height: 1.25; text-transform: uppercase; }
.oa-kit .oa-small { font-size: var(--oa-step-small); line-height: 1.25; }
.oa-kit .oa-label {
  font-size: var(--oa-step-label);
  letter-spacing: var(--oa-track-label);
  text-transform: uppercase;
  line-height: 1.2;
}
.oa-kit .oa-h2 {
  font-family: var(--oa-font-display);
  font-stretch: var(--oa-display-stretch);
  font-weight: 400;
  font-size: var(--oa-step-h2);
  line-height: 1;
  letter-spacing: var(--oa-track-display);
  text-transform: uppercase;
}
.oa-kit .oa-h3 {
  font-family: var(--oa-font-display);
  font-stretch: var(--oa-display-stretch);
  font-weight: 400;
  font-size: var(--oa-step-h3);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
/* highlighter word: one or two per paragraph, never more */
.oa-kit .oa-mark {
  background: var(--oa-sky);
  color: inherit;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.oa-kit .oa-block--sky .oa-mark { background: var(--oa-white); }

/* ---------- 3. Giant display word --------------------------------------- */
.oa-kit .oa-giant {
  display: block;
  font-family: var(--oa-font-display);
  font-stretch: var(--oa-display-stretch);
  font-weight: 400;
  font-size: var(--oa-step-giant);
  line-height: 0.82;
  letter-spacing: var(--oa-track-display);
  text-transform: uppercase;
  color: var(--oa-poppy);
  white-space: nowrap;
}
.oa-kit .oa-giant--ink { color: var(--oa-ink); }
.oa-kit .oa-giant--white { color: var(--oa-white); }
.oa-kit .oa-giant--center { text-align: center; }
.oa-kit .oa-giant--fit { font-size: min(var(--oa-step-giant), calc(92vw / var(--oa-chars, 5) * 1.12)); }

/* ---------- 4. Layout shell --------------------------------------------- */
.oa-kit .oa-wrap { padding-inline: var(--oa-gutter); }
.oa-kit .oa-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--oa-gap);
}
.oa-kit .oa-section { padding-block: var(--oa-section-y); position: relative; }
.oa-kit .oa-section--tight { padding-block: calc(var(--oa-section-y) * 0.5); }

/* simple header for pages built entirely in the kit */
.oa-kit .oa-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--oa-gutter);
  position: relative; z-index: 20;
}
.oa-kit .oa-nav__brand {
  font-family: var(--oa-font-display); font-stretch: var(--oa-display-stretch);
  font-size: 1.05rem; letter-spacing: -0.01em; text-transform: uppercase;
}
.oa-kit .oa-nav__links { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); }
.oa-kit .oa-nav__links a:not(.oa-pill) {
  font-size: var(--oa-step-label); letter-spacing: var(--oa-track-label); text-transform: uppercase;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--oa-dur-fast) var(--oa-ease);
  padding-bottom: 2px;
}
.oa-kit .oa-nav__links a:not(.oa-pill):hover,
.oa-kit .oa-nav__links a[aria-current="page"] { background-size: 100% 1px; }
@media (max-width: 767px) { .oa-kit .oa-nav__links a:not(.oa-pill) { display: none; } }

/* ---------- 5. Split headline around an image --------------------------- */
/* Word A sits behind the photo, word B in front. On wide screens both words
   pin (position: sticky) and meet on one line while the photo slides up
   between them, the way SOME / SHAPE do on Some Shape's homepage.
   Markup: .oa-split > .oa-split__stage (word a, media, word b) + .oa-split__after.
   The pin lasts exactly as long as the stage, so captions in __after never
   run into the pinned words.                                               */
.oa-kit .oa-split { padding-inline: var(--oa-gutter); padding-bottom: var(--oa-stack-l); position: relative; }
.oa-kit .oa-split__stage {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--oa-gap);
  position: relative;
}
.oa-kit .oa-split__word {
  font-family: var(--oa-font-display);
  font-stretch: var(--oa-display-stretch);
  font-weight: 400;
  font-size: var(--oa-step-split);
  line-height: 0.8;
  letter-spacing: var(--oa-track-display);
  text-transform: uppercase;
  white-space: nowrap;
  grid-row: 1;
  align-self: start;
}
.oa-kit .oa-split__word--a {        /* behind the photo */
  grid-column: var(--oa-split-a-col, 3 / 9);
  margin-top: var(--oa-split-a-top, 2.2vw);
  z-index: 1;
  color: var(--oa-ink);
}
.oa-kit .oa-split__word--b {        /* in front of the photo */
  grid-column: var(--oa-split-b-col, 8 / 13);
  margin-top: var(--oa-split-b-top, 30vw);
  margin-left: var(--oa-split-b-shift, 0.2em); /* the word space once the two words meet */
  z-index: 3;
  color: var(--oa-poppy);
}
.oa-kit .oa-split__media {
  grid-column: var(--oa-split-media-col, 6 / 10);
  grid-row: 1;
  margin-top: var(--oa-split-media-top, 7.5vw);
  /* the tail keeps row 1 open after the photo has passed, so the pinned
     words sit together on one clean line for a moment before they leave */
  margin-bottom: var(--oa-split-tail, 30vh);
  z-index: 2;
  position: relative;
}
.oa-kit .oa-split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.oa-kit .oa-split__after {          /* captions and statement under the stage */
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--oa-gap);
  row-gap: var(--oa-stack-l);
  padding-top: var(--oa-split-handoff, max(16vh, 140px)); /* lets the pinned words leave before captions arrive */
}
@media (min-width: 768px) {
  .oa-kit .oa-split--pin .oa-split__word { position: sticky; top: var(--oa-pin-top); }
}
@media (max-width: 767px) {
  .oa-kit .oa-split__stage { padding-bottom: var(--oa-stack-l); }
  .oa-kit .oa-split__media { margin-bottom: 0; }
  .oa-kit .oa-split__word--b { margin-left: 0; }
  .oa-kit .oa-split__after { padding-top: 0; }
  .oa-kit .oa-split__word { font-size: clamp(3.2rem, 22vw, 6rem); }
  .oa-kit .oa-split__word--a { grid-column: 1 / -1; margin-top: 2vw; }
  .oa-kit .oa-split__word--b { grid-column: 1 / -1; justify-self: end; margin-top: 90vw; }
  .oa-kit .oa-split__media { grid-column: 3 / 13; margin-top: 15vw; }
  .oa-kit .oa-split__after > * { grid-column: 1 / -1 !important; }
}

/* sentence spread across columns: "STRATEGIST / WRITER / FILMMAKER" */
.oa-kit .oa-spread {
  display: grid;
  grid-template-columns: repeat(var(--oa-spread-n, 3), minmax(0, 1fr));
  column-gap: var(--oa-gap);
  font-size: var(--oa-step-text);
  text-transform: uppercase;
  line-height: 1.2;
}
.oa-kit .oa-spread > *:nth-child(2) { text-align: center; }
.oa-kit .oa-spread > *:last-child { text-align: right; }
.oa-kit .oa-spread--5 { --oa-spread-n: 5; }
.oa-kit .oa-spread--5 > * { text-align: left !important; }
.oa-kit .oa-spread__num { display: block; color: var(--oa-poppy-text); font-size: var(--oa-step-small); margin-bottom: 6px; }
.oa-kit .oa-block--poppy .oa-spread__num { color: var(--oa-ink); }
@media (max-width: 767px) {
  .oa-kit .oa-spread { grid-template-columns: 1fr; row-gap: 6px; text-align: left; }
  .oa-kit .oa-spread > * { text-align: left !important; }
  .oa-kit .oa-spread--5 { grid-template-columns: 1fr 1fr; row-gap: 18px; }
}

/* ---------- 6. Color-block section -------------------------------------- */
/* Full-bleed, hard edges, no gradients or shadows. Light tints carry ink
   text; poppy is the one loud block per page.                             */
.oa-kit .oa-block {
  --oa-block-bg: var(--oa-paper);
  --oa-block-fg: var(--oa-ink);
  background: var(--oa-block-bg);
  color: var(--oa-block-fg);
  padding-block: var(--oa-section-y);
  position: relative;
  overflow: clip;
}
.oa-kit .oa-block--sky   { --oa-block-bg: var(--oa-sky); }
.oa-kit .oa-block--blush { --oa-block-bg: var(--oa-blush); }
.oa-kit .oa-block--lilac { --oa-block-bg: var(--oa-lilac); }
.oa-kit .oa-block--white { --oa-block-bg: var(--oa-white); }
.oa-kit .oa-block--poppy { --oa-block-bg: var(--oa-poppy); --oa-block-fg: var(--oa-ink); }
.oa-kit .oa-block--poppy .oa-h2,
.oa-kit .oa-block--poppy .oa-giant { color: var(--oa-white); }
/* half-and-half block: text one side, photo bleeding to the edge */
.oa-kit .oa-block--split { padding-block: 0; }
.oa-kit .oa-block__cols { display: grid; grid-template-columns: 1fr 1fr; min-height: min(92vh, 860px); }
.oa-kit .oa-block__text {
  padding: var(--oa-section-y) var(--oa-gutter);
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--oa-stack-m);
}
.oa-kit .oa-block__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .oa-kit .oa-block__cols { grid-template-columns: 1fr; min-height: 0; }
  .oa-kit .oa-block__media { aspect-ratio: 4 / 3; }
}

/* ---------- 7. Pill buttons and tags ------------------------------------ */
.oa-kit .oa-pill {
  --oa-pill-c: var(--oa-ink);
  --oa-pill-on: var(--oa-paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 34px;
  padding: 0.38em 1.7em 0.34em;
  border: 1px solid var(--oa-pill-c);
  border-radius: 999px;
  background: transparent;
  color: var(--oa-pill-c);
  font: 400 var(--oa-step-label)/1.1 var(--oa-font-text);
  letter-spacing: var(--oa-track-label);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.6s var(--oa-ease), color 0.6s var(--oa-ease), border-color 0.6s var(--oa-ease);
}
.oa-kit .oa-pill:hover, .oa-kit .oa-pill:focus-visible { background: var(--oa-pill-c); color: var(--oa-pill-on); }
.oa-kit .oa-pill--solid { background: var(--oa-pill-c); color: var(--oa-pill-on); }
.oa-kit .oa-pill--solid:hover, .oa-kit .oa-pill--solid:focus-visible { background: transparent; color: var(--oa-pill-c); }
.oa-kit .oa-pill--poppy { --oa-pill-c: var(--oa-poppy); --oa-pill-on: var(--oa-white); }
.oa-kit .oa-pill--poppy:not(.oa-pill--solid) { color: var(--oa-poppy-text); border-color: var(--oa-poppy); }
.oa-kit .oa-pill--poppy:not(.oa-pill--solid):hover { color: var(--oa-white); background: var(--oa-poppy); }
.oa-kit .oa-pill--white { --oa-pill-c: var(--oa-white); --oa-pill-on: var(--oa-ink); }
.oa-kit .oa-pill--wide { min-width: min(100%, 300px); }
.oa-kit .oa-pill:focus-visible { outline: 2px solid var(--oa-ink); outline-offset: 3px; }
.oa-kit .oa-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.oa-kit .oa-tag {
  display: inline-block;
  padding: 0.3em 0.9em 0.26em;
  border: 1px solid var(--oa-rule);
  border-radius: 999px;
  font-size: 0.75rem; letter-spacing: var(--oa-track-label); text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
}

/* ---------- 8. Numbered lines (services, project index) ----------------- */
.oa-kit .oa-lines { border-top: 1px solid var(--oa-ink); counter-reset: oa-line; }
.oa-kit .oa-line {
  position: relative;
  display: grid;
  grid-template-columns: minmax(48px, 1fr) minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2fr);
  column-gap: var(--oa-gap);
  align-items: start;
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--oa-ink);
  isolation: isolate;
}
.oa-kit .oa-line::before {           /* tint that wipes in from the left on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--oa-line-tint, var(--oa-sky));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.7s var(--oa-ease);
}
.oa-kit a.oa-line:hover::before, .oa-kit a.oa-line:focus-visible::before { transform: scaleX(1); }
.oa-kit .oa-line__num {
  font-size: var(--oa-step-text); color: var(--oa-poppy-text); line-height: 1.3;
  padding-left: 2px; font-variant-numeric: tabular-nums;
}
.oa-kit .oa-line__title { transition: transform 0.7s var(--oa-ease); }
.oa-kit a.oa-line:hover .oa-line__title { transform: translateX(14px); }
.oa-kit .oa-line__desc { font-size: var(--oa-step-text); line-height: 1.35; max-width: 42ch; }
.oa-kit .oa-line__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.oa-kit .oa-line__arrow { font-size: 1.5rem; line-height: 1; transition: transform 0.7s var(--oa-ease); }
.oa-kit a.oa-line:hover .oa-line__arrow { transform: translateX(-6px) rotate(-45deg); }
/* compact variant: number + one line, poppy text, like Some Shape's 001-004 */
.oa-kit .oa-lines--compact { border-top: 0; }
.oa-kit .oa-lines--compact .oa-line {
  grid-template-columns: 3.4em minmax(0, 1fr);
  border-bottom: 0; padding: 0 0 26px;
  color: var(--oa-poppy-text);
}
.oa-kit .oa-lines--compact .oa-line::before { display: none; }
.oa-kit .oa-lines--compact .oa-line__desc { color: var(--oa-poppy-text); }
.oa-kit .oa-lines--compact a.oa-line:hover .oa-line__desc { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (max-width: 767px) {
  .oa-kit .oa-line { grid-template-columns: 2.8em minmax(0, 1fr); row-gap: 12px; }
  .oa-kit .oa-line__desc, .oa-kit .oa-line__meta { grid-column: 2; }
  .oa-kit .oa-line__meta { align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; }
}

/* ---------- 9. Scatter: giant word with numbered images around it -------- */
.oa-kit .oa-scatter {
  position: relative;
  min-height: var(--oa-scatter-h, 64vw);
  max-height: 1100px;
  margin-inline: var(--oa-gutter);
}
.oa-kit .oa-scatter__word {
  position: absolute; left: 50%; top: var(--oa-scatter-word-top, 34%);
  transform: translateX(-50%);
  z-index: 1;
}
.oa-kit .oa-scatter__item {
  position: absolute;
  left: var(--x, 0%); top: var(--y, 0%);
  width: var(--w, 15.5%);
  z-index: var(--z, 2);
}
.oa-kit .oa-scatter__item img { width: 100%; aspect-ratio: var(--ar, 9 / 10); object-fit: cover; }
.oa-kit .oa-scatter__cap {
  display: block; text-align: right; margin-top: 8px;
  font-size: var(--oa-step-text); color: var(--oa-poppy-text); line-height: 1;
}
@media (max-width: 767px) {
  .oa-kit .oa-scatter {
    min-height: 0; max-height: none;
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--oa-gap);
  }
  .oa-kit .oa-scatter__word { position: static; transform: none; grid-column: 1 / -1; order: -1; }
  .oa-kit .oa-scatter__item { position: static; width: auto; }
  .oa-kit .oa-scatter__item:nth-child(odd) { margin-top: 36px; }
}

/* ---------- 10. Marquee band --------------------------------------------- */
.oa-kit .oa-marquee {
  --oa-marquee-bg: transparent;
  display: flex;
  overflow: hidden;
  background: var(--oa-marquee-bg);
  border-block: 1px solid currentColor;
  white-space: nowrap;
  user-select: none;
}
.oa-kit .oa-marquee__track {
  display: flex; flex: none; align-items: center;
  gap: 0.9em; padding-right: 0.9em;
  padding-block: 0.32em 0.26em;
  font-size: var(--oa-marquee-size, clamp(1.25rem, 1.75vw, 1.6rem));
  line-height: 1.2;
  text-transform: uppercase;
  animation: oa-marquee var(--oa-marquee-speed) linear infinite;
}
.oa-kit .oa-marquee--reverse .oa-marquee__track { animation-direction: reverse; }
.oa-kit .oa-marquee--display .oa-marquee__track {
  font-family: var(--oa-font-display); font-stretch: var(--oa-display-stretch);
  letter-spacing: var(--oa-track-display);
  --oa-marquee-size: clamp(3rem, 9vw, 8.5rem);
  padding-block: 0.06em 0;
  line-height: 1;
}
.oa-kit .oa-marquee--bare { border-block: 0; }
.oa-kit .oa-marquee__dot {
  display: inline-block; width: 0.42em; height: 0.42em; border-radius: 50%;
  background: var(--oa-poppy); flex: none; transform: translateY(-0.04em);
}
.oa-kit .oa-marquee--sky { --oa-marquee-bg: var(--oa-sky); }
.oa-kit .oa-marquee:hover .oa-marquee__track { animation-play-state: var(--oa-marquee-hover, running); }
@keyframes oa-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- 11. Dot cursor ---------------------------------------------- */
/* Kit markup version. On Squarespace, oa.js draws one page-wide dot instead
   (see .oa-dot in Part B), so this stays hidden unless a page adds its own
   script. The system cursor is never hidden.                             */
.oa-kit .oa-cursor { display: none; }
@media (pointer: fine) {
  .oa-kit.has-oa-cursor .oa-cursor {
    display: block;
    position: fixed; left: 0; top: 0; z-index: 9999;
    width: 26px; height: 26px; margin: -13px 0 0 -13px;
    border-radius: 50%;
    background: var(--oa-poppy);
    border: 2px solid transparent;
    pointer-events: none;
    transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0);
    transition: width var(--oa-dur-fast) var(--oa-ease), height var(--oa-dur-fast) var(--oa-ease),
                margin var(--oa-dur-fast) var(--oa-ease), background-color var(--oa-dur-fast) var(--oa-ease),
                border-color var(--oa-dur-fast) var(--oa-ease), opacity 0.2s linear;
  }
  .oa-kit.has-oa-cursor .oa-cursor.is-link {
    width: 46px; height: 46px; margin: -23px 0 0 -23px;
    background: transparent; border-color: var(--oa-poppy);
  }
  .oa-kit.has-oa-cursor .oa-cursor.is-accent { background: var(--oa-ink); }
  .oa-kit.has-oa-cursor .oa-cursor.is-accent.is-link { background: transparent; border-color: var(--oa-ink); }
  .oa-kit.has-oa-cursor .oa-cursor.is-out { opacity: 0; }
}

/* ---------- 12. Scroll reveal (fade + blur in, once) --------------------- */
.oa-kit.oa-js .oa-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(12px);
  transition: opacity 0.9s var(--oa-ease), transform 1.1s var(--oa-ease), filter 0.9s var(--oa-ease);
  transition-delay: var(--oa-delay, 0s);
}
.oa-kit.oa-js .oa-reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- 13. Footer line ---------------------------------------------- */
.oa-kit .oa-foot {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--oa-gap);
  padding: 28px var(--oa-gutter) 36px;
  font-size: var(--oa-step-small); text-transform: uppercase; line-height: 1.4;
}
.oa-kit .oa-foot a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.oa-kit .oa-foot a:hover { color: var(--oa-poppy-text); }
.oa-kit .oa-foot > *:last-child { text-align: right; }
@media (max-width: 767px) { .oa-kit .oa-foot { grid-template-columns: 1fr 1fr; row-gap: 18px; } }

/* ---------- 14. Reduced motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .oa-kit *, .oa-kit *::before, .oa-kit *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .oa-kit .oa-marquee__track { animation: none !important; }
  .oa-kit .oa-marquee { flex-wrap: nowrap; }
  .oa-kit .oa-marquee__track[aria-hidden="true"] { display: none; }
  .oa-kit .oa-split--pin .oa-split__word { position: relative; top: auto; }
  .oa-kit.oa-js .oa-reveal { opacity: 1; transform: none; filter: none; }
  .oa-kit .oa-cursor { display: none !important; }
  .oa-kit a.oa-line:hover .oa-line__title,
  .oa-kit a.oa-line:hover .oa-line__arrow { transform: none; }
}


/* ==========================================================================
   PART B. COMPONENTS (oa.js mounts these into <div data-oa="..."> placeholders)
   They read the kit tokens above. Component roots carry .oa-kit and .oa-c.
   ========================================================================== */

.oa-kit {
  --_paper: var(--oa-paper, #f6f6f2);
  --_white: var(--oa-white, #ffffff);
  --_ink: var(--oa-ink, #17171b);
  --_muted: var(--oa-ink-soft, #4a4a52);
  --_line: var(--oa-rule, rgba(23, 23, 27, 0.2));
  --_accent: var(--oa-poppy, #ef4a24);
  --_accent-text: var(--oa-poppy-text, #c8361a);
  --_sky: var(--oa-sky, #cfe3f4);
  --_blush: var(--oa-blush, #f9d6dd);
  --_lilac: var(--oa-lilac, #dcd6f7);
  --_display: var(--oa-font-display, "Archivo", "Helvetica Neue", Arial, sans-serif);
  --_stretch: var(--oa-display-stretch, 125%);
  --_text: var(--oa-font-text, "Instrument Sans", "Helvetica Neue", Arial, sans-serif);
  --_dt: var(--oa-track-display, -0.035em);
  --_lt: var(--oa-track-label, 0.03em);
  --_fs-text: var(--oa-step-text, clamp(1rem, 1.32vw, 1.22rem));
  --_fs-lead: var(--oa-step-lead, clamp(1.25rem, 2.05vw, 1.9rem));
  --_fs-small: var(--oa-step-small, 0.875rem);
  --_fs-label: var(--oa-step-label, 0.9375rem);
  --_ease: var(--oa-ease, cubic-bezier(0.19, 1, 0.22, 1));
}

.oa-kit.oa-c {
  --_pad: var(--oa-panel-pad, clamp(16px, 3vw, 40px));
  position: relative;
  display: block;
  container-type: inline-size;
  overflow-x: clip;
  text-align: left;
  /* Each component is a chalk panel with its own inner padding, so it reads well
     on any section color. On a chalk #F6F6F2 section the panel edges disappear. */
  background: var(--oa-component-bg, var(--oa-paper, #f6f6f2));
  padding: var(--_pad);
}
/* a component placed inside another one (audience pages) uses its parent's panel */
.oa-kit.oa-c.oa-nested { --_pad: 0px; background: none; }

:where(.oa-kit.oa-c) :where(h1, h2, h3, h4, h5, p, li, figcaption) { color: inherit; text-transform: none; }
.oa-kit.oa-c :where(li)::before { content: none; }
.oa-kit.oa-c :where(video) { display: block; max-width: 100%; }
/* zero specificity, so the kit's .oa-pill and component classes always win */
:where(.oa-kit.oa-c) :where(button) {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-transform: none;
  -webkit-appearance: none;
  appearance: none;
}
:where(.oa-kit.oa-c) :where(input) { font: inherit; color: inherit; margin: 0; }
.oa-kit.oa-c :where(button, a, input, [tabindex]):focus-visible {
  outline: 2px solid var(--_ink);
  outline-offset: 3px;
}

.oa-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- shared bits ---------- */

.oa-kit .oa-display {
  color: inherit;
  font-family: var(--_display);
  font-stretch: var(--_stretch);
  font-weight: 400;
  letter-spacing: var(--_dt);
  text-transform: uppercase;
  line-height: 0.9;
}

.oa-kit .oa-c-label {
  display: block;
  color: var(--_accent-text);
  font-size: var(--_fs-label);
  letter-spacing: var(--_lt);
  text-transform: uppercase;
  line-height: 1.2;
}

.oa-kit .oa-draft {
  display: inline-block;
  margin: 0 0 18px;
  padding: 0.38em 1em 0.32em;
  border: 1px dashed var(--_accent);
  border-radius: 999px;
  color: var(--_accent-text);
  font-size: 0.75rem;
  letter-spacing: var(--_lt);
  text-transform: uppercase;
  line-height: 1.1;
}

.oa-kit.oa-hiw.is-poppy .oa-c-label,
.oa-kit.oa-hiw.is-poppy .oa-draft { color: var(--_ink); border-color: var(--_ink); }

/* pills inside components: same look as the kit pill, a touch taller for fingers */
.oa-kit.oa-c .oa-pill { min-height: 40px; white-space: nowrap; }
.oa-kit.oa-c .oa-pill sup { font-size: 0.7em; vertical-align: 0.45em; line-height: 0; opacity: 0.7; }
.oa-kit.oa-c .oa-pill[aria-pressed="true"] { background: var(--_ink); color: var(--_paper); }
.oa-kit.oa-c .oa-pill[disabled] { opacity: 0.4; cursor: default; }

/* Shown in place of a component while editing in Squarespace */
.oa-kit.oa-editor-card {
  display: block;
  padding: 18px 20px;
  border: 1.5px dashed rgba(0, 0, 0, 0.35);
  background: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0 10px, transparent 10px 20px);
  font: 500 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #444;
  letter-spacing: 0;
  text-transform: none;
}
.oa-kit.oa-editor-card strong { color: #111; font-weight: 700; }

/* ---------- 1. work-index ---------- */

.oa-wi__head { margin-bottom: 24px; }
.oa-wi__heading { font-size: clamp(2.4rem, 8cqw, 5.25rem); margin-top: 10px; }
.oa-wi__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.oa-kit .oa-wi__status { padding: 18px 0; line-height: 1.3; font-size: var(--_fs-label); letter-spacing: var(--_lt); text-transform: uppercase; color: var(--_muted); }
.oa-wi__status a { text-decoration: underline; text-underline-offset: 3px; }
.oa-wi__list { position: relative; z-index: 1; border-top: 1px solid var(--_ink); }
.oa-wi__item { display: block; }
.oa-wi__item[hidden] { display: none; }
.oa-wi__row {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 10px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--_ink);
}
.oa-wi__row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--oa-line-tint, var(--_sky));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--_ease);
}
.oa-wi__num {
  font-size: var(--_fs-text);
  line-height: 1.3;
  color: var(--_accent-text);
  font-variant-numeric: tabular-nums;
  padding-left: 2px;
}
.oa-wi__text { min-width: 0; }
.oa-wi__name {
  display: block;
  font-family: var(--_display);
  font-stretch: var(--_stretch);
  font-weight: 400;
  letter-spacing: var(--_dt);
  text-transform: uppercase;
  font-size: clamp(1.45rem, 6.2cqw, 4.6rem);
  line-height: 0.95;
  transition: transform 0.7s var(--_ease);
}
.oa-wi__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.oa-wi__side { display: none; }
.oa-wi__arrow { font-size: 1.5rem; line-height: 1; transition: transform 0.7s var(--_ease); }
.oa-wi__thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  background: var(--_white);
  border: 1px solid var(--_line);
}
.oa-wi.is-entering .oa-wi__item:not([hidden]) .oa-wi__row {
  animation: oa-rise 0.7s var(--_ease) both;
  animation-delay: calc(var(--_i, 0) * 40ms);
}
@keyframes oa-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.oa-wi__follow {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: clamp(240px, 30cqw, 440px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  will-change: transform;
  background: var(--_white);
  border: 1px solid var(--_ink);
  display: none;
}
.oa-wi__follow.is-on { opacity: 1; }
.oa-wi__follow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.oa-wi__follow img.is-on { opacity: 1; }

@container (min-width: 700px) {
  .oa-wi__row {
    grid-template-columns: minmax(48px, 1fr) minmax(0, 8fr) minmax(0, 3fr);
    column-gap: 11px;
    padding: 22px 0 24px;
  }
  .oa-wi__text .oa-wi__tags { display: none; }
  .oa-wi__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    text-align: right;
  }
  .oa-wi__side .oa-wi__tags { justify-content: flex-end; margin-top: 0; }
  .oa-wi__thumb { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  .oa-wi--follow .oa-wi__follow { display: block; }
  .oa-wi__row:hover::before,
  .oa-wi__row:focus-visible::before { transform: scaleX(1); }
  .oa-wi__row:hover .oa-wi__name { transform: translateX(14px); }
  .oa-wi__row:hover .oa-wi__arrow { transform: translateX(-6px) rotate(-45deg); }
}

/* ---------- 2. how-i-work ---------- */

.oa-hiw { --_active: var(--_sky); }
.oa-hiw__side { margin-bottom: 16px; }
.oa-hiw__title { font-size: clamp(2.6rem, 12cqw, 5.25rem); margin-top: 10px; }
.oa-hiw__tracker { display: none; }
.oa-hiw__steps { display: grid; gap: 0; }
.oa-hiw__step {
  position: relative;
  padding: 28px 20px 32px;
  background: var(--_c);
  color: var(--_ink);
}
.oa-hiw__num { display: block; font-size: var(--_fs-text); font-variant-numeric: tabular-nums; margin-bottom: 22px; }
.oa-hiw__stitle { font-size: clamp(1.9rem, 9cqw, 3.4rem); }
.oa-hiw__text { margin-top: 16px; font-size: var(--_fs-lead); line-height: 1.25; max-width: 30ch; }
.oa-hiw__img { margin-top: 22px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

@container (min-width: 820px) {
  /* on wide screens the color block fills the whole panel, edge to edge */
  .oa-hiw--pin .oa-hiw__wrap {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 11px;
    margin: calc(-1 * var(--_pad));
    padding: clamp(32px, 4cqw, 64px) clamp(20px, 3cqw, 48px);
    background: var(--_active);
    transition: background-color 0.9s var(--_ease);
  }
  .oa-hiw--pin .oa-hiw__side {
    position: sticky;
    top: var(--_stick, 96px);
    transition: top 0.35s var(--_ease);
    align-self: start;
    margin: 0;
    padding: 8px 0;
  }
  .oa-hiw--pin.oa-hiw--manual .oa-hiw__side { position: relative; top: auto; will-change: transform; }
  .oa-hiw--pin .oa-hiw__title { font-size: clamp(3rem, 6.6cqw, 6.5rem); }
  .oa-hiw--pin .oa-hiw__tracker { display: flex; gap: 8px; margin-top: 40px; }
  .oa-hiw--pin .oa-hiw__dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--_ink);
    font-size: var(--_fs-label);
    font-variant-numeric: tabular-nums;
    transition: background-color 0.4s var(--_ease), color 0.4s var(--_ease);
  }
  .oa-hiw--pin .oa-hiw__dot[aria-current="step"] { background: var(--_ink); color: var(--_paper); }
  .oa-hiw--pin .oa-hiw__step {
    min-height: 74vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 0;
    background: none;
    opacity: 0.22;
    transition: opacity 0.6s var(--_ease);
  }
  .oa-hiw--pin .oa-hiw__step.is-active { opacity: 1; }
  .oa-hiw--pin .oa-hiw__stitle { font-size: clamp(2.4rem, 5cqw, 5rem); }
  .oa-hiw--pin .oa-hiw__img { max-width: 520px; }
}

/* ---------- 3. places ---------- */

.oa-places { --_mask: var(--oa-places-mask, var(--_paper)); }
.oa-places__hero { position: relative; isolation: isolate; overflow: hidden; margin-bottom: 18px; }
.oa-places__word {
  display: block;
  font-family: var(--_display);
  font-stretch: var(--_stretch);
  font-weight: var(--oa-places-weight, 600);
  letter-spacing: var(--_dt);
  text-transform: uppercase;
  line-height: 0.82;
  white-space: nowrap;
  text-align: center;
  color: var(--_accent);
  font-size: 18cqw;
  padding: 0.05em 0 0.04em;
}
.oa-places__wordtext { display: inline-block; }
.oa-places__word--clip {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: var(--_fill);
  background-size: cover;
  background-position: 50% 50%;
  animation: oa-drift 26s ease-in-out infinite alternate;
}
@keyframes oa-drift { from { background-position: 30% 35%; } to { background-position: 70% 65%; } }

.oa-places__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* The word punched out of a paper layer: black type blended with "screen" shows the video only inside the letters */
.oa-places__mask {
  position: relative;
  z-index: 1;
  background: var(--_mask);
  color: #000;
  -webkit-text-fill-color: #000;
  mix-blend-mode: screen;
}

.oa-places__ch {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 14px;
  padding: 18px 0 40px;
  border-top: 1px solid var(--_ink);
}
.oa-places__idx { font-size: var(--_fs-text); color: var(--_accent-text); font-variant-numeric: tabular-nums; }
.oa-places__name { font-size: clamp(2.4rem, 11cqw, 11rem); line-height: 0.85; }
.oa-places__line { font-size: var(--_fs-lead); line-height: 1.25; max-width: 26ch; }
.oa-places__line.is-todo { color: var(--_accent-text); }
.oa-places__media { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--_c); }
.oa-places__media img,
.oa-places__media video { width: 100%; height: 100%; object-fit: cover; }
.oa-places__media.is-empty {
  background:
    repeating-linear-gradient(135deg, rgba(23, 23, 27, 0.08) 0 1px, transparent 1px 14px),
    var(--_c);
  display: grid;
  place-items: center;
}
.oa-places__media.is-empty .oa-tag { background: var(--_paper); border-color: var(--_ink); }
.oa-places .oa-in { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--_ease), transform 1.1s var(--_ease); }
.oa-places .oa-in.is-in { opacity: 1; transform: none; }

@container (min-width: 820px) {
  .oa-places__ch {
    grid-template-columns: minmax(48px, 1fr) minmax(0, 5fr) minmax(0, 6fr);
    column-gap: 11px;
    row-gap: 26px;
    padding: 22px 0 64px;
  }
  .oa-places__idx { grid-row: 1; padding-top: 0.2em; }
  .oa-places__name { grid-column: 2 / 4; }
  .oa-places__line { grid-column: 2; align-self: end; }
  .oa-places__media { grid-column: 3; }
}

/* ---------- 4. notes ---------- */

.oa-notes__headtext { display: inline-block; }
.oa-kit .oa-notes__headline {
  font-size: 13cqw;
  line-height: 0.82;
  text-align: center;
  color: var(--_accent);
  white-space: nowrap;
}
.oa-notes__board { display: grid; gap: 14px; margin-top: 24px; padding: 0 6px; }
.oa-note {
  position: relative;
  padding: 20px 20px 18px;
  background: var(--_c);
  color: var(--_ink);
  border: 1px solid var(--_ink);
  transform: rotate(var(--_rm, 0deg));
  transition: transform 0.7s var(--_ease);
}
.oa-note__mark {
  display: block;
  font-family: var(--_display);
  font-stretch: var(--_stretch);
  font-size: 3.2rem;
  line-height: 0.7;
  height: 0.45em;
  margin-bottom: 12px;
  color: var(--_accent-text);
}
.oa-note__quote { font-size: var(--_fs-lead); line-height: 1.22; }
.oa-note__who { margin-top: 16px; font-size: var(--_fs-label); letter-spacing: var(--_lt); text-transform: uppercase; line-height: 1.3; }
.oa-note__who strong { display: block; font-weight: 400; }
.oa-note__who span { display: block; color: var(--_muted); }
.oa-note--empty {
  background: var(--_paper);
  border: 1px dashed var(--_accent);
  color: var(--_accent-text);
  min-height: 110px;
  display: grid;
  place-items: center;
  text-align: center;
}
.oa-note--empty .oa-note__quote { font-size: var(--_fs-label); letter-spacing: var(--_lt); text-transform: uppercase; }

@container (min-width: 820px) {
  .oa-notes__wrap {
    position: relative;
    min-height: clamp(520px, 56cqw, 760px);
    display: grid;
    place-items: center;
  }
  .oa-notes__headline { position: relative; z-index: 1; }
  .oa-notes__board { position: absolute; inset: 0; margin: 0; padding: 0; display: block; z-index: 2; }
  .oa-note {
    position: absolute;
    left: var(--_x);
    top: var(--_y);
    width: clamp(250px, 29cqw, 380px);
    transform: rotate(var(--_r, 0deg));
  }
  .oa-note:hover,
  .oa-note:focus-within { transform: rotate(0deg); }
  .oa-note__quote { font-size: clamp(1.05rem, 1.55cqw, 1.4rem); }
}

/* ---------- 5. ask ---------- */

.oa-ask { border: 1px solid var(--_ink); }
.oa-ask__title { font-size: clamp(2.2rem, 8cqw, 5.25rem); margin-top: 10px; }
.oa-kit .oa-ask__sub { margin-top: 14px; max-width: 44ch; line-height: 1.38; color: var(--_muted); }
.oa-ask__form { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.oa-ask__input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 22px;
  border: 1px solid var(--_ink);
  border-radius: 999px;
  background: var(--_white);
  font-family: var(--_text);
  font-size: 16px;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}
.oa-ask__input::placeholder { color: var(--_muted); opacity: 1; }
.oa-kit.oa-c .oa-ask__form .oa-pill { min-height: 52px; padding: 0 2.2em; }
.oa-ask__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.oa-kit.oa-c .oa-ask__chips .oa-pill { white-space: normal; text-align: left; font-size: 0.8rem; min-height: 38px; padding: 0.5em 1.2em 0.45em; }
.oa-ask__out { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--_ink); }
.oa-ask__out:empty { display: none; }
.oa-ask__answer { font-size: var(--_fs-lead); line-height: 1.28; white-space: pre-line; max-width: 46ch; }
.oa-ask__answer.is-wait { color: var(--_muted); }
.oa-kit .oa-ask__sources { margin-top: 14px; line-height: 1.5; font-size: var(--_fs-small); letter-spacing: var(--_lt); text-transform: uppercase; color: var(--_muted); }
.oa-kit .oa-ask__sources a { color: var(--_ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.oa-ask__dots span { display: inline-block; animation: oa-blink 1.2s infinite both; }
.oa-ask__dots span:nth-child(2) { animation-delay: 0.2s; }
.oa-ask__dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes oa-blink { 0%, 80%, 100% { opacity: 0.2; } 40% { opacity: 1; } }

@container (min-width: 600px) {
  .oa-ask__form { flex-direction: row; }
  .oa-ask__input { flex: 1; }
}

/* ---------- 6. flipbook ---------- */

.oa-fb__stage { position: relative; width: 100%; }
.oa-fb__book { margin: 0 auto; }
.oa-fb__page { background: #fff; overflow: hidden; }
.oa-fb__page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.oa-fb__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 20px; }
.oa-fb__nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--_ink);
  display: inline-grid;
  place-items: center;
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color 0.6s var(--_ease), color 0.6s var(--_ease);
}
@media (hover: hover) and (pointer: fine) {
  .oa-fb__nav:not([disabled]):hover { background: var(--_ink); color: var(--_paper); }
}
.oa-fb__nav[disabled] { opacity: 0.3; cursor: default; }
.oa-fb__count { min-width: 8.5em; text-align: center; font-size: var(--_fs-label); letter-spacing: var(--_lt); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.oa-kit .oa-fb__caption { margin-top: 14px; text-align: center; font-size: var(--_fs-small); letter-spacing: var(--_lt); text-transform: uppercase; line-height: 1.5; color: var(--_muted); }
.oa-kit .oa-fb__caption a { color: var(--_accent-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.oa-fb__hint { display: block; margin-top: 4px; text-transform: none; letter-spacing: 0; }
.oa-fb--simple .oa-fb__book { position: relative; max-width: min(100%, 560px); aspect-ratio: var(--_ratio, 0.7075); border: 1px solid var(--_line); }
.oa-fb--simple .oa-fb__page { position: absolute; inset: 0; display: none; }
.oa-fb--simple .oa-fb__page.is-current { display: block; }
.oa-fb .stf__parent { margin: 0 auto; }

/* ---------- 8. audience page ---------- */

.oa-aud__head { padding-bottom: clamp(28px, 5cqw, 72px); }
.oa-aud__kicker { color: var(--_accent-text); margin-bottom: 16px; }
.oa-kit .oa-aud__title { font-size: clamp(2.3rem, 8.4cqw, 8rem); line-height: 0.9; max-width: 16ch; }
.oa-aud__intro { margin-top: 24px; font-size: var(--_fs-lead); line-height: 1.25; max-width: 36ch; }
.oa-aud__sec { padding: clamp(20px, 3cqw, 40px) 0; }
.oa-aud__sechead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 16px; }
.oa-aud__sechead .oa-draft { margin: 0; }
.oa-kit .oa-aud__label { color: var(--_accent-text); font-size: var(--_fs-label); letter-spacing: var(--_lt); text-transform: uppercase; line-height: 1.2; }
.oa-aud__list { border-top: 1px solid var(--_ink); list-style: none; margin: 0; padding: 0; }
.oa-aud__get {
  display: grid;
  grid-template-columns: 2.6em minmax(0, 1fr);
  column-gap: 11px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--_ink);
}
.oa-aud__num { color: var(--_accent-text); font-size: var(--_fs-text); line-height: 1.3; font-variant-numeric: tabular-nums; padding-left: 2px; }
.oa-aud__gettext { font-size: var(--_fs-lead); line-height: 1.22; }
.oa-aud__case {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--_ink);
}
.oa-aud__case.is-plain { grid-template-columns: 64px minmax(0, 1fr); }
a.oa-aud__case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--oa-line-tint, var(--_sky));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.7s var(--_ease);
}
.oa-aud__thumb {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  background: var(--_white);
  border: 1px solid var(--_line);
}
.oa-aud__swatch { background: var(--_c, var(--_sky)); border-color: transparent; }
.oa-aud__text { min-width: 0; }
.oa-aud__name {
  display: block;
  font-family: var(--_display);
  font-stretch: var(--_stretch);
  font-weight: 400;
  letter-spacing: var(--_dt);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 4.2cqw, 2.6rem);
  line-height: 0.95;
  transition: transform 0.7s var(--_ease);
}
.oa-aud__line { display: block; margin-top: 6px; font-size: var(--_fs-text); line-height: 1.3; color: var(--_muted); }
.oa-aud__arrow { font-size: 1.5rem; line-height: 1; padding-right: 2px; transition: transform 0.7s var(--_ease); }
.oa-aud__embed { padding: clamp(24px, 4cqw, 56px) 0; }
.oa-aud__cta { padding-top: clamp(28px, 5cqw, 64px); }
.oa-kit.oa-c .oa-aud__ctabtn {
  min-height: 56px;
  max-width: 100%;
  padding: 0.6em 2.2em 0.55em;
  white-space: normal;
  text-align: center;
}

@container (min-width: 700px) {
  .oa-aud__case { grid-template-columns: 168px minmax(0, 1fr) auto; column-gap: 24px; padding: 18px 0; }
  .oa-aud__case.is-plain { grid-template-columns: 168px minmax(0, 1fr); }
  .oa-aud__thumb { width: 168px; height: 105px; }
}

@media (hover: hover) and (pointer: fine) {
  a.oa-aud__case:hover::before,
  a.oa-aud__case:focus-visible::before { transform: scaleX(1); }
  a.oa-aud__case:hover .oa-aud__name { transform: translateX(10px); }
  a.oa-aud__case:hover .oa-aud__arrow { transform: translateX(-6px) rotate(-45deg); }
}

/* ---------- 7. craft: dot cursor + word reveal ---------- */
/* One dot for the whole page (opt in with <div data-oa="cursor"></div>). The system
   cursor always stays visible. Over links and pills the dot opens into a ring, over
   [data-oa-cursor="open"|"play"] it becomes a disc with the word. */

.oa-kit.oa-dot {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2147483000;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: var(--oa-poppy, #ef4a24);
  border: 1.5px solid transparent;
  color: #fff;
  pointer-events: none;
  display: grid;
  place-items: center;
  opacity: 0;
  padding: 0;
  font: 400 0.8rem/1 var(--oa-font-text, "Instrument Sans", Arial, sans-serif);
  transition: width 0.35s var(--_ease), height 0.35s var(--_ease), margin 0.35s var(--_ease),
              background-color 0.35s var(--_ease), border-color 0.35s var(--_ease), opacity 0.2s linear;
}
.oa-kit.oa-dot.is-on { opacity: 1; }
.oa-kit.oa-dot.is-on.is-away { opacity: 0; }
.oa-kit.oa-dot.is-link { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: transparent; border-color: var(--oa-poppy, #ef4a24); }
.oa-kit.oa-dot.is-accent { background: var(--oa-ink, #17171b); }
.oa-kit.oa-dot.is-accent.is-link { background: transparent; border-color: var(--oa-ink, #17171b); }
.oa-kit.oa-dot span {
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.35s var(--_ease);
  white-space: nowrap;
}
.oa-kit.oa-dot.is-label { width: 84px; height: 84px; margin: 8px 0 0 8px; border-color: transparent; background: var(--oa-poppy, #ef4a24); }
.oa-kit.oa-dot.is-label span { opacity: 1; transform: none; }

.oa-words .oa-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.oa-words .oa-w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--_d, 0ms);
}
.oa-words.is-in .oa-w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .oa-places .oa-in { opacity: 1; transform: none; }
  .oa-wi__row:hover .oa-wi__name,
  .oa-wi__row:hover .oa-wi__arrow { transform: none; }
  .oa-words .oa-w > span { transform: none; transition: none; }
  .oa-kit.oa-dot { display: none !important; }
}
