/* ════════════════════════════════════════════════════
   CMG 80 — A Legacy of Excellence
   Mobile-First CSS
   ════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Great+Vibes&display=swap');

/* ── Design Tokens ─────────────────────────────── */
:root {
  --forest:       #141f0c;
  --forest-mid:   #1e2e12;
  --olive:        #3a4a20;
  --gold:         #c9a84c;
  --gold-bright:  #d4b45e;
  --gold-light:   #e6cc7e;
  --gold-pale:    #f5e9c4;
  --gold-dim:     rgba(201,168,76,0.18);
  --earth:        #5c3d1e;
  --sand:         #d4c4a0;
  --sand-dim:     rgba(212,196,160,0.80);
  --black:        #0b0d08;
  --black-soft:   #0f1209;
  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-serif:   'Playfair Display', serif;
  --font-script:  'Great Vibes', cursive;
  --ease:   cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-o: cubic-bezier(0.16, 1, 0.3, 1);
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px;
  --s5: 64px; --s6: 96px; --s7: 140px;
  --px: 20px; /* horizontal page padding — mobile default */
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

body {
  background: var(--black);
  color: var(--sand);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: auto;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
/* Only hide cursor on true pointer devices */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
}

/* ── Grain ──────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
  animation: grainShift 0.4s steps(1) infinite;
}
@keyframes grainShift {
  0%  { transform: translate(0,0); } 25% { transform: translate(-2%,2%); }
  50% { transform: translate(2%,-2%); } 75% { transform: translate(-1%,-1%); }
}

/* ── Custom Cursor — pointer devices only ───────── */
.cursor, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block; position: fixed; width: 10px; height: 10px;
    background: var(--gold); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%,-50%);
    transition: width .3s var(--ease), height .3s var(--ease), opacity .3s;
    mix-blend-mode: screen; will-change: transform;
  }
  .cursor-ring {
    display: block; position: fixed; width: 36px; height: 36px;
    border: 1px solid rgba(201,168,76,.5); border-radius: 50%;
    pointer-events: none; z-index: 9998;
    transform: translate(-50%,-50%);
    transition: transform .22s var(--ease), width .35s var(--ease), height .35s var(--ease), opacity .3s, border-color .3s;
    will-change: transform;
  }
  body:has(a:hover) .cursor-ring, body:has(button:hover) .cursor-ring {
    width: 56px; height: 56px; border-color: rgba(201,168,76,.8);
  }
}

/* ════════ NAVIGATION — mobile first ═══════════════ */
nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 1000;
  padding: 18px var(--px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background .5s var(--ease), padding .4s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(11,13,8,.92);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  padding: 14px var(--px);
  border-bottom-color: var(--gold-dim);
}
.nav-logo {
  font-family: var(--font-display); font-size: 12px; letter-spacing: 7px;
  display: flex; align-items: center; gap: 4px; user-select: none;
  position: relative; z-index: 1001;
}
.nav-logo-text { color: var(--gold-light); }
.nav-logo-dot  { color: var(--gold); opacity: .5; }
.nav-logo-num  { color: var(--gold); }

/* Mobile: links hidden */
.nav-links { display: none; gap: 44px; list-style: none; align-items: center; }
.nav-link {
  font-family: var(--font-display); font-size: 9.5px;
  letter-spacing: 4px; text-transform: uppercase; color: var(--sand-dim);
  transition: color .3s; position: relative; padding-bottom: 3px;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-link:hover { color: var(--gold-light); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link-cta {
  color: var(--gold); border: 1px solid var(--gold-dim); padding: 9px 22px 6px; letter-spacing: 5px;
  transition: color .3s, background .3s, border-color .3s;
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover { color: var(--black); background: var(--gold); border-color: var(--gold); }

/* Mobile: hamburger visible */
.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; padding: 6px 2px;
  align-items: flex-end; justify-content: center;
  position: relative; z-index: 1001;
}
.nav-hamburger span {
  display: block; height: 1px; background: var(--sand); width: 100%;
  transition: transform .3s var(--ease), opacity .3s, width .3s;
}
.nav-hamburger span:last-child { width: 60%; }
.nav-hamburger.open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:last-child { width: 100%; transform: translateY(-6px) rotate(-45deg); }

/* Mobile fullscreen overlay menu */
.nav-links.open {
  display: flex; flex-direction: column;
  position: fixed; inset: 0;
  background: rgba(9,11,6,.97); backdrop-filter: blur(24px);
  justify-content: center; align-items: center;
  gap: var(--s4); z-index: 999;
  padding: 80px var(--s3) var(--s3);
}
.nav-links.open .nav-link { font-size: 11px; letter-spacing: 5px; color: var(--sand); }
.nav-links.open .nav-link-cta { font-size: 10px; padding: 14px 36px 12px; }

/* ════════ HERO — mobile first ══════════════════════ */
#hero {
  min-height: 100dvh;
  display: grid; grid-template-columns: 1fr; /* single col mobile */
  position: relative; overflow: hidden;
}
.hero-bg-texture {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 80% at 25% 50%, rgba(26,40,16,.95) 0%, var(--black) 100%);
}

