/* ==========================================================
   Cafe Monarque
   Palette: Royal Burgundy, Ethereal Espresso,
   antique gold lettering, warm cream cups.
   ========================================================== */

:root {
  color-scheme: light;

  /* Brand primitives */
  --burgundy-950: #220003;
  --burgundy-900: #2e0104;
  --burgundy-800: #3f0106;   /* Burgundy */
  --burgundy-700: #560a10;
  --burgundy-600: #6e1219;
  --espresso-900: #2b1b18;
  --espresso-800: #3e2723;   /* Ethereal Espresso */
  --gold-400: #d2b47a;
  --gold-500: #c3a065;
  --gold-700: #7a5c2b;
  --cream-50: #fbf8f2;
  --cream-100: #f5efe4;
  --cream-200: #ebe2d2;
  --ink-900: #1e1a16;
  --ink-600: #5a5048;
  --ink-800: #3b332d;

  /* Semantic tokens */
  --bg: var(--cream-50);
  --bg-alt: var(--cream-100);
  --surface-dark: var(--burgundy-800);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --text-on-dark: #f3ece0;
  --text-on-dark-muted: #c9c0b1;
  --accent: var(--gold-500);
  --accent-strong: var(--gold-400);
  --accent-text: var(--gold-700);   /* gold that passes contrast on cream */
  --line-light: rgba(195, 160, 101, 0.45);
  --error: #9b2c22;
  --error-on-dark: #ffd3b8;
  --focus: #e3c58a;

  /* Gold leaf: a soft metallic sweep for buttons and accent type */
  --gold-foil: linear-gradient(115deg, #a8823f 0%, #d9bd82 30%, #f1dfae 48%, #c9a564 64%, #9c7a3e 100%);

  /* Textures */
  /* Paper grain for cream sections (warm dark specks) */
  --tex-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.24 0 0 0 0 0.15 0 0 0 0 0.1 0.12 0 0 0 -0.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Type */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Pinyon Script", "Brush Script MT", cursive;

  /* Spacing (8pt rhythm, spacious) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --container: 72rem;
  --gutter: 1.25rem;
  --header-h: 4.5rem;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
  --dur-slow: 800ms;

  /* Layers */
  --z-header: 100;
  --z-skip: 1000;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 var(--space-2);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); }
h3 { font-size: 1.6rem; }
p  { margin: 0 0 var(--space-2); }

a { color: inherit; text-underline-offset: 0.2em; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: var(--space-2); top: -4rem;
  z-index: var(--z-skip);
  padding: var(--space-1) var(--space-2);
  background: var(--cream-50); color: var(--burgundy-950);
  font-weight: 500;
}
.skip-link:focus { top: var(--space-2); }

