/* ==========================================================================
   Odro brand tokens
   --------------------------------------------------------------------------
   Source of truth: docs/Odro-Brand-Guidelines.pdf (September 2026).
   Where the guidelines give no value (spacing, radii, web type sizes),
   tokens use what the live site already does (audit, Nov 2026).

   Use in inline styles or <style> blocks:
     color: var(--color-ink);
     font-family: var(--font-display);

   Layers:
     1. Palette   (--odro-*)  raw brand colours. Don't use directly in pages.
     2. Roles     (--color-*, --surface-*, --border-*)  what pages should use.
     3. Type, space, radius, shadow, layout.
   To try a design variation, override the role tokens, not the palette.

   Colour rules (guidelines p.10):
   - Balance: about 60% supporting blues, 30% Deep Navy, 10% Gold.
   - Gold is a highlight (CTAs, small details). Never a large field, never text.
   - Dark backgrounds: white or the lightest blue tint text. Never navy on navy.
   - Light backgrounds: Deep Navy text. No light blue tints for text.
   - Never rainbow a layout or a chart.

   Writing rules (guidelines p.13 and p.16):
   - Sentence case for body and most headlines. All caps only for short
     labels and eyebrows, always letter-spaced.
   - Left-align paragraphs and lists; centre only short titles. Never justify.
   - No em dashes. Use a full stop or comma.
   - Product names, WEBSITE EXCEPTION (agreed Nov 2026): the guidelines (p.16)
     say lowercase, but on the website products stay capitalised with Odro in
     front: Odro Vantage, Odro Capture, Odro Vision, Odro AssistCV.
   ========================================================================== */

/* Fonts (27 Nov 2026): self-hosted, no longer from Google Fonts. styles/fonts.css declares Epilogue and Baloo 2
   (variable files in assets/fonts/, every weight in one file). New pages add, in the head:
   <link rel="preload" href="./assets/fonts/epilogue-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin>
   <link rel="preload" href="./assets/fonts/baloo-2-latin-wght-normal.woff2" as="font" type="font/woff2" crossorigin>
   <link rel="stylesheet" href="./styles/fonts.css?v=1">
   Guideline ranges are Epilogue 300-700 and Baloo 2 400-800. */