/* Mobile: hero image is full-bleed background */
.hero-right { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-right::after { display: none; }
.hero-image-frame { position: absolute; inset: 0; }
.hero-image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  animation: slowZoom 22s var(--ease) infinite alternate;
}
/* Mobile overlay — near-opaque dark scrim so card art doesn't fight HTML text */
.hero-image-border {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(11,13,8,.88) 0%, rgba(11,13,8,.60) 30%, rgba(11,13,8,.72) 70%, rgba(11,13,8,.95) 100%),
    rgba(11,13,8,.70);
}

/* Mobile hero text */
.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  padding: 100px var(--px) 88px;
  min-height: 100dvh;
}
.hero-left::before { display: none; }

.hero-tag {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: 8px;
  letter-spacing: 6px; text-transform: uppercase; color: var(--gold);
  margin-bottom: var(--s3);
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
  opacity: 0; animation: fadeUp 1s .2s var(--ease-o) forwards;
}
.hero-tag-line { width: 32px; height: 1px; background: var(--gold); opacity: .5; }

.hero-intro {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  font-size: clamp(16px,4vw,28px); color: var(--sand); opacity: .85;
  margin-bottom: var(--s1);
  text-shadow: 0 2px 16px rgba(0,0,0,1);
  opacity: 0; animation: fadeUp 1s .4s var(--ease-o) forwards;
}

.hero-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px,6vw,58px); line-height: 1.1; margin-bottom: var(--s3);
  text-shadow: 0 2px 20px rgba(0,0,0,1), 0 0 40px rgba(0,0,0,.8);
  opacity: 0; animation: fadeUp 1s .6s var(--ease-o) forwards;
}
.hero-name-first { display: block; color: var(--gold-light); letter-spacing: 3px; }
.hero-name-last  { display: block; color: var(--sand); font-weight: 400; letter-spacing: 1.5px; }

.hero-milestone {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: var(--s2);
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.9));
  opacity: 0; animation: fadeUp 1s .8s var(--ease-o) forwards;
}
.hero-num-wrap { position: relative; display: inline-flex; align-items: baseline; }
.hero-number {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(72px,22vw,164px); line-height: .9;
  background: linear-gradient(160deg,var(--gold) 0%,var(--gold-light) 45%,var(--gold-pale) 65%,var(--gold-bright) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sup {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(13px,3vw,22px); color: var(--gold); -webkit-text-fill-color: var(--gold); margin-left: 3px;
}
.hero-sub-label {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--sand-dim); align-self: flex-end; padding-bottom: 10px;
}

.hero-rule {
  display: flex; align-items: center; gap: 14px; margin-bottom: var(--s3);
  opacity: 0; animation: fadeUp 1s 1s var(--ease-o) forwards;
}
.hero-rule-line { height: 1px; width: 48px; background: linear-gradient(to right,var(--gold),transparent); }
.hero-rule-fleur { width: 28px; color: var(--gold); opacity: .5; }

.hero-details {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2);
  text-shadow: 0 2px 12px rgba(0,0,0,.95);
  opacity: 0; animation: fadeUp 1s 1.2s var(--ease-o) forwards;
}
.hero-detail { display: flex; flex-direction: column; gap: 5px; }
.hero-detail-label {
  font-family: var(--font-display); font-size: 8px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); opacity: .6;
}
.hero-detail-value { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 2px; color: var(--sand); }
.hero-detail-sep { display: none; }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeIn 1s 2.8s forwards;
}
.hero-scroll-label { font-family: var(--font-display); font-size: 8px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); }
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom,var(--gold) 0%,transparent 100%);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ════════ COUNTDOWN — mobile first ════════════════ */
#countdown {
  background: var(--forest-mid);
  padding: var(--s4) var(--px);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--gold-dim); border-bottom: 1px solid var(--gold-dim);
}
#countdown::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%,rgba(201,168,76,.04) 0%,transparent 70%);
}
.countdown-header { text-align: center; margin-bottom: var(--s3); }
.countdown-tag {
  font-family: var(--font-display); font-size: 8px; letter-spacing: 6px;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
}
.countdown-tag::before,.countdown-tag::after {
  content: ''; display: block; width: 24px; height: 1px; background: linear-gradient(to right,transparent,var(--gold));
}
.countdown-tag::after { background: linear-gradient(to left,transparent,var(--gold)); }

