/* =========================================================================
   Sofía & Jorge — wedding invitation
   Botanical / forest theme. Tokens + components consolidated from the
   design reference. Keep it lean.
   ========================================================================= */

/* ---- Fonts (self-hosted, variable, latin subset) ---- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/cormorant.woff2) format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/cormorant-italic.woff2) format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/jost.woff2) format('woff2');
}

/* ---- Design tokens ---- */
:root {
  --green-darkest: #20281D;
  --green-footer: #222B1B;
  --green-900: #28321F;
  --green-800: #2E3A27;
  --green-text: #3A4430;

  --olive: #5E6B43;
  --olive-eyebrow: #7B8654;
  --olive-muted: #8A935E;
  --sage: #AEB983;

  --cream: #EFE9DB;
  --cream-2: #E7DFCC;
  --card: #FBF8EF;
  --polaroid: #FBFAF3;

  --text: #2C3322;
  --text-2: #5C634C;
  --terracotta: #C0703A;
  --tan: #A8935E;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-card: 0 26px 50px -26px rgba(40,50,31,.5), 0 3px 10px rgba(40,50,31,.12);
  --shadow-polaroid: 0 22px 40px -24px rgba(20,28,15,.6), 0 2px 6px rgba(20,28,15,.18);
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--olive); color: #F2ECDD; }

/* ---- Shared type helpers ---- */
.eyebrow {
  font: 500 12px/1 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
}
.section-title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
}
.section-sub {
  margin: 0 auto;
  max-width: 520px;
  font: 300 15px/1.7 var(--sans);
}

/* Sections on cream vs. dark tune the accent colors */
.on-cream .eyebrow { color: var(--olive-eyebrow); }
.on-cream .section-title { color: var(--green-text); }
.on-cream .section-sub { color: var(--text-2); }
.on-dark .eyebrow { color: var(--sage); }
.on-dark .section-title { color: #F4EEDF; }
.on-dark .section-sub { color: #CDD3B4; }

/* ---- Reveal on scroll ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================================
   NAV
   ========================================================================= */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: linear-gradient(180deg, rgba(32,40,29,.55), rgba(32,40,29,0));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-row {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 34px; padding: 18px 24px;
}
.nav-brand-bar {
  position: absolute; left: 24px; top: 50%; transform: translateY(-50%);
  display: none;
}
.nav-brand-bar, .nav-brand-inner {
  font: 600 18px/1 var(--serif);
  letter-spacing: .32em; text-transform: uppercase;
  color: #F2ECDD; text-decoration: none;
}
.nav-brand-inner { padding: 0 8px; }
#nav-inner { display: flex; align-items: center; justify-content: center; gap: 34px; }
.nav-item {
  font: 500 12px/1 var(--sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: #F2ECDD; text-decoration: none; opacity: .9;
  transition: opacity .25s;
}
.nav-item:hover { opacity: 1; }
#nav-toggle {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  background: transparent; border: none; cursor: pointer; padding: 0;
}
#nav-toggle span {
  display: block; width: 22px; height: 2px; background: #F2ECDD; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 820px) {
  #nav-inner {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(28,36,24,.97);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    padding: 0; max-height: 0; overflow: hidden;
    transition: max-height .32s ease;
    box-shadow: 0 18px 34px rgba(0,0,0,.32);
  }
  #site-nav.open #nav-inner { max-height: 420px; }
  #nav-inner .nav-item, #nav-inner .nav-brand-inner {
    width: 100%; text-align: center; padding: 17px 24px;
    border-bottom: 1px solid rgba(174,185,131,.14); opacity: 1;
  }
  .nav-brand-inner { display: none; }
  .nav-brand-bar { display: block; }
  #nav-toggle { display: flex; }
  #site-nav.open #nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #site-nav.open #nav-toggle span:nth-child(2) { opacity: 0; }
  #site-nav.open #nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================================
   HERO
   ========================================================================= */
#hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #3C4A33 0%, #2E3A27 40%, #1F2A1A 100%);
}
.hero-layer { position: absolute; pointer-events: none; }
.hero-wash {
  inset: 0; z-index: 2;
  background:
    radial-gradient(120% 80% at 50% 6%, rgba(196,206,160,.26), rgba(0,0,0,0) 55%),
    radial-gradient(90% 70% at 50% 104%, rgba(11,16,8,.82), rgba(0,0,0,0) 60%);
}
.hero-beam {
  top: -14%; height: 132%; z-index: 3; will-change: opacity;
  animation: om-beam 9s ease-in-out infinite;
}
.hero-beam.b1 {
  left: 22%; width: 15%; transform: rotate(9deg);
  background: linear-gradient(180deg, rgba(230,234,198,.20), rgba(230,234,198,0) 68%);
  filter: blur(11px);
}
.hero-beam.b2 {
  left: 53%; width: 11%; transform: rotate(-7deg);
  background: linear-gradient(180deg, rgba(230,234,198,.15), rgba(230,234,198,0) 70%);
  filter: blur(13px); animation-duration: 11s; animation-delay: 1.6s;
}
.hero-vignette {
  inset: 0; z-index: 4;
  background: radial-gradient(72% 62% at 50% 46%, rgba(0,0,0,0) 42%, rgba(16,22,11,.5) 100%);
}
.hero-flies { inset: 0; z-index: 15; overflow: hidden; contain: strict; }
.hero-flies span {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,238,206,.95), rgba(214,200,140,.25) 55%, rgba(214,200,140,0) 70%);
  will-change: transform, opacity; backface-visibility: hidden;
}
.hero-plate {
  position: relative; z-index: 20; text-align: center; padding: 40px 28px;
  animation: om-float 7s ease-in-out infinite;
  will-change: transform; backface-visibility: hidden; transform: translateZ(0);
}
#hero-sprig { display: flex; justify-content: center; margin-bottom: 18px; min-height: 58px; }
.hero-eyebrow {
  font: 500 13px/1 var(--sans);
  letter-spacing: .42em; text-transform: uppercase;
  color: #CBD6A8; margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.hero-names {
  margin: 0; font-family: var(--serif); font-weight: 500; color: #F4EEDF;
  font-size: clamp(58px, 11vw, 150px); line-height: .9;
  text-shadow: 0 18px 50px rgba(0,0,0,.6), 0 2px 10px rgba(0,0,0,.5);
}
.hero-names .amp {
  font-style: italic; font-weight: 400; font-size: .62em;
  display: inline-block; margin: 6px 0; color: #E7E0CB;
}
.hero-date-row {
  display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px;
}
.hero-date-row .rule { height: 1px; width: 46px; background: rgba(232,224,200,.55); }
.hero-date {
  font: 400 16px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase;
  color: #EDE7D4; text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero-place {
  margin-top: 14px; font: 400 14px/1.6 var(--sans); letter-spacing: .12em;
  color: #D7DDBE; text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 40;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-cue span:first-child {
  font: 400 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  color: #E7E0CB; text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.hero-cue .cue-line {
  width: 1px; height: 34px;
  background: linear-gradient(#E7E0CB, rgba(231,224,203,0));
  animation: om-cue 2.4s ease-in-out infinite;
}

/* =========================================================================
   Sections shell
   ========================================================================= */
.section { position: relative; }
.section-pad { padding: clamp(86px, 12vw, 150px) 24px; }
.wrap { max-width: 1040px; margin: 0 auto; }
.head-center { text-align: center; margin-bottom: 54px; }
.head-center .eyebrow { margin-bottom: 16px; }

/* Welcome / quote */
.welcome {
  background: var(--cream); padding: clamp(80px,12vw,140px) 24px; text-align: center;
}
.welcome::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(94,107,67,.08), rgba(0,0,0,0) 70%);
}
.welcome-inner { position: relative; max-width: 720px; margin: 0 auto; }
.welcome .eyebrow { color: var(--olive-eyebrow); margin-bottom: 24px; }
.welcome-quote {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 4.6vw, 42px); line-height: 1.32; color: var(--green-text);
}
.welcome-quote .accept { font-style: normal; color: var(--olive); }
.welcome-date {
  margin-top: 34px; font: 400 14px/1.7 var(--sans); letter-spacing: .06em; color: var(--text-2);
}

