/* ==========================================================================
   Oniro — theme stylesheet

   Everything that can be changed from the admin is a custom property, set once
   in the document head (see templates/partials/style.html.twig). The values
   below are the defaults, so this file also works on its own.

   Naming: .o-block is a section of the site, .o-column a cell of its grid.
   ========================================================================== */

:root {
  /* Brand — overridden per site from Admin → Themes → Oniro */
  --o-color-primary: #1B5E3A;
  --o-color-primary-dark: #123F27;
  --o-color-accent: #C6A16B;
  --o-color-bg: #FAF8F4;
  --o-color-bg-alt: #EDE7DD;
  --o-color-text: #33332F;
  --o-color-text-muted: #6E6A63;
  --o-color-footer-bg: #123F27;
  --o-color-footer-text: #E9E3D8;

  /* Derived tints — kept here so a palette change carries through */
  --o-color-border: color-mix(in srgb, var(--o-color-text) 14%, transparent);
  --o-color-accent-soft: color-mix(in srgb, var(--o-color-accent) 16%, white);
  --o-color-primary-soft: color-mix(in srgb, var(--o-color-primary) 10%, white);
  --o-color-on-dark: #F4F1EA;
  /* The brand gold reads at 2.3:1 on paper — fine as a mark, unreadable as
     text. This darkened version keeps the hue and clears 4.5:1, and follows
     whatever accent the site is configured with. */
  --o-color-accent-strong: color-mix(in srgb, var(--o-color-accent) 65%, black);

  --o-font-heading: 'Jost', system-ui, sans-serif;
  --o-font-body: 'Questrial', system-ui, sans-serif;
  --o-font-script: 'Great Vibes', cursive;
  --o-font-size: 17px;
  --o-heading-transform: none;

  --o-container: 1140px;
  --o-radius: 12px;
  --o-header-height: 4.5rem;
  --o-shadow: 0 1px 2px rgba(18, 63, 39, .06), 0 8px 24px rgba(18, 63, 39, .07);
  --o-transition: 200ms ease;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: var(--o-font-size);
  scroll-behavior: smooth;
  /* Anchor targets must clear the fixed header. */
  scroll-padding-top: var(--o-header-height);
}

body {
  margin: 0;
  background: var(--o-color-bg);
  color: var(--o-color-text);
  font-family: var(--o-font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  font-family: var(--o-font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--o-color-primary);
  text-transform: var(--o-heading-transform);
  letter-spacing: .01em;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }

p, ul, ol, blockquote, table { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a {
  color: var(--o-color-primary);
  text-underline-offset: .18em;
  text-decoration-thickness: 1px;
  transition: color var(--o-transition);
}
a:hover { color: var(--o-color-accent-strong); }

img { max-width: 100%; height: auto; }

blockquote {
  margin-inline: 0;
  padding: .2em 0 .2em 1.2em;
  border-left: 3px solid var(--o-color-accent);
  color: var(--o-color-text-muted);
  font-style: italic;
}

hr { border: 0; border-top: 1px solid var(--o-color-border); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--o-color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.o-container {
  width: 100%;
  max-width: var(--o-container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.o-container--narrow { max-width: min(46rem, var(--o-container)); }
.o-container--normal { max-width: var(--o-container); }
.o-container--wide { max-width: calc(var(--o-container) + 12rem); }
.o-container--full { max-width: none; padding-inline: clamp(1.1rem, 3vw, 3rem); }

.o-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: .8rem 1.2rem;
  background: var(--o-color-primary);
  color: #fff;
  border-radius: 0 0 var(--o-radius) 0;
  text-decoration: none;
}
.o-skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.o-header {
  position: relative;
  z-index: 100;
  background: var(--o-color-bg);
  border-bottom: 1px solid var(--o-color-border);
  transition: background var(--o-transition), box-shadow var(--o-transition);
}

.o-header-fixed .o-header { position: sticky; top: 0; }

.o-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--o-header-height);
}

/* Transparent over a banner, opaque as soon as the visitor scrolls. */
.o-header-transparent.o-page-accueil .o-header {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
  border-bottom-color: transparent;
}
.o-header-transparent.o-page-accueil .o-header .o-nav__link,
.o-header-transparent.o-page-accueil .o-header .o-logo__title { color: var(--o-color-on-dark); }
.o-header-transparent.o-page-accueil.o-scrolled .o-header {
  position: fixed;
  background: var(--o-color-bg);
  box-shadow: var(--o-shadow);
}
.o-header-transparent.o-page-accueil.o-scrolled .o-header .o-nav__link,
.o-header-transparent.o-page-accueil.o-scrolled .o-header .o-logo__title { color: var(--o-color-primary); }

.o-logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--o-color-primary);
}
.o-logo__image { display: block; width: auto; }
.o-logo__title {
  font-family: var(--o-font-heading);
  font-size: 1.15rem;
  letter-spacing: .04em;
}