:root {
  /* ---- 1. Palette (guidelines p.9-10) ----------------------------------- */
  /* Primary */
  --odro-blue:        #0094C6;  /* Odro Blue, main brand colour. Pantone 7688 C */
  --odro-navy:        #0E2050;  /* Deep Navy, contrast + backgrounds. Pantone 534 C */
  --odro-gold:        #FFDB29;  /* Gold, highlights only. Pantone 114 C */
  --odro-light-blue:  #5FBFED;  /* Odro Light Blue, accents + backgrounds. Pantone 2985 C */

  /* Supporting range: tint ramp from Odro Blue to Deep Navy */
  --odro-sky:         #94CEF2;  /* Pantone 2905 C. Lightest tint: OK as text on dark */
  --odro-mid-blue:    #479CD0;  /* Pantone 2170 C. p.9 says #479CD0, p.10 says #469CD0 (RGB 70,156,208) */
  --odro-deep-blue:   #007BC4;  /* Pantone 2149 C. Darkest blue that passes AA as small text on white */
  --odro-text-blue:   #0069A8;  /* small blue text and links (27 Nov 2026, site review): #007BC4 only just passes on white and fails on the pale tints; this passes on both */
  --odro-dark-blue:   #225B88;  /* p.10 ramp only */
  --odro-white:       #FFFFFF;

  /* Not in the guidelines: the live site's pale section background */
  --odro-mist:        #ECF6FD;

  /* Navy / sky at the alpha levels the pages use */
  --odro-navy-a06: rgba(14, 32, 80, 0.06);
  --odro-navy-a08: rgba(14, 32, 80, 0.08);
  --odro-navy-a10: rgba(14, 32, 80, 0.10);
  --odro-navy-a12: rgba(14, 32, 80, 0.12);
  --odro-navy-a14: rgba(14, 32, 80, 0.14);
  --odro-navy-a18: rgba(14, 32, 80, 0.18);
  --odro-sky-a25:  rgba(148, 206, 242, 0.25);
  --odro-sky-a35:  rgba(148, 206, 242, 0.35);
  --odro-white-a06: rgba(255, 255, 255, 0.06);
  --odro-white-a08: rgba(255, 255, 255, 0.08);
  --odro-sky-a08:  rgba(148, 206, 242, 0.08);
  --odro-sky-a28:  rgba(148, 206, 242, 0.28);
  --odro-light-blue-a65: rgba(95, 191, 237, 0.65);
  --odro-deep-blue-a60: rgba(0, 123, 196, 0.60);
  --odro-deep-blue-a18: rgba(0, 123, 196, 0.18);
  --odro-deep-blue-a06: rgba(0, 123, 196, 0.06);

  /* ---- 2. Roles ---------------------------------------------------------- */
  /* Text on light backgrounds */
  --color-ink:          var(--odro-navy);       /* body + headings */
  --color-link:         var(--odro-text-blue);  /* 5.9:1 on white, passes AA on the pale tints too */
  --color-link-hover:   var(--odro-navy);
  --color-eyebrow:      var(--odro-text-blue);  /* guidelines show Odro Blue, but #0094C6 is
                                                   3.5:1 on white: large text only (24px+, or 19px bold) */
  --color-brand-text-lg: var(--odro-blue);      /* Odro Blue for large display text only */

  /* Text on dark backgrounds (navy or Odro Blue) */
  --color-ink-on-dark:     var(--odro-white);
  --color-soft-on-dark:    var(--odro-sky);     /* "the lightest blue tint" */
  --color-eyebrow-on-dark: var(--odro-sky);

  /* Accents */
  --color-accent:     var(--odro-blue);   /* rules, underlines, icons, chart series */
  --color-highlight:  var(--odro-gold);   /* CTAs, one key number, small details */

  /* Surfaces */
  --surface-page:   var(--odro-white);
  --surface-soft:   var(--odro-mist);
  --surface-dark:   var(--odro-navy);
  --surface-brand:  var(--odro-blue);
  --surface-card:   var(--odro-white);
  --surface-card-on-dark: var(--odro-white-a06);

  /* Gradients. The four from guidelines p.10, plus the live site's hero */
  --gradient-sky-to-light:  linear-gradient(135deg, var(--odro-sky), var(--odro-light-blue));
  --gradient-light-to-blue: linear-gradient(135deg, var(--odro-light-blue), #0071BB);
  --gradient-deep-to-navy:  linear-gradient(135deg, var(--odro-deep-blue), var(--odro-navy));
  --gradient-light-to-navy: linear-gradient(90deg, var(--odro-light-blue), var(--odro-navy));
  --gradient-hero:          linear-gradient(135deg, var(--odro-navy) 0%, var(--odro-navy) 45%, var(--odro-deep-blue) 100%);
  --gradient-panel-on-dark: linear-gradient(140deg, var(--odro-deep-blue-a60) 0%, var(--odro-deep-blue-a18) 55%, var(--odro-deep-blue-a06) 100%);

  /* Borders */
  --border-subtle:  var(--odro-navy-a10);
  --border-strong:  var(--odro-navy-a18);
  --border-on-dark: var(--odro-sky-a25);
  --border-card-on-dark:       var(--odro-sky-a28);     /* translucent cards on navy */
  --border-card-on-dark-hover: var(--odro-light-blue);
  --border-panel-on-dark:      var(--odro-sky-a35);     /* featured panel on navy */
  --outline-pebble:            var(--odro-light-blue-a65);  /* offset outline behind a pebble photo */
  --border-placeholder: var(--odro-mid-blue);  /* 2px dashed "asset needed" boxes. Never as text */

  /* Buttons */
  --button-primary-bg:  var(--odro-gold);
  --button-primary-ink: var(--odro-navy);
  --button-outline-on-dark: var(--odro-sky);

  /* Focus */
  --focus-ring: 3px solid var(--odro-gold);
  --focus-offset: 3px;

  /* Charts (guidelines p.23): navy or Odro Blue series, Gold on ONE value only,
     three series at most, label directly on the chart */
  --chart-1: var(--odro-navy);
  --chart-2: var(--odro-blue);
  --chart-3: var(--odro-sky);
  --chart-highlight: var(--odro-gold);

  /* ---- 3. Typography (guidelines p.12-13) ------------------------------- */
  --font-display:  Epilogue, Arial, sans-serif;     /* headings + display only. Light to Bold */
  --font-body:     'Baloo 2', Arial, sans-serif;    /* body copy + UI: nav, buttons, labels,
                                                       eyebrows, captions. Regular to ExtraBold */
  --font-wordmark: Comfortaa, Arial, sans-serif;    /* product wordmarks only. Use the logo
                                                       files rather than live text */

  --weight-light:     300;  /* Epilogue */
  --weight-regular:   400;
  --weight-medium:    500;
  --weight-semibold:  600;
  --weight-bold:      700;  /* heaviest Epilogue weight in the guidelines */
  --weight-extrabold: 800;  /* Baloo 2 only. The live site's 800 Epilogue h1s are off-guideline */

  /* Web type scale. The guidelines give print/slide sizes (H1 40-54pt,
     H2 24-30pt, body 14-16pt, caption 10-12pt); these are the site's web sizes. */
  --text-hero:  clamp(38px, 5vw, 60px);     /* homepage h1 */
  --text-h1:    clamp(36px, 4.8vw, 58px);   /* page h1 */
  --text-h2:    clamp(30px, 3.4vw, 44px);   /* section title */
  --text-h2-sm: clamp(28px, 3vw, 38px);     /* secondary section title */
  --text-h3:    24px;                       /* card title */
  --text-h4:    20px;
  --text-lead:  clamp(18px, 1.6vw, 20px);   /* intro paragraph */
  --text-body:  17px;
  --text-ui:    16px;                       /* nav, buttons */
  --text-small: 15px;
  --text-caption: 14px;
  --text-eyebrow: 13px;                     /* all caps + --tracking-eyebrow */
  --text-micro: 12px;                       /* badges, fine print */

  --leading-tight:   1.08;  /* h1 */
  --leading-heading: 1.1;   /* h2, h3 */
  --leading-snug:    1.3;
  --leading-body:    1.55;

  --tracking-h1:      -1.2px;
  --tracking-heading: -0.6px;
  --tracking-eyebrow:  1.4px;   /* all caps always gets letter-spacing */

  /* ---- 4. Spacing -------------------------------------------------------- */
  --space-1:  4px;
  --space-2:  6px;
  --space-3:  8px;
  --space-4:  10px;
  --space-5:  12px;
  --space-6:  14px;
  --space-7:  16px;
  --space-8:  18px;
  --space-9:  20px;
  --space-10: 24px;
  --space-11: 28px;
  --space-12: 32px;
  --space-13: 40px;
  --space-14: 48px;

  --section-pad-y:    clamp(56px, 7vw, 96px);   /* standard section */
  --section-pad-y-sm: clamp(48px, 6vw, 80px);   /* compact section */
  --gutter:           clamp(16px, 4vw, 32px);   /* page side padding */

  /* ---- 5. Radius --------------------------------------------------------- */
  --radius-sm:    8px;    /* focus outline, small chips */
  --radius-md:    12px;   /* nav buttons, inputs */
  --radius-btn:   14px;   /* large CTAs */
  --radius-tile:  16px;
  --radius-video: 20px;   /* videos sitting straight on the page, no frame (Speed demos, Tommy, 25 Nov 2026) */
  --radius-card:  22px;
  --radius-panel: 24px;
  --radius-feature: 28px;  /* featured story cards */
  --radius-pill:  999px;
  /* The pebble (guidelines p.19): our one recurring shape. Use for background
     accents, section dividers, image crops and data callouts. Never as a
     container for dense text. Portraits and feature photos crop to it.
     25 Nov 2026: new work uses ONLY the supplied files in assets/pebbles/
     via styles/pebbles.css. This drawn radius is old: it stays only for the
     homepage and Odro Vantage page (Peter's pebbles) and variations/. */
  --radius-pebble: 58% 42% 52% 48% / 46% 54% 46% 54%;

  /* ---- 6. Shadow (guidelines p.20: soft drop shadows for depth) ---------- */
  /* Never on the logo itself (guidelines p.7). */
  --shadow-sm:  0 8px 24px var(--odro-navy-a06);
  --shadow-md:  0 8px 24px var(--odro-navy-a08);
  --shadow-lg:  0 12px 30px var(--odro-navy-a10);
  --shadow-xl:  0 24px 60px var(--odro-navy-a18);
  --shadow-cta: 0 6px 18px rgba(0, 0, 0, 0.18);   /* gold button on dark */
  --shadow-on-dark: 0 18px 40px rgba(0, 0, 0, 0.25);

  /* ---- 7. Logo (guidelines p.6-7, p.21) --------------------------------- */
  /* Clearspace: at least the height of the speech-bubble tail on every side.
     Don't stretch, recolour outside the palette, rotate, add effects, or
     place on busy photography. Product logos: light navy on light
     backgrounds, white on dark; colour variants only to single out one
     product among the others. */
  --logo-min-height: 24px;

  /* ---- 8. Layout --------------------------------------------------------- */
  --container:    1200px;
  --prose:        760px;
  --prose-narrow: 580px;
  --breakpoint-nav: 900px;   /* reference only: CSS vars can't be used in @media */
  --breakpoint-sm:  640px;
}

/* ==========================================================================
   Shared classes (added 22 Nov 2026, first used by the homepage
   "Customer results" featured-story section). Reusable on any page.
   ========================================================================== */

/* OLD, drawn pebbles: .pebble-crop, .pebble-photo, .pebble-outline and the
   faint pebble on .panel-on-dark are used only in variations/ now. Don't use
   them on a page: use .peb-crop and .peb-icon from styles/pebbles.css.
   Pebble crop: crops a photo, or its placeholder, to the brand pebble.
   Set the width where it's used; it stays square. */
.pebble-crop {
  flex: none;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-pebble);
  overflow: hidden;
}
.pebble-crop > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pebble-crop.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: var(--surface-soft);
  border: 2px dashed var(--border-placeholder);
  color: var(--color-ink);
  font-size: var(--text-micro);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  text-align: center;
}

