/* ==========================================================
   Prachiti Zemse — Portfolio
   Colours, fonts and spacing live in the tokens below.
   ========================================================== */

:root {
  --bg: #EAE7DD;          /* Narvik */
  --surface: #DDD0C8;     /* Beige */
  --text: #323232;        /* Dark grey */
  --muted: #5E5247;
  --accent: #4F0341;      /* Tyrian purple */
  --on-accent: #FFFFFF;
  --detail: #99775C;      /* Sorrell brown — lines & ornaments only */
  --line: rgba(50, 50, 50, 0.16);
  --overlay: rgba(26, 24, 23, 0.55);
  --ph-a: #DDD0C8;
  --ph-b: #D3C4BA;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #1A1817;
  --surface: #323232;     /* Dark grey */
  --text: #EAE7DD;        /* Narvik */
  --muted: #B9AEA4;
  --accent: #DDD0C8;      /* Beige */
  --on-accent: #1A1817;
  --detail: #99775C;
  --line: rgba(234, 231, 221, 0.16);
  --overlay: rgba(0, 0, 0, 0.7);
  --ph-a: #2A2725;
  --ph-b: #33302D;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 8px 14px;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header.is-scrolled, .site-header--solid {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.brand {
  font-family: var(--serif); font-size: 22px; font-style: italic; letter-spacing: .01em;
  margin-right: auto;
}
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 400;
  position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .3s, transform .5s var(--ease);
}
.theme-toggle:hover { border-color: var(--text); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; grid-area: 1 / 1; transition: opacity .3s, transform .5s var(--ease); }
.theme-toggle .icon-moon { fill: currentColor; stroke: none; }
:root[data-theme="light"] .theme-toggle .icon-sun,
:root:not([data-theme]) .theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
:root[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(.6); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 110px var(--gutter) 90px;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.hero-mono {
  position: absolute; z-index: 0; right: -2vw; top: 4vh;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(220px, 38vw, 560px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px var(--detail); opacity: .35;
  pointer-events: none; user-select: none;
}
.hero-rule { position: absolute; z-index: 1; background: var(--detail); opacity: .45; pointer-events: none; }
.hero-rule--a { width: 1px; height: 46vh; left: 3vw; top: 12vh; }
.hero-rule--b { height: 1px; width: 18vw; left: 0; bottom: 7vh; }

.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: .28em; color: var(--muted);
  margin-bottom: 22px;
}
.hero-name {
  font-size: clamp(56px, 9.5vw, 140px); line-height: .92; letter-spacing: -.01em;
  margin-bottom: 20px;
}
.hero-name .line { display: block; overflow: hidden; }
.hero-name .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-name .line:nth-child(2) > span { animation-delay: .12s; font-style: italic; padding-left: .6em; }
@keyframes rise { to { transform: none; } }

.hero-title {
  font-size: 13px; text-transform: uppercase; letter-spacing: .34em; font-weight: 400;
  margin-bottom: 26px; display: flex; align-items: center; gap: 14px;
}
.hero-title::before { content: ""; width: 44px; height: 1px; background: var(--detail); }
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; margin-bottom: 16px; max-width: 30ch; }
.hero-about { color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 400;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

.hero-text > * { opacity: 0; animation: fade-up 1s var(--ease) forwards; }
.hero-text > :nth-child(1) { animation-delay: .05s; }
.hero-text > :nth-child(2) { opacity: 1; animation: none; }
.hero-text > :nth-child(3) { animation-delay: .45s; }
.hero-text > :nth-child(4) { animation-delay: .6s; }
.hero-text > :nth-child(5) { animation-delay: .72s; }
.hero-text > :nth-child(6) { animation-delay: .85s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-figure { position: relative; margin: 0; justify-self: center; width: min(100%, 380px); opacity: 0; animation: fade-up 1.2s .3s var(--ease) forwards; }
.arch {
  position: relative; aspect-ratio: 3 / 4.2; width: 100%;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--surface) 70%, var(--detail)));
  overflow: hidden; display: grid; place-items: center;
}
.arch::after { /* stitch line */
  content: ""; position: absolute; inset: 12px;
  border: 1px dashed color-mix(in srgb, var(--text) 35%, transparent);
  border-radius: 999px 999px var(--radius) var(--radius);
  pointer-events: none;
}
.arch-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.arch-mono { font-family: var(--serif); font-size: clamp(90px, 11vw, 150px); color: var(--text); opacity: .75; line-height: 1; }
.arch-mono em { font-style: italic; color: var(--accent); }
.badge {
  position: absolute; width: 124px; height: 124px; left: -46px; bottom: 34px;
  background: var(--bg); border-radius: 50%; padding: 6px;
  box-shadow: 0 0 0 1px var(--line);
}
.badge text { font-family: var(--sans); font-size: 9.6px; letter-spacing: 3.1px; fill: var(--text); }

