/* =====================================================================
   STYLE.CSS — how the site looks ("Midnight and champagne")
   To change a color everywhere, change it once in the list just below.
   ===================================================================== */

:root {
  --navy: #14213D;        /* main dark background */
  --navy-deep: #0B1220;   /* footer, darkest areas */
  --navy-soft: #1D2D50;   /* cards on dark sections */
  --cream: #F7F1E3;       /* light background */
  --cream-card: #FFFBF1;  /* cards on light sections */
  --champagne: #F3E9D2;   /* text on dark */
  --gold: #C9A66B;        /* accent on dark */
  --gold-deep: #8A6830;   /* accent on light (darker so it's readable) */
  --slate: #8FA3BF;       /* quiet text on dark */
  --ink: #14213D;         /* text on light */
  --ink-soft: #4A5570;    /* quiet text on light */

  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 6vw, 48px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy-deep); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 680px; }

.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 500; margin: 0 0 14px; color: var(--gold-deep);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  padding: 15px 34px; border: 1px solid var(--gold); color: var(--champagne);
  background: transparent; border-radius: 0; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--gold); color: var(--navy-deep); }
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); color: var(--navy-deep); width: 100%; }
.btn--gold:hover { background: var(--champagne); border-color: var(--champagne); }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Top menu ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); color: var(--champagne);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav::before { /* soft shade so the menu is readable over the photo */
  content: ""; position: absolute; inset: 0 0 -30px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(11, 18, 32, .55), rgba(11, 18, 32, 0));
  transition: opacity .3s var(--ease);
}
.nav.is-solid { background: rgba(20, 33, 61, .96); box-shadow: 0 1px 0 rgba(201, 166, 107, .25); }
.nav.is-solid::before { opacity: 0; }
.nav__logo { font-family: var(--font-display); font-size: 22px; text-decoration: none; letter-spacing: .06em; display: flex; gap: 6px; align-items: baseline; }
.nav__logo i { font-style: normal; color: var(--gold); font-size: 16px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: 8px 0; position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { border: 1px solid var(--gold); padding: 8px 18px !important; transition: background .25s, color .25s; }
.nav__cta:hover { background: var(--gold); color: var(--navy-deep); }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__toggle {
    display: block; width: 44px; height: 44px; margin-right: -10px; padding: 0;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .nav__toggle span {
    position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--champagne);
    transition: transform .3s var(--ease), top .3s var(--ease);
  }
  .nav__toggle span:nth-child(1) { top: 17px; }
  .nav__toggle span:nth-child(2) { top: 26px; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
  .nav__logo { position: relative; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; background: var(--navy-deep);
    flex-direction: column; justify-content: center; gap: 6px;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; }
  .nav__links a { font-family: var(--font-display); font-size: 28px; letter-spacing: .04em; text-transform: none; padding: 10px 20px; }
  .nav__links a::after { display: none; }
  .nav__cta { margin-top: 16px; padding: 12px 40px !important; }
}

/* ---------- 1. Home / hero ---------- */
.hero { background: var(--navy); color: var(--champagne); text-align: center; position: relative; }
.hero__photo { position: relative; height: 54vh; height: 54svh; min-height: 320px; overflow: hidden; }
.hero__zoom { position: absolute; inset: 0; }
.hero__main { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__photo:not(.zoom) .hero__main { animation: heroZoom 1.8s var(--ease) both; }
.hero__detail { position: absolute; max-width: none; opacity: 0; pointer-events: none; }

/* Opening effect: starts close on the date on the gate, then pulls back.
   Switch it off with  heroZoomIn: false  in edit-me.js */
.hero__photo.zoom .hero__zoom { opacity: 0; will-change: transform; }
/* TIMING: 3s in total. The first 36% (about 1.1s) holds on the date while
   a glow traces "6th May"; the rest is the zoom-out. */
.hero__photo.zoom.is-ready .hero__zoom { opacity: 1; animation: heroPull 3s both, fade .4s ease both; }
.hero__photo.zoom.is-ready .hero__detail { animation: heroDetail 3s both; }
@keyframes heroPull {
  0%   { transform: translate(var(--tx, 0), var(--ty, 0)) scale(3.3); animation-timing-function: linear; }
  36%  { transform: translate(var(--tx, 0), var(--ty, 0)) scale(3.3); animation-timing-function: cubic-bezier(.55, 0, .1, 1); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes heroDetail { 0%, 44% { opacity: 1; } 66%, 100% { opacity: 0; } }

/* The glow that traces "6th May" on the plaque, left to right */
.hero__tracebox { position: absolute; pointer-events: none; }
.hero__trace {
  position: absolute; inset: -40% -5%; opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 46%, transparent 54%);
          mask-image: linear-gradient(90deg, #000 0, #000 46%, transparent 54%);
  -webkit-mask-size: 220% 100%; mask-size: 220% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.hero__trace-glow { position: absolute; inset: 0; filter: drop-shadow(0 0 .4px #FFF1C2) drop-shadow(0 0 1.4px rgba(255, 205, 110, 1)) drop-shadow(0 0 3px rgba(255, 190, 90, .75)); }
.hero__trace-ink {
  position: absolute; left: 4.545%; width: 90.91%; top: 22.22%; height: 55.56%;
  background: linear-gradient(#FFFDF2, #FFE3A3);
  -webkit-mask: url(../photos/gate-date-mask.png) center / 100% 100% no-repeat;
          mask: url(../photos/gate-date-mask.png) center / 100% 100% no-repeat;
}
.hero__pen {
  position: absolute; top: 50%; left: 0; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(255, 252, 235, .95) 0, rgba(255, 214, 130, .5) 32%, rgba(255, 214, 130, 0) 70%);
}
.hero__photo.zoom.is-ready .hero__trace { animation: heroTrace 3s both; }
.hero__photo.zoom.is-ready .hero__pen { animation: heroPen 3s both; }
@keyframes heroTrace {
  0%, 6%  { -webkit-mask-position: 100% 0; mask-position: 100% 0; opacity: 1; animation-timing-function: linear; }
  30%     { -webkit-mask-position: 0 0; mask-position: 0 0; opacity: 1; }
  46%     { -webkit-mask-position: 0 0; mask-position: 0 0; opacity: 1; }
  66%, 100% { -webkit-mask-position: 0 0; mask-position: 0 0; opacity: 0; }
}
@keyframes heroPen {
  0%, 5% { left: 0; opacity: 0; }
  7%     { left: 2%; opacity: 1; animation-timing-function: linear; }
  29%    { left: 100%; opacity: 1; }
  32%, 100% { left: 100%; opacity: 0; }
}

/* The spark that carries the date from the plaque to the date line */
.hero__spark, .hero__spark > div { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 6; }
.hero__spark > div {
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #FFF6D8;
  box-shadow: 0 0 8px 2px rgba(255, 214, 130, .95), 0 0 22px 6px rgba(201, 166, 107, .55);
}

/* "May 6" in the date line: when the spark lands it goes bold and bright gold
   for about 3 seconds, then fades back to normal. (4.5s in total: change that
   number to make the highlight last longer or shorter.) */
.hero__match.is-lit { animation: matchLit 4.5s ease both; }
@keyframes matchLit {
  0%        { color: var(--champagne); -webkit-text-stroke: 0 transparent; text-shadow: none; }
  7%, 72%   { color: #FFDF8F; -webkit-text-stroke: .7px #FFDF8F; text-shadow: 0 0 14px rgba(255, 205, 110, .8); }
  100%      { color: var(--champagne); -webkit-text-stroke: 0 transparent; text-shadow: none; }
}
.hero__detail { /* soft edges so the close-up melts into the main photo */
  -webkit-mask-image: linear-gradient(#000 66%, transparent 80%);
  mask-image: linear-gradient(#000 66%, transparent 80%);
}
.hero__photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(rgba(20, 33, 61, 0), var(--navy));
}
.hero__text { position: relative; margin-top: -56px; padding: 0 var(--gutter) 56px; }
.hero__names { font-size: clamp(40px, 11.5vw, 84px); letter-spacing: .01em; }
.hero__amp { color: var(--gold); font-size: .7em; margin: 0 .12em; }
.hero__date { margin: 14px 0 26px; font-size: 14px; letter-spacing: .28em; text-transform: uppercase; color: var(--champagne); }
.hero__date .dot { margin: 0 .7em; color: var(--gold); }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 400px; margin: 0 auto 30px; border-top: 1px solid rgba(201, 166, 107, .4); border-bottom: 1px solid rgba(201, 166, 107, .4); }
.countdown__unit { padding: 14px 0 12px; }
.countdown__unit + .countdown__unit { border-left: 1px solid rgba(201, 166, 107, .22); }
.countdown__num { display: block; font-family: var(--font-display); font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__label { display: block; margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--slate); }
.married { font-family: var(--font-display); font-size: 34px; color: var(--gold); margin: 0 0 30px; }

.hero__soon { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 26px; }
.hero__soon:last-child { margin-bottom: 0; }

/* Landing-page mode (no sections switched on): the home screen fills the phone */
@media (max-width: 860px) {
  .landing .hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
  .landing .hero__photo { flex: 1 1 auto; height: auto; min-height: 50vh; min-height: 50svh; }
  .landing .hero__text { padding-bottom: 44px; }
}

.hero__in { animation: heroIn .9s var(--ease) both; }
.hero__in:nth-child(1) { animation-delay: .15s; }
.hero__in:nth-child(2) { animation-delay: .25s; }
.hero__in:nth-child(3) { animation-delay: .35s; }
.hero__in:nth-child(4), .hero__in:nth-child(5) { animation-delay: .45s; }
.hero__in:nth-child(6) { animation-delay: .55s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }

@media (min-width: 861px) {
  .hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; align-items: center; }
  .hero__photo { order: 2; height: 100vh; position: sticky; top: 0; }
  .hero__photo::after { inset: 0 auto 0 0; width: 22%; height: auto; background: linear-gradient(90deg, var(--navy), rgba(20, 33, 61, 0)); }
  .hero__text { margin: 0; padding: 90px 40px 60px; }
  .hero__names span { display: block; }
  .hero__names { font-size: clamp(56px, 6.4vw, 96px); line-height: 1.02; }
  .hero__amp { margin: .08em 0; }
  .countdown { max-width: 420px; }
  .countdown__num { font-size: 38px; }
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--light { background: var(--cream); color: var(--ink); }
.section--dark { background: var(--navy); color: var(--champagne); }
.section--light + .section--light { padding-top: 0; }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section__intro { margin: 16px 0 0; color: var(--ink-soft); }
.section--dark .section__intro { color: var(--slate); }
.section__note { margin: 8px 0 0; font-size: 15px; color: var(--gold); }
.sub { text-align: center; margin: 0 0 22px; }
.prose p:last-child { margin-bottom: 0; }

.ornament { width: 1px; height: 44px; background: var(--gold); margin: 0 auto 26px; position: relative; }
.ornament::after { content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

.welcome { text-align: center; padding-bottom: 76px !important; }
.welcome h2 { margin-bottom: 18px; }
.welcome .prose { color: var(--ink-soft); font-size: 18px; }

@media (min-width: 861px) { .section { padding: 110px 0; } .welcome { padding-bottom: 110px !important; } }

/* ---------- 2. Our story ---------- */
.story { display: grid; gap: 56px; }
.story__item { display: grid; gap: 22px; }
.story__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.story__photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(243, 233, 210, .55); pointer-events: none; }
.story__num { font-family: var(--font-display); color: var(--gold-deep); font-size: 15px; letter-spacing: .2em; margin: 0 0 8px; }
.story__text h3 { font-size: 30px; margin-bottom: 14px; }
.story__text .prose { color: var(--ink-soft); }
@media (min-width: 761px) {
  .story { gap: 90px; }
  .story__item { grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
  .story__item:nth-child(even) .story__photo { order: 2; }
  .story__item:nth-child(even) { grid-template-columns: 6fr 5fr; }
}

/* ---------- Cards (details, hotels, registry) ---------- */
.cards { display: grid; gap: 16px; }
@media (min-width: 761px) { .cards--2 { grid-template-columns: 1fr 1fr; } .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards { gap: 22px; } }
.card { padding: 30px 26px; text-align: center; background: var(--cream-card); border: 1px solid rgba(138, 104, 48, .28); display: flex; flex-direction: column; }
.section--dark .card { background: var(--navy-soft); border-color: rgba(201, 166, 107, .32); }
.card--plain { background: transparent; text-align: left; border-width: 1px 0 0; padding: 26px 0 0; }
.card h3 { margin-bottom: 10px; }
.card__time { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 14px; font-weight: 500; }
.section--dark .card__time { color: var(--gold); }
.card__place { font-family: var(--font-display); font-size: 19px; margin: 0 0 2px; }
.card__addr { font-size: 15px; margin: 0 0 12px; color: var(--ink-soft); }
.card__note { font-size: 15px; margin: 0; color: var(--ink-soft); }
.section--dark .card__addr, .section--dark .card__note { color: var(--slate); }
.card__link {
  margin-top: auto; padding-top: 18px; align-self: center;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  color: var(--gold-deep); text-decoration: none;
}
.card__link span { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.section--dark .card__link { color: var(--gold); }
.card__link:hover span { border-bottom-color: transparent; }
.card__link--soon { opacity: .7; }
.travel__info { margin-top: 44px; }

/* ---------- 5. RSVP form ---------- */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding: 0; }
.field legend { margin-bottom: 8px; }
.field em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--slate); font-size: 13px; }
.field input[type="text"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--champagne);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 166, 107, .4); border-radius: 0;
  padding: 14px; -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background .2s;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
.field select option { color: #14213D; }
.field ::placeholder { color: rgba(143, 163, 191, .7); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .08); }
.field textarea { resize: vertical; min-height: 110px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 58px; padding: 10px;
  border: 1px solid rgba(201, 166, 107, .4); font-size: 16px; line-height: 1.25;
  transition: background .2s, color .2s, border-color .2s;
}
.choice input:checked + span { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { margin: 0; padding: 12px 14px; font-size: 15px; background: rgba(226, 122, 106, .14); border: 1px solid #E27A6A; color: #F5C2B8; }
.form__thanks { text-align: center; padding: 20px 0; }
.form__thanks h3 { font-size: 30px; }
.form__thanks:focus { outline: none; }

/* ---------- 6. Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; grid-auto-flow: dense; }
@media (min-width: 761px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.gallery__item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; padding: 0; border: 0; background: #E6DCC6; cursor: zoom-in; display: block; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 8 / 5; }
@media (min-width: 761px) { .gallery__item--wide { aspect-ratio: auto; height: 0; min-height: 100%; } }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(11, 18, 32, .96); display: flex; align-items: center; justify-content: center; animation: fade .25s ease both; }
.lightbox img { max-width: 100vw; max-height: 100vh; max-height: 100dvh; object-fit: contain; padding: 56px 8px; }
.lightbox__btn { position: absolute; z-index: 2; background: none; border: 0; color: var(--champagne); font-size: 40px; line-height: 1; width: 56px; height: 56px; cursor: pointer; font-family: var(--font-display); }
.lightbox__btn:hover { color: var(--gold); }
.lightbox__close { top: 4px; right: 4px; }
.lightbox__prev { left: 0; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 0; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 8. FAQ ---------- */
.faq details { border-top: 1px solid rgba(138, 104, 48, .35); }
.faq details:last-child { border-bottom: 1px solid rgba(138, 104, 48, .35); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-display); font-size: 20px; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--gold-deep);
  transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq__answer { padding: 0 40px 22px 0; color: var(--ink-soft); }
.faq details[open] .faq__answer { animation: heroIn .35s var(--ease) both; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--champagne); text-align: center; padding: 64px var(--gutter) 48px; }
.footer__names { font-family: var(--font-display); font-size: 32px; margin: 0 0 6px; }
.footer__date { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.footer__small { font-size: 13px; color: var(--slate); margin: 0; }

/* ---------- Typo warning (only shows if edit-me.js has a mistake) ---------- */
.oops { position: fixed; inset: 0; z-index: 200; background: var(--navy-deep); color: var(--champagne); display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.oops div { max-width: 460px; }
.oops h2 { font-size: 30px; margin-bottom: 14px; color: var(--gold); }

/* ---------- Gentle fade-in as you scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* People who've asked their phone for less motion get none */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
