/* Sheerwater Studios. The palette and the rounded, right-angled line style come from the logo. */

:root {
  color-scheme: dark;

  /* Sampled from the logo file */
  --bg: #001119;
  --cyan: #08FBFA;
  --green: #00BF63;

  /* Supporting tones */
  --surface: #061F2B;
  --surface-2: #0A2A39;
  --line: #123646;
  --line-strong: #3A7089;
  --ink: #F2FAFB;
  --soft: #9CB8C4;
  --on-accent: #001119;
  --danger: #FF8A80;

  --radius: 14px;
  --radius-small: 8px;
  --max: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --display: "Poppins", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--cyan); color: var(--on-accent); }

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 3.8vw + 0.6rem, 3.5rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 2vw + 0.9rem, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
li::marker { color: var(--green); }

a { color: var(--cyan); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

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

.skip {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 50;
  background: var(--cyan); color: var(--on-accent);
  padding: 0.6rem 1rem; border-radius: 999px; font-weight: 600;
}
.skip:focus { top: 0.75rem; }

.lede { font-size: 1.15rem; color: var(--soft); max-width: 58ch; }
.muted { color: var(--soft); }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--ink); }
.brand-mark { display: block; height: 44px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; color: #fff; }
.brand-sub { font-family: var(--display); font-weight: 400; font-size: 0.64rem; letter-spacing: 0.5em; color: var(--cyan); margin-top: 0.45rem; }

.site-nav { display: flex; align-items: center; gap: 0.25rem 1.4rem; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a:not(.btn) { color: var(--soft); text-decoration: none; padding: 0.4rem 0.1rem; border-bottom: 2px solid transparent; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cyan); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .js .nav-toggle {
    display: inline-block; font: inherit; font-weight: 600; color: var(--ink);
    background: transparent; border: 1px solid var(--line-strong); border-radius: 999px;
    padding: 0.45rem 1.1rem; cursor: pointer;
  }
  .header-row { flex-wrap: wrap; padding-block: 0.5rem; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0.2rem; padding-bottom: 0.9rem; }
  .js .site-nav { display: none; }
  .js .site-nav.open { display: flex; }
  .site-nav .btn { margin-top: 0.5rem; }
}

/* Buttons: fully rounded ends, like the lines in the logo */

.btn {
  display: inline-block; font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer;
  padding: 0.8rem 1.5rem; border-radius: 999px; border: 2px solid transparent; line-height: 1.2;
}
.btn-primary { background: var(--cyan); color: var(--on-accent); border-color: var(--cyan); }
.btn-primary:hover { background: transparent; color: var(--cyan); }
.btn-primary:focus-visible { outline-color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Sections */

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head p { color: var(--soft); }
.tint { background: var(--surface); }

/* Hero: the pattern is built from the same rounded, right-angled lines as the logo */

.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem); }
.hero-pattern {
  position: absolute; top: 0; right: 0; bottom: 0; width: 64%; pointer-events: none; z-index: 0;
  background: url("maze.svg") center / cover no-repeat;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to bottom, transparent 0, #000 25%, #000 75%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 45%), linear-gradient(to bottom, transparent 0, #000 25%, #000 75%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 919px) { .hero-pattern { width: 100%; opacity: 0.3; } }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.hero h1 { max-width: 16ch; }

.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-hero h1 { font-size: clamp(2rem, 3.2vw + 0.7rem, 2.9rem); max-width: 22ch; }

/* Panels and the package finder */

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.panel h2, .panel h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }

.field { margin-bottom: 1rem; }
.field label, .field legend, .label { display: block; font-weight: 600; margin-bottom: 0.35rem; padding: 0; }
.hint { display: block; font-weight: 400; color: var(--soft); font-size: 0.92rem; }

input[type="text"], input[type="email"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--radius-small); padding: 0.7rem 0.85rem;
}
textarea { min-height: 9rem; resize: vertical; }
select { appearance: auto; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--cyan); outline-offset: 1px; }

fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.choice { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.4rem; font-weight: 400; }
.choice input { margin-top: 0.35rem; accent-color: var(--cyan); }
.choice-row { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.choice-row .choice { margin-bottom: 0; }

.result { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.result-name { font-family: var(--display); font-size: 1.4rem; font-weight: 600; margin: 0 0 0.25rem; }
.result-meta { margin: 0 0 0.6rem; color: var(--soft); }
.result p { max-width: none; }

/* Package list: rows, because packages are compared on price and time */

.pkg-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pkg-list li { margin: 0; border-bottom: 1px solid var(--line); }
.pkg-row {
  display: grid; gap: 0.25rem 2rem; padding: 1.25rem 0.75rem; color: inherit; text-decoration: none;
  grid-template-columns: 1fr; border-radius: var(--radius-small);
}
.pkg-row:hover { background: var(--surface); }
.pkg-row h3 { margin: 0; font-size: 1.2rem; }
.pkg-row:hover h3 { color: var(--cyan); }
.pkg-row p { margin: 0.2rem 0 0; color: var(--soft); max-width: 52ch; }
.pkg-facts { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: baseline; font-variant-numeric: tabular-nums; }
.pkg-price { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--cyan); }
.pkg-time { color: var(--soft); }
@media (min-width: 820px) {
  .pkg-row { grid-template-columns: 1fr auto; align-items: center; }
  .pkg-facts { flex-direction: column; gap: 0.1rem; align-items: flex-end; min-width: 10rem; }
}

/* Steps: a real sequence, so numbered. A short cyan line caps each one. */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.steps li { counter-increment: step; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); position: relative; }
.steps li::after { content: ""; position: absolute; top: -2px; left: 0; width: 3rem; height: 4px; border-radius: 4px; background: var(--cyan); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--green); margin-bottom: 0.2rem; }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.steps p { color: var(--soft); margin: 0; font-size: 1rem; }

/* Two-column text */

.split { display: grid; gap: 2rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.wide-left { grid-template-columns: 1.3fr 0.7fr; } }

.notice {
  border-left: 4px solid var(--green); background: var(--surface);
  padding: 1rem 1.25rem; border-radius: 4px var(--radius) var(--radius) 4px; margin-block: 1.5rem;
}
.notice p:last-child { margin-bottom: 0; }
.about-logo { display: block; width: 190px; height: auto; margin: 0 0 1.5rem; }

/* Chips used as filters */

.chips { display: none; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.js .chips { display: flex; }
.chip {
  font: inherit; font-weight: 500; color: var(--ink); background: transparent; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.4rem 1.1rem;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }
.chip[aria-pressed="true"] { background: var(--cyan); color: var(--on-accent); border-color: var(--cyan); }

/* Service detail */

.pkg-detail { padding-block: 2rem; border-top: 1px solid var(--line); scroll-margin-top: 6rem; }
.pkg-detail:first-of-type { border-top: 0; }
.pkg-detail-head { display: grid; gap: 0.5rem 2rem; margin-bottom: 1rem; }
@media (min-width: 820px) { .pkg-detail-head { grid-template-columns: 1fr auto; align-items: end; } }
.pkg-detail h3 { font-size: 1.5rem; margin: 0; }
.pkg-detail-grid { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 820px) { .pkg-detail-grid { grid-template-columns: 1.2fr 0.8fr; } }
.pkg-detail h4 { font-family: var(--display); font-size: 1rem; margin: 0 0 0.35rem; }
.pkg-detail dl { margin: 0; }
.pkg-detail dd { margin: 0 0 1rem; color: var(--soft); }
.pkg-detail .lede { margin-bottom: 1rem; }
.pkg-detail .scenario { color: var(--soft); max-width: 64ch; margin-bottom: 1.25rem; }
.audience-intro { border-left: 4px solid var(--cyan); padding: 0.1rem 0 0.1rem 1.25rem; margin: 0 0 2rem; max-width: 64ch; }
.audience-intro h2 { font-size: 1.45rem; margin-bottom: 0.4rem; }
.audience-intro p { margin: 0; color: var(--soft); }
[hidden] { display: none !important; }

/* Estimator output */

.estimate { font-family: var(--display); font-size: clamp(1.4rem, 1.2vw + 1rem, 1.8rem); font-weight: 700; margin: 0.2rem 0; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--cyan); }
.estimate-note { font-size: 0.92rem; color: var(--soft); max-width: none; }