/* Pebble photo with an offset outline behind it (light blue, 12px right,
   10px down). Wrap a .pebble-crop and a .pebble-outline in .pebble-photo. */
.pebble-photo { position: relative; flex: none; isolation: isolate; }
.pebble-photo > .pebble-crop { position: relative; width: 100%; height: 100%; aspect-ratio: auto; }
.pebble-outline {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid var(--outline-pebble);
  border-radius: var(--radius-pebble);
  transform: translate(12px, 10px);
  pointer-events: none;
}

/* Gold bar under a figure, the same width as the figure. Gold's one moment
   in a section: use once. */
.gold-bar {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-highlight);
  transform-origin: left center;
}

/* Translucent card on Deep Navy: 6% white with a light blue border. */
.card-on-dark {
  background: var(--surface-card-on-dark);
  border: 1px solid var(--border-card-on-dark);
  border-radius: var(--radius-card);
  color: var(--color-ink-on-dark);
}

/* Featured panel on Deep Navy: blue gradient, light blue border, a faint
   pebble in the bottom-right corner. All text white. */
.panel-on-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--gradient-panel-on-dark);
  border: 1px solid var(--border-panel-on-dark);
  border-radius: var(--radius-feature);
  box-shadow: var(--shadow-on-dark);
  color: var(--color-ink-on-dark);
}
.panel-on-dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -110px;
  width: 320px;
  height: 280px;
  border-radius: var(--radius-pebble);
  background: var(--odro-sky-a08);
  pointer-events: none;
}

