/* ============================================================
   Sifa & Tommy — Base stylesheet  (v2, soft & polished)
   Themes override the custom properties under [data-theme].
   ============================================================ */

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

:root {
  --maxw: 1140px;
  --gutter: clamp(22px, 5vw, 72px);
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.4,.0,.1,1);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 300;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* layered soft watercolor washes + paper grain */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 12% 8%,  var(--wash-1), transparent 70%),
    radial-gradient(55% 45% at 92% 22%, var(--wash-2), transparent 72%),
    radial-gradient(60% 55% at 78% 96%, var(--wash-3), transparent 72%);
  opacity: .85;
}
body::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: var(--grain-opacity, .04);
  background-image: var(--grain);
  background-size: 200px 200px;
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 300; margin: 0; line-height: 1.12; letter-spacing: .012em; color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .42em;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--accent);
  line-height: .92;
  letter-spacing: .01em;
}
.lede { font-family: var(--font-display); font-size: clamp(21px, 2.5vw, 30px); line-height: 1.5; color: var(--ink); font-weight: 300; font-style: italic; letter-spacing: .01em; }
.fr { display: block; font-family: var(--font-display); font-style: italic; color: var(--ink-soft); font-size: .96em; }

p { text-wrap: pretty; }
strong { font-weight: 500; color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; z-index: 2; }
.narrow { max-width: 720px; }
section { position: relative; z-index: 2; }
.section-pad { padding-block: clamp(80px, 13vw, 168px); }

.center { text-align: center; }
.divider { width: 1px; height: 64px; background: linear-gradient(var(--accent), transparent); margin: 30px auto; opacity: .55; }
.divider.h { width: 54px; height: 1px; background: var(--accent); opacity: .5; }
.divider.left { margin-inline: 0; }

.amp { font-family: var(--font-script); color: var(--accent); font-weight: 400; font-style: normal; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .5s var(--ease-soft), box-shadow .5s var(--ease-soft), padding .5s var(--ease-soft);
  padding: 6px 0;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  max-width: 1320px; margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 1px; text-decoration: none; line-height: 1; }
.brand .mono { font-family: var(--font-script); font-size: 30px; color: var(--ink); line-height: .8; }
.brand .mono .amp { font-size: 30px; }
.brand small { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .34em; font-size: 8.5px; color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400;
  padding: 6px 0; position: relative; transition: color .35s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px;
  background: var(--accent); transition: left .4s var(--ease), right .4s var(--ease); opacity: .7;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { left: 0; right: 0; }
.nav-links a.active { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 16px; }


.menu-btn { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content:""; display:block; width:16px; height:1.2px; background: var(--ink); position: relative; transition: .35s var(--ease); }
.menu-btn span::before { position:absolute; top:-5px; } .menu-btn span::after { position:absolute; top:5px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { top:0; transform: rotate(45deg); }
body.menu-open .menu-btn span::after { top:0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0; z-index: 40;
    flex-direction: column; justify-content: center; gap: 26px;
    background: color-mix(in srgb, var(--bg) 97%, transparent); backdrop-filter: blur(8px);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .45s var(--ease-soft);
  }
  body.menu-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 15px; letter-spacing: .22em; }
}

/* ============================================================
   BUTTONS — soft, understated
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500;
  padding: 16px 34px; border-radius: 999px; cursor: pointer; text-decoration: none;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-contrast);
  transition: all .45s var(--ease-soft); position: relative; overflow: hidden;
}
.btn::after { content:""; position:absolute; inset:0; background: var(--ink); opacity:0; transition: opacity .45s var(--ease-soft); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn span { position: relative; z-index: 1; }
.btn.ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.btn.ghost::after { display:none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero-inner { display: grid; place-items: center; text-align: center; min-height: clamp(620px, 100svh, 1000px); padding-block: 120px 80px; }
.hero .eyebrow { font-size: 12px; }

/* ---------- Couple feature section (below hero) ---------- */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}
.couple-text { padding: clamp(12px,2vw,32px) 0; }
.couple-img-2 { align-self: end; }
@media (max-width: 860px) {
  .couple-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .couple-text {
    grid-column: 1 / -1;
    text-align: center;
  }
  .couple-text .divider { margin-left: auto; margin-right: auto; }
  .couple-text .btn-row { justify-content: center; }
}
@media (max-width: 540px) {
  .couple-grid { grid-template-columns: 1fr; }
  .couple-img-2 { display: none; }
}

.hero .names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(58px, 11vw, 124px);
  line-height: .92; margin: .14em 0 0; color: var(--ink);
  letter-spacing: .005em;
  max-width: 100%;
}
.hero .names .amp { font-size: .82em; margin: 0 .06em; vertical-align: -.02em; color: var(--accent); }
.hero .meta { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero .meta .line { letter-spacing: .34em; text-transform: uppercase; font-size: clamp(10.5px,1.2vw,13px); color: var(--ink-soft); font-weight: 400; }
.hero .meta .line .dot { color: var(--accent); margin: 0 .5em; }

/* scroll cue */
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .6; }
.scroll-cue .t { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); }
.scroll-cue .l { width: 1px; height: 46px; background: linear-gradient(var(--ink-soft), transparent); transform-origin: top; animation: cueDrop 2.4s var(--ease-soft) infinite; }
@keyframes cueDrop { 0%,100%{ transform: scaleY(.3); opacity:.3 } 50%{ transform: scaleY(1); opacity:.8 } }