.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .3em; color: var(--muted);
}
.scroll-cue i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--text); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section--alt { background: color-mix(in srgb, var(--surface) 45%, var(--bg)); }
.section-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--detail); }
.section-num::after { content: " —"; }
.section-title { font-size: clamp(40px, 6vw, 72px); }

/* Education */
.edu-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.edu-item {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
}
.edu-years { font-size: 13px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); padding-top: 10px; }
.edu-degree { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 6px; }
.edu-inst { color: var(--muted); }
.edu-details { margin-top: 12px; max-width: 60ch; white-space: pre-line; }

/* Skills */
.skill-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.skill {
  position: relative; padding: 30px 28px 34px; min-height: 160px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  transition: background-color .4s var(--ease);
}
.skill::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.skill:hover { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.skill:hover::after { transform: scaleX(1); }
.skill-num { font-family: var(--serif); font-style: italic; color: var(--detail); font-size: 18px; }
.skill-name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }

/* Projects */
.projects-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.projects-head .section-head { margin-bottom: 0; }
.view-all { display: inline-flex; align-items: center; gap: 16px; flex: none; }
.view-all-text { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; font-weight: 400; }
.view-all-text small { color: var(--muted); font-size: inherit; }
.view-all-circle {
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--text);
  display: grid; place-items: center; position: relative; overflow: hidden;
  transition: color .4s var(--ease), border-color .4s;
}
.view-all-circle::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  transform: scale(0); transition: transform .5s var(--ease);
}
.view-all-circle svg { position: relative; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .5s var(--ease); }
.view-all:hover .view-all-circle { color: var(--on-accent); border-color: var(--accent); }
.view-all:hover .view-all-circle::before { transform: scale(1); }
.view-all:hover .view-all-circle svg { transform: translateX(4px) rotate(-45deg); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.project-card { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.project-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); margin-bottom: 18px; }
.project-media img, .project-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card:hover .project-media img, .project-card:hover .project-media .ph { transform: scale(1.045); }
.project-media::after {
  content: "View project"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -40%);
  font-size: 11px; text-transform: uppercase; letter-spacing: .24em; font-weight: 400;
  background: var(--bg); color: var(--text); padding: 10px 18px; opacity: 0;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.project-card:hover .project-media::after, .project-card:focus-visible .project-media::after { opacity: 1; transform: translate(-50%, -50%); }
.project-index { font-family: var(--serif); font-style: italic; color: var(--detail); font-size: 16px; }
.project-title { font-size: clamp(24px, 2.4vw, 30px); margin: 2px 0 6px; transition: color .3s; }
.project-card:hover .project-title { color: var(--accent); }
.project-meta { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* Placeholder visual (shown until a photo is uploaded) */
.ph {
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--detail) 10%, transparent) 14px 15px),
    linear-gradient(160deg, var(--ph-a), var(--ph-b));
  color: var(--muted);
}
.ph span {
  font-size: 11px; text-transform: uppercase; letter-spacing: .24em; font-weight: 400;
  border: 1px dashed color-mix(in srgb, var(--text) 30%, transparent); padding: 10px 14px; background: color-mix(in srgb, var(--bg) 60%, transparent);
  max-width: 80%;
}

/* Resume */
.resume-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.resume-row .section-title { margin: 6px 0 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent); color: var(--on-accent);
  padding: 18px 34px; border-radius: 999px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .22em; font-weight: 400;
  position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::after { content: "→"; letter-spacing: 0; font-size: 16px; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -14px var(--accent); }
.btn:hover::after { transform: translateX(4px); }