.o-nav { display: flex; align-items: center; gap: 1rem; }

.o-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.9rem, 2vw, 1.8rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.o-nav__link {
  position: relative;
  display: inline-block;
  padding: .35rem 0;
  font-family: var(--o-font-heading);
  font-size: .98rem;
  color: var(--o-color-text);
  text-decoration: none;
}
.o-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--o-color-accent);
  transition: right var(--o-transition);
}
.o-nav__link:hover::after,
.o-nav__link.is-current::after,
.o-nav__link.is-active::after { right: 0; }

.o-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 .6rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.o-nav__bar {
  display: block;
  height: 2px;
  background: currentColor;
  color: var(--o-color-primary);
  transition: transform var(--o-transition), opacity var(--o-transition);
}
.o-nav__toggle[aria-expanded='true'] .o-nav__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.o-nav__toggle[aria-expanded='true'] .o-nav__bar:nth-child(2) { opacity: 0; }
.o-nav__toggle[aria-expanded='true'] .o-nav__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.o-btn {
  display: inline-block;
  padding: .7em 1.5em;
  border: 1px solid transparent;
  border-radius: calc(var(--o-radius) * .6);
  background: var(--o-color-primary);
  color: #fff;
  font-family: var(--o-font-heading);
  font-size: .98rem;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--o-transition), color var(--o-transition), transform var(--o-transition);
}
.o-btn:hover { background: var(--o-color-primary-dark); color: #fff; transform: translateY(-1px); }
.o-btn--primary { background: var(--o-color-primary); color: #fff; }
.o-btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--o-color-primary);
}
.o-btn--ghost:hover { background: var(--o-color-primary); color: #fff; }
.o-btn--gold { background: var(--o-color-accent); color: var(--o-color-primary-dark); }
.o-btn--gold:hover { background: var(--o-color-primary-dark); color: #fff; }

.o-hero .o-btn--ghost,
.o-block--bg-dark .o-btn--ghost,
.o-block--bg-image .o-btn--ghost {
  color: var(--o-color-on-dark);
  border-color: currentColor;
}
.o-hero .o-btn--ghost:hover,
.o-block--bg-dark .o-btn--ghost:hover,
.o-block--bg-image .o-btn--ghost:hover {
  background: var(--o-color-on-dark);
  color: var(--o-color-primary-dark);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.o-block {
  position: relative;
  scroll-margin-top: var(--o-header-height);
}

.o-block--space-none { padding-block: 0; }
.o-block--space-sm { padding-block: clamp(1.2rem, 3vw, 2rem); }
.o-block--space-md { padding-block: clamp(2rem, 5vw, 3.5rem); }
.o-block--space-lg { padding-block: clamp(3rem, 7vw, 5.5rem); }
.o-block--space-xl { padding-block: clamp(4.5rem, 10vw, 8rem); }

.o-block--bg-paper { background: var(--o-color-bg); }
.o-block--bg-sand { background: var(--o-color-bg-alt); }
.o-block--bg-accent { background: var(--o-color-primary-soft); }
.o-block--bg-gold { background: var(--o-color-accent-soft); }
.o-block--bg-dark { background: var(--o-color-primary-dark); color: var(--o-color-on-dark); }
.o-block--bg-dark h1, .o-block--bg-dark h2, .o-block--bg-dark h3,
.o-block--bg-dark h4, .o-block--bg-dark a { color: var(--o-color-on-dark); }

.o-block--bg-image {
  background-size: cover;
  background-position: center;
  color: var(--o-color-on-dark);
}
.o-block--bg-image h1, .o-block--bg-image h2, .o-block--bg-image h3 { color: var(--o-color-on-dark); }
.o-block__veil {
  position: absolute;
  inset: 0;
  background: rgba(18, 63, 39, .55);
}
.o-block--bg-image > .o-container { position: relative; }

.o-block--align-left { text-align: left; }
.o-block--align-center { text-align: center; }
.o-block--align-right { text-align: right; }
.o-block--align-center .o-columns { justify-items: center; }

.o-block__title { margin-bottom: .4em; }
.o-block__subtitle {
  margin: -.2em 0 1.4em;
  color: var(--o-color-text-muted);
  font-size: 1.15rem;
}
.o-block__subtitle--script {
  font-family: var(--o-font-script);
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
  color: var(--o-color-accent-strong);
  line-height: 1.1;
}

/* On a dark section the light gold is the readable one. */
.o-block--bg-dark .o-block__subtitle--script,
.o-block--bg-image .o-block__subtitle--script { color: var(--o-color-accent); }
.o-block--bg-dark a:hover, .o-block--bg-image a:hover { color: var(--o-color-accent); }
.o-block__content > :first-child { margin-top: 0; }
.o-block__content + .o-columns { margin-top: 2.2rem; }

/* --------------------------------------------------------------------------
   Columns
   -------------------------------------------------------------------------- */

.o-columns {
  --o-gap: 2rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--o-gap);
  align-items: start;
  text-align: initial;
}

.o-columns--gap-sm { --o-gap: 1rem; }
.o-columns--gap-md { --o-gap: 2rem; }
.o-columns--gap-lg { --o-gap: 3.5rem; }

.o-columns--valign-top { align-items: start; }
.o-columns--valign-center { align-items: center; }
.o-columns--valign-bottom { align-items: end; }

.o-column {
  --o-span: 12;
  grid-column: span var(--o-span);
  min-width: 0;
}

.o-column--card {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: var(--o-color-bg);
  border: 1px solid var(--o-color-border);
  border-radius: var(--o-radius);
  box-shadow: var(--o-shadow);
}

.o-column--align-left { text-align: left; }
.o-column--align-center { text-align: center; }
.o-column--align-right { text-align: right; }

.o-column__image {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: var(--o-radius);
  object-fit: cover;
}
.o-column__title { margin-bottom: .5em; font-size: 1.25rem; }
.o-column__text > :first-child { margin-top: 0; }
.o-column .o-btn { margin-top: 1.2rem; }

/* --------------------------------------------------------------------------
   Banner
   -------------------------------------------------------------------------- */

.o-hero {
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--o-color-primary-dark);
  color: var(--o-color-on-dark);
  isolation: isolate;
}

.o-hero--small { min-height: 40vh; }
.o-hero--medium { min-height: 60vh; }
.o-hero--large { min-height: 78vh; }
.o-hero--full { min-height: 100svh; }

.o-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.o-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
}
.o-hero--overlay-none::before { background: none; }
.o-hero--overlay-dark::before { background: rgba(18, 63, 39, .55); }
.o-hero--overlay-light::before { background: rgba(250, 248, 244, .6); }
.o-hero--overlay-gradient::before {
  background: linear-gradient(to bottom, rgba(18, 63, 39, .15), rgba(18, 63, 39, .75));
}
.o-hero--overlay-light { color: var(--o-color-text); }
.o-hero--overlay-light .o-hero__title { color: var(--o-color-primary-dark); }
.o-hero--overlay-light .o-hero__subtitle--script { color: var(--o-color-accent-strong); }