.countdown-grid {
  display: flex; justify-content: center; align-items: stretch;
  gap: 0; flex-wrap: nowrap; max-width: 880px; margin: 0 auto;
}
.countdown-block {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: var(--s2) var(--s1); flex: 1; min-width: 0; position: relative;
}
.countdown-num {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(32px,9vw,88px); line-height: 1;
  background: linear-gradient(180deg,var(--gold-light) 0%,var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; letter-spacing: -1px; transition: transform .2s var(--ease-o);
}
.countdown-num.tick { animation: numTick .2s var(--ease-o); }
.countdown-bar { width: 80%; height: 1px; background: rgba(201,168,76,.1); }
.countdown-bar-fill { height: 100%; background: linear-gradient(to right,var(--gold),var(--gold-light)); transition: width .9s var(--ease); }
.countdown-unit {
  font-family: var(--font-display); font-size: 7px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--sand); opacity: .70;
}
.countdown-sep { display: none; } /* hidden mobile; shown at 540px+ */

/* ════════ SHARED SECTION STYLES ════════════════════ */
section { padding: var(--s5) var(--px); }

.label {
  font-family: var(--font-display); font-size: 8px; letter-spacing: 7px;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 14px; margin-bottom: var(--s2);
}
.label::after { content: ''; height: 1px; width: 44px; background: linear-gradient(to right,var(--gold),transparent); }

.heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px,6vw,54px); color: var(--gold-light);
  line-height: 1.05; margin-bottom: var(--s2); letter-spacing: 1px;
}
.heading em {
  font-family: var(--font-script); font-size: 1.45em; display: block;
  color: var(--gold); font-weight: 400; line-height: 1.1; margin-bottom: 2px; letter-spacing: 0;
}

.body-text {
  font-size: clamp(15px,3.5vw,19px); line-height: 1.9;
  font-weight: 300; color: var(--sand); opacity: .8; max-width: 560px;
}

.divider { display: flex; align-items: center; gap: 12px; margin: var(--s3) 0; color: var(--gold); opacity: .45; }
.divider-line { flex: 1; height: 1px; background: linear-gradient(to right,transparent,var(--gold),transparent); }
.divider-mark { width: 14px; flex-shrink: 0; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 16px 32px 14px; border: 1px solid var(--gold);
  min-height: 52px; /* touch target */
  transition: background .3s var(--ease), color .3s, transform .25s var(--ease), box-shadow .3s;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0; background: var(--gold-light);
  transform: translateX(-100%); transition: transform .4s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(201,168,76,.2); }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

/* ════════ INVITATION — mobile first (stacked) ══════ */
#invitation {
  background: var(--black-soft);
  display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: center;
}
.invitation-content { display: flex; flex-direction: column; gap: 0; }

.invitation-image, .colours-image {
  position: relative;
  box-shadow: 0 24px 72px rgba(0,0,0,.7), 0 0 0 1px var(--gold-dim);
}
.invitation-image-inner { overflow: hidden; position: relative; }
.invitation-image-inner::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(201,168,76,.12); pointer-events: none;
}
.invitation-image-inner img { transition: transform .9s var(--ease); }
.invitation-image:hover .invitation-image-inner img,
.colours-image:hover .invitation-image-inner img { transform: scale(1.03); }

.invitation-image::before,.invitation-image::after,.colours-image::before {
  content: ''; position: absolute; z-index: 2; width: 20px; height: 20px; pointer-events: none;
}
.invitation-image::before { top:-4px;left:-4px; border-top:2px solid var(--gold); border-left:2px solid var(--gold); }
.invitation-image::after  { bottom:-4px;right:-4px; border-bottom:2px solid var(--gold); border-right:2px solid var(--gold); }
.colours-image::before    { top:-4px;right:-4px; border-top:2px solid var(--gold); border-right:2px solid var(--gold); }

.invitation-quote,.colour-quote {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(15px,3.5vw,18px); line-height: 1.8;
  color: var(--sand); opacity: .85;
  margin: var(--s2) 0 var(--s3); padding-left: var(--s2); border-left: 1px solid var(--gold-dim);
}