/* =========================================================================
   ITINERARY
   ========================================================================= */
#itinerary {
  background: linear-gradient(180deg, #2E3A27, #28321F);
  color: var(--cream); overflow: hidden;
}
.itin-head { max-width: 760px; margin: 0 auto; text-align: center; }
.itin-head .eyebrow { margin-bottom: 16px; }
.itin-head .section-sub { max-width: 440px; margin: 0 auto 56px; }
.timeline { position: relative; max-width: 560px; margin: 0 auto; }
.timeline-line {
  position: absolute; left: 88px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(rgba(174,185,131,0), rgba(174,185,131,.55), rgba(174,185,131,0));
}
.timeline-row {
  position: relative; display: grid; grid-template-columns: 88px 1fr; gap: 22px;
  align-items: start; padding: 18px 0;
}
.timeline-time {
  text-align: right; font: 500 14px/1.3 var(--sans); letter-spacing: .06em;
  color: var(--sage); padding-top: 3px;
}
.timeline-body { position: relative; padding-left: 26px; }
.timeline-dot {
  position: absolute; left: -7px; top: 7px; width: 13px; height: 13px; border-radius: 50%;
  background: var(--sage); box-shadow: 0 0 0 5px rgba(174,185,131,.16);
}
.timeline-title {
  font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.1; color: #F4EEDF;
}

/* =========================================================================
   VENUE
   ========================================================================= */
#venue { background: var(--cream); }
.venue-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 26px; }
.map-card {
  position: relative; border-radius: 6px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(40,50,31,.55), 0 4px 14px rgba(40,50,31,.18);
  border: 7px solid var(--card);
}
.map-card iframe {
  display: block; width: 100%; height: 440px; border: 0; filter: saturate(.92) contrast(1.02);
}
.map-pill {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px;
  background: var(--green-800); color: #F2ECDD;
  font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; border-radius: 40px; box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.map-pill .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta); box-shadow: 0 0 0 4px rgba(192,112,58,.3);
}
.venue-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.info-card {
  background: var(--card); border-radius: 6px; padding: 24px 24px 26px;
  box-shadow: 0 14px 30px -18px rgba(40,50,31,.4);
}
.info-label {
  font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--olive-muted); margin-bottom: 10px;
}
.info-value {
  font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--green-text);
}

/* =========================================================================
   HOTELS
   ========================================================================= */
#stay {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
  padding: clamp(86px,12vw,150px) 24px clamp(48px,7vw,80px);
}
.card-grid-hotels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.hotel-card {
  position: relative; background: var(--card); border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hotel-photo {
  position: relative; height: 180px;
  background: repeating-linear-gradient(135deg, #DFD8C2 0 14px, #D8D0B8 14px 28px);
}
.hotel-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hotel-distance {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px;
  background: rgba(46,58,39,.9); color: var(--cream);
  font: 500 11px/1 var(--sans); letter-spacing: .12em; border-radius: 30px;
}
.hotel-body { padding: 22px 24px 26px; }
.hotel-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hotel-name {
  margin: 0; font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.1;
  color: var(--green-text);
}
.hotel-price { font: 500 13px/1 var(--sans); color: var(--olive-muted); white-space: nowrap; }
.hotel-tag {
  margin-top: 4px; font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: #A8A487;
}
.hotel-desc { margin: 14px 0 18px; font: 300 14px/1.65 var(--sans); color: var(--text-2); }
.hotel-link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive); text-decoration: none;
  border-bottom: 1px solid rgba(94,107,67,.35); padding-bottom: 4px;
  transition: border-color .25s;
}
.hotel-link:hover { border-bottom-color: var(--olive); }

/* =========================================================================
   EXPLORE / attractions
   ========================================================================= */