/* Roles */

.role { border-bottom: 1px solid var(--line); }
.role:first-child { border-top: 1px solid var(--line); }
.role summary { display: grid; gap: 0.15rem 1.5rem; padding: 1.15rem 0.5rem; cursor: pointer; list-style: none; border-radius: var(--radius-small); }
.role summary::-webkit-details-marker { display: none; }
@media (min-width: 820px) { .role summary { grid-template-columns: 1fr auto; align-items: center; } }
.role summary:hover { background: var(--surface); }
.role-title { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.role-meta { color: var(--soft); }
.role-toggle { color: var(--cyan); font-weight: 600; }
.role-toggle::after { content: "Show details"; }
.role[open] .role-toggle::after { content: "Hide details"; }
.role-body { padding: 0.25rem 0.5rem 1.75rem; display: grid; gap: 1rem 3rem; }
@media (min-width: 820px) { .role-body { grid-template-columns: 1fr 1fr; } }
.role-body h4 { font-family: var(--display); margin: 0 0 0.35rem; font-size: 1rem; }
.role-body .btn { justify-self: start; }

/* FAQ */

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { padding: 1rem 0.5rem; cursor: pointer; font-weight: 600; font-family: var(--display); font-size: 1.05rem; border-radius: var(--radius-small); }
.faq summary:hover { background: var(--surface); color: var(--cyan); }
.faq details p { padding: 0 0.5rem 1rem; margin: 0; color: var(--soft); }

/* Forms */

.form-grid { display: grid; gap: 0 1.5rem; }
@media (min-width: 720px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 500; min-height: 1.5em; }
.form-status.ok { color: var(--green); }
.form-status.error { color: var(--danger); }
.form-note { font-size: 0.92rem; color: var(--soft); max-width: none; }

/* Footer */

.site-footer { background: #000B11; border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 3rem; color: var(--soft); }
.site-footer a { color: var(--ink); text-decoration-color: var(--line-strong); }
.site-footer a:hover { color: var(--cyan); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-logo { display: block; width: 130px; height: auto; margin-bottom: 1rem; }
.footer-text { color: var(--soft); max-width: 34ch; }
.footer-head { font-family: var(--display); font-weight: 600; color: #fff; margin-bottom: 0.5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-base { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-block: 1.25rem; font-size: 0.92rem; }
.footer-base p { margin: 0; max-width: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .hero-pattern { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}

.role-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; grid-column: 1 / -1; }
.role-facts li { border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.9rem; color: var(--text); font-size: 0.92rem; }
.role-facts li span { color: var(--soft); margin-right: 0.5rem; }
.role-wide { grid-column: 1 / -1; }
.role-wide p { margin: 0; max-width: 70ch; }
.role-sub { margin-top: 1.1rem !important; }

/* ===== Motion and interaction ===== */

/* Page transitions between pages (supported browsers), with a JS fallback below */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: 260ms cubic-bezier(.4,0,.2,1) both vt-out; }
::view-transition-new(root) { animation: 420ms cubic-bezier(.2,.7,.2,1) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
.js.vt-fallback body > main, .js.vt-fallback body > footer { animation: vt-in 480ms cubic-bezier(.2,.7,.2,1) both; }
.js.vt-fallback.leaving body > main, .js.vt-fallback.leaving body > footer { animation: vt-out 240ms ease both; }

/* Buttons: lift, glow and a light sweep */
.btn { position: relative; overflow: hidden; isolation: isolate;
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transition: transform .6s ease; }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }
.btn:hover { transform: translateY(-3px) scale(1.04); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }
.btn-primary:hover { background: #5afffe; color: var(--on-accent); border-color: #5afffe;
  box-shadow: 0 0 0 4px rgba(8,251,250,.18), 0 10px 32px rgba(8,251,250,.55), 0 0 60px rgba(8,251,250,.28); }
.btn-quiet:hover { background: rgba(8,251,250,.08);
  box-shadow: 0 0 0 3px rgba(8,251,250,.14), 0 8px 26px rgba(8,251,250,.3), inset 0 0 18px rgba(8,251,250,.12); }
.btn-primary:not(:hover) { animation: none; }
.hero .btn-primary { animation: glow-pulse 3.2s ease-in-out 1.2s infinite; }
.hero .btn-primary:hover { animation: none; }
@keyframes glow-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(8,251,250,0); } 50% { box-shadow: 0 0 26px 2px rgba(8,251,250,.4); } }

/* Chips, links and brand */
.chip { transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(8,251,250,.28); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { box-shadow: 0 0 18px rgba(8,251,250,.4); }
.site-nav a:not(.btn) { position: relative; border-bottom: 0; transition: color .2s ease; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { border-bottom: 0; }
.brand-mark { transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.1); filter: drop-shadow(0 0 10px rgba(8,251,250,.7)); }
.footer-links a, .site-footer a { transition: color .2s ease, text-shadow .2s ease; }
.footer-links a:hover { text-shadow: 0 0 12px rgba(8,251,250,.6); }
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.45); }