/* ════════ GALLERY — mobile first ═══════════════════ */
#gallery {
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
#gallery::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(201,168,76,.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(26,40,16,.8) 0%, transparent 70%);
}
.gallery-header {
  text-align: center; margin-bottom: var(--s4);
  position: relative; z-index: 1;
}
.gallery-count {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 6px;
  text-transform: uppercase; color: var(--sand); opacity: .3;
  margin-top: var(--s2);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.gallery-count span { color: var(--gold); opacity: 1; }
.gallery-count::before,.gallery-count::after {
  content: ''; display: block; width: 20px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim));
}
.gallery-count::after { background: linear-gradient(to left, transparent, var(--gold-dim)); }

/* ── Mobile grid: asymmetric 2-col ── */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 240px auto;
  gap: 6px;
  max-width: 1300px; margin: 0 auto;
  position: relative; z-index: 1;
}
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 2; grid-row: 1 / 3; } /* tall right */
.gallery-item:nth-child(3) { grid-column: 1; grid-row: 2; }
.gallery-item:nth-child(4) { grid-column: 1 / 3; grid-row: 3; } /* full width bottom */

.gallery-item {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--forest-mid);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .9s var(--ease);
}
.gallery-item:hover img,
.gallery-item:focus img { transform: scale(1.06); }
.gallery-item:focus { outline: 1px solid var(--gold-dim); }

/* Always-on bottom gradient */
.gallery-scrim {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(11,13,8,.85) 0%, rgba(11,13,8,.2) 40%, transparent 70%),
    linear-gradient(to bottom, rgba(11,13,8,.4) 0%, transparent 30%);
  transition: opacity .4s var(--ease);
}
.gallery-item:hover .gallery-scrim { opacity: .7; }

/* Number badge — always visible */
.gallery-badge {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  font-family: var(--font-display); font-size: 8px; letter-spacing: 3px;
  color: var(--gold); 
  background: rgba(11,13,8,.65);
  backdrop-filter: blur(4px);
  padding: 5px 9px 4px;
  border: 1px solid var(--gold-dim);
  transition: background .3s, border-color .3s;
}
.gallery-item:hover .gallery-badge {
  background: var(--gold); color: var(--black); border-color: var(--gold);
}

/* Caption strip — slides up on hover */
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 4;
  padding: 14px 14px 12px;
  display: flex; align-items: center; gap: 10px;
  transform: translateY(6px);
  transition: transform .4s var(--ease-o);
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus .gallery-caption { transform: translateY(0); }

.gallery-caption-line {
  width: 18px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  transition: width .4s var(--ease-o);
}
.gallery-item:hover .gallery-caption-line { width: 28px; }

.gallery-caption-text {
  font-family: var(--font-display); font-size: 7.5px;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light); flex: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,.8);
}
.gallery-caption-arrow {
  color: var(--gold); width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-dim); border-radius: 50%;
  flex-shrink: 0;
  opacity: 0; transform: scale(.7);
  transition: opacity .3s .1s var(--ease-o), transform .3s .1s var(--ease-o);
}
.gallery-item:hover .gallery-caption-arrow,
.gallery-item:focus .gallery-caption-arrow { opacity: 1; transform: scale(1); }

/* Gold border inset */
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(201,168,76,.1);
  pointer-events: none; z-index: 5;
  transition: border-color .4s;
}
.gallery-item:hover::after { border-color: rgba(201,168,76,.35); }

/* ════════ COLOURS — mobile first (stacked) ═════════ */
#colours {
  background: var(--black-soft);
  display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: center;
}
.colours-content { display: flex; flex-direction: column; }
.colours-image { position: relative; order: -1; } /* image first on mobile */
.colours-image .invitation-image-inner { overflow: hidden; }

.swatches { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--s3); }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; min-width: 52px; }
.swatch-dot {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.2);
  transition: transform .4s var(--ease-o), box-shadow .4s; position: relative;
}
.swatch-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; transition: border-color .4s;
}
.swatch:hover .swatch-dot { transform: translateY(-5px) scale(1.05); box-shadow: 0 14px 32px rgba(0,0,0,.5); }
.swatch:hover .swatch-dot::after { border-color: var(--gold-dim); }
.swatch-name  { font-family: var(--font-display); font-size: 7px; letter-spacing: 1.5px; text-align: center; color: var(--gold); text-transform: uppercase; }
.swatch-meaning { font-family: var(--font-body); font-size: 10px; color: var(--sand); opacity: .80; text-align: center; }

.colour-quote {
  margin-top: var(--s3); padding-top: var(--s3);
  border-top: 1px solid var(--gold-dim); border-left: none; padding-left: 0;
}

