/* vet-eye site styles */

/* ─── Fonts (variable, self-hosted) ─── */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ─── Tokens ─── */
/* Themed colours use light-dark(): the second value applies in dark mode and
   inside any block that sets `color-scheme: dark` (header, hero, dark bands, footer). */
:root {
  color-scheme: light dark;

  /* Headings use the body family at heavier weights. */
  --font-heading: 'Instrument Sans', 'Segoe UI', arial, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', arial, sans-serif;

  --ink: #0f1416;
  --ink-band: #182024;
  --plate: #ffffff;

  --bg: light-dark(#ffffff, #0f1416);
  --bg-soft: light-dark(#f5f3f0, #151b1e);
  --surface: light-dark(#ffffff, #1a2226);
  --field: light-dark(#ffffff, #12181b);
  --text: light-dark(#465055, #b4bdc2);
  --text-strong: light-dark(#12181b, #f2f5f6);
  --text-muted: light-dark(#647077, #8f9a9f);
  --line: light-dark(#e3e0dc, #2a3439);
  --line-strong: light-dark(#8b959a, #5b686f);
  --accent: light-dark(#0f766e, #2dd4bf);
  --accent-hover: light-dark(#115e59, #5eead4);
  --accent-soft: light-dark(#e6f4f2, #12302d);
  --on-accent: light-dark(#ffffff, #05211e);
  --error: light-dark(#b3261e, #ff8a80);
  --facebook: light-dark(#3b5998, #8ea6dc);
  --twitter: light-dark(#127cc0, #6cc4f7);
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 16px 36px -16px rgb(15 20 22 / .28);

  --size-small: .875rem;
  --size-tiny: .75rem;
  --gap: clamp(24px, 4vw, 56px);
  --gutter: clamp(20px, 4vw, 40px);
  --section-pad: clamp(48px, 7vw, 96px);
  --radius: 16px;
  --radius-sm: 10px;
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.6 16.2 5.4 12 4 13.4 9.6 19 20 8.6 18.6 7.2z'/%3E%3C/svg%3E");
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
/* Only non-English visitors are gated (see the inline script in <head>):
   the page stays hidden until site.js has swapped in the translation. */
html.js:not(.ready) body { visibility: hidden; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--font-body); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
ul { padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.skip-link { position: absolute; left: 8px; top: -80px; z-index: 50; padding: 8px 16px; background: var(--accent); color: var(--on-accent); border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.noscript-nav { padding: 16px; font-size: var(--size-small); }
@media (min-width: 1024px) { .noscript-nav { display: none; } }

/* ─── Header ─── */
/* The wrapper is the sticky element: sticky only works within the parent box,
   and the header's parent is this wrapper, so the wrapper must stick to <body>. */
#site-header { position: sticky; top: 0; z-index: 40; }
.site-header { color-scheme: dark; background: rgb(15 20 22 / .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgb(255 255 255 / .08); }
.site-header .bar { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { margin-right: auto; font-family: var(--font-heading); font-weight: 700; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.01em; color: var(--text-strong); }
.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; }
.main-nav a { display: block; padding: 6px 0; font-size: .9375rem; line-height: 1.4; color: var(--text); border-bottom: 2px solid transparent; white-space: nowrap; transition: color .2s; }
.main-nav a:hover { color: var(--text-strong); }
.main-nav a[aria-current="page"] { color: var(--text-strong); border-bottom-color: var(--accent); }
.main-nav a[data-nav="contact"] { padding: 8px 18px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; transition: background-color .2s; }
.main-nav a[data-nav="contact"]:hover { background: var(--accent-hover); color: var(--on-accent); }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { min-width: 38px; padding: 5px 10px; border: 0; background: none; color: var(--text-muted); font: 700 var(--size-tiny)/1.4 var(--font-body); letter-spacing: .04em; cursor: pointer; }
.lang-switch button:hover { color: var(--text-strong); }
.lang-switch button[aria-pressed="true"] { background: var(--text-strong); color: var(--bg); }
.nav-toggle { display: flex; background: none; border: 0; padding: 0; color: var(--text-strong); cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
}

.drawer { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; padding: 72px 0 24px; }
/* Visible at once on open (so the close button can take focus), hidden only after the slide-out. */
.drawer[data-open="true"] { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
.drawer-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; padding: 0; color: var(--text-strong); cursor: pointer; }
.drawer-close svg { width: 36px; height: 36px; display: block; }
.drawer ul { list-style: none; }
.drawer li + li { border-top: 1px solid var(--line); }
.drawer a { display: block; padding: 18px var(--gutter); font: 600 1.375rem/1.3 var(--font-heading); color: var(--text-strong); }
.drawer a[aria-current="page"], .drawer a:hover { color: var(--accent); }

/* ─── Sections and shared blocks ─── */
.section { padding: var(--section-pad) 0; }
.section.flush-top { padding-top: 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { color-scheme: dark; background: var(--ink-band); color: var(--text); }
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.page-head .lead { margin-top: 20px; }
.section-lead { margin: -4px 0 28px; }

.eyebrow { font: 600 .8125rem/1.3 var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.display { font: 700 clamp(2.25rem, 1.5rem + 3.2vw, 3.75rem)/1.08 var(--font-heading); letter-spacing: -.015em; color: var(--text-strong); max-width: 20ch; }
.heading { font: 700 clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem)/1.2 var(--font-heading); letter-spacing: -.01em; color: var(--text-strong); margin-bottom: 20px; }
.subheading { font: 600 1.25rem/1.3 var(--font-heading); color: var(--text-strong); margin-bottom: 8px; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem); line-height: 1.6; max-width: 56ch; }

.rte { max-width: 68ch; }
.rte p + p, .rte ul + p, .rte ol + p { margin-top: 1em; }
.rte ul, .rte ol { margin: 1em 0 0; padding-left: 1.25em; }
.rte ol li { padding-left: .3em; }
.rte li + li { margin-top: .4em; }
.rte li::marker { color: var(--accent); }
.rte strong { font-weight: 700; color: var(--text-strong); }
.rte h2, .rte h3 { font: 600 1.375rem/1.3 var(--font-heading); letter-spacing: -.01em; color: var(--text-strong); margin: 2em 0 .6em; }
.rte a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.rte a:hover { color: var(--accent-hover); }
.rte.checks ul { list-style: none; padding-left: 0; }
.rte.checks li { position: relative; padding-left: 34px; }
.rte.checks li + li { margin-top: .7em; }
.rte.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; background: var(--accent); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 1rem/1.2 var(--font-body); cursor: pointer; transition: background-color .2s, border-color .2s, transform .1s; }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--text-strong); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn.small { min-height: 40px; padding: 6px 18px; font-size: .9375rem; }
.btn svg { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 900px) {
  .grid.cols-8-4 { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .grid.cols-4-8 { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
/* Product photos have a white background, so they sit on a white plate in both themes. */
.plate { display: grid; place-items: center; padding: 24px; background: var(--plate); }
/* Fixed-ratio plates: the image is taken out of flow so its intrinsic size cannot stretch the box. */
.tile .plate, .product-card .plate { position: relative; aspect-ratio: 4 / 3; padding: 0; }
.tile .plate img, .product-card .plate img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }

.stats { display: grid; gap: 32px var(--gap); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat-num { font: 700 clamp(2.5rem, 2rem + 2.5vw, 4rem)/1 var(--font-heading); letter-spacing: -.02em; color: var(--accent); }
.stat-label { margin-top: 12px; max-width: 26ch; line-height: 1.5; }

.social { display: flex; gap: 8px; }
.social a { display: block; padding: 4px; color: var(--text); transition: color .2s; }
.social a:hover { color: var(--accent); }
.social svg { width: 32px; height: 32px; display: block; }

/* ─── Footer ─── */
.site-footer { color-scheme: dark; background: var(--ink); color: var(--text); padding-top: clamp(48px, 6vw, 72px); font-size: .9375rem; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand .logo { display: inline-block; margin-bottom: 12px; }
.footer-tagline { max-width: 30ch; margin-bottom: 12px; color: var(--text-strong); }
.footer-nav ul { list-style: none; columns: 2; column-gap: 32px; }
.footer-nav li { margin-bottom: 10px; break-inside: avoid; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--text-strong); }
.footer-title { font: 600 .8125rem/1.3 var(--font-heading); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.footer-connect .social { margin: 0 0 20px -4px; }
.footer-bottom { margin-top: clamp(32px, 5vw, 56px); padding: 20px 0; border-top: 1px solid var(--line); font-size: var(--size-small); color: var(--text-muted); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1.2fr 1fr; } }

/* ─── Home ─── */
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(84svh, 760px); color-scheme: dark; background: var(--ink); color: var(--text); overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 80% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--ink) 30%, rgb(15 20 22 / .6) 62%, rgb(15 20 22 / .1)); }
.hero-inner { padding-top: 48px; padding-bottom: clamp(40px, 7vw, 96px); }
.hero .display { margin-bottom: 20px; }
@media (min-width: 900px) {
  .hero { align-items: center; }
  /* The hero photo has a dark, empty wall on its left third: the copy sits there. */
  .hero-img { object-position: 72% 45%; }
  .hero::after { background: linear-gradient(90deg, rgb(15 20 22 / .92) 0%, rgb(15 20 22 / .7) 32%, rgb(15 20 22 / 0) 62%); }
  .hero-copy { max-width: 46%; }
}

.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.tile-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 6px; font: 600 1.125rem/1.3 var(--font-heading); color: var(--text-strong); border-top: 1px solid var(--line); }
.tile-text { padding: 0 22px 20px; font-size: .9375rem; line-height: 1.5; }
.tile-title::after { content: "→"; color: var(--accent); transition: transform .2s; }
.tile:hover .tile-title::after { transform: translateX(4px); }

/* ─── Products ─── */
.feature { display: grid; gap: var(--gap); align-items: center; }
.feature > .plate { border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.product-card { display: flex; flex-direction: column; }
.product-card .plate { border-bottom: 1px solid var(--line); }
.product-card .body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3vw, 32px); }
.product-card .btn-row { margin-top: auto; padding-top: 28px; }

/* ─── Ultrasonography / Technology ─── */
.banner-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); margin-bottom: var(--gap); }
.side-img { width: 100%; border-radius: var(--radius); }
.side-stack { display: grid; gap: 20px; }
@media (min-width: 768px) { .banner-img { aspect-ratio: 2 / 1; } }
.aside-card { padding: 28px; align-self: start; }
.sticky-figure img { width: 100%; border-radius: var(--radius); }
.sticky-figure img + img { margin-top: 20px; }
@media (min-width: 900px) { .sticky-figure, .side-sticky { position: sticky; top: 100px; align-self: start; } }
.cta { text-align: center; }
.cta .heading { max-width: 22ch; margin-left: auto; margin-right: auto; margin-bottom: 16px; }
.cta .lead { margin: 0 auto; }
.cta .btn { margin-top: 28px; }

/* ─── Company ─── */
.about-col img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 28px; }
.downloads { display: grid; gap: 20px; }
.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.download p { font-weight: 500; color: var(--text-strong); }
@media (min-width: 768px) { .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.blog-cards { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .blog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .blog-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card .body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.blog-card .date { font-size: var(--size-small); line-height: 1.4; color: var(--text-muted); margin-bottom: 8px; }
.blog-card-title { font: 600 1.1875rem/1.3 var(--font-heading); color: var(--text-strong); }
.blog-card .more { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--accent); }
.blog-card .more::after { content: " →"; }

/* ─── Blog post ─── */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.all-posts { display: inline-flex; align-items: center; gap: 6px; font-size: var(--size-small); font-weight: 600; color: var(--accent); margin-bottom: 20px; }
.all-posts:hover { color: var(--accent-hover); }
.all-posts::before { content: "←"; }
.post-title { font: 700 clamp(1.875rem, 1.4rem + 2vw, 2.75rem)/1.12 var(--font-heading); letter-spacing: -.015em; color: var(--text-strong); margin-bottom: 12px; }
.post .date { font-size: var(--size-small); color: var(--text-muted); margin-bottom: 28px; }
.post figure { margin-bottom: 36px; }
.post figure img { width: 100%; border-radius: var(--radius); }
.share { display: flex; align-items: center; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--size-small); font-weight: 700; color: var(--text-strong); }
.share p { margin-right: 12px; }
.share svg { width: 28px; height: 28px; display: block; }
.share .facebook { color: var(--facebook); }
.share .twitter { color: var(--twitter); }
.recent-title { font: 600 1.125rem/1.3 var(--font-heading); color: var(--text-strong); margin-bottom: 20px; }
.recent ul { list-style: none; }
.recent li + li { margin-top: 20px; }
.recent a { display: flex; gap: 16px; align-items: center; }
.recent img { flex: 0 0 88px; width: 88px; height: 88px; object-fit: cover; border-radius: var(--radius-sm); }
.recent .title { font-size: .9375rem; font-weight: 500; line-height: 1.4; color: var(--text-strong); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.recent a:hover .title { color: var(--accent); }
.recent .date { font-size: var(--size-small); line-height: 1.4; color: var(--text-muted); margin-top: 6px; }
@media (min-width: 900px) {
  .post-layout { grid-template-columns: minmax(0, 68ch) minmax(0, 300px); justify-content: space-between; }
  .recent { position: sticky; top: 100px; align-self: start; }
}

/* ─── Contact ─── */
.contact-grid { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.contact-form { padding: clamp(22px, 4vw, 40px); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-size: var(--size-small); font-weight: 600; color: var(--text-strong); }
.field input, .field textarea { display: block; width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--field); color: var(--text-strong); font: 400 1rem/1.4 var(--font-body); }
.field textarea { min-height: 180px; line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.form-error { display: none; color: var(--error); font-size: var(--size-small); margin-top: 6px; }
.contact-form[data-state="invalid"] .form-error { display: block; }
.form-success { display: none; padding: 32px 0; font-size: 1.125rem; line-height: 1.6; color: var(--text-strong); }
.contact-form[data-state="sent"] > :not(.form-success) { display: none; }
.contact-form[data-state="sent"] .form-success { display: block; }
.contact-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 62% 20%; border-radius: var(--radius); margin-bottom: 28px; }
.contact-info { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 28px; }
.map { position: relative; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map .btn { position: absolute; top: 12px; right: 12px; box-shadow: var(--shadow); }

/* ─── Not found ─── */
.not-found { display: grid; justify-items: center; gap: 20px; text-align: center; padding: clamp(48px, 10vw, 120px) var(--gutter); }
.not-found .eyebrow { margin-bottom: 0; }

/* ─── Cookie banner ─── */
.cookie { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: var(--size-small); }
.cookie[hidden] { display: none; }
.cookie-title { font: 600 1rem/1.3 var(--font-heading); color: var(--text-strong); margin-bottom: 4px; }
.cookie p { line-height: 1.5; }
.cookie .actions { display: flex; gap: 8px; margin-top: 12px; }
.cookie button { flex: 1; min-height: 38px; padding: 4px 16px; border: 0; border-radius: 999px; background: var(--text-strong); color: var(--bg); font: 600 var(--size-small)/1.2 var(--font-body); cursor: pointer; }
.cookie button:hover { background: var(--accent); color: var(--on-accent); }
@media (min-width: 600px) { .cookie { left: 24px; right: auto; bottom: 24px; width: 380px; } }

/* ─── Motion ─── */
@keyframes reveal { from { opacity: 0; translate: 0 24px; } }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