/* ---------- Shared pieces ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: var(--space-2);
}
.eyebrow--dark { color: var(--accent-text); }

.section { padding-block: var(--space-7); }

.section-head { text-align: center; margin-bottom: var(--space-5); }
.section-head h2 { margin-bottom: 0; }
/* Line, diamond, line flourish under centered headings */
.section-head::after {
  content: "";
  display: block;
  width: 8rem; height: 10px;
  margin: 1.25rem auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 10'%3E%3Cg fill='none' stroke='%23c3a065'%3E%3Cpath d='M0 5h54M74 5h54'/%3E%3Cpath d='M64 1l4 4-4 4-4-4z'/%3E%3Ccircle cx='50' cy='5' r='1' fill='%23c3a065'/%3E%3Ccircle cx='78' cy='5' r='1' fill='%23c3a065'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

::selection { background: var(--gold-400); color: var(--espresso-900); }

/* Thin gold rule with a small diamond, like the business card flourish */
.ornament {
  display: flex; align-items: center; gap: 0.75rem;
  width: 7.5rem; margin: var(--space-3) 0;
}
.ornament::before,
.ornament::after { content: ""; flex: 1; height: 1px; background: var(--accent); }
.ornament span {
  width: 6px; height: 6px;
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

/* Logo (gold version of the brand SVG for dark backgrounds) */
.logo { display: block; width: auto; }
.logo--header { height: 3.25rem; }
.logo--footer { height: 5.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
              border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:active { transform: scale(0.98); }

.btn--gold {
  background: var(--gold-foil);
  background-size: 220% 100%;
  background-position: 0% 50%;
  color: var(--espresso-900);
  box-shadow: inset 0 0 0 1px rgba(255, 240, 200, 0.25), 0 10px 24px -14px rgba(0, 0, 0, 0.7);
  transition: background-position var(--dur-slow) var(--ease-out), transform var(--dur-fast) ease;
}
.btn--gold:hover { background-position: 100% 50%; }

.btn--ghost { border-color: var(--line-light); color: var(--text-on-dark); }
.btn--ghost:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

.btn--small {
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border-color: var(--accent);
  color: var(--accent-strong);
}
.btn--small:hover { background: var(--accent); color: var(--espresso-900); }

.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--dur-med) ease, box-shadow var(--dur-med) ease;
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(46, 1, 4, 0.97);
  box-shadow: 0 1px 0 var(--line-light);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.is-scrolled { background: rgba(46, 1, 4, 0.88); backdrop-filter: blur(8px); }
}

.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { text-decoration: none; display: inline-flex; padding: 0.25rem 0; }

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: var(--space-4);
}
.site-nav a:not(.btn) {
  display: inline-block;
  padding: 0.6rem 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-on-dark);
  position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.3rem;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 50%;
  width: 1.5rem; height: 1px;
  margin-left: -0.75rem;
  background: var(--accent-strong);
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) ease;
}
.nav-toggle-bar { top: 50%; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle-bar::before { transform: translateY(-7px); }
.nav-toggle-bar::after  { transform: translateY(7px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); background: var(--accent-strong); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: rotate(-45deg); background: var(--accent-strong); }

@media (max-width: 859px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: var(--burgundy-900);
    border-bottom: 1px solid var(--line-light);
    padding: var(--space-3) var(--gutter) var(--space-4);
    transform: translateY(-0.75rem);
    opacity: 0; visibility: hidden;
    transition: opacity var(--dur-med) ease, transform var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
  }
  .site-nav.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity var(--dur-med) ease, transform var(--dur-med) var(--ease-out);
  }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 0.9rem 0; font-size: 0.9rem; border-bottom: 1px solid rgba(195,160,101,0.15); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: var(--space-3); width: 100%; min-height: 3rem; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(210, 180, 122, 0.10), transparent 70%),
    var(--burgundy-800);
  color: var(--text-on-dark);
  position: relative;
  padding: calc(var(--header-h) + var(--space-5)) 0 var(--space-7);
  min-height: 100svh;
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(195, 160, 101, 0.35);
}
.hero-inner {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.hero h1 { color: var(--text-on-dark); }
.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-strong);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    background: var(--gold-foil);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.08em; /* keep descenders inside the clip */
  }
}
.lede {
  font-size: 1.15rem;
  color: var(--text-on-dark-muted);
  max-width: 34rem;
  margin-bottom: var(--space-4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.hero-media { margin: 0; justify-self: center; width: min(100%, 30rem); }

/* Arched frame with an offset gold hairline, echoing the gilded frames */
.arch {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: 999px 999px 2px 2px;
}
.arch::before {
  content: "";
  position: absolute; inset: -0.85rem;
  border: 1px solid var(--line-light);
  border-radius: 999px 999px 4px 4px;
  pointer-events: none;
}
/* Small gold diamond crowning the arch */
.arch::after {
  content: "";
  position: absolute; left: 50%; top: -0.85rem;
  width: 9px; height: 9px;
  background: var(--burgundy-800);
  border: 1px solid var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
}
.arch img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%;
  border-radius: inherit;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.75);
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-7); }
  .hero-media { justify-self: end; }
}

/* ---------- About ---------- */
.about-inner { display: grid; gap: var(--space-6); align-items: center; }
.about-media { margin: 0; }

/* Double gold border, like the business card */
.frame {
  position: relative;
  padding: 0.9rem;
  border: 1px solid var(--line-light);
}
.frame::before {
  content: ""; position: absolute; inset: 0.35rem;
  border: 1px solid var(--line-light);
  pointer-events: none;
}
.frame img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }

.about-copy { max-width: 36rem; }
.about-copy h2 { margin-bottom: 0; }
/* One consistent, comfortable reading style for the whole story */
.about-copy p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink-800);
  margin-bottom: var(--space-3);
}
.about-copy p:last-child { margin-bottom: 0; }

@media (min-width: 960px) {
  .about-inner { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-7); }
}

/* ---------- Events ---------- */
.about { background: var(--tex-paper), var(--bg); }
.events { background: var(--tex-paper), var(--bg-alt); }
.gallery { background: var(--tex-paper), var(--bg); }

.event-list {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; gap: var(--space-4);
  max-width: 62rem;
}
.event-list li {
  padding: var(--space-4) var(--space-3);
  border-top: 1px solid var(--line-light);
  text-align: center;
}
.numeral {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--accent-text);
  margin-bottom: var(--space-1);
}
.event-list p {
  color: var(--ink-800);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 22rem;
  text-wrap: pretty; /* avoid a single word stranded on the last line */
}