/* ════════ DETAILS — mobile first (stacked) ═════════ */
#details { background: var(--forest); text-align: center; position: relative; overflow: hidden; }
.details-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-serif); font-weight: 900; font-size: clamp(140px,40vw,480px);
  color: transparent; -webkit-text-stroke: 1px rgba(201,168,76,.04);
  pointer-events: none; line-height: 1; user-select: none; white-space: nowrap;
}
.details-emblem {
  width: 100px; height: 100px; margin: var(--s2) auto var(--s4); position: relative; z-index: 1;
}
.details-emblem img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(201,168,76,.35));
  animation: breathe 4s ease-in-out infinite;
}
.details-grid {
  display: grid; grid-template-columns: 1fr; /* mobile: stacked */
  gap: 2px; max-width: 420px; margin: 0 auto; position: relative; z-index: 1;
}
.detail-card {
  padding: 32px 20px; border: 1px solid var(--gold-dim);
  background: rgba(201,168,76,.02); position: relative; overflow: hidden;
  transition: border-color .4s, background .4s, transform .4s var(--ease);
}
.detail-card + .detail-card { border-top: none; } /* no double border when stacked */
.detail-card:hover { border-color: rgba(201,168,76,.4); background: rgba(201,168,76,.05); transform: translateY(-3px); z-index: 2; }
.detail-card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right,transparent,var(--gold),transparent);
  opacity: 0; transition: opacity .4s;
}
.detail-card:hover .detail-card-accent { opacity: 1; }
.detail-icon { width: 36px; height: 36px; margin: 0 auto var(--s2); color: var(--gold); opacity: .7; }
.detail-icon svg { width: 100%; height: 100%; }
.detail-label { font-family: var(--font-display); font-size: 8px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s1); opacity: .8; }
.detail-value { font-family: var(--font-serif); font-size: 18px; color: var(--sand); line-height: 1.5; font-weight: 400; }
.details-footnote {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: var(--s4);
  font-family: var(--font-display); font-size: 8px; letter-spacing: 3px; color: var(--gold); opacity: .85;
  position: relative; z-index: 1; max-width: 90%; margin-inline: auto;
}
.details-footnote .divider-line { flex: 1; height: 1px; background: linear-gradient(to right,transparent,var(--gold-dim),transparent); }

/* ════════ RSVP ══════════════════════════════════════ */
#rsvp {
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
#rsvp::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,rgba(26,40,16,.5) 0%,transparent 70%);
}
.rsvp-inner {
  width: 100%; max-width: 600px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; z-index: 1;
}
.rsvp-note-text {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(15px,3.5vw,20px); color: var(--sand); opacity: .85;
  margin-bottom: var(--s4); line-height: 1.7;
}
.rsvp-form { display: flex; flex-direction: column; gap: var(--s2); width: 100%; }
.rsvp-field { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.rsvp-label { font-family: var(--font-display); font-size: 8px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); opacity: .9; }
.rsvp-input {
  width: 100%;
  background: rgba(201,168,76,.03);
  border: 1px solid rgba(201,168,76,.2); border-bottom: 1px solid rgba(201,168,76,.35);
  color: var(--sand); padding: 16px 16px 14px;
  font-family: var(--font-body); font-size: 16px; /* prevent iOS zoom */
  outline: none; letter-spacing: .5px;
  transition: border-color .3s, background .3s;
  border-radius: 0; -webkit-appearance: none; /* remove iOS rounding */
  min-height: 52px;
}
.rsvp-input::placeholder { color: rgba(212,196,160,.25); }
.rsvp-input:focus { border-color: rgba(201,168,76,.55); background: rgba(201,168,76,.05); }
.rsvp-btn { margin-top: var(--s1); align-self: center; width: 100%; justify-content: center; }
.rsvp-confirm {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  margin-top: var(--s3); min-height: 20px; transition: opacity .5s; padding: 0 var(--s2);
}

/* ════════ FOOTER — mobile first ════════════════════ */
footer { background: var(--forest-mid); border-top: 1px solid var(--gold-dim); }
.footer-inner {
  padding: var(--s4) var(--px) var(--s3);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--s2); max-width: 1400px; margin: 0 auto;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { font-family: var(--font-display); font-size: 14px; letter-spacing: 7px; color: var(--gold); }
.footer-tagline { font-family: var(--font-body); font-style: italic; font-size: 15px; color: var(--sand); opacity: .75; }
.footer-divider { display: none; } /* hidden on mobile */
.footer-info {
  font-family: var(--font-display); font-size: 9px; letter-spacing: 3px;
  color: var(--sand); opacity: .70; text-align: center; line-height: 2.2; font-style: normal;
}
.footer-info em { font-family: var(--font-body); font-size: 12px; opacity: .7; }
.footer-base {
  border-top: 1px solid rgba(201,168,76,.07); padding: var(--s2) var(--px);
  text-align: center; font-family: var(--font-display); font-size: 7px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--sand); opacity: .50;
}