/* Counting figure. The final figure is in the HTML: .sr-only for screen
   readers, .count-sizer (invisible) to hold the widest width so nothing
   moves, and .count-live, which a script may change while it counts. */
.count { display: inline-block; white-space: nowrap; }
.count-show { position: relative; display: inline-block; font-variant-numeric: tabular-nums; }
.count-sizer { visibility: hidden; }
.count-live { position: absolute; left: 0; top: 0; }

/* ==========================================================================
   Proof strip, featured (homepage "Customer results", option B v2,
   22 Nov 2026). Markup in index.html; entrance animation in
   scripts/results-reveal.js, loaded only on pages that use this pattern.
   ========================================================================== */
.proof-featured { display: flex; flex-direction: column; gap: var(--space-13); }
.proof-featured-head { display: flex; flex-direction: column; gap: var(--space-7); }
.proof-featured-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-7) var(--space-12); }
.proof-featured-head h2 { margin: 0; font-weight: var(--weight-semibold); font-size: var(--text-h2); line-height: var(--leading-heading); letter-spacing: -0.025em; max-width: 18ch; }
.proof-featured-intro { margin: var(--space-5) 0 0; font-size: var(--text-lead); color: var(--color-soft-on-dark); max-width: var(--prose-narrow); }
.proof-featured-more { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--color-ink-on-dark); font-weight: var(--weight-bold); text-decoration: none; }
.proof-featured-more:hover { color: var(--color-ink-on-dark); text-decoration: underline; }
.proof-featured-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-10); }
@media (max-width: 959px) { .proof-featured-grid { grid-template-columns: 1fr; } }

