/* e7ents public site: calm and editorial. Ivory, black and warm grey with one
   restrained gold; a refined serif for headings, a light sans for text; thin
   rules and small letter-spaced labels. Mobile-first; nothing scrolls sideways
   at 360px. Colour tokens are checked for contrast by tests/test_public_site.py. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-italic-500.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/jost-300.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-500.woff2") format("woff2"); }

:root {
  --ivory: #f8f5ee;
  --paper: #fffdf9;
  --ink: #161514;
  --grey: #5f5a53;
  --line: #e2dbcf;
  --gold: #9a7b45;
  --gold-text: #7a5f33;
  --dark: #151413;
  --on-dark: #f3eee4;
  --on-dark-muted: #bdb5a8;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --wide: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.005em; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Labels, rules, buttons ---------- */
.label { display: block; font: 500 .72rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 1rem; }
.rule { width: 48px; height: 1px; background: var(--gold); border: 0; margin: 1.6rem 0; }
.btn, .cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.6rem; border-radius: 0; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 500 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s ease, color .25s ease; }
.btn:hover, .cta-light:hover { background: var(--ink); color: var(--paper); }
.btn-dark, .cta { background: var(--ink); color: var(--paper); }
.btn-dark:hover, .cta:hover { background: #33302c; color: var(--paper); }
.btn-on-dark { border-color: var(--on-dark); color: var(--on-dark); }
.btn-on-dark:hover { background: var(--on-dark); color: var(--dark); }
.btn-gold { background: var(--gold-text); border-color: var(--gold-text); color: #fff; }
.btn-gold:hover { background: #5f4a28; border-color: #5f4a28; color: #fff; }
.link-arrow { font: 500 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }
.cta-light { background: transparent; color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 245, 238, .94); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(248, 245, 238, .82); backdrop-filter: blur(8px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font: 600 1.6rem/1 var(--serif); letter-spacing: .02em; text-decoration: none; margin: 0; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .25s ease, opacity .2s ease; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -7px; } .menu-bars::after { top: 7px; }
[aria-expanded="true"] .menu-bars { background: transparent; }
[aria-expanded="true"] .menu-bars::before { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .menu-bars::after { transform: translateY(-7px) rotate(-45deg); }
.site-nav { display: none; }
.site-nav a { text-decoration: none; }
.js .site-nav.is-open, .no-js .site-nav { display: flex; flex-direction: column; gap: .2rem; position: absolute; left: 0; right: 0; top: 64px; background: var(--ivory); padding: .6rem var(--gutter) 1.4rem; border-bottom: 1px solid var(--line); }
.no-js .site-nav { position: static; padding: 0 0 1rem; border: 0; }
.no-js .menu-toggle { display: none; }
.site-nav.is-open a:not(.btn), .no-js .site-nav a:not(.btn) { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.site-nav .nav-cta { margin-top: 1rem; }
@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav, .js .site-nav.is-open, .no-js .site-nav { display: flex; flex-direction: row; align-items: center; gap: 1.8rem; position: static; padding: 0; background: none; border: 0; }
  .site-nav a:not(.btn) { font: 400 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: .5rem 0; border: 0; }
  .site-nav a:not(.btn):hover { color: var(--gold-text); }
  .site-nav .nav-cta { margin: 0 0 0 .6rem; min-height: 42px; padding: .6rem 1.2rem; }
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .rule { margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(2.2rem, 8vw, 3.4rem); }
.section-lede { color: var(--grey); font-size: 1.05rem; margin: 1rem 0 0; }
.center { text-align: center; }
.dark { background: var(--dark); color: var(--on-dark); }
.dark .label { color: #cdb27a; }
.dark .section-lede, .dark .muted { color: var(--on-dark-muted); }
.muted { color: var(--grey); }
.paper { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { padding: 3rem 0 4rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 12vw, 5.2rem); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--gold-text); }
.hero-sub { color: var(--grey); font-size: 1.1rem; max-width: 30rem; margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin: 1.4rem 0 0; font-size: .9rem; color: var(--grey); }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; inset: 8% 0 8% 0; border: 1px solid var(--line); z-index: -1; }
@media (min-width: 900px) { .hero { padding: 5rem 0 6rem; } .hero-grid { grid-template-columns: 1.1fr .9fr; } }

/* ---------- Phone mockups ---------- */
.phone { position: relative; width: min(280px, 72vw); border-radius: 38px; padding: 9px; background: #121212; box-shadow: 0 40px 80px -40px rgba(22, 21, 20, .55), 0 0 0 1px rgba(0,0,0,.4); }
.phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 18px; border-radius: 12px; background: #121212; transform: translateX(-50%); z-index: 2; }
.phone picture, .phone img { border-radius: 30px; overflow: hidden; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--line); }
.phone-sm { width: min(210px, 56vw); border-radius: 30px; padding: 7px; }
.phone-sm picture, .phone-sm img { border-radius: 24px; }
.phone-sm::before { top: 12px; height: 14px; }
.phone-pair { display: flex; justify-content: center; gap: 1rem; }
.phone-pair .phone { width: min(200px, 44vw); }
.phone-pair .phone:nth-child(2) { margin-top: 2.5rem; }

/* ---------- Two ways ---------- */
.ways { display: grid; gap: 1.2rem; }
.way { background: var(--paper); border: 1px solid var(--line); padding: 2.2rem 1.5rem; display: flex; flex-direction: column; }
.way h3 { font-size: 2.2rem; }
.way .price-from { font: 400 1.05rem var(--sans); color: var(--gold-text); margin: .4rem 0 1.2rem; }
.way ul, .ticks { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .6rem; }
.way li, .ticks li { position: relative; padding-left: 1.4rem; }
.way li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--gold); }
.way .btn { margin-top: auto; align-self: flex-start; }
.way-dark { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.way-dark .price-from, .way-dark .label { color: #cdb27a; }
@media (min-width: 800px) { .ways { grid-template-columns: 1fr 1fr; } .way { padding: 3rem; } }

/* ---------- Collections ---------- */
.level { display: grid; gap: 2rem; padding: 3.5rem 0; border-top: 1px solid var(--line); }
.level:first-of-type { border-top: 0; padding-top: 0; }
.level-name { font-size: clamp(2.4rem, 9vw, 3.2rem); }
.level-price { font: 400 .95rem var(--sans); letter-spacing: .08em; color: var(--gold-text); margin: .5rem 0 1rem; }
.gems { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gem { display: grid; gap: .8rem; justify-items: center; text-align: center; }
.gem .phone { width: min(190px, 42vw); }
.gem-name { font: 500 1.35rem/1.2 var(--serif); margin: .4rem 0 0; }
.gem-desc { font-size: .85rem; color: var(--grey); margin: 0; max-width: 16rem; }
.gem a { font-size: .8rem; }
@media (min-width: 900px) { .level { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 4rem; } .level:nth-of-type(even) .level-text { order: 2; } }

/* ---------- Atelier ---------- */
.atelier-grid { display: grid; gap: 3rem; }
.steps-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps-list li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: .2rem 1rem; padding: 1.3rem 0; border-top: 1px solid rgba(243, 238, 228, .18); }
.steps-list li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; font: 500 1.6rem/1 var(--serif); color: #cdb27a; }
.steps-list h3 { font-size: 1.5rem; }
.steps-list p { margin: .2rem 0 0; color: var(--on-dark-muted); font-size: .95rem; }
.included-list { columns: 2; column-gap: 1.5rem; list-style: none; padding: 0; margin: 0 0 2rem; font-size: .92rem; }
.included-list li { break-inside: avoid; padding: .3rem 0 .3rem 1.1rem; position: relative; color: var(--on-dark); }
.included-list li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: #cdb27a; }
.atelier-price { font: 500 2.4rem/1 var(--serif); margin: 0 0 .4rem; }
@media (max-width: 380px) { .included-list { columns: 1; } }
@media (min-width: 900px) { .atelier-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- Camera story, stationery, how it works ---------- */
.trio { display: grid; gap: 3rem; }
.trio-item { display: grid; gap: 1.2rem; justify-items: center; text-align: center; }
.trio-item h3 { font-size: 1.7rem; }
.trio-item p { color: var(--grey); max-width: 20rem; margin: 0 auto; font-size: .95rem; }
.trio-num { font: 500 .72rem var(--sans); letter-spacing: .26em; color: var(--gold-text); }
@media (min-width: 800px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.card-art { width: 100%; max-width: 260px; aspect-ratio: 4 / 5; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(22, 21, 20, .45); }
.card-art picture, .card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-art.monogram-art { padding: 18%; color: var(--gold-text); }
.card-art.monogram-art svg { width: 100%; height: auto; }
.stationery-price { font: 400 .85rem var(--sans); letter-spacing: .08em; color: var(--gold-text); margin: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 2rem; }
.base-panel { background: var(--paper); border: 1px solid var(--line); padding: 2rem 1.5rem; }
.base-price { font: 500 3rem/1 var(--serif); margin: .2rem 0 1.4rem; }
.menu-group { border-top: 1px solid var(--line); padding: 1.4rem 0 .6rem; }
.menu-group h3 { font: 500 .76rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8rem; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; }
.menu-list .name { flex: 1; min-width: 0; }
.menu-list small { display: block; color: var(--grey); font-size: .82rem; line-height: 1.45; }
.menu-list .amount { white-space: nowrap; font-weight: 400; font-variant-numeric: tabular-nums; }
.menu-note { font-size: .85rem; color: var(--grey); margin: -.2rem 0 .6rem; }
.atelier-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-top: 1rem; }
.atelier-line strong { font: 500 1.5rem var(--serif); }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } .base-panel { position: sticky; top: 90px; padding: 2.5rem; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 2rem; }
.quote { margin: 0; padding: 2rem 0; border-top: 1px solid var(--line); }
.quote blockquote { margin: 0 0 1rem; font: italic 500 1.5rem/1.4 var(--serif); }
.quote figcaption { font-size: .85rem; color: var(--grey); display: flex; align-items: center; gap: .8rem; }
.quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0; font: 500 1.35rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.6rem/1 var(--sans); color: var(--gold-text); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.4rem; color: var(--grey); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Closing and footer ---------- */
.closing { text-align: center; }
.closing h2 { font-size: clamp(2.4rem, 9vw, 3.8rem); margin-bottom: 1.4rem; }
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 3.5rem; font-size: .9rem; }
.footer-inner { display: grid; gap: 1.8rem; }
.footer-note { color: var(--grey); margin: .6rem 0 0; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-contact a { text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-text); }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Samples page ---------- */
.spread { display: grid; gap: 2.5rem; padding: 4.5rem 0; border-top: 1px solid var(--line); }
.spread:first-of-type { border-top: 0; }
.spread h2 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
.spread-lines { list-style: none; margin: 1.4rem 0; padding: 0; font-size: .92rem; }
.spread-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid var(--line); }
.spread-lines li:last-child { border-bottom: 1px solid var(--line); }
.spread-lines span:last-child { white-space: nowrap; }
.spread-sum { font-size: .95rem; margin: 0 0 1.6rem; }
.spread-sum strong { font: 500 1.4rem var(--serif); }
.spread-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1rem; }
.spread-also { font-size: .88rem; color: var(--grey); }
.spread-monogram { width: 96px; color: var(--gold-text); margin-bottom: 1.2rem; }
@media (min-width: 900px) { .spread { grid-template-columns: 1fr 1fr; align-items: center; gap: 5rem; } .spread:nth-of-type(even) .spread-text { order: 2; } }

/* ---------- Forms (booking, log in) ---------- */
.flashes { padding-top: 1rem; }
.flash { padding: .8rem 1rem; border: 1px solid var(--line); background: var(--paper); margin: 0 0 .6rem; }
.flash-error { border-color: #d9a79f; background: #fbeeec; color: #7a2419; }
.flash-warning { border-color: #e2cc9a; background: #fbf4e3; }
.auth { max-width: 28rem; margin: 0 auto; padding: 3.5rem var(--gutter) 5rem; text-align: center; }
.auth h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); margin-bottom: .8rem; }
.lede { color: var(--grey); font-size: 1.05rem; margin: 0 auto 1.6rem; max-width: 34rem; }
.auth-form { display: grid; gap: 1.1rem; text-align: left; margin-top: 1.6rem; }
.auth-form label { display: grid; gap: .35rem; font: 400 .8rem var(--sans); letter-spacing: .06em; color: var(--grey); }
.auth-form label span { font-size: .78rem; letter-spacing: 0; }
.auth-form input:not([type=checkbox]):not([type=radio]), .auth-form select, .auth-form textarea { width: 100%; min-height: 48px; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 0; background: var(--paper); font: 300 16px var(--sans); color: var(--ink); }
.auth-form input:focus, .auth-form select:focus, .auth-form textarea:focus { border-color: var(--ink); outline: none; }
.auth-form .check { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink); }
.auth-form .cta { width: 100%; }
.auth-alt { color: var(--grey); margin-top: 1.6rem; font-size: .92rem; }
.book-or { color: var(--grey); font-size: .9rem; margin: 1rem 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.book { max-width: 40rem; }

/* The package builder on /book */
.book-builder { display: grid; gap: .6rem; }
.book-builder-title { margin: 0; font-size: .85rem; color: var(--grey); }
.book-builder-title span { display: block; font-size: .8rem; }
.builder { display: grid; gap: 1rem; }
.builder-base { margin: 0; padding: .9rem 1rem; background: var(--paper); border: 1px solid var(--line); font-size: .95rem; }
.builder-base small, .builder-item small { display: block; font-size: .82rem; color: var(--grey); line-height: 1.45; }
.builder-group { border: 1px solid var(--line); padding: .7rem 1rem 1rem; margin: 0; display: grid; gap: .5rem; background: var(--paper); min-width: 0; }
.builder-group legend { font: 500 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); padding: 0 .4rem; }
.builder-group .hint { display: block; font: 300 .8rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--grey); }
.builder-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; }
.auth-form .builder-item { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-size: .98rem; letter-spacing: 0; min-height: 44px; }
.builder-item input { margin-top: .3rem; width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.builder-item strong { font-weight: 400; }
.builder-price { color: var(--gold-text); font-size: .88rem; white-space: nowrap; }
.included-tag { color: var(--gold-text) !important; }
.auth-form .builder-qty { display: flex; gap: .5rem; align-items: center; font-size: .85rem; }
.auth-form .builder-qty input { width: 6rem; min-height: 44px; }
.builder-total { margin: 0; padding: 1rem 1.1rem; background: var(--ink); color: var(--paper); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.builder-total strong { font: 500 1.5rem var(--serif); }
.estimate-note { margin: 0; font-size: .85rem; color: var(--grey); }
.gem-pick { display: grid; gap: .3rem; border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .6rem; }
.gem-pick .hint { margin: 0; }
.gem-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: .4rem; vertical-align: -2px; border: 1px solid rgba(0,0,0,.15); }
.gem-pearl { background: linear-gradient(135deg, #fbf8f1, #b08d57); }
.gem-linen { background: linear-gradient(135deg, #f6f3ea, #7f977b); }
.gem-rose_gold { background: linear-gradient(135deg, #faf2ef, #c3927f); }
.gem-opal { background: linear-gradient(135deg, #f7f8fb, #8fb4c9 55%, #d8cfee); }
.gem-emerald { background: linear-gradient(135deg, #0e2a22, #d4af5a); }
.gem-sapphire { background: linear-gradient(135deg, #0f1f3d, #c9a55a); }

/* ---------- Scroll reveal (only with JS, only when motion is welcome) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

@media (min-width: 640px) { :root { --gutter: 28px; } .section { padding: 6.5rem 0; } }