/* ════════ LIGHTBOX ══════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(7,9,5,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); backdrop-filter: blur(6px);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 92vw; max-height: 88dvh; object-fit: contain;
  box-shadow: 0 0 80px rgba(201,168,76,.15); border: 1px solid var(--gold-dim);
  transform: scale(.96); transition: transform .4s var(--ease-o);
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  color: var(--gold); width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold-dim); border-radius: 50%;
  transition: color .2s, background .2s, border-color .2s;
}
.lightbox-close:hover { color: var(--black); background: var(--gold); border-color: var(--gold); }

/* ════════ PARTICLES ═════════════════════════════════ */
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; }

/* ════════ SCROLL REVEAL ══════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-o), transform .9s var(--ease-o); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ════════ KEYFRAMES ═════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slowZoom { from{transform:scale(1)} to{transform:scale(1.09)} }
@keyframes scrollPulse { 0%,100%{opacity:1;transform:scaleY(1)} 50%{opacity:.2;transform:scaleY(.6)} }
@keyframes breathe {
  0%,100%{filter:drop-shadow(0 0 20px rgba(201,168,76,.35));transform:scale(1)}
  50%{filter:drop-shadow(0 0 40px rgba(201,168,76,.65));transform:scale(1.03)}
}
@keyframes numTick { 0%{transform:translateY(-8px);opacity:.5} 100%{transform:translateY(0);opacity:1} }

/* ════════════════════════════════════════════════════
   PROGRESSIVE ENHANCEMENT — min-width breakpoints
   ════════════════════════════════════════════════════ */

/* ── 540px: small tablet ────────────────────────── */
@media (min-width: 540px) {
  :root { --px: 32px; }

  .gallery-grid {
    grid-template-rows: 280px 280px auto;
    gap: 8px;
  }
  .gallery-header { margin-bottom: var(--s4); }

  .countdown-sep {
    display: block; width: 1px; align-self: stretch;
    background: linear-gradient(to bottom,transparent,var(--gold-dim),transparent);
    margin: var(--s3) 0;
  }
  .countdown-block { padding: var(--s2) var(--s2); }

  .swatches { gap: 16px; }
  .swatch-dot { width: 60px; height: 60px; }

  .details-grid { max-width: 480px; }
}

/* ── 900px: full desktop ────────────────────────── */
@media (min-width: 900px) {
  :root { --px: 72px; }

  /* Nav */
  nav { padding: 28px var(--px); }
  nav.scrolled { padding: 18px var(--px); }
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }

  /* Hero: 2-col split */
  #hero { grid-template-columns: 1fr 1fr; }
  .hero-right { position: relative; overflow: hidden; z-index: 1; }
  .hero-right::after {
    display: block; content: ''; position: absolute; inset: 0; z-index: 2;
    border-left: 1px solid var(--gold-dim); pointer-events: none;
  }
  .hero-image-border {
    background:
      linear-gradient(to right,var(--forest) 0%,rgba(20,31,12,.4) 28%,transparent 55%),
      linear-gradient(to top,rgba(11,13,8,.85) 0%,transparent 45%);
  }
  .hero-left { padding: 130px var(--px) 80px; min-height: unset; }
  .hero-left::before {
    display: block; content: ''; position: absolute; inset: 0;
    background: url('../images/0.png') center / 60% no-repeat; opacity: .04; pointer-events: none;
  }
  .hero-tag { font-size: 9px; letter-spacing: 8px; gap: 18px; margin-bottom: var(--s4); }
  .hero-tag-line { width: 44px; }
  .hero-details { flex-direction: row; align-items: center; gap: var(--s3); }
  .hero-detail-sep { display: block; color: var(--gold); opacity: .25; font-size: 24px; line-height: 1; align-self: center; }
  .hero-scroll { bottom: 44px; }
  .hero-scroll-line { height: 48px; }

  /* Countdown */
  #countdown { padding: var(--s5) var(--px); }
  .countdown-block { padding: var(--s4) var(--s5); min-width: 100px; gap: 10px; }
  .countdown-tag { font-size: 9px; letter-spacing: 8px; gap: 20px; }
  .countdown-tag::before,.countdown-tag::after { width: 32px; }
  .countdown-header { margin-bottom: var(--s4); }

  /* Sections */
  section { padding: var(--s7) var(--px); }

  /* Invitation: 2-col */
  #invitation { grid-template-columns: 1fr 1fr; gap: 80px; }

  /* Gallery: 3-col masonry */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 320px 320px;
    gap: 10px;
  }
  .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .gallery-item:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }
  .gallery-item:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 3; grid-row: 2; }
  .gallery-header { margin-bottom: var(--s5); }
  .gallery-badge { font-size: 9px; padding: 6px 11px 5px; top: 16px; left: 16px; }
  .gallery-caption { padding: 18px 18px 16px; }
  .gallery-caption-text { font-size: 8.5px; letter-spacing: 4px; }
  .gallery-caption-arrow { width: 28px; height: 28px; }

  /* Colours: 2-col */
  #colours { grid-template-columns: 1fr 1fr; gap: 80px; }
  .colours-image { order: 0; }

  /* Details: 3-col */
  .details-grid { grid-template-columns: repeat(3,1fr); max-width: 880px; }
  .detail-card { padding: 52px 36px; }
  .detail-card + .detail-card { border-top: 1px solid var(--gold-dim); border-left: none; }
  .details-emblem { width: 130px; height: 130px; margin-bottom: var(--s5); }

  /* Swatches */
  .swatches { gap: 20px; margin-top: var(--s4); }
  .swatch-dot { width: 68px; height: 68px; }
  .swatch-name { font-size: 7.5px; letter-spacing: 2px; }
  .swatch-meaning { font-size: 11px; }

  /* Label & heading */
  .label { font-size: 9px; letter-spacing: 8px; gap: 18px; margin-bottom: var(--s3); }
  .label::after { width: 56px; }
  .heading { margin-bottom: var(--s3); }

  /* RSVP */
  .rsvp-note-text { margin-bottom: var(--s5); }
  .rsvp-input { padding: 18px 20px 16px; }
  .btn-primary { font-size: 9.5px; letter-spacing: 5px; padding: 18px 44px 16px; }

  /* Footer */
  .footer-inner {
    padding: var(--s5) var(--px) var(--s4);
    flex-direction: row; align-items: center; text-align: left; flex-wrap: wrap; gap: var(--s3);
  }
  .footer-divider { display: flex; flex: 1; max-width: 200px; height: 1px; background: linear-gradient(to right,transparent,var(--gold-dim),transparent); }
  .footer-info { text-align: right; }

  /* Lightbox */
  .lightbox img { max-width: 88vw; }
  .lightbox-close { top: 28px; right: 36px; }
}

