/* ==========================================================
   Rak Budaya: Free book programme landing page
   Palette: paper white, mist, sky, azure, ink blue, navy
   Type: Gloock (display) + Hanken Grotesk (text)
   ========================================================== */

:root {
  --paper: #FFFFFF;
  --mist: #EEF5FB;
  --mist-deep: #DDEBF7;
  --sky: #BFDCF2;
  --azure: #5A9BD0;
  --ink: #1F5A8A;
  --ink-dark: #174A73;
  --navy: #102A43;
  --slate: #4A6178;
  --gold: #B8924A;

  --font-display: "Gloock", "Georgia", "Times New Roman", serif;
  --font-text: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  --dock-space: 7.5rem;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--dock-space);
}

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

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ink-dark); }

button { font: inherit; color: inherit; cursor: pointer; }

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  margin: 0;
}

h2 { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 1.2; }

p { margin: 0 0 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out);
}

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-dark); color: var(--paper); transform: translateY(-1px); }

.btn-quiet { color: var(--ink); padding-inline: .5rem; }
.btn-quiet:hover { color: var(--ink-dark); text-decoration: underline; }

.btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  padding-block: 1.25rem;
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--navy);
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50% 50% 6px 6px;
  background: var(--ink);
  color: var(--paper);
  font-size: .9rem;
}

.wordmark-text { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .01em; }

.header-nav { display: flex; gap: 1.75rem; }
.header-nav a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: .95rem; }
.header-nav a:hover { color: var(--ink); }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  background: var(--mist);
  padding-block: clamp(6rem, 10vw, 7.5rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-kicker::before {
  content: "";
  width: 2rem;
  height: 1.5px;
  background: var(--azure);
}

.hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.1rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 15ch;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--slate);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 2.75rem; }

.hero-facts {
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--sky);
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--ink); }
.hero-facts span { font-size: .9rem; color: var(--slate); }

/* Hero visual: three carved-window arches */
.hero-visual {
  position: relative;
  height: clamp(460px, 48vw, 600px);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: end;
  gap: clamp(.6rem, 1.6vw, 1.1rem);
}

.lattice {
  position: absolute;
  inset: -8% -30% -8% -6%;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%235A9BD0' stroke-width='1' opacity='.35'%3E%3Cpath d='M28 4 L52 28 L28 52 L4 28 Z'/%3E%3Cpath d='M28 16 L40 28 L28 40 L16 28 Z'/%3E%3Ccircle cx='28' cy='28' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 55% 50%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 55% 50%, #000 30%, transparent 75%);
}

.arch {
  position: relative;
  z-index: 1;
  margin: 0;
  filter: drop-shadow(0 24px 30px rgba(31, 90, 138, .18));
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  will-change: transform;
}
.arch-a { height: 76%; margin-bottom: 8%; }
.arch-b { height: 100%; }
.arch-c { height: 64%; margin-bottom: 2%; }

.arch-frame {
  height: calc(100% - 2.25rem);
  clip-path: url(#arch);
  background: var(--paper);
  padding: 7px;
}

.arch-img {
  position: relative;
  height: 100%;
  clip-path: url(#arch);
  overflow: hidden;
  background: var(--sky);
}

.arch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  transition: transform 1.6s var(--ease-out);
}

/* soft sky tint rising from the base of each window */
.arch-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(191, 220, 242, .9), rgba(191, 220, 242, 0) 38%);
  transform: translateY(0);
  transition: transform 1.4s var(--ease-out);
}

.arch figcaption {
  margin-top: .75rem;
  text-align: center;
  font-size: .85rem;
  font-style: italic;
  color: var(--slate);
}

/* Revealed state (added by JS on load) */
.is-ready .arch { opacity: 1; transform: translate3d(var(--px, 0), var(--py, 0), 0); }
.is-ready .arch-img img { transform: scale(1.06); animation: drift 18s ease-in-out 1.6s infinite alternate; }
.is-ready .arch-a { transition-delay: .05s; }
.is-ready .arch-b { transition-delay: .2s; }
.is-ready .arch-c { transition-delay: .35s; }
.is-ready .arch.is-tracking { transition: transform .5s var(--ease-out); }

@keyframes drift {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.16) translate(-2%, -3%); }
}

.arch:hover .arch-img::after { transform: translateY(40%); }