#explore { background: var(--cream); padding: clamp(40px,6vw,72px) 24px clamp(86px,12vw,150px); }
#explore .head-center { margin-bottom: 48px; }
.card-grid-explore { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 16px; }
.explore-card {
  position: relative; background: var(--card); border: 1px solid rgba(94,107,67,.14);
  border-radius: 8px; padding: 20px 20px 22px; box-shadow: 0 16px 34px -26px rgba(40,50,31,.5);
}
.explore-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.place-badge {
  font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); background: var(--olive); padding: 5px 9px; border-radius: 30px;
}
.explore-cat {
  font: 500 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--tan);
}
.explore-name {
  margin: 0 0 8px; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.15;
  color: var(--green-text);
}
.explore-desc { margin: 0; font: 300 13px/1.55 var(--sans); color: var(--text-2); }

/* =========================================================================
   DRESS CODE
   ========================================================================= */
#dress {
  background: linear-gradient(180deg, #2E3A27, #222B1B); color: var(--cream); overflow: hidden;
}
.dress-head { text-align: center; margin-bottom: 18px; }
.dress-head .eyebrow { margin-bottom: 16px; }
.dress-badge {
  display: inline-flex; align-items: center; gap: 12px; margin: 8px 0 16px; padding: 12px 26px;
  border: 1px solid rgba(174,185,131,.5); border-radius: 40px;
}
.dress-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.dress-badge .label {
  font: 500 22px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #F4EEDF;
}
.dress-head .section-sub { max-width: 520px; margin: 0 auto 8px; }
.dress-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.dress-card, .tips-card {
  position: relative; background: rgba(247,243,231,.06);
  border: 1px solid rgba(174,185,131,.25); border-radius: 8px;
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
}
.dress-card { padding: 34px 30px 36px; box-shadow: 0 24px 50px -28px rgba(0,0,0,.6); }
.dress-who {
  font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 12px;
}
.dress-heading {
  margin: 0 0 18px; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1; color: #F4EEDF;
}
.bullet-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bullet-list li {
  position: relative; padding-left: 22px; font: 300 14.5px/1.55 var(--sans); color: #DCE0C8;
}
.bullet-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--sage);
}
.tips-card { max-width: 760px; margin: 40px auto 0; padding: 26px 30px; }
.tips-title {
  font: 500 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 14px; text-align: center;
}

/* =========================================================================
   GALLERY
   ========================================================================= */