/* ── 1100px: wide desktop ───────────────────────── */
@media (min-width: 1100px) {
  #invitation { gap: 100px; }
  #colours    { gap: 100px; }
}

/* ── Reduced motion ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-tag,.hero-intro,.hero-name,.hero-milestone,.hero-rule,.hero-details,.hero-scroll { opacity: 1; }
}

/* ════════════════════════════════════════════════════
   CMG 80 — RSVP v2 (Two-choice flow + Video recorder)
   ════════════════════════════════════════════════════ */

/* ── Choice grid ─────────────────────────────────── */
.rsvp-choice {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s2);
  width: 100%;
  margin-bottom: var(--s2);
}
@media (min-width: 640px) {
  .rsvp-choice { grid-template-columns: 1fr 1fr; gap: var(--s3); }
}

.rsvp-choice-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--gold-dim);
  background: rgba(201,168,76,.025);
  padding: var(--s4) var(--s3) var(--s3);
  display: flex; flex-direction: column; gap: var(--s2);
  cursor: pointer; transition: border-color .4s var(--ease), background .4s, transform .35s var(--ease), box-shadow .4s;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  min-height: 260px;
}
.rsvp-choice-card:hover,
.rsvp-choice-card:focus-visible {
  border-color: rgba(201,168,76,.55);
  background: rgba(201,168,76,.06);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 0 transparent;
  outline: none;
}
.rsvp-choice-card--yes:hover  { box-shadow: 0 20px 50px rgba(201,168,76,.12); }
.rsvp-choice-card--no:hover   { box-shadow: 0 20px 50px rgba(212,196,160,.07); }

/* Top accent bar */
.rsvp-choice-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .4s;
}
.rsvp-choice-card--no .rsvp-choice-accent {
  background: linear-gradient(to right, transparent, var(--sand-dim), transparent);
}
.rsvp-choice-card:hover .rsvp-choice-accent { opacity: 1; }

.rsvp-choice-symbol {
  font-size: 26px; color: var(--gold); line-height: 1;
  transition: transform .4s var(--ease-o);
}
.rsvp-choice-card--no .rsvp-choice-symbol { color: var(--sand); opacity: .85; }
.rsvp-choice-card:hover .rsvp-choice-symbol { transform: scale(1.15); }