/* Bookmark ribbon hanging from the tallest arch */
.ribbon {
  position: absolute;
  z-index: 3;
  top: 18%;
  right: 12%;
  width: 2.6rem;
  height: 9.5rem;
  background: var(--ink);
  color: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
  display: flex;
  justify-content: center;
  padding-top: .9rem;
  transform-origin: top center;
  transform: scaleY(0);
  transition: transform .9s var(--ease-out) 1.1s;
}
.ribbon::before {
  content: "";
  position: absolute;
  inset: 4px 4px 14px;
  border-left: 1px dashed rgba(184, 146, 74, .9);
  border-right: 1px dashed rgba(184, 146, 74, .9);
  pointer-events: none;
}
.ribbon span {
  writing-mode: vertical-rl;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
}
.is-ready .ribbon { transform: scaleY(1); animation: sway 5s ease-in-out 2.2s infinite alternate; }

@keyframes sway {
  from { transform: rotate(-1.5deg); }
  to   { transform: rotate(1.5deg); }
}

/* ---------- 2. Why ---------- */
.why { padding-block: var(--section-y); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}

.why-photo {
  grid-column: 1 / span 8;
  grid-row: 1;
  border-radius: 220px 220px 12px 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
  max-width: 100%;
}
.why-photo img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  transform: translate3d(0, var(--shift, -6%), 0);
  will-change: transform;
}

.why-panel {
  grid-column: 7 / span 6;
  grid-row: 1;
  position: relative;
  z-index: 1;
  background: var(--paper);
  border: 1px solid var(--mist-deep);
  border-radius: 12px;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  box-shadow: 0 30px 60px -30px rgba(16, 42, 67, .25);
  margin-top: 18%;
}
.why-panel h2 { margin-bottom: 1.25rem; }
.why-panel p { color: var(--slate); max-width: 38rem; }

.why-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .85rem; }
.why-points li { display: flex; align-items: center; gap: .9rem; font-weight: 500; }
.why-points i {
  flex: none;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  font-size: .9rem;
}

/* ---------- Section heads ---------- */
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: .75rem; }
.section-head p { color: var(--slate); margin: 0; }

/* ---------- 3. Shelves (book-spine accordion) ---------- */
.shelves { padding-block: var(--section-y); background: var(--mist); }

.shelf {
  display: flex;
  gap: .75rem;
  height: clamp(520px, 50vw, 600px);
}

.book {
  position: relative;
  display: flex;
  flex: 0 0 5rem;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--mist-deep);
  transition: flex-basis .7s var(--ease-out), flex-grow .7s var(--ease-out);
}
.book.is-open { flex: 1 1 auto; }

.spine {
  flex: none;
  width: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  border-right: 1px solid var(--mist-deep);
  transition: background-color .3s, color .3s;
}
.spine i { font-size: 1.15rem; }
.spine-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 1.35rem;
  white-space: nowrap;
}
.book:not(.is-open) .spine:hover { background: var(--sky); color: var(--navy); }
.book.is-open .spine { background: var(--ink); color: var(--paper); border-right-color: var(--ink); }

.book-body {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.book.is-open .book-body { opacity: 1; visibility: visible; transition: opacity .6s ease .25s, visibility 0s; }

.book-photo { overflow: hidden; }
.book-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 1.4s var(--ease-out);
}
.book.is-open .book-photo img { transform: scale(1); }

.book-text {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 18rem;
}
.book-text h3 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-bottom: 1rem; }
.book-text > p { color: var(--slate); }
.book-list-label { font-weight: 600; font-size: .95rem; color: var(--navy); margin: .5rem 0 .6rem; }
.book-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.book-list li {
  position: relative;
  padding: .55rem 0 .55rem 1.5rem;
  border-top: 1px solid var(--mist-deep);
}
.book-list li:last-child { border-bottom: 1px solid var(--mist-deep); }
.book-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: .55rem; height: .55rem;
  border: 1.5px solid var(--azure);
  transform: translateY(-50%) rotate(45deg);
}
.book-text .btn { align-self: flex-start; }

/* ---------- 4. How ---------- */
.how { padding-block: var(--section-y); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: 3.5rem;
  right: 3.5rem;
  border-top: 1.5px dashed var(--sky);
}
.steps li { position: relative; counter-increment: step; }
.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--mist);
  border: 1.5px solid var(--sky);
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.step-icon::after {
  content: counter(step);
  position: absolute;
  top: -.35rem;
  right: -.35rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: .75rem;
  font-weight: 700;
}
.steps h3 { font-size: 1.4rem; margin-bottom: .5rem; max-width: 18ch; }
.steps p { color: var(--slate); margin: 0; max-width: 30ch; }