/* floating petals */
.petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petal { position: absolute; top: -8%; z-index: 1; pointer-events: none; border-radius: 60% 40% 55% 45% / 55% 50% 50% 45%; opacity: 0; will-change: transform; filter: blur(.3px); }
@keyframes petalFall {
  0%   { opacity: 0; transform: translate3d(0, -10vh, 0) rotate(var(--rot)); }
  8%   { opacity: .55; }
  90%  { opacity: .5; }
  100% { opacity: 0; transform: translate3d(var(--sway), 112vh, 0) rotate(calc(var(--rot) + 220deg)); }
}

/* countdown */
.countdown { display: flex; gap: clamp(20px, 5vw, 60px); justify-content: center; margin-top: 44px; }
.cd-unit { text-align: center; min-width: 52px; position: relative; }
.cd-unit + .cd-unit::before { content:""; position:absolute; left: calc(-1 * clamp(10px,2.5vw,30px)); top: 12%; height: 52%; width: 1px; background: var(--line); }
.cd-unit b { display: block; font-family: var(--font-display); font-size: clamp(34px, 5vw, 58px); line-height: 1; color: var(--ink); font-weight: 300; font-variant-numeric: tabular-nums; }
.cd-unit span { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); margin-top: 12px; display: block; }
.cd-label { text-align: center; margin-top: 22px; font-family: var(--font-display); font-style: italic; color: var(--ink-soft); font-size: 16px; }
.cd-label .fr { display: inline; font-size: 1em; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.sec-head { text-align: center; max-width: 660px; margin: 0 auto clamp(48px, 7vw, 88px); }
.sec-head .script { font-size: clamp(46px, 8vw, 86px); display: block; margin-bottom: 6px; line-height: 1; }
.sec-head .eyebrow { display: block; }
.sec-head h2 { font-size: clamp(30px, 4.5vw, 50px); margin-top: 4px; }
.sec-head p { color: var(--ink-soft); margin-top: 22px; font-size: 16px; }

.alt-bg { background: color-mix(in srgb, var(--bg-alt) 65%, transparent); }

/* ============================================================
   CARDS / EVENTS
   ============================================================ */
.grid { display: grid; gap: clamp(24px, 3.5vw, 48px); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px){ .grid.two, .grid.three { grid-template-columns: 1fr; } }

.card {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .6s var(--ease-soft), box-shadow .6s var(--ease-soft), border-color .6s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -45px rgba(60,45,25,.45); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card .body { padding: clamp(28px, 3.4vw, 46px); }
.card h3 { font-size: clamp(28px, 3.2vw, 40px); }

.event-card .tag { display: inline-block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.event-card .where { font-family: var(--font-display); font-style: italic; font-size: 21px; color: var(--ink-soft); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; margin-top: 24px; font-size: 15px; }
.kv dt { color: var(--accent); letter-spacing: .2em; text-transform: uppercase; font-size: 10px; padding-top: 5px; }
.kv dd { margin: 0; color: var(--ink); }

/* ---------- image placeholder (soft, with ken-burns) ---------- */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 30% 20%, var(--ph-2), transparent 60%),
    linear-gradient(135deg, var(--ph-1), var(--ph-3));
  display: grid; place-items: center; color: var(--ink-soft);
  border: 1px solid var(--line);
}
.ph::before {
  content:""; position:absolute; inset:0; opacity:.5; mix-blend-mode: soft-light;
  background-image: var(--grain); background-size: 180px 180px;
}
.ph::after { content: attr(data-label); position: relative; font-family: var(--font-display); font-style: italic; font-size: 14px; letter-spacing: .04em; opacity: .65; text-align:center; padding: 16px; }
.ph .kb { position:absolute; inset:0; background: inherit; }
.ph.tall { aspect-ratio: 3/4; }
.ph.wide { aspect-ratio: 16/11; }
.ph.square { aspect-ratio: 1/1; }

/* ---------- people / bridal party ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: clamp(22px,3vw,40px); }
.person { text-align: center; }
.person .avatar { aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; margin-bottom: 18px; }
.person .name { font-family: var(--font-display); font-size: 21px; }
.person .role { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }

/* ---------- info rows ---------- */
.info-row { display: grid; grid-template-columns: 220px 1fr; gap: 12px 56px; padding: 34px 0; border-top: 1px solid var(--line); }
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row h4 { font-family: var(--font-display); font-style: italic; font-size: 25px; font-weight: 300; }
@media (max-width: 720px){ .info-row { grid-template-columns: 1fr; gap: 12px; } }

.contact-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 60%, transparent); font-size: 13.5px; text-decoration: none; transition: .35s var(--ease); }
.contact-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* hotel external link */
.hotel-link { display: inline-block; font-family: var(--font-body); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); padding-bottom: 1px; transition: border-color .25s, opacity .25s; margin-top: 14px; }
.hotel-link:hover { border-color: var(--accent); opacity: .75; }
.hotel-card .body { display: flex; flex-direction: column; }
.hotel-card .body .hotel-link { margin-top: auto; padding-top: 12px; }