#gallery {
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
  padding: clamp(86px,12vw,150px) 0 clamp(64px,8vw,100px); overflow: hidden;
}
.gallery-head { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 24px; }
.gallery-head .eyebrow { margin-bottom: 16px; }
.gallery-head .section-sub { max-width: 480px; }
#gallery-stream {
  max-width: 1080px; margin: 46px auto 0; padding: 0 22px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 20px; justify-items: center;
}
@media (max-width: 860px) { #gallery-stream { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 560px) { #gallery-stream { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 14px; } }
.g-wrap {
  opacity: 0; transform: translateY(40px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity; width: 100%; max-width: 250px;
  display: flex; justify-content: center;
}
.g-wrap.is-visible { opacity: 1; transform: none; }
.g-tile {
  width: 100%; background: var(--polaroid); padding: 12px 12px 10px; border-radius: 3px;
  box-shadow: var(--shadow-polaroid);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
  cursor: pointer;
}
.g-photo {
  position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background: #b9ad92;
}
.g-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-caption { height: 36px; }

/* =========================================================================
   LIGHTBOX
   ========================================================================= */
#lightbox {
  position: fixed; inset: 0; z-index: 120; display: none;
  align-items: center; justify-content: center; padding: 40px 20px;
  background: rgba(20,26,16,.92);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: min(90vw, 760px); max-height: 86vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lb-btn {
  position: absolute; display: flex; align-items: center; justify-content: center;
  background: rgba(239,233,219,.1); border: 1px solid rgba(239,233,219,.3);
  border-radius: 50%; color: var(--cream); cursor: pointer;
  font-family: var(--sans); font-weight: 300;
  transition: background .25s;
}
.lb-btn:hover { background: rgba(239,233,219,.22); }
.lb-close { top: 22px; right: 24px; width: 46px; height: 46px; font-size: 26px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }

/* =========================================================================
   GIFTS
   ========================================================================= */
#gifts {
  background: linear-gradient(180deg, var(--cream-2), var(--cream)); overflow: hidden;
}
#gifts::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(94,107,67,.08), rgba(0,0,0,0) 70%);
}
.gifts-inner { position: relative; max-width: 760px; margin: 0 auto; }
.gifts-head { text-align: center; margin-bottom: 48px; }
.gifts-head .eyebrow { margin-bottom: 16px; }
.gifts-head .section-title { margin-bottom: 14px; }
.gifts-lead { margin: 0 auto; max-width: 500px; font: 300 15px/1.7 var(--sans); color: var(--text-2); }
.gifts-note-strong {
  margin: 22px auto 0; max-width: 560px; font: 600 15px/1.75 var(--sans); color: var(--green-text);
}
.accounts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px;
  max-width: 820px; margin: 0 auto;
}
.account-card {
  position: relative; background: var(--card); border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(40,50,31,.5), 0 3px 10px rgba(40,50,31,.12);
  border: 1px solid rgba(94,107,67,.14);
}
.account-header {
  background: linear-gradient(180deg, #2E3A27, #28321F); color: var(--cream);
  padding: 24px 28px 20px; text-align: center;
}
.account-tag {
  font: 500 11px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--sage);
}
.account-holder {
  margin-top: 8px; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.1; color: #F4EEDF;
}
.account-rows { padding: 6px 26px 12px; }
.account-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid rgba(94,107,67,.14);
}
.account-row:last-child { border-bottom: none; }
.row-label {
  font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive-muted); margin-bottom: 6px;
}
.row-value {
  font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.2;
  color: var(--green-text); word-break: break-word;
}
.copy-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px;
  background: var(--cream); color: var(--green-800);
  font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid rgba(94,107,67,.3); border-radius: 30px; cursor: pointer;
  transition: background .25s, color .25s;
}
.copy-btn .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }
.copy-btn.copied { background: var(--olive); color: #F2ECDD; border-color: var(--olive); }
.copy-btn.copied .dot { background: #F2ECDD; }
.gift-note-pill {
  max-width: 560px; margin: 26px auto 0; text-align: center;
  background: var(--card); border: 1px solid rgba(94,107,67,.25); border-radius: 40px;
  padding: 16px 28px; font: 500 14px/1.5 var(--sans); color: var(--green-text);
  letter-spacing: .02em; box-shadow: 0 12px 30px -20px rgba(40,50,31,.5);
}
.gift-closing {
  text-align: center; margin-top: 26px; font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 2.6vw, 22px); color: var(--olive);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
footer {
  background: var(--green-footer); color: #9FA877; text-align: center; padding: 56px 24px;
}
.footer-names {
  font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 1;
  color: #E7E0CB; margin-bottom: 10px;
}
.footer-date { font: 400 12px/1.8 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.footer-tag { margin-top: 22px; font: 300 12px/1 var(--sans); letter-spacing: .06em; color: #79815A; }

/* =========================================================================
   Keyframes
   ========================================================================= */
@keyframes om-float { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-9px,0); } }
@keyframes om-cue { 0%,100% { transform: translateY(0); opacity:.5; } 50% { transform: translateY(8px); opacity:1; } }
@keyframes om-twinkle {
  0%,100% { opacity:.12; transform: translate3d(0,0,0) scale(.85); }
  50% { opacity:.92; transform: translate3d(0,-12px,0) scale(1.18); }
}
@keyframes om-beam { 0%,100% { opacity:.10; } 50% { opacity:.26; } }
@keyframes om-sway-soft { 0%,100% { transform: rotate(-1.1deg); } 50% { transform: rotate(1.1deg); } }

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-plate, .hero-beam, .hero-cue .cue-line, #hero-sprig svg { animation: none !important; }
  [data-reveal], .g-wrap { transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero-flies { display: none; }
}