.o-hero__inner { padding-block: clamp(5rem, 12vw, 9rem); }
.o-hero--align-left .o-hero__inner { text-align: left; }
.o-hero--align-center .o-hero__inner { text-align: center; margin-inline: auto; }
.o-hero--align-right .o-hero__inner { text-align: right; }

.o-hero__title { color: inherit; margin-bottom: .3em; }
.o-hero:has(.o-hero__media) .o-hero__title,
.o-hero:has(.o-hero__media) .o-hero__subtitle,
.o-hero:has(.o-hero__media) .o-hero__content {
  text-shadow: 0 1px 12px rgba(18, 39, 27, .55);
}
.o-hero__subtitle { font-size: 1.3rem; margin-bottom: 1.6em; }
.o-hero__subtitle--script {
  font-family: var(--o-font-script);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  color: var(--o-color-accent);
  line-height: 1.05;
}
.o-hero__content { margin-bottom: 1.6em; }
.o-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.o-hero--align-center .o-hero__actions { justify-content: center; }
.o-hero--align-right .o-hero__actions { justify-content: flex-end; }

.o-hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  width: 1.4rem;
  height: 1.4rem;
  margin-left: -.7rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
  animation: o-cue 2.4s ease-in-out infinite;
}

@keyframes o-cue {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: .35; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: .8; }
}