/* price callout */
.callout { background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: var(--radius); padding: clamp(32px,4.5vw,56px); text-align: center; }
.callout .big { font-family: var(--font-display); font-size: clamp(40px,6vw,68px); color: var(--accent); line-height:1; font-weight: 300; }
.callout .sub { color: var(--ink-soft); margin-top: 12px; letter-spacing: .04em; }

/* activities */
.act { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.act:first-child { border-top: 1px solid var(--line); }
.act .nm { font-family: var(--font-display); font-size: clamp(22px,2.6vw,28px); font-weight: 300; }
.act .nm small { display:block; font-family: var(--font-body); font-style: normal; font-size: 12px; letter-spacing: .04em; color: var(--ink-soft); margin-top: 4px; text-transform: none; }
.act .pr { font-family: var(--font-display); font-size: clamp(21px,2.8vw,30px); color: var(--accent); white-space: nowrap; font-weight: 300; }

/* ---------- gallery ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery .ph { margin-bottom: 18px; break-inside: avoid; border-radius: var(--radius); }
@media (max-width: 860px){ .gallery { columns: 2; } }
@media (max-width: 540px){ .gallery { columns: 1; } }

/* ============================================================
   FORMS (RSVP)
   ============================================================ */
.form { max-width: 600px; margin: 0 auto; }
.field { margin-bottom: 28px; }
.field label { display: block; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; font-weight: 300; color: var(--ink);
  background: color-mix(in srgb, var(--surface) 55%, transparent); border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 12px 2px; transition: border-color .4s var(--ease-soft);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--ink-soft) 60%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 96px; }
.field.error input, .field.error select { border-color: #b5573f; }
.field .err { color: #b5573f; font-size: 12px; margin-top: 8px; display: none; letter-spacing: .02em; text-transform: none; font-style: italic; }
.field.error .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 560px){ .field-row { grid-template-columns: 1fr; } }

/* segmented radio */
.seg { display: flex; gap: 14px; flex-wrap: wrap; }
.seg label {
  flex: 1; min-width: 140px; text-align: center; cursor: pointer; margin: 0;
  padding: 17px; border: 1px solid var(--line); border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 55%, transparent); transition: .35s var(--ease-soft); letter-spacing: .02em; text-transform: none; font-size: 14.5px; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); color: var(--ink); }
.seg input:checked + label, .seg label.sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--ink); }

.rsvp-confirm { text-align: center; padding: clamp(34px,6vw,70px) 0; }
.rsvp-confirm .script { font-size: clamp(52px, 9vw, 104px); display:block; }
[hidden] { display: none !important; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 30px 44px 30px 0; font-family: var(--font-display); font-size: clamp(20px,2.4vw,25px); font-weight: 300; color: var(--ink); position: relative; transition: color .3s; }
.faq-q:hover { color: var(--accent); }
.faq-q::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 1px; background: var(--accent); transition: transform .4s var(--ease); }
.faq-q::before { content: ""; position: absolute; right: 12px; top: 50%; width: 1px; height: 13px; background: var(--accent); transform: translateY(-50%); transition: transform .4s var(--ease); }
.faq-item.open .faq-q::before { transform: translateY(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-soft); }
.faq-a > div { padding: 0 44px 32px 0; color: var(--ink-soft); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: clamp(72px, 10vw, 120px); text-align: center; position: relative; z-index: 2; overflow: hidden; }
.site-footer .script { font-family: var(--font-script); font-size: clamp(56px,9vw,108px); color: var(--footer-ink); line-height: 1; }
.site-footer .script .amp { color: var(--footer-accent); }
.site-footer .dt { letter-spacing: .34em; text-transform: uppercase; font-size: 11px; margin-top: 22px; opacity: .8; }
.site-footer .flinks { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.site-footer .flinks a { color: var(--footer-ink); text-decoration: none; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; opacity: .75; transition: opacity .3s; }
.site-footer .flinks a:hover { opacity: 1; }
.site-footer .credit { margin-top: 44px; font-family: var(--font-display); font-style: italic; font-size: 15px; opacity: .6; letter-spacing: .02em; }

/* ============================================================
   MOTION — intro + reveals + parallax
   ============================================================ */
@keyframes introIn {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to   { opacity: 1; transform: none;            filter: none; }
}
.intro { opacity: 0; animation: introIn 1.3s var(--ease-soft) both; }
.intro.d1 { animation-delay: .15s; }
.intro.d2 { animation-delay: .45s; }
.intro.d3 { animation-delay: .8s; }
.intro.d4 { animation-delay: 1.15s; }
.intro.d5 { animation-delay: 1.45s; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); filter: blur(4px); transition: opacity 1.1s var(--ease-soft), transform 1.1s var(--ease-soft), filter 1.1s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce){
  .reveal, .intro { opacity:1 !important; transform:none !important; filter:none !important; }
  .scroll-cue, .petal { display:none !important; }
  html{scroll-behavior:auto;}
}