/* Contact */
.contact { text-align: center; }
.contact-heading { font-size: clamp(42px, 7vw, 96px); font-style: italic; margin: 14px auto 36px; max-width: 14ch; }
.contact-email {
  display: inline-block; font-family: var(--serif); font-size: clamp(22px, 3.6vw, 44px);
  overflow-wrap: anywhere; position: relative; padding-bottom: 6px;
}
.contact-email::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--detail);
  transform-origin: right; transition: transform .6s var(--ease);
}
.contact-email:hover { color: var(--accent); }
.contact-email:hover::after { transform: scaleX(0); }
.contact-links { list-style: none; padding: 0; margin: 34px 0 0; display: flex; justify-content: center; gap: 36px; flex-wrap: wrap; font-size: 12px; text-transform: uppercase; letter-spacing: .22em; font-weight: 400; color: var(--muted); }
.contact-links a { color: var(--text); border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-links a:hover { border-color: currentColor; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-row a:hover { color: var(--text); }

/* ---------- Projects page ---------- */
.page-projects { padding: clamp(120px, 14vw, 170px) 0 clamp(80px, 10vw, 130px); }
.page-head { margin-bottom: clamp(40px, 6vw, 72px); }
.back-link { display: inline-block; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 26px; transition: color .3s, transform .3s var(--ease); }
.back-link:hover { color: var(--text); transform: translateX(-4px); }
.page-title { font-size: clamp(52px, 9vw, 120px); margin-bottom: 14px; }
.nav--always { display: flex; }

/* ---------- Project pop-up (3 : 2) ---------- */
.modal {
  border: 0; padding: 0; margin: auto; background: var(--bg); color: var(--text);
  width: min(1180px, calc(100vw - 48px)); height: min(780px, calc(100vh - 48px)); max-height: none; max-width: none;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.5);
  overflow: hidden;
}
.modal::backdrop { background: var(--overlay); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .5s var(--ease); }
.modal[open]::backdrop { animation: fade .5s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
.modal-grid { display: grid; grid-template-columns: 3fr 2fr; height: 100%; }

.gallery { position: relative; background: var(--surface); display: flex; flex-direction: column; min-height: 0; }
.gallery-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.gallery-stage img, .gallery-stage .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: fade .45s var(--ease); }
.gallery-stage .ph { object-fit: unset; }
.gallery-caption {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  font-size: 11px; text-transform: uppercase; letter-spacing: .22em; font-weight: 400;
  background: var(--bg); padding: 8px 12px;
}
.gallery-nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--bg); display: grid; place-items: center; font-size: 18px;
  transition: background-color .3s, color .3s;
}
.gallery-nav:hover { background: var(--accent); color: var(--on-accent); }
.gallery-nav--prev { left: 16px; }
.gallery-nav--next { right: 16px; }
.gallery-nav[hidden] { display: none; }
.thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: color-mix(in srgb, var(--surface) 80%, var(--bg)); flex: none; scrollbar-width: thin; }
.thumb { flex: none; width: 60px; height: 72px; padding: 0; border: 1px solid transparent; cursor: pointer; background: var(--bg); opacity: .6; transition: opacity .3s, border-color .3s; overflow: hidden; position: relative; }
.thumb img, .thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.thumb .ph span { display: none; }
.thumb:hover { opacity: 1; }
.thumb[aria-current="true"] { opacity: 1; border-color: var(--accent); }

.specs { display: flex; flex-direction: column; min-height: 0; overflow-y: auto; padding: clamp(28px, 3.4vw, 48px); }
.specs-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 30px; }
.modal-back { background: none; border: 0; padding: 0; cursor: pointer; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); transition: color .3s; }
.modal-back:hover { color: var(--text); }
.modal-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 20px; line-height: 1; transition: transform .4s var(--ease), border-color .3s; }
.modal-close:hover { transform: rotate(90deg); border-color: var(--text); }
.specs-title { font-size: clamp(34px, 3.6vw, 48px); margin-bottom: 18px; }
.specs-desc { color: var(--muted); white-space: pre-line; margin-bottom: 30px; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); padding-top: 4px; }
.spec-row dd { margin: 0; }
body.modal-open { overflow: hidden; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav:not(.nav--always) { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { width: min(70%, 300px); justify-self: start; margin-left: 46px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .modal { width: 100vw; height: 100svh; height: 100dvh; }
  .modal-grid { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
  .modal { overflow-y: auto; }
  .gallery-stage { flex: none; aspect-ratio: 4 / 5; max-height: 58vh; width: 100%; }
  .gallery-stage .ph span { max-width: 62%; }
  .specs { overflow: visible; }
  .modal-close { position: fixed; top: 12px; right: 12px; z-index: 5; background: var(--bg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 96px; }
  .hero-mono { top: auto; bottom: 8vh; right: -10vw; }
  .hero-rule { display: none; }
  .hero-figure { width: 72%; margin-left: 40px; }
  .badge { width: 96px; height: 96px; left: -36px; }
  .project-grid { grid-template-columns: 1fr; }
  .projects-head { flex-direction: column; align-items: flex-start; }
  .edu-item { grid-template-columns: 1fr; gap: 6px; }
  .edu-years { padding-top: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; }
  .view-all-circle { width: 52px; height: 52px; }
  .modal-grid { display: flex; flex-direction: column; }
  .gallery { order: 0; }
  .specs { padding: 22px 16px 40px; }
}

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