/* --------------------------------------------------------------------------
   Gallery
   -------------------------------------------------------------------------- */

.o-gallery {
  --o-gallery-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--o-gallery-cols), minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}
.o-gallery__item { margin: 0; }
.o-gallery__item img {
  display: block;
  width: 100%;
  border-radius: var(--o-radius);
}
.o-gallery--crop .o-gallery__item img { aspect-ratio: 4 / 3; object-fit: cover; }
.o-gallery__item figcaption {
  margin-top: .4rem;
  font-size: .9rem;
  color: var(--o-color-text-muted);
}

/* --------------------------------------------------------------------------
   Forms — markup comes from the Grav Form plugin
   -------------------------------------------------------------------------- */

.o-form { max-width: 42rem; }
.o-block--align-center .o-form { margin-inline: auto; text-align: left; }

.o-form .form-field { margin-bottom: 1.1rem; }
.o-form .form-label label,
.o-form label {
  display: block;
  margin-bottom: .35rem;
  font-family: var(--o-font-heading);
  font-size: .95rem;
  color: var(--o-color-text);
}
.o-form .required { color: var(--o-color-accent); margin-left: .15em; }

.o-form input[type='text'],
.o-form input[type='email'],
.o-form input[type='url'],
.o-form input[type='tel'],
.o-form input[type='number'],
.o-form textarea,
.o-form select {
  width: 100%;
  padding: .7rem .9rem;
  background: #fff;
  border: 1px solid var(--o-color-border);
  border-radius: calc(var(--o-radius) * .5);
  color: var(--o-color-text);
  font: inherit;
  transition: border-color var(--o-transition), box-shadow var(--o-transition);
}
.o-form textarea { min-height: 9rem; resize: vertical; }
.o-form input:focus, .o-form textarea:focus, .o-form select:focus {
  border-color: var(--o-color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--o-color-primary) 18%, transparent);
  outline: none;
}

.o-form .checkboxes label,
.o-form .form-field-checkbox label { display: flex; gap: .6rem; align-items: flex-start; }
.o-form input[type='checkbox'] { width: auto; margin-top: .25rem; accent-color: var(--o-color-primary); }