/* interior page hero */
.page-hero { text-align: center; padding-block: clamp(150px, 20vw, 240px) clamp(40px,6vw,72px); position: relative; overflow: hidden; }
.page-hero .script { font-size: clamp(54px, 10vw, 116px); display:block; }
.page-hero h1 { font-size: clamp(28px,4.5vw,52px); margin-top: 8px; font-weight: 300; }
.page-hero p { color: var(--ink-soft); max-width: 600px; margin: 22px auto 0; }

/* ============================================================
   PARCHMENT SCROLL  (interactive, unfurls on click)
   ============================================================ */
.scroll-stage { max-width: 660px; margin: 0 auto; perspective: 1400px; }
.parchment-scroll { position: relative; }

.rod {
  position: relative; height: 24px; border-radius: 999px; z-index: 4;
  background: linear-gradient(180deg, var(--accent-2), var(--accent) 55%, color-mix(in srgb, var(--accent) 65%, #2c1f0e));
  box-shadow: inset 0 2px 3px rgba(255,255,255,.45), inset 0 -4px 7px rgba(0,0,0,.3), 0 8px 20px -10px rgba(60,40,15,.6);
  margin: 0 4px;
}
.rod .finial {
  position: absolute; top: 50%; width: 30px; height: 30px; border-radius: 50%; transform: translateY(-50%);
  background: radial-gradient(circle at 34% 30%, var(--accent-2), var(--accent) 62%, color-mix(in srgb, var(--accent) 55%, #2c1f0e));
  box-shadow: 0 5px 12px -5px rgba(40,25,5,.7), inset 0 2px 3px rgba(255,255,255,.5);
}
.rod .finial.l { left: -15px; } .rod .finial.r { right: -15px; }
.rod.top { z-index: 5; }
.rod.bottom { z-index: 5; transition: opacity .4s var(--ease-soft); }

.paper {
  max-height: 0; overflow: hidden; margin: 0 14px; position: relative; z-index: 3;
  transition: max-height 1.8s var(--ease-soft), box-shadow 1.2s var(--ease-soft);
  background:
    linear-gradient(90deg, rgba(90,65,25,.10), transparent 7%, transparent 93%, rgba(90,65,25,.10)),
    linear-gradient(180deg, #EFE2C4, #F6EFDB 14%, #F3E9CF 86%, #E9DCBC);
}
.paper::before, .paper::after { content:""; position:absolute; left:0; right:0; height:22px; z-index:2; pointer-events:none; }
.paper::before { top:0; background: linear-gradient(180deg, rgba(110,80,35,.26), transparent); }
.paper::after  { bottom:0; background: linear-gradient(0deg, rgba(110,80,35,.26), transparent); }
.parchment-scroll.is-open .paper { box-shadow: 0 40px 70px -45px rgba(70,50,20,.6); }

.paper-inner {
  padding: clamp(40px,6vw,72px) clamp(30px,6vw,76px) clamp(44px,6vw,72px);
  color: #4a3c24; text-align: center;
  opacity: 0; transform: translateY(-18px);
  transition: opacity 1s var(--ease-soft) .55s, transform 1s var(--ease-soft) .55s;
}
.parchment-scroll.is-open .paper-inner { opacity: 1; transform: none; }
.paper-inner .s-eyebrow { text-transform: uppercase; letter-spacing: .34em; font-size: 11px; color: #9a6b34; font-weight: 600; }
.paper-inner h3 { font-family: var(--font-display); font-size: clamp(28px,4vw,42px); color: #3c2f1a; margin-top: 10px; font-weight: 400; }
.paper-inner .s-amp { font-family: var(--font-script); font-size: clamp(54px,8vw,80px); color: #a9803c; line-height: .6; display: block; margin: 8px 0 4px; }
.paper-inner p { font-family: var(--font-display); font-size: clamp(17px,2vw,21px); line-height: 1.65; color: #4a3c24; margin: 16px auto 0; max-width: 46ch; }
.paper-inner p.italic { font-style: italic; color: #6a532f; }
.paper-inner .s-rule { width: 44px; height: 1px; background: #b9924f; opacity: .7; margin: 26px auto; }
.paper-inner .s-sign { font-family: var(--font-script); font-size: clamp(40px,6vw,58px); color: #a9803c; line-height: 1; margin-top: 26px; }

/* wax seal button */
.wax-seal {
  position: absolute; top: 1px; left: 50%; transform: translate(-50%, -2px); z-index: 8;
  width: 88px; height: 88px; border: 0; cursor: pointer; border-radius: 50%; padding: 0;
  background: radial-gradient(circle at 36% 30%, color-mix(in srgb, var(--accent) 78%, #d8b878), var(--accent) 55%, color-mix(in srgb, var(--accent) 50%, #2a1d0c));
  box-shadow: 0 12px 26px -10px rgba(40,25,5,.7), inset 0 3px 7px rgba(255,255,255,.3), inset 0 -8px 14px rgba(0,0,0,.35);
  display: grid; place-items: center;
  transition: opacity .55s var(--ease-soft), transform .7s var(--ease-soft);
}
.wax-seal::after { content:""; position:absolute; inset:8px; border-radius:50%; border:1.5px dashed rgba(255,245,225,.4); }
.wax-seal .seal-mono { font-family: var(--font-script); font-size: 36px; color: rgba(255,244,226,.95); line-height: 1; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.wax-seal .seal-mono .amp { color: rgba(255,244,226,.95); font-size: 36px; }
.wax-seal:hover { transform: translate(-50%, -2px) scale(1.05) rotate(-3deg); }
.parchment-scroll.is-open .wax-seal { opacity: 0; transform: translate(-50%, -22px) scale(.35) rotate(-32deg); pointer-events: none; }

/* closed-state hint + toggle */
.scroll-hint { margin-top: 26px; font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--ink-soft); transition: opacity .5s var(--ease-soft); }
.parchment-scroll.is-open ~ .scroll-hint { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.scroll-toggle {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  background: transparent; border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); color: var(--ink);
  padding: 13px 28px; border-radius: 999px; transition: all .4s var(--ease-soft);
}
.scroll-toggle:hover { border-color: var(--accent); color: var(--accent); }
.scroll-toggle .tg-secondary { color: var(--ink-soft); }

/* ============================================================
   PAGE-TRANSITION VEIL
   ============================================================ */
.page-veil {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center;
  opacity: 1; pointer-events: none;
  transition: opacity .55s var(--ease-soft);
}
.page-veil.reveal-done { opacity: 0; }
.page-veil.active { opacity: 1; pointer-events: all; transition: opacity .42s var(--ease-soft); }
.veil-mono { font-family: var(--font-script); font-size: 64px; color: var(--accent); opacity: .0; transform: scale(.9); transition: opacity .5s var(--ease-soft), transform .6s var(--ease-soft); }
.page-veil.active .veil-mono { opacity: 1; transform: scale(1); }
.veil-mono i { font-style: normal; color: var(--ink-soft); }

/* ============================================================
   SCROLL PROGRESS HAIRLINE
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ============================================================
   BOTANICAL SPRIG DIVIDER (SVG stroke draws on reveal)
   ============================================================ */
.sprig { display: block; margin: 0 auto; width: clamp(120px, 22vw, 200px); height: auto; color: var(--accent); }
.sprig path, .sprig line, .sprig circle { stroke: currentColor; fill: none; stroke-width: 1.1; vector-effect: non-scaling-stroke;
  stroke-dasharray: var(--len, 240); stroke-dashoffset: var(--len, 240); transition: stroke-dashoffset 1.7s var(--ease-soft); }
.sprig circle { fill: currentColor; stroke: none; opacity: 0; transition: opacity .6s var(--ease-soft) 1.2s; }
.reveal.in .sprig path, .reveal.in .sprig line { stroke-dashoffset: 0; }
.reveal.in .sprig circle { opacity: 1; }

/* ============================================================
   ENVELOPE — Save the Date
   ============================================================ */
.envelope-stage { max-width: 520px; margin: 0 auto; perspective: 1400px; }
.envelope {
  position: relative; width: 100%; aspect-ratio: 1.5/1; cursor: pointer;
  margin-top: 20px; transition: transform .6s var(--ease-soft);
}
.envelope:hover { transform: translateY(-4px); }
.env-body, .env-flap, .env-pocket { position: absolute; inset: 0; border-radius: 6px; }
.env-body {
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 92%, var(--accent)), color-mix(in srgb, var(--surface) 75%, var(--accent)));
  box-shadow: 0 30px 60px -34px rgba(60,45,20,.55); border: 1px solid var(--line); z-index: 1;
}
.env-card {
  position: absolute; left: 6%; right: 6%; bottom: 7%; z-index: 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: 4px;
  padding: clamp(20px,4vw,34px); text-align: center;
  box-shadow: 0 20px 40px -28px rgba(60,45,20,.5);
  transform: translateY(0) scale(.98); transform-origin: bottom center;
  transition: transform 1s var(--ease-soft) .15s; will-change: transform;
}
.env-card .stamp { font-family: var(--font-script); color: var(--accent); font-size: clamp(30px,5vw,44px); line-height: 1; }
.env-card .eyebrow { display:block; margin-top: 8px; }
.env-card .when { font-family: var(--font-display); font-size: clamp(20px,3vw,28px); margin-top: 12px; color: var(--ink); }
.env-card .where { font-style: italic; font-family: var(--font-display); color: var(--ink-soft); margin-top: 4px; }
.envelope.open .env-card { transform: translateY(-58%) scale(1); }
.env-pocket { z-index: 3; clip-path: polygon(0 22%, 50% 64%, 100% 22%, 100% 100%, 0 100%);
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 84%, var(--accent)), color-mix(in srgb, var(--surface) 66%, var(--accent)));
  border-radius: 6px; box-shadow: inset 0 2px 8px rgba(0,0,0,.06); }
.env-flap { z-index: 5; transform-origin: top center; transition: transform .7s var(--ease-soft), z-index 0s .35s;
  clip-path: polygon(0 0, 100% 0, 50% 64%);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 30%, var(--surface)), color-mix(in srgb, var(--accent) 16%, var(--surface)));
  border-radius: 6px 6px 0 0; box-shadow: 0 4px 10px -6px rgba(0,0,0,.2); }
.envelope.open .env-flap { transform: rotateX(180deg); z-index: 1; }
.env-flap .seal-dot { position:absolute; left:50%; top:54%; transform:translate(-50%,-50%); width:40px; height:40px; border-radius:50%;
  background: radial-gradient(circle at 36% 30%, var(--accent-2), var(--accent) 60%); box-shadow:0 4px 10px -4px rgba(40,25,5,.6);
  display:grid; place-items:center; font-family:var(--font-script); color:#fff7ec; font-size:18px; }
.env-trigger { margin-top: 30px; }
.env-hint { margin-top: 14px; font-family: var(--font-display); font-style: italic; color: var(--ink-soft); transition: opacity .4s; }
.envelope.open ~ .env-hint { opacity: 0; }

/* ============================================================
   REVEAL TIMELINE (The Day)
   ============================================================ */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 4px; }
.timeline::before { content:""; position:absolute; left: 20px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline .tl-line { position:absolute; left:20px; top:8px; width:1px; background: var(--accent); height:0; transition: height 1.6s var(--ease-soft); }
.timeline.in .tl-line { height: calc(100% - 16px); }
.tl-item { position: relative; padding: 0 0 clamp(36px,5vw,56px) 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position:absolute; left: 11px; top: 4px; width: 19px; height: 19px; border-radius:50%; background: var(--bg); border: 1px solid var(--accent);
  display:grid; place-items:center; }
.tl-dot::after { content:""; width:7px; height:7px; border-radius:50%; background: var(--accent); transform: scale(0); transition: transform .5s var(--ease-soft); }
.reveal.in .tl-dot::after { transform: scale(1); }
.tl-item .tl-when { font-size: 10.5px; letter-spacing:.26em; text-transform:uppercase; color: var(--accent); }
.tl-item h3 { font-family: var(--font-display); font-size: clamp(26px,3.4vw,38px); margin-top: 6px; font-weight: 300; }
.tl-item .tl-where { font-family: var(--font-display); font-style: italic; color: var(--ink-soft); margin-top: 2px; font-size: 19px; }
.tl-item p { margin-top: 12px; color: var(--ink-soft); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 210; background: color-mix(in srgb, var(--footer-bg) 92%, #000);
  display: none; place-items: center; opacity: 0; transition: opacity .4s var(--ease-soft); }
.lightbox.open { display: grid; opacity: 1; }
.lb-figure { margin: 0; max-width: min(86vw, 900px); max-height: 84vh; display: flex; flex-direction: column; align-items: center; gap: 16px;
  transform: scale(.96); transition: transform .45s var(--ease-soft); }
.lightbox.open .lb-figure { transform: scale(1); }
.lb-content img { max-width: 86vw; max-height: 74vh; border-radius: 3px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.lb-ph { width: min(72vw, 620px); aspect-ratio: 4/3; border-radius: 3px;
  background: linear-gradient(135deg, var(--ph-1), var(--ph-3)); display:grid; place-items:center;
  font-family: var(--font-display); font-style: italic; color: var(--ink-soft); font-size: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.lb-cap { color: rgba(255,255,255,.7); font-size: 12px; letter-spacing: .2em; }
.lb-close { position: fixed; top: 22px; right: 26px; width:46px; height:46px; border-radius:50%; border:1px solid rgba(255,255,255,.3);
  background: transparent; color:#fff; font-size: 26px; cursor:pointer; line-height:1; transition:.3s var(--ease); }
.lb-close:hover { background: rgba(255,255,255,.12); }
.lb-nav { position: fixed; top: 50%; transform: translateY(-50%); width:54px; height:54px; border-radius:50%;
  border:1px solid rgba(255,255,255,.3); background:transparent; color:#fff; font-size:28px; cursor:pointer; transition:.3s var(--ease); }
.lb-nav:hover { background: rgba(255,255,255,.12); }
.lb-prev { left: 24px; } .lb-next { right: 24px; }
@media (max-width:600px){ .lb-nav { top:auto; bottom: 24px; transform:none; } .lb-prev{left:30%;} .lb-next{right:30%;} }

/* gallery hover affordance */
.gallery .ph { transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft); }
.gallery .ph:hover { transform: scale(1.015); box-shadow: 0 30px 50px -34px rgba(60,45,20,.5); }

/* bridal party hover reveal */
.person .avatar { position: relative; transition: transform .5s var(--ease-soft); }
.person:hover .avatar { transform: translateY(-5px); }
.person .role { transition: color .3s, letter-spacing .4s var(--ease-soft); }
.person:hover .role { letter-spacing: .3em; color: var(--accent); }

@media (prefers-reduced-motion: reduce){
  .page-veil, .scroll-progress { display: none !important; }
  .sprig path, .sprig line { stroke-dashoffset: 0 !important; }
  .timeline .tl-line { height: calc(100% - 16px) !important; }
}

/* ============================================================
   MOBILE & TOUCH — comprehensive responsive improvements
   ============================================================ */

/* Remove tap flash on mobile browsers */
* { -webkit-tap-highlight-color: transparent; }

/* Touch-device active feedback (replaces hover effects) */
@media (hover: none) {
  .btn:active { transform: scale(0.97); box-shadow: none !important; opacity: .88; }
  .btn.ghost:active { border-color: var(--accent); color: var(--accent); }
  .card:active { box-shadow: 0 10px 24px -14px rgba(60,45,25,.3); }
  .contact-chip:active { border-color: var(--accent); color: var(--accent); transform: none; }
  .nav-links a:active { color: var(--accent) !important; }
  .wax-seal:active { transform: translate(-50%, -2px) scale(1.06) rotate(-2deg); }
  .scroll-toggle:active { border-color: var(--accent); color: var(--accent); }
  .faq-q:active { color: var(--accent); }
  .gallery .ph:active { transform: scale(1.01); }
}

/* ============================================================
   MOBILE NAV (≤ 940px)
   ============================================================ */
@media (max-width: 940px) {
  /* Overlay: room for header */
  .nav-links {
    padding-top: 80px;
    padding-bottom: 48px;
    gap: 22px;
    justify-content: center;
  }


/* ============================================================
   TABLET / LANDSCAPE (≤ 860px)
   ============================================================ */
@media (max-width: 860px) {
  /* Tighten gutter slightly */
  :root { --gutter: clamp(18px, 4vw, 56px); }

  /* Section headings */
  .sec-head .script { font-size: clamp(38px, 9vw, 68px); }
  .sec-head { margin-bottom: clamp(36px, 6vw, 64px); }

  /* Page heroes */
  .page-hero { padding-block: clamp(110px, 17vw, 200px) clamp(32px, 5vw, 60px); }
  .page-hero .script { font-size: clamp(44px, 11vw, 96px); }
  .page-hero h1 { font-size: clamp(24px, 5vw, 44px); }

  /* Hero */
  .hero-inner { padding-block: 100px 60px; }

  /* Activities: price on its own line */
  .act { flex-wrap: wrap; align-items: flex-start; }
  .act .nm { flex: 1 1 auto; }

  /* People grid tighter */
  .people { gap: clamp(14px, 2.5vw, 28px); }

  /* KV */
  .kv { gap: 8px 18px; }

  /* Callout */
  .callout { padding: clamp(24px, 4.5vw, 48px) clamp(20px, 4vw, 40px); }

  /* Info rows tighten */
  .info-row { gap: 10px 36px; padding: 28px 0; }
  .info-row h4 { font-size: 22px; }
}

/* ============================================================
   SMALL PHONES (≤ 540px)
   ============================================================ */
@media (max-width: 540px) {
  /* Tightest gutter */
  :root { --gutter: 18px; }

  /* ---------- Hero ---------- */
  .hero .names { font-size: clamp(44px, 12.5vw, 70px); }
  .hero-inner { padding-block: 88px 52px; min-height: clamp(560px, 100svh, 860px); }
  .hero .eyebrow { font-size: 10.5px; letter-spacing: .28em; }
  .hero .meta .line { font-size: 10px; letter-spacing: .22em; }

  /* ---------- Countdown ---------- */
  .countdown { gap: clamp(8px, 3.5vw, 18px); margin-top: 28px; }
  .cd-unit { min-width: 38px; }
  .cd-unit b { font-size: clamp(24px, 6.5vw, 36px); }
  .cd-unit span { font-size: 7.5px; letter-spacing: .14em; margin-top: 7px; }
  .cd-unit + .cd-unit::before { left: calc(-1 * clamp(4px, 1.75vw, 9px)); }
  .cd-label { font-size: 13px; }

  /* ---------- Button rows ---------- */
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn, .btn-row a.btn { text-align: center; justify-content: center; width: 100%; }

  /* ---------- Section padding ---------- */
  .section-pad { padding-block: clamp(52px, 12vw, 96px); }

  /* ---------- Cards ---------- */
  .card .body { padding: 20px 16px; }
  .card h3 { font-size: clamp(22px, 5.5vw, 30px); }
  .event-card .where { font-size: 16px; }
  .event-card .tag { font-size: 9px; margin-bottom: 10px; }

  /* ---------- Envelope (Save the Date) ---------- */
  .envelope-stage { max-width: min(100%, 340px); }
  .env-card { padding: 14px 12px; }
  .env-card .stamp { font-size: clamp(22px, 6.5vw, 32px); }
  .env-card .eyebrow { font-size: 9px; }
  .env-card .when { font-size: clamp(14px, 4.2vw, 20px); margin-top: 8px; }
  .env-card .where { font-size: 12.5px; margin-top: 2px; }
  .env-hint { font-size: 13px; }
  .env-trigger { margin-top: 20px; }

  /* ---------- Parchment scroll ---------- */
  .scroll-stage { padding: 0; }
  .wax-seal { width: 72px; height: 72px; }
  .wax-seal .seal-mono { font-size: 28px; }
  .wax-seal::after { inset: 6px; }
  .paper-inner { padding: 30px 18px 34px; }
  .paper-inner h3 { font-size: clamp(20px, 5.5vw, 30px); }
  .paper-inner p { font-size: clamp(14px, 3.8vw, 17px); max-width: 100%; }
  .paper-inner .s-amp { font-size: clamp(44px, 11vw, 64px); }
  .paper-inner .s-sign { font-size: clamp(34px, 9vw, 48px); }
  .scroll-toggle { width: 100%; justify-content: center; }
  .scroll-hint { font-size: 14px; }

  /* ---------- Timeline ---------- */
  .timeline { padding-left: 0; }
  .tl-item { padding-left: 46px; padding-bottom: clamp(28px, 6vw, 44px); }
  .tl-item h3 { font-size: clamp(20px, 5.5vw, 28px); }
  .tl-item .tl-where { font-size: 15px; }
  .tl-item p { font-size: 14.5px; }

  /* ---------- People / bridal party ---------- */
  .people { grid-template-columns: repeat(auto-fill, minmax(106px, 1fr)); gap: 14px 12px; }
  .person .name { font-size: 16px; }
  .person .role { font-size: 8.5px; letter-spacing: .2em; }
  .person .avatar { margin-bottom: 10px; }

  /* ---------- Info rows ---------- */
  .info-row { padding: 22px 0; gap: 8px; }
  .info-row h4 { font-size: 19px; }

  /* ---------- Contact chips ---------- */
  .contact-chip { font-size: 12px; padding: 10px 13px; }
  .chip-row { gap: 8px; }

  /* ---------- Callout ---------- */
  .callout { padding: 26px 18px; }
  .callout .big { font-size: clamp(36px, 9vw, 54px); }
  .callout .sub { font-size: 13.5px; }

  /* ---------- Activities ---------- */
  .act { flex-direction: column; gap: 2px; padding: 20px 0; }
  .act .pr { font-size: clamp(18px, 4.5vw, 24px); }
  .act .nm { font-size: clamp(18px, 4.5vw, 24px); }
  .act .nm small { font-size: 11px; margin-top: 2px; }

  /* ---------- Gallery ---------- */
  .gallery { column-gap: 12px; }
  .gallery .ph { margin-bottom: 12px; }

  /* ---------- Lightbox ---------- */
  .lb-nav { width: 44px; height: 44px; font-size: 22px; }
  .lb-close { width: 42px; height: 42px; font-size: 22px; }
  .lb-cap { font-size: 11px; }

  /* ---------- RSVP / Forms ---------- */
  .field input, .field select, .field textarea { padding: 14px 2px; font-size: 16px; }
  .field label { font-size: 10px; letter-spacing: .18em; margin-bottom: 10px; }
  .seg { gap: 8px; }
  .seg label { padding: 14px 8px; font-size: 13px; min-width: 0; flex: 1 1 calc(50% - 4px); }
  .rsvp-confirm .script { font-size: clamp(36px, 10vw, 72px); }

  /* ---------- FAQ ---------- */
  .faq-q { font-size: clamp(16px, 4.5vw, 22px); padding: 22px 38px 22px 0; }
  .faq-q::after { right: 4px; width: 12px; }
  .faq-q::before { right: 9px; height: 12px; }
  .faq-a > div { padding: 0 0 22px 0; font-size: 14.5px; }

  /* ---------- Footer ---------- */
  .site-footer { padding-block: clamp(56px, 10vw, 96px); }
  .site-footer .flinks { gap: 12px 20px; }
  .site-footer .flinks a { font-size: 9px; letter-spacing: .16em; }
  .site-footer .credit { font-size: 13px; margin-top: 30px; }

  /* ---------- Lede ---------- */
  .lede { font-size: clamp(18px, 5vw, 24px); }

  /* ---------- Scroll progress bar ---------- */
  .scroll-progress { height: 2px; }

  /* ---------- Section header ---------- */
  .sec-head .script { font-size: clamp(36px, 10vw, 60px); }
  .sec-head p { font-size: 14.5px; }
}

/* ============================================================
   TINY PHONES (≤ 380px)
   ============================================================ */
@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .hero .names { font-size: clamp(40px, 11vw, 56px); }
  .countdown { gap: 6px; }
  .cd-unit b { font-size: 22px; }
  .cd-unit span { font-size: 7px; }
  .nav { padding-inline: 14px; }
  .brand .mono { font-size: 26px; }
}

/* ---------- Real photos replacing .ph placeholders ---------- */
.photo-wrap {
  position: relative; overflow: hidden;
  background: var(--ph-1); border-radius: var(--radius);
}
.photo-wrap.tall { aspect-ratio: 3/4; }
.photo-wrap.wide { aspect-ratio: 16/11; }
.photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s var(--ease-soft);
}
.photo-wrap:hover img { transform: scale(1.04); }
.ph:has(img)::after,
.ph:has(img)::before { display: none; }
.ph:has(img) { background: none; border-color: transparent; }
.ph img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 1;
  transition: transform .6s var(--ease-soft);
}
.ph:hover img { transform: scale(1.04); }

/* ============================================================
   LANDSCAPE MOBILE (short viewport, wide screen)
   ============================================================ */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 500px) {
  .hero-inner { min-height: 100svh; padding-block: 72px 36px; }
  .hero .names { font-size: clamp(36px, 7vh, 60px); }
  .countdown { margin-top: 12px; gap: 14px; }
  .cd-unit b { font-size: clamp(20px, 5vh, 32px); }
  .scroll-cue { display: none; }
  .page-hero { padding-block: clamp(80px, 12vh, 160px) clamp(20px, 4vh, 48px); }
}