/* Featured panel */
.proof-panel { padding: clamp(24px, 3.6vw, 44px); display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-11); }
.proof-panel-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5) var(--space-9); }
.proof-panel-label { font-size: var(--text-eyebrow); font-weight: var(--weight-bold); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; }
.proof-panel-logos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-7); }
.proof-panel-logos img { height: 26px; width: auto; }
.proof-panel-mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-11) var(--space-12); }
.proof-panel-figure { margin: 0; flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: var(--space-6); }
.proof-panel-figure-num { align-self: flex-start; display: flex; flex-direction: column; gap: var(--space-4); }
.proof-panel-figure .count { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: clamp(60px, 7vw, 88px); line-height: 1; letter-spacing: -0.035em; }
.proof-panel-line { font-family: var(--font-body); font-weight: var(--weight-bold); font-size: var(--text-h4); line-height: var(--leading-snug); }
.proof-panel .pebble-photo { width: 190px; height: 180px; margin-right: 12px; }
.proof-panel-quote { margin: 0; font-family: var(--font-display); font-weight: var(--weight-semibold); font-size: clamp(22px, 2.3vw, 28px); line-height: 1.25; letter-spacing: -0.01em; }
.proof-panel-quote p { margin: 0; }
.proof-panel-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-7) var(--space-10); }
.proof-panel-by { margin: 0; font-size: var(--text-small); line-height: var(--leading-snug); }
.proof-panel-by strong { display: block; }
.btn-white { background: var(--surface-page); color: var(--color-ink); }
.btn-white:hover { background: var(--surface-soft); color: var(--color-ink); }