.o-form .form-errors, .o-form .form-message { color: #9B2C2C; font-size: .9rem; }
.o-form__actions { margin-top: 1.4rem; }

/* Honeypot: present for bots, gone for everyone else. */
.o-form .form-field-honeypot,
.o-form input[name*='honeypot'] {
  position: absolute !important;
  left: -9999px !important;
}

.form-messages, .o-form .alert {
  margin-bottom: 1.4rem;
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--o-color-primary);
  border-radius: calc(var(--o-radius) * .4);
  background: var(--o-color-primary-soft);
}
.form-messages .error, .alert.error { border-left-color: #9B2C2C; background: #FBEAEA; }

/* --------------------------------------------------------------------------
   Booking widget — the plugin ships its own CSS; this only settles it in
   -------------------------------------------------------------------------- */

.o-booking { margin-top: 1.5rem; }

/* The plugin dresses its widget through custom properties, so the theme tints
   it by redefining those rather than by fighting its rules. Colours set in the
   plugin's own settings arrive as inline styles and still win. */
.o-booking .ea-widget {
  --ea-accent: var(--o-color-primary);
  --ea-accent-contrast: #fff;
  --ea-dark: var(--o-color-primary-dark);
  --ea-dark-contrast: #fff;
  --ea-border: var(--o-color-border);
  --ea-muted: var(--o-color-text-muted);
  --ea-body: var(--o-color-text);
  --ea-radius: calc(var(--o-radius) * .5);
  --ea-shadow: none;

  border-radius: var(--o-radius);
  box-shadow: var(--o-shadow);
  overflow: hidden;
  font-family: var(--o-font-body);
}
.o-booking .ea-widget h2,
.o-booking .ea-frame-title { font-family: var(--o-font-heading); }

/* --------------------------------------------------------------------------
   Footer and back-to-top
   -------------------------------------------------------------------------- */

.o-footer {
  background: var(--o-color-footer-bg);
  color: var(--o-color-footer-text);
  font-size: .95rem;
}
.o-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 2.5rem;
}
.o-footer:has(.o-footer__inner:empty) { padding: 0; }
.o-footer a { color: var(--o-color-footer-text); }
.o-footer a:hover { color: var(--o-color-accent); }
.o-footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.o-footer__social { display: flex; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }

.o-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--o-color-primary);
  color: #fff;
  box-shadow: var(--o-shadow);
  opacity: 0;
  transform: translateY(.5rem);
  transition: opacity var(--o-transition), transform var(--o-transition);
}
.o-to-top[hidden] { display: none; }
.o-to-top.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.o-animate .o-block:not(.o-hero) .o-container { --o-reveal: 1; }
.o-animate .is-revealable {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 600ms ease, transform 600ms ease;
}
.o-animate .is-revealable.is-revealed { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .o-nav__toggle { display: flex; }

  /* A header that eats a third of a phone screen is a header in the way. */
  .o-logo__image { max-height: 44px; }
  .o-nav__cta { padding: .55em 1em; font-size: .9rem; }

  .o-nav__list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 0 1rem;
    background: var(--o-color-bg);
    border-bottom: 1px solid var(--o-color-border);
    box-shadow: var(--o-shadow);
    display: none;
  }
  .o-nav__list.is-open { display: flex; }
  .o-nav__item { padding: 0 clamp(1.1rem, 4vw, 2.5rem); }
  .o-nav__link { display: block; padding: .75rem 0; color: var(--o-color-text); }

  .o-header-transparent.o-page-accueil .o-header .o-nav__list .o-nav__link { color: var(--o-color-text); }

  /* Collapse the twelve tracks to one: keeping them would keep eleven gaps,
     which on a phone is wider than the screen itself. */
  .o-columns:not(.o-columns--nostack) { grid-template-columns: minmax(0, 1fr); }
  .o-columns:not(.o-columns--nostack) .o-column { grid-column: auto; }
  .o-columns--nostack { --o-gap: .75rem; }

  .o-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .o-footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  /* The menu carries the same link, and two calls to action side by side on a
     small screen is one too many. */
  .o-nav__cta { display: none; }

  .o-gallery { grid-template-columns: minmax(0, 1fr); }
  .o-hero__actions { flex-direction: column; align-items: stretch; }
  .o-btn { text-align: center; }
}

/* --------------------------------------------------------------------------
   Print and reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .o-animate .is-revealable { opacity: 1; transform: none; }
}

@media print {
  .o-header, .o-nav, .o-to-top, .o-hero__cue { display: none; }
  /* Sections not yet scrolled into view must still print. */
  .o-animate .is-revealable { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
  .o-block { padding-block: 1rem; }
}
