@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(assets/fonts/instrument-sans-normal-400-600-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 600;font-display:swap;src:url(assets/fonts/instrument-sans-normal-400-600-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}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/instrument-serif-italic-400-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 Serif';font-style:italic;font-weight:400;font-display:swap;src:url(assets/fonts/instrument-serif-italic-400-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}
@font-face{font-family:'Instrument Serif';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/instrument-serif-normal-400-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 Serif';font-style:normal;font-weight:400;font-display:swap;src:url(assets/fonts/instrument-serif-normal-400-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}
/* ==========================================================================
   WEDDING TEMPLATE · by Fayaline
   ----------------------------------------------------------------------------
   Change the look here. Colours and fonts are set once and used everywhere.
   ========================================================================== */
:root {
  /* colours */
  --paper:   #f6f1e9;   /* page background (ivory) */
  --paper-2: #ede5d8;   /* soft panels */
  --ink:     #1d1814;   /* main text */
  --ink-2:   #5f554c;   /* quieter text */
  --accent:  #7b2d3b;   /* buttons, links, small details */
  --line:    rgba(29, 24, 20, .14);
  --on-dark: #f6f1e9;

  /* fonts */
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans:  'Instrument Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* layout */
  --max: 1280px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --section: clamp(104px, 13vw, 200px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--on-dark); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--ink); color: var(--on-dark); padding: 10px 16px; }
.skip:focus { left: 12px; }

/* ---------- type ---------- */
.label {
  font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2);
}
.label--num { display: inline-flex; gap: 14px; align-items: center; }
.label--num span { color: var(--accent); }
.label--num::after { content: ''; width: 44px; height: 1px; background: currentColor; opacity: .5; }
.display { font: 400 clamp(60px, 11.2vw, 196px)/.88 var(--serif); letter-spacing: -.025em; }
.title   { font: 400 clamp(46px, 6.4vw, 104px)/.95 var(--serif); letter-spacing: -.02em; }
.subtitle{ font: 400 clamp(28px, 3vw, 42px)/1.12 var(--serif); letter-spacing: -.01em; }
.lede    { font: 400 clamp(22px, 2.2vw, 30px)/1.4 var(--serif); letter-spacing: -.005em; color: var(--ink); }
em, .it  { font-family: var(--serif); font-style: italic; font-weight: 400; }
.title em, .display em { letter-spacing: -.01em; }
.muted { color: var(--ink-2); }
.measure { max-width: 34em; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section + .section { padding-top: 0; }
.head { display: grid; gap: 28px; margin-bottom: clamp(56px, 7vw, 104px); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--on-dark); text-decoration: none;
  font: 500 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); }