/* Cards follow the pointer with a soft spotlight */
.pkg-row, .panel, .notice, .role summary { --mx: 50%; --my: 50%; }
.pkg-row { transition: background-color .25s ease, transform .25s cubic-bezier(.2,.8,.2,1), padding .25s ease; position: relative; }
.pkg-row:hover { transform: translateX(6px); background-image: radial-gradient(360px circle at var(--mx) var(--my), rgba(8,251,250,.12), transparent 65%); box-shadow: inset 3px 0 0 var(--cyan); }
.panel { transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease; }
.panel:hover { border-color: rgba(8,251,250,.45); box-shadow: 0 0 40px rgba(8,251,250,.12); background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(8,251,250,.08), transparent 65%); }
.notice { transition: transform .3s ease, box-shadow .3s ease; }
.notice:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,191,99,.2); }
.role summary { transition: background-color .25s ease, padding .25s ease; }
.role summary:hover { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(8,251,250,.1), transparent 65%); padding-left: 1rem; }
.role-toggle { transition: letter-spacing .25s ease, text-shadow .25s ease; }
.role summary:hover .role-toggle { letter-spacing: .04em; text-shadow: 0 0 12px rgba(8,251,250,.6); }
.role[open] .role-body { animation: vt-in .4s cubic-bezier(.2,.7,.2,1) both; }
.steps li { transition: transform .3s ease; }
.steps li:hover { transform: translateY(-5px); }
.steps li::after { transition: width .4s cubic-bezier(.2,.8,.2,1); }
.steps li:hover::after { width: 100%; box-shadow: 0 0 12px var(--cyan); }
input, select, textarea { transition: border-color .2s ease, box-shadow .25s ease; }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 4px rgba(8,251,250,.18), 0 0 24px rgba(8,251,250,.2); }

/* Entrance: hero text, then sections as they scroll into view */
.js .hero-grid > * { animation: vt-in .8s cubic-bezier(.2,.7,.2,1) both; }
.js .hero-grid > *:nth-child(2) { animation-delay: .15s; }
.js .page-hero .wrap > * { animation: vt-in .7s cubic-bezier(.2,.7,.2,1) both; }
.js .page-hero .wrap > *:nth-child(2) { animation-delay: .1s; }
.js .page-hero .wrap > *:nth-child(3) { animation-delay: .2s; }
.hero-pattern { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 45% 45%; transform: scale(1); } to { background-position: 58% 56%; transform: scale(1.06); } }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