.rsvp-choice-title {
  font-family: var(--font-display); font-size: clamp(12px,2.6vw,15px);
  font-weight: 600; letter-spacing: 1.5px; color: var(--gold-light);
  line-height: 1.55;
}
.rsvp-choice-card--no .rsvp-choice-title { color: var(--sand); opacity: .95; }

.rsvp-choice-sub {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(13px,2.5vw,15px); line-height: 1.75;
  color: var(--sand); opacity: .80; flex: 1;
}

.rsvp-choice-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: var(--s1);
  font-family: var(--font-display); font-size: 8px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 12px 24px 10px; border: 1px solid var(--gold);
  transition: background .3s, color .3s;
}
.rsvp-choice-cta--muted {
  color: var(--sand); background: transparent;
  border-color: var(--gold-dim); opacity: .9;
}
.rsvp-choice-card--no:hover .rsvp-choice-cta--muted {
  border-color: rgba(201,168,76,.5); opacity: 1;
}

/* ── Step view (form shown after choice) ─────────── */
.rsvp-step {
  width: 100%; animation: fadeUp .5s var(--ease-o) both;
}

.rsvp-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 8px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--sand); opacity: .65;
  margin-bottom: var(--s3); padding: 4px 0;
  transition: opacity .3s; cursor: pointer;
}
.rsvp-back:hover { opacity: .7; }

.rsvp-step-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border: 1px solid var(--gold-dim);
  background: rgba(201,168,76,.04); margin-bottom: var(--s3);
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(14px,3vw,17px); color: var(--sand); opacity: .95;
}
.rsvp-step-banner--no { border-color: var(--gold-dim); opacity: .9; }
.rsvp-step-sym { color: var(--gold); font-size: 16px; flex-shrink: 0; }

.rsvp-req { color: var(--gold); margin-left: 3px; }
.rsvp-opt {
  font-family: var(--font-body); font-style: italic; font-weight: 300;
  font-size: .85em; color: var(--sand); opacity: .65; letter-spacing: 0; text-transform: none;
  margin-left: 6px;
}

/* Muted submit button for "regrets" */
.rsvp-btn--muted {
  color: var(--sand) !important;
  background: transparent !important;
  border: 1px solid var(--gold-dim) !important;
}
.rsvp-btn--muted:hover {
  color: var(--black) !important;
  background: var(--sand) !important;
  border-color: var(--sand) !important;
}

/* ── Video recorder ──────────────────────────────── */
.rsvp-video-wrap {
  display: flex; flex-direction: column; gap: var(--s2);
  margin: var(--s1) 0 var(--s3);
}
.rsvp-video-label {
  font-family: var(--font-display); font-size: 8px; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); opacity: .6;
}

.rsvp-video-frame {
  position: relative; width: 100%;
  aspect-ratio: 16/9; max-width: 480px;
  background: rgba(20,31,12,.6);
  border: 1px solid var(--gold-dim); overflow: hidden;
}
.rsvp-video-frame video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.rsvp-video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--gold); opacity: .25;
}
.rsvp-video-placeholder span {
  font-family: var(--font-display); font-size: 8px; letter-spacing: 4px;
  text-transform: uppercase;
}

.rsvp-video-timer {
  position: absolute; top: 10px; right: 12px; z-index: 10;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 2px;
  color: var(--gold); background: rgba(11,13,8,.75);
  padding: 5px 10px 4px; border: 1px solid var(--gold-dim);
  backdrop-filter: blur(4px);
}
.rsvp-video-timer.urgent { color: #e05; border-color: rgba(238,0,85,.4); }

.rsvp-video-controls {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.rsvp-video-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 8px; letter-spacing: 3px;
  text-transform: uppercase; padding: 11px 20px 9px;
  border: 1px solid var(--gold-dim); color: var(--sand);
  background: transparent; cursor: pointer;
  transition: color .3s, border-color .3s, background .3s;
}
.rsvp-video-btn:hover { color: var(--gold); border-color: rgba(201,168,76,.5); }
.rsvp-video-btn--start:hover { background: rgba(201,168,76,.06); }
.rsvp-video-btn--stop { color: #e55; border-color: rgba(238,85,85,.3); }
.rsvp-video-btn--stop:hover { color: var(--black); background: #e55; border-color: #e55; }
.rsvp-video-btn--redo { opacity: .6; }
.rsvp-video-btn--redo:hover { opacity: 1; }

.rsvp-video-recorded {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 8px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); opacity: .8;
}

/* ── Upload progress bar ─────────────────────────── */
.rsvp-upload-progress {
  width: 100%; height: 2px;
  background: var(--gold-dim); margin-top: var(--s2); display: none;
}
.rsvp-upload-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  width: 0%; transition: width .3s;
}