/* Three cards: stacked on phones, a single centered row from tablet up */
@media (min-width: 860px) { .event-list { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: var(--space-2); }
.g-item { margin: 0; overflow: hidden; background: var(--cream-200); }
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.g-wide img { aspect-ratio: 16 / 9; }
.g-tall img { aspect-ratio: 1 / 1; }

@media (hover: hover) {
  .g-item:hover img { transform: scale(1.03); }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-3);
  }
  .g-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .g-item:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
  .g-item:nth-child(3) { grid-column: 1; grid-row: 2; }
  .g-tall img { aspect-ratio: auto; }
}

/* ---------- Booking ---------- */
.book {
  background: var(--burgundy-800);
  color: var(--text-on-dark);
}
.book-inner { display: grid; gap: var(--space-6); align-items: start; }
.book h2 { color: var(--text-on-dark); }
.book-intro > p { color: var(--text-on-dark-muted); max-width: 30rem; }

.steps {
  list-style: none; margin: var(--space-4) 0; padding: 0;
  display: grid; gap: var(--space-3);
}
.steps li { display: flex; gap: var(--space-2); align-items: baseline; }
.steps span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent-strong);
  min-width: 2rem;
}
.steps div { color: var(--text-on-dark-muted); }
.steps strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--text-on-dark);
}
.book-direct { color: var(--text-on-dark-muted); }
.book-direct a { color: var(--accent-strong); }

.booking-form,
.form-success {
  background:
    var(--burgundy-950);
  border: 1px solid var(--line-light);
  outline: 1px solid rgba(195, 160, 101, 0.22);
  outline-offset: -0.45rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  padding: var(--space-4) var(--space-3);
}

fieldset { border: 0; margin: 0 0 var(--space-3); padding: 0; min-width: 0; }
legend {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent-strong);
  padding: 0;
  margin-bottom: var(--space-2);
}

.field-row { display: grid; gap: 0 var(--space-3); }
.field { margin-bottom: var(--space-2); min-width: 0; }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 0.4rem;
}
.req { color: var(--accent-strong); }

input, select, textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-on-dark);
  background: rgba(243, 236, 224, 0.06);
  border: 1px solid rgba(201, 192, 177, 0.4);
  border-radius: 1px;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
input::placeholder, textarea::placeholder { color: rgba(201,192,177,0.7); }
input:hover, select:hover, textarea:hover { border-color: rgba(210,180,122,0.7); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-strong);
  background: rgba(243, 236, 224, 0.1);
  box-shadow: 0 0 0 2px rgba(227, 197, 138, 0.35);
}
input[type="date"], input[type="time"] { color-scheme: dark; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23d2b47a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.75rem;
  padding-right: 2.5rem;
}
select option { color: var(--ink-900); background: var(--cream-50); }
textarea { min-height: 7.5rem; resize: vertical; }

.field-help { font-size: 0.88rem; color: var(--text-on-dark-muted); margin: 0.4rem 0 0; }
.field-error { font-size: 0.9rem; line-height: 1.45; color: var(--error-on-dark); margin: 0.35rem 0 0; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: var(--error-on-dark) !important; }

.form-summary {
  border: 1px solid var(--error-on-dark);
  color: var(--text-on-dark);
  padding: var(--space-2);
  margin-bottom: var(--space-3);
  font-size: 0.95rem;
}
.form-summary ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: var(--error-on-dark); }

.form-fineprint { font-size: 0.85rem; color: var(--text-on-dark-muted); margin: var(--space-2) 0 0; text-align: center; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn .spinner {
  width: 1rem; height: 1rem;
  border: 1.5px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding-block: var(--space-6); }
.form-success:focus, .form-summary:focus { outline: none; }
.form-success h3 { font-size: 2.25rem; color: var(--text-on-dark); }
.form-success p { color: var(--text-on-dark-muted); max-width: 26rem; margin-inline: auto; }
.ornament--light { margin-inline: auto; }

@media (min-width: 640px) {
  .booking-form, .form-success { padding: var(--space-5); }
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .book-inner { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-7); }
  .book-intro { position: sticky; top: calc(var(--header-h) + var(--space-4)); }
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(255, 220, 180, 0.06), transparent 70%),
    var(--espresso-800);
  border-top: 1px solid rgba(195, 160, 101, 0.35);
  color: var(--text-on-dark-muted);
  padding: var(--space-6) 0 var(--space-4);
  text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-links {
  list-style: none; margin: var(--space-4) 0 var(--space-5); padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-1) var(--space-4);
}
.footer-links a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.75rem;
  text-decoration: none;
  color: var(--text-on-dark);
  transition: color var(--dur-fast) ease;
}
.footer-links a:hover { color: var(--accent-strong); }
.footer-links svg { color: var(--accent-strong); flex-shrink: 0; }
.copyright {
  font-size: 0.85rem; margin: 0;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(195,160,101,0.2);
  width: 100%; max-width: 30rem;
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

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