/* Proof cards */
.proof-cards { display: flex; flex-direction: column; gap: var(--space-7); }
.proof-card { flex: 1; padding: var(--space-10); display: flex; flex-direction: column; gap: var(--space-6); transition: border-color 0.2s ease; }
.proof-card:hover { border-color: var(--border-card-on-dark-hover); }
.proof-card-logo { height: 24px; width: auto; align-self: flex-start; }
.proof-card-figure { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-5); }
.proof-card-figure .count { font-family: var(--font-display); font-weight: var(--weight-bold); font-size: clamp(36px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.03em; }
.proof-card-line { font-family: var(--font-body); font-weight: var(--weight-semibold); font-size: var(--text-body); line-height: var(--leading-snug); color: var(--color-soft-on-dark); }
.proof-card-person { margin: auto 0 0; display: flex; align-items: center; gap: var(--space-5); font-size: var(--text-caption); line-height: var(--leading-snug); color: var(--color-soft-on-dark); }
.proof-card-person .pebble-crop { width: 38px; padding: 0; border-width: 1px; }
.proof-card-person strong { display: block; color: var(--color-ink-on-dark); font-size: var(--text-small); }

/* Entrance animation. Nothing is hidden until the script adds .reveal-armed
   to the section, so visitors without JavaScript see the finished section.
   The script adds .is-revealed when 15% of the section is on screen, and
   removes it once the section is fully off screen, so it replays on return. */
.reveal-armed .reveal-rise,
.reveal-armed .reveal-pop,
.reveal-armed .reveal-swing,
.reveal-armed .reveal-draw { opacity: 0; }
.reveal-armed.is-revealed .reveal-rise  { animation: reveal-rise 0.7s ease-out var(--reveal-delay, 0s) both; }
.reveal-armed.is-revealed .reveal-pop   { animation: reveal-pop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0s) both; }
.reveal-armed.is-revealed .reveal-swing { animation: reveal-swing 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) var(--reveal-delay, 0s) both; }
.reveal-armed.is-revealed .reveal-draw  { animation: reveal-draw 0.7s ease-out var(--reveal-delay, 0s) both; }
.reveal-delay-10 { --reveal-delay: 0.1s; }
.reveal-delay-35 { --reveal-delay: 0.35s; }
.reveal-delay-45 { --reveal-delay: 0.45s; }
.reveal-delay-55 { --reveal-delay: 0.55s; }
.reveal-delay-60 { --reveal-delay: 0.6s; }
.reveal-delay-75 { --reveal-delay: 0.75s; }
.reveal-delay-150 { --reveal-delay: 1.5s; }
@keyframes reveal-rise  { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes reveal-pop   { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes reveal-swing { from { opacity: 0; transform: translate(0, 0) rotate(-8deg); } 25% { opacity: 1; } to { opacity: 1; transform: translate(12px, 10px) rotate(0deg); } }
@keyframes reveal-draw  { from { opacity: 1; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .reveal-armed .reveal-rise,
  .reveal-armed .reveal-pop,
  .reveal-armed .reveal-swing,
  .reveal-armed .reveal-draw { opacity: 1; animation: none !important; }
  .proof-card { transition: none; }
}

/* ==========================================================================
   Slide in from the side (homepage audience cards, 22 Nov 2026). Approved
   exception to the no-custom-animation rule (Tommy, 22 Nov 2026).
   Markup: .clip-x on the section; .slide-in-left or .slide-in-right on
   each card. Nothing is hidden until scripts/home.js adds .slide-armed, so
   visitors without JavaScript see the cards in place. The script then adds
   .slide-played (the card slides in, once) when 30% of it is on screen, or
   .slide-shown (shown at once) if its link gets keyboard focus first.
   ========================================================================== */
.slide-armed { opacity: 0; transform: translateX(-160px); }
.slide-armed.slide-in-right { transform: translateX(160px); }
.slide-armed.slide-played.slide-in-left  { animation: slide-from-left 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--slide-delay, 0s) both; }
.slide-armed.slide-played.slide-in-right { animation: slide-from-right 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--slide-delay, 0s) both; }
.slide-armed.slide-shown { opacity: 1; transform: none; }
.slide-delay-15 { --slide-delay: 0.15s; }
@keyframes slide-from-left  { from { opacity: 0; transform: translateX(-160px); } to { opacity: 1; transform: none; } }
@keyframes slide-from-right { from { opacity: 0; transform: translateX(160px); }  to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .slide-armed { opacity: 1; transform: none; animation: none !important; }
}

/* Clip sideways overflow on a section, so decoration or a card waiting off
   to the side never makes a phone scroll sideways. Used on the homepage
   "Why Odro" and audience sections. */
.clip-x { overflow-x: hidden; overflow-x: clip; }

/* Text for screen readers only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