.btn--light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link { display: inline-flex; gap: 10px; align-items: center; font: 500 13px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding-bottom: 8px; border-bottom: 1px solid currentColor; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.nav.is-solid { background: rgba(246, 241, 233, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__mark { font: 400 26px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.nav__mark em { margin: 0 .12em; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 34px); align-items: center; }
.nav__links a { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; position: relative; padding: 6px 0; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a:hover { color: inherit; }
.nav .btn { min-height: 42px; padding: 0 22px; font-size: 12px; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; margin-right: -10px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 18px; } .nav__toggle span:last-child { top: 25px; }
.menu-open .nav__toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero__text { display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; padding: 140px var(--gutter) clamp(48px, 6vw, 88px); max-width: calc(var(--max) / 2 + var(--gutter)); margin-left: auto; width: 100%; }
.hero__names { display: grid; }
.hero__names .amp { font-style: italic; color: var(--accent); padding-left: .55em; line-height: .8; }
.hero__meta { display: grid; grid-template-columns: auto 1fr; gap: 10px 28px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 26px; max-width: 520px; }

.hero__meta dd { font: 400 22px/1.3 var(--serif); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__photo { position: relative; overflow: hidden; background: var(--paper-2); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-loaded .hero__photo img { transform: scale(1); }
.hero__badge { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); color: var(--on-dark); font: 500 11px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.scroll-cue { display: inline-flex; gap: 12px; align-items: center; color: var(--ink-2); text-decoration: none; }
.scroll-cue i { width: 1px; height: 40px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- countdown band ---------- */
.band { border-block: 1px solid var(--line); }
.band__in { display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); align-items: center; }
.band__in > * { padding: 34px 0; }
.band__lead { font: 400 clamp(22px, 2.1vw, 30px)/1.2 var(--serif); padding-right: 24px; }
.count { text-align: center; border-left: 1px solid var(--line); }
.count b { display: block; font: 400 clamp(40px, 4.6vw, 68px)/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.count span { display: block; margin-top: 10px; }

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: start; }
.story__intro { grid-column: 1 / span 6; display: grid; gap: 28px; position: sticky; top: 120px; }
.story__photos { grid-column: 8 / span 5; display: grid; gap: clamp(20px, 3vw, 40px); }
.story__photos figure:nth-child(2) { width: 78%; margin-left: -28%; }
.story__chapters { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(72px, 9vw, 140px); }
.chapter { display: grid; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); }
.chapter .label { color: var(--accent); }
.chapter h3 { font: 400 32px/1.1 var(--serif); letter-spacing: -.01em; }
.chapter p { color: var(--ink-2); }
figure figcaption { margin-top: 12px; }
.frame { overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame:hover img { transform: scale(1.025); }
.ratio-45 { aspect-ratio: 4 / 5; } .ratio-34 { aspect-ratio: 3 / 4; } .ratio-32 { aspect-ratio: 3 / 2; } .ratio-11 { aspect-ratio: 1; } .ratio-wide { aspect-ratio: 21 / 9; }

/* ---------- quote ---------- */
.quote { text-align: center; display: grid; gap: 30px; justify-items: center; }
.quote blockquote { margin: 0; font: 400 clamp(36px, 5vw, 76px)/1.06 var(--serif); letter-spacing: -.02em; max-width: 16em; }
.quote blockquote em { color: var(--accent); }

/* ---------- details (ceremony / reception) ---------- */
.details { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.details__photo { grid-column: 1 / span 7; }
.details__cards { grid-column: 9 / span 4; display: grid; gap: 56px; align-content: center; }
.event { display: grid; gap: 14px; }
.event__time { font: 400 clamp(56px, 5.6vw, 84px)/.9 var(--serif); letter-spacing: -.02em; }
.event__time small { font-size: .38em; letter-spacing: 0; margin-left: .2em; }
.event h3 { font: 400 30px/1.1 var(--serif); }
.event address { font-style: normal; color: var(--ink-2); }
.event .link { justify-self: start; margin-top: 6px; }

/* ---------- schedule ---------- */
.days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.day { padding: 40px clamp(20px, 3vw, 44px) 8px 0; }
.day + .day { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.day__name { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; }
.day__name h3 { font: 400 40px/1 var(--serif); letter-spacing: -.01em; }
.day ol { display: grid; }
.day li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.day li:first-child { border-top: 0; padding-top: 0; }
.day time { font: 400 21px/1.35 var(--serif); font-variant-numeric: lining-nums; }
.day strong { display: block; font-weight: 500; }
.day li p { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin-top: 2px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(12px, 1.6vw, 22px); }
.g1 { grid-column: 1 / span 5; grid-row: span 2; }
.g2 { grid-column: 6 / span 4; }
.g3 { grid-column: 10 / span 3; }
.g4 { grid-column: 6 / span 7; }
.g5 { grid-column: 1 / span 12; }
.gallery .g1 { height: 100%; }

/* ---------- travel ---------- */
.travel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.travel__intro { grid-column: 1 / span 4; display: grid; gap: 30px; align-content: start; }
.travel__list { grid-column: 6 / span 7; display: grid; }
.stay { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.stay:last-child { border-bottom: 1px solid var(--line); }
.stay h3 { font: 400 30px/1.1 var(--serif); letter-spacing: -.01em; }
.stay p { grid-column: 1; color: var(--ink-2); }
.stay .tag { grid-column: 2; grid-row: 1; align-self: center; }
.stay .link { grid-column: 1; justify-self: start; margin-top: 10px; }
.getting { display: grid; gap: 22px; padding: 30px; background: var(--paper-2); }
.getting li { display: grid; grid-template-columns: 100px 1fr; gap: 16px; }

/* ---------- dress code ---------- */
.dress { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: center; }
.dress__text { grid-column: 1 / span 6; display: grid; gap: 28px; }
.dress__swatches { grid-column: 8 / span 5; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.swatch { display: grid; gap: 12px; }
.swatch i { aspect-ratio: 1 / 2.4; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.swatch span { text-align: center; }

/* ---------- registry ---------- */
.registry { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.gift { display: grid; gap: 18px; align-content: space-between; min-height: 260px; padding: 34px; border: 1px solid var(--line); text-decoration: none; transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease); }
.gift h3 { font: 400 34px/1.05 var(--serif); letter-spacing: -.01em; }
.gift p { color: var(--ink-2); transition: color .45s var(--ease); }
.gift .link { justify-self: start; }
.gift:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.gift:hover p { color: rgba(246, 241, 233, .7); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.faq__intro { grid-column: 1 / span 4; display: grid; gap: 28px; align-content: start; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font: 400 clamp(22px, 2vw, 28px)/1.25 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 14px; height: 14px; position: relative; }
.faq summary i::before, .faq summary i::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 48px 30px 0; color: var(--ink-2); max-width: 40em; }

/* ---------- RSVP ---------- */
.rsvp { background: var(--ink); color: var(--on-dark); }
.rsvp .label, .rsvp .muted { color: rgba(246, 241, 233, .62); }
.rsvp .label--num span { color: #e3a9b2; }
.rsvp__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.rsvp__intro { grid-column: 1 / span 5; display: grid; gap: 28px; align-content: start; }
.rsvp__form { grid-column: 7 / span 6; display: grid; gap: 30px; }
.field { display: grid; gap: 10px; }
.field label, .field legend { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(246, 241, 233, .62); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; color: var(--on-dark); border: 0; border-bottom: 1px solid rgba(246, 241, 233, .3); border-radius: 0;
  padding: 10px 0 14px; font: 400 24px/1.3 var(--serif); outline: none; transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; font-size: 22px; }
.field select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(-45deg, transparent 50%, currentColor 50%); background-position: right 6px top 22px, right 0 top 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(246, 241, 233, .32); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--on-dark); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; align-items: center; justify-content: center; min-height: 58px; border: 1px solid rgba(246, 241, 233, .3); border-radius: 999px; cursor: pointer; font: 400 21px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--on-dark); transition: all .3s var(--ease); }
.choice input:checked + label { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.choice input:focus-visible + label { outline: 2px solid #e3a9b2; outline-offset: 3px; }
.rsvp__form .btn { justify-self: start; }
.rsvp__note { font-size: 14px; }
.rsvp__done { display: none; gap: 18px; align-content: start; }
.rsvp.is-sent .rsvp__form { display: none; }
.rsvp.is-sent .rsvp__done { display: grid; }
.is-hidden { display: none !important; }

/* ---------- closing ---------- */
.closing { position: relative; min-height: 92svh; display: grid; place-items: center; text-align: center; color: var(--on-dark); overflow: hidden; }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.closing::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,13,.15), rgba(20,16,13,.55)); }
.closing__in { position: relative; z-index: 1; display: grid; gap: 30px; justify-items: center; padding: 120px var(--gutter); }
.closing .label { color: rgba(246, 241, 233, .8); }
.footer { padding: 36px 0; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__mark { font: 400 28px/1 var(--serif); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(10% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
  .hero__photo img { transform: none; transition: none; }
  .scroll-cue i::after { animation: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav .btn { display: none; }
  .mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px var(--gutter) 48px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
  .mobile-menu a { font: 400 clamp(40px, 9vw, 64px)/1.15 var(--serif); text-decoration: none; letter-spacing: -.01em; }
  .mobile-menu .btn { margin-top: 30px; align-self: flex-start; }
  .menu-open .mobile-menu { opacity: 1; visibility: visible; }
  .menu-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .story__intro { grid-column: 1 / span 7; }
  .story__photos { grid-column: 8 / span 5; }
  .details__photo { grid-column: 1 / -1; }
  .details__cards { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 40px; }
  .travel__intro, .faq__intro, .rsvp__intro, .dress__text { grid-column: 1 / -1; }
  .travel__list, .faq__list, .rsvp__form, .dress__swatches { grid-column: 1 / -1; }
  .dress__swatches { max-width: 560px; }
}
@media (min-width: 1081px) { .mobile-menu { display: none; } }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__photo { order: -1; height: 72svh; min-height: 460px; }
  .hero__text { padding: 44px var(--gutter) 64px; gap: 32px; max-width: none; }
  .hero__names .amp { padding-left: .35em; }
  .hero__meta { grid-template-columns: 1fr; gap: 4px; }
  .hero__meta dd + dt { margin-top: 14px; }
  .nav:not(.is-solid) { color: var(--on-dark); }
  .menu-open .nav { color: var(--ink); }
  .band__in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .band__lead { grid-column: 1 / -1; padding: 30px 0 4px; text-align: center; }
  .count { padding: 22px 0 30px; }
  .count:first-of-type { border-left: 0; }
  .story { grid-template-columns: 1fr; }
  .story__intro, .story__photos { grid-column: 1; position: static; }
  .story__photos { grid-template-columns: 1fr 1fr; align-items: end; }
  .story__photos figure:nth-child(2) { width: auto; margin: 0 0 -40px; }
  .story__chapters { grid-template-columns: 1fr; gap: 36px; margin-top: 88px; }
  .details__cards { grid-template-columns: 1fr; }
  .days { grid-template-columns: 1fr; border-top: 0; }
  .day, .day + .day { padding: 34px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g1 { grid-column: 1 / -1; grid-row: auto; } .g2, .g3 { grid-column: span 1; } .g4, .g5 { grid-column: 1 / -1; }
  .g1 .frame { aspect-ratio: 4 / 5; }
  .registry { grid-template-columns: 1fr; }
  .gift { min-height: 0; padding: 28px; gap: 22px; }
  .row-2 { grid-template-columns: 1fr; }
  .stay { grid-template-columns: 1fr; }
  .stay .tag { grid-column: 1; grid-row: auto; }
  .getting { padding: 24px; }
  .getting li { grid-template-columns: 1fr; gap: 4px; }
  .faq details p { padding-right: 0; }
  .footer__in { flex-direction: column; text-align: center; }
}

/* images: <picture> just passes the <img> through */
picture { display: contents; }
.g1 { position: relative; min-height: 320px; }
.g1 img { position: absolute; inset: 0; }
.section.rsvp { padding-top: var(--section); }

/* one gentle colour grade so photos from different cameras feel like one set */
.frame img, .hero__photo img { filter: saturate(.9) sepia(.06) contrast(.98); }
@media (max-width: 760px) {
  .display { font-size: clamp(64px, 19vw, 96px); }
  .closing .display { font-size: clamp(56px, 15vw, 80px); }
}
.mobile-menu a.btn { font: 500 13px/1 var(--sans); letter-spacing: .18em; min-height: 52px; padding: 0 30px; }
@media (max-width: 760px) { .nav:not(.is-solid) .nav__mark { text-shadow: 0 1px 14px rgba(0,0,0,.35); } }