/* ---------- 5. FAQ ---------- */
.faq { padding-block: var(--section-y); background: var(--mist); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-intro h2 { margin-bottom: 1rem; }
.faq-intro p { color: var(--slate); max-width: 26rem; }

.faq-list details {
  background: var(--paper);
  border-radius: 10px;
  margin-bottom: .6rem;
  border: 1px solid var(--mist-deep);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  position: relative;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .85rem;
  color: var(--ink);
  transition: transform .3s var(--ease-out);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 1.35rem 1.25rem; margin: 0; color: var(--slate); max-width: 62ch; }

/* ---------- 6. Footer ---------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--mist-deep);
  padding-block: 3rem 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.footer-brand p { color: var(--slate); font-size: .95rem; margin: .75rem 0 0; max-width: 32rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-legal button {
  border: 0;
  background: none;
  padding: .25rem 0;
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--sky);
}
.footer-legal button:hover { text-decoration-color: var(--ink); }
.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mist-deep);
  font-size: .85rem;
  color: var(--slate);
}

/* ---------- Fixed CTA dock ---------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  width: min(420px, calc(100% - 2rem));
}
.dock-btn {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: .9rem;
  align-items: center;
  text-align: left;
  padding: .7rem 1.5rem .7rem .75rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 18px 40px -12px rgba(16, 42, 67, .55), 0 0 0 5px rgba(255, 255, 255, .85);
  transition: background-color .2s, transform .2s var(--ease-out);
}
.dock-btn:hover { background: var(--ink-dark); transform: translateY(-2px); }
.dock-btn i {
  grid-row: 1 / span 2;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.05rem;
}
.dock-label { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.dock-sub { font-size: .8rem; opacity: .85; line-height: 1.3; }

/* ---------- Modals ---------- */
.modal {
  width: min(640px, calc(100% - 2rem));
  max-height: min(80vh, 760px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: var(--navy);
  background: var(--paper);
  box-shadow: 0 40px 80px -20px rgba(16, 42, 67, .45);
  overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; animation: modal-in .35s var(--ease-out); }
.modal::backdrop { background: rgba(16, 42, 67, .45); backdrop-filter: blur(3px); }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--mist-deep);
  background: var(--mist);
}
.modal-head h2 { font-size: 1.75rem; }
.modal-close {
  flex: none;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--sky);
  background: var(--paper);
  color: var(--ink);
}
.modal-close:hover { background: var(--ink); color: var(--paper); }
.modal-body { padding: 1.25rem 1.5rem 1.75rem; overflow-y: auto; }
.modal-body h3 { font-family: var(--font-text); font-weight: 700; font-size: 1rem; margin: 1.25rem 0 .35rem; }
.modal-body p { color: var(--slate); font-size: .97rem; margin: 0; }
.modal-date { font-size: .85rem !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero h1 { max-width: 16ch; }
  .hero-visual { order: -1; height: clamp(320px, 70vw, 500px); width: 100%; max-width: 620px; margin-inline: auto; }

  .why-grid { display: block; }
  .why-photo { border-radius: 160px 160px 12px 12px; aspect-ratio: 4 / 3; }
  .why-panel { margin: -4rem 1rem 0; }

  .shelf { flex-direction: column; height: auto; }
  .book { flex: none; flex-direction: column; }
  .book.is-open { flex: none; }
  .spine {
    width: 100%;
    flex-direction: row;
    padding: 1.1rem 1.25rem;
    border-right: 0;
    border-bottom: 1px solid var(--mist-deep);
  }
  .spine-title { writing-mode: horizontal-tb; transform: none; font-size: 1.25rem; }
  .spine::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    font-size: .85rem;
    transition: transform .3s var(--ease-out);
  }
  .book.is-open .spine::after { transform: rotate(180deg); }
  .book-body { grid-template-columns: 1fr; display: none; }
  .book.is-open .book-body { display: grid; }
  .book-photo { aspect-ratio: 16 / 10; }
  .book-text { min-width: 0; }
  .book-text h3 { display: none; }

  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .header-nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 1.75rem; bottom: 1.75rem; left: 1.75rem; right: auto; border-top: 0; border-left: 1.5px dashed var(--sky); }
  .steps li { padding-left: 5rem; min-height: 3.5rem; }
  .step-icon { position: absolute; left: 0; top: 0; margin: 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 1rem; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .hero-facts strong { font-size: 1.6rem; }
  .hero-facts span { font-size: .8rem; }
  .hero { padding-top: 5rem; }
  .hero-grid { gap: 2rem; }
  .hero-visual { height: 300px; gap: .5rem; }
  .arch figcaption { font-size: .75rem; }
  .ribbon { width: 2.1rem; height: 7.5rem; right: 8%; }
  .ribbon span { font-size: .7rem; }
  .hero-actions .btn-primary { width: 100%; justify-content: center; }
  .why-panel { margin-inline: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .arch { opacity: 1; transform: none; }
  .arch-img img { transform: scale(1.06); }
  .ribbon { transform: none; }
  .why-photo img { transform: translate3d(0, -6%, 0) !important; }
}
