/* ============================================================
   Rachel & Logan — September 12, 2026
   The Graylyn Estate, Winston-Salem, North Carolina
   ============================================================ */

/* ---- Fonts ---- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: local('Cormorant Garamond');
}

:root {
  --ivory:      #f6f3ec;
  --ivory-deep: #efe9dd;
  --paper:      #fcfaf5;
  --ink:        #1c1b18;
  --ink-soft:   #3a3833;
  --charcoal:   #2a2926;
  --gold:       #b08d4f;
  --gold-deep:  #8a6c39;
  --gold-light: #d8c08a;
  --sky:        #9bb6c9;
  --sky-deep:   #6f93a8;
  --sky-soft:   #c5d4de;
  --line:       #d9d2c2;

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --script: 'Pinyon Script', 'Cormorant Garamond', 'Times New Roman', cursive;
  --sans:  'Jost', 'Century Gothic', 'Futura', 'Trebuchet MS', sans-serif;

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  display: inline-block;
}

.script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}
.ornamental-script {
  font-family: var(--script);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Decorative rule ---- */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px 0;
}
.rule::before, .rule::after {
  content: '';
  height: 1px;
  width: 56px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.rule .diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.rule.tight { margin: 14px 0; }
.rule.light::before, .rule.light::after {
  background: linear-gradient(90deg, transparent, var(--gold-light) 50%, transparent);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.nav-mark {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  flex: none;
}
.nav-mono {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav-mono .amp {
  color: var(--gold);
  font-style: italic;
  font-size: 0.86em;
  margin: 0 1px;
}
.nav-names { display: none; }
.nav-mark .amp {
  color: var(--gold);
  font-style: italic;
  margin: 0 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 50%; right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: all 0.3s var(--ease);
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a:hover::after { left: 0; right: 0; }
.nav-links a.active { color: var(--gold-deep); }
.nav-links a.active::after { left: 0; right: 0; }

.nav-cta {
  font-size: 0.72rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-deep) !important;
  padding: 9px 20px !important;
  transition: all 0.3s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--gold);
  color: var(--paper) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 42px; height: 42px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 1080px) {
  .nav-mono { display: none; }
  .nav-names {
    display: inline;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
  }
}

@media (max-width: 1040px) {
  .nav-inner { padding: 0 22px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--ivory);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 26px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
  }
  .nav-links a::after { display: none; }
  .nav-cta {
    display: inline-block;
    margin: 12px auto 0;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 38px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  cursor: pointer;
  transition: all 0.35s var(--ease);
}
.btn:hover {
  background: transparent;
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--ivory);
}
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--paper);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold-deep);
  border-color: var(--gold);
}
.btn-lg { padding: 19px 52px; font-size: 0.8rem; }

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }

.section { padding: 110px 0; }
.section-sm { padding: 76px 0; }

.section-head {
  text-align: center;
  margin-bottom: 58px;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.section-head p {
  max-width: 540px;
  margin: 20px auto 0;
  color: var(--ink-soft);
}

.bg-paper { background: var(--paper); }
.bg-ivory-deep { background: var(--ivory-deep); }
.bg-ink { background: var(--charcoal); color: var(--ivory-deep); }
.bg-ink h2, .bg-ink h3 { color: var(--paper); }
.bg-ink .eyebrow { color: var(--gold-light); }

@media (max-width: 640px) {
  .section { padding: 74px 0; }
  .section-sm { padding: 54px 0; }
  .wrap, .wrap-narrow { padding: 0 22px; }
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  background: var(--charcoal);
  color: var(--ivory);
  text-align: center;
  padding: 84px 32px 78px;
  position: relative;
}
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  left: 24px; right: 24px;
  height: 1px;
  background: rgba(216, 192, 138, 0.4);
}
.page-hero::before { top: 24px; }
.page-hero::after { bottom: 24px; }
.page-hero .eyebrow { color: var(--gold-light); margin-bottom: 16px; }
.page-hero h1 {
  color: var(--paper);
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
}
.page-hero p {
  color: rgba(246, 243, 236, 0.78);
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 1.05rem;
}

/* ============================================================
   HOME — HERO  (full-width, centered)
   ============================================================ */
.home-hero {
  position: relative;
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform-origin: center bottom;
  filter: grayscale(100%) contrast(1.05) brightness(0.96);
}
/* Readability gradient — darkest at the bottom where the text band sits */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(20, 19, 17, 0.32) 0%,
      rgba(20, 19, 17, 0.10) 30%,
      rgba(20, 19, 17, 0.30) 56%,
      rgba(20, 19, 17, 0.82) 100%);
}
/* Inner hairline frame */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(246, 243, 236, 0.42);
  pointer-events: none;
}
.home-hero-overlay {
  position: relative;
  z-index: 3;
  padding: 0 28px clamp(54px, 9vh, 104px);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}
.home-hero-overlay .eyebrow {
  color: var(--gold-light);
  margin-bottom: 16px;
  text-shadow: 0 1px 14px rgba(20, 19, 17, 0.7);
}
.home-hero-names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(4rem, 9vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--paper);
  text-shadow: 0 2px 34px rgba(20, 19, 17, 0.78);
}
.home-hero-names .line { display: inline; }
.home-hero-names .amp {
  display: inline;
  font-family: var(--script);
  font-style: normal;
  color: var(--gold-light);
  font-size: 0.84em;
  margin: 0 0.11em;
  vertical-align: 0.03em;
}
.home-hero-venue {
  margin-top: 2px;
  font-family: var(--script);
  font-size: clamp(2.15rem, 4.1vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--gold-light);
  text-shadow: 0 2px 28px rgba(20, 19, 17, 0.78);
}
.home-hero-meta {
  margin-top: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, 0.94);
  text-shadow: 0 1px 14px rgba(20, 19, 17, 0.8);
}
.home-hero-meta .sep { color: var(--gold-light); margin: 0 8px; }
.home-hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-hero {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn-hero:hover {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.btn-hero-outline {
  background: transparent;
  border-color: rgba(246, 243, 236, 0.7);
  color: var(--paper);
}
.btn-hero-outline:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
@media (max-width: 640px) {
  .home-hero {
    min-height: calc(100vh - 74px);
    min-height: calc(100svh - 74px);
    min-height: calc(100dvh - 74px);
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    background: var(--ink);
  }
  .home-hero::after {
    inset: 12px;
    z-index: 4;
  }
  .home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    min-height: 0;
  }
  .home-hero-bg img {
    object-position: center 38%;
    filter: grayscale(100%) contrast(1.06) brightness(0.92);
  }
  .home-hero::before {
    inset: 0;
    height: auto;
    background:
      linear-gradient(180deg,
        rgba(20, 19, 17, 0.18) 0%,
        rgba(20, 19, 17, 0.08) 22%,
        rgba(20, 19, 17, 0.34) 50%,
        rgba(20, 19, 17, 0.90) 78%,
        rgba(20, 19, 17, 0.98) 100%);
  }
  .home-hero-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    min-height: calc(100vh - 74px);
    min-height: calc(100svh - 74px);
    min-height: calc(100dvh - 74px);
    justify-content: flex-end;
    padding: clamp(190px, 33vh, 290px) 22px 92px;
    background: transparent;
  }
  .home-hero-overlay .eyebrow {
    margin-bottom: 12px;
    font-size: 0.64rem;
    letter-spacing: 0.34em;
  }
  .home-hero-names {
    width: 100%;
    max-width: 360px;
    font-size: clamp(3.42rem, 15vw, 4.65rem);
    line-height: 0.84;
    text-shadow: 0 2px 26px rgba(20, 19, 17, 0.88);
  }
  .home-hero-names .line {
    display: block;
  }
  .home-hero-names .amp {
    display: block;
    margin: -0.04em auto -0.02em;
    font-size: 0.62em;
    line-height: 0.72;
  }
  .home-hero-venue {
    width: 100%;
    max-width: 355px;
    margin-top: 5px;
    font-size: clamp(2.15rem, 10.6vw, 3.08rem);
    line-height: 0.92;
    text-shadow: 0 2px 24px rgba(20, 19, 17, 0.9);
    text-wrap: balance;
  }
  .home-hero-meta {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 0.63rem;
    letter-spacing: 0.17em;
    line-height: 1.72;
    text-shadow: 0 1px 14px rgba(20, 19, 17, 0.92);
  }
  .home-hero-meta .sep {
    display: none;
  }
  .home-hero-actions {
    width: min(100%, 344px);
    margin-top: 26px;
    display: grid;
    grid-template-columns: 0.92fr 1.28fr;
    gap: 12px;
  }
  .home-hero-actions .btn {
    width: 100%;
    padding: 15px 12px;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }
  .hero-scroll-cue {
    bottom: 18px;
  }
}

@media (max-width: 380px) {
  .home-hero-overlay {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 86px;
  }
  .home-hero-names {
    font-size: clamp(3.18rem, 15vw, 4.15rem);
  }
  .home-hero-venue {
    font-size: clamp(1.96rem, 10.8vw, 2.72rem);
  }
  .home-hero-actions {
    width: min(100%, 320px);
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COUNTDOWN
   ============================================================ */
.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 6vw, 64px);
  flex-wrap: wrap;
}
.count-unit { text-align: center; min-width: 72px; }
.count-num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  color: var(--paper);
  line-height: 1;
}
.count-label {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 12px;
}
@media (max-width: 640px) {
  .countdown {
    width: min(100%, 340px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 18px;
  }
  .count-unit {
    min-width: 0;
  }
  .count-num {
    font-size: clamp(2.95rem, 13vw, 3.8rem);
  }
  .count-label {
    margin-top: 10px;
    letter-spacing: 0.24em;
  }
}

/* ============================================================
   STORY / SPLIT BLOCKS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.split.reverse .split-img { order: 2; }
.split-img {
  position: relative;
}
.split-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.split-img .frame {
  position: absolute;
  inset: 16px;
  border: 1px solid var(--gold);
  pointer-events: none;
  transition: inset 0.4s var(--ease);
}
.split-img:hover .frame { inset: 22px; }
.split-text .eyebrow { margin-bottom: 16px; }
.split-text h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 8px;
}
.split-text .story-rule {
  margin-left: 0;
  justify-content: flex-start;
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-img { order: 0; }
  .split-text { text-align: center; }
  .split-text .story-rule,
  .split-text .rule {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }
}
@media (max-width: 640px) {
  .split-img img {
    aspect-ratio: 4 / 4.8;
  }
  .split-img .frame {
    inset: 12px;
  }
  .split-img:hover .frame {
    inset: 12px;
  }
  .split-text h2 {
    font-size: clamp(2.18rem, 10vw, 2.82rem);
  }
}

/* ============================================================
   TIMELINE (Our Story)
   ============================================================ */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding: 0 44px;
  margin-bottom: 56px;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-item:nth-child(odd) {
  left: 0;
  text-align: right;
}
.tl-item:nth-child(even) {
  left: 50%;
  text-align: left;
}
.tl-dot {
  position: absolute;
  top: 6px;
  width: 13px; height: 13px;
  background: var(--ivory);
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.tl-item:nth-child(odd) .tl-dot { right: -6.5px; }
.tl-item:nth-child(even) .tl-dot { left: -6.5px; }
.tl-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--gold);
}
.tl-date {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.tl-item h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.tl-item p { font-size: 0.96rem; }


.tl-photo {
  position: relative;
  margin: 18px 0 0;
}
.tl-item:nth-child(odd) .tl-photo { margin-left: auto; }
.tl-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 16px 34px rgba(20, 19, 17, 0.12);
}
.tl-photo .frame {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(191, 160, 93, 0.7);
  pointer-events: none;
}
@media (max-width: 700px) {
  .tl-photo { max-width: 420px; }
}

@media (max-width: 700px) {
  .timeline::before { left: 7px; }
  .tl-item,
  .tl-item:nth-child(odd),
  .tl-item:nth-child(even) {
    width: 100%;
    left: 0;
    text-align: left;
    padding: 0 0 0 38px;
  }
  .tl-item:nth-child(odd) .tl-dot,
  .tl-item:nth-child(even) .tl-dot { left: 1px; right: auto; }
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule-card {
  background: var(--paper);
  border: 1px solid var(--line);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 6vw, 72px);
  position: relative;
}
.schedule-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid var(--gold-light);
  pointer-events: none;
}
.schedule-card .day {
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.schedule-card .venue-name {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  margin: 14px 0 6px;
}
.schedule-card .venue-addr {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.timeline-events {
  margin: 40px auto 0;
  max-width: 420px;
  text-align: left;
}
.event-row {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.event-row:last-child { border-bottom: none; }
.event-time {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--gold-deep);
  white-space: nowrap;
  min-width: 96px;
}
.event-name {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.event-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 3px;
}
.dress-note {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.dress-note strong { color: var(--gold-deep); font-weight: 500; }

.notice {
  max-width: 620px;
  margin: 0 auto 48px;
  text-align: center;
  background: var(--sky-soft);
  border: 1px solid var(--sky);
  padding: 22px 30px;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.notice .eyebrow { color: var(--sky-deep); margin-bottom: 6px; }

/* ============================================================
   WEDDING PARTY
   ============================================================ */
.party-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 38px 30px;
}
.party-grid.feature {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  margin-bottom: 64px;
}
.party-member { text-align: center; }
.party-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 18px;
}
.party-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.party-member:hover .party-photo img { transform: scale(1.05); }
.party-photo::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(246, 243, 236, 0.6);
  pointer-events: none;
}
.party-monogram {
  width: 100%;
  aspect-ratio: 1;
  background: var(--ivory-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 3.4rem;
  color: var(--gold);
  margin-bottom: 18px;
  position: relative;
}
.party-monogram::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-light);
}
.party-member h3 {
  font-size: 1.4rem;
  margin-bottom: 2px;
}
.party-feature .party-monogram,
.party-feature .party-photo { aspect-ratio: 4/5; }
.party-role {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

@media (max-width: 860px) {
  .party-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 22px; }
}
@media (max-width: 560px) {
  .party-grid { grid-template-columns: repeat(2, 1fr); }
  .party-grid.feature { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  columns: 3;
  column-gap: 18px;
}
.gallery-grid figure {
  break-inside: avoid;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-grid img {
  width: 100%;
  transition: transform 0.6s var(--ease), filter 0.5s var(--ease);
}
.gallery-grid figure::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
  pointer-events: none;
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figure:hover::after { border-color: rgba(176, 141, 79, 0.7); }

@media (max-width: 820px) { .gallery-grid { columns: 2; } }
@media (max-width: 480px) { .gallery-grid { columns: 1; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 17, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  border: 1px solid rgba(216, 192, 138, 0.5);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: var(--ivory);
  cursor: pointer;
  font-family: var(--serif);
  transition: color 0.25s var(--ease);
}
.lightbox-close { top: 28px; right: 36px; font-size: 2.4rem; line-height: 1; }
.lightbox-nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 20px; }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-close:hover, .lightbox-nav:hover { color: var(--gold-light); }

/* ============================================================
   TRAVEL / HOTEL CARDS
   ============================================================ */
.cards { display: grid; gap: 32px; }
.hotel-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
}
.hotel-card .hc-body {
  padding: clamp(28px, 4vw, 46px);
}
.hc-tag {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hc-tag::before {
  content: '';
  width: 22px; height: 1px; background: var(--gold);
}

.hotel-card .hc-note {
  padding: 14px 16px;
  margin-top: 16px;
  border-left: 2px solid var(--gold);
  background: rgba(176, 141, 79, 0.08);
  font-size: 0.96rem;
}
.hotel-card .hc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 560px) {
  .hotel-card .hc-actions .btn { width: 100%; }
}

.hotel-card h3 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 6px;
}
.hc-addr {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-style: italic;
}
.hc-addr a { color: var(--sky-deep); }
.hc-body p { font-size: 0.97rem; }
.hc-actions { margin-top: 22px; }

/* ============================================================
   THINGS TO DO
   ============================================================ */
.poi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.poi-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.6vw, 42px);
  position: relative;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.poi-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  background: var(--ivory-deep);
}
.poi-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.poi-media::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(246, 243, 236, 0.68);
  pointer-events: none;
}
.poi-card:hover .poi-media img,
.poi-card.is-active .poi-media img {
  transform: scale(1.035);
}
@media (max-width: 640px) {
  .poi-media { margin-bottom: 20px; }
  .poi-media::after { inset: 8px; }
}
.poi-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.poi-card:hover {
  box-shadow: 0 22px 44px -30px rgba(28, 27, 24, 0.4);
  transform: translateY(-3px);
  border-color: var(--gold-light);
}
.poi-card:hover::before { transform: scaleY(1); }
.poi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.poi-icon {
  width: 46px; height: 46px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
  flex: none;
}
.poi-icon svg { width: 22px; height: 22px; }
.poi-distance {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 6px 12px;
}
.poi-card h3 {
  font-size: 1.55rem;
  margin-bottom: 4px;
}
.poi-addr {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 14px;
}
.poi-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.poi-card p { font-size: 0.93rem; }
.poi-meta {
  padding-top: 16px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}
.poi-meta .row { display: flex; gap: 10px; }
.poi-meta .k {
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
  min-width: 60px;
  padding-top: 2px;
  flex: none;
}
.poi-map-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-top: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  transition: color 0.25s var(--ease);
}
.poi-map-link:hover { color: var(--ink); }
.poi-map-link .pin {
  width: 13px; height: 13px;
  flex: none;
  position: relative;
}
.poi-map-link .pin::before {
  content: '';
  position: absolute;
  inset: 0 1px 4px 1px;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.poi-map-link .pin::after {
  content: '';
  position: absolute;
  top: 3px; left: 50%;
  width: 3px; height: 3px;
  background: currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}
@media (max-width: 720px) {
  .poi-grid { grid-template-columns: 1fr; }
}

/* Embedded map */
.map-frame {
  border: 1px solid var(--line);
  background: var(--ivory-deep);
  padding: 10px;
  box-shadow: 0 20px 50px -34px rgba(28, 27, 24, 0.4);
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 1px solid var(--line);
  filter: grayscale(28%);
}
.map-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}
@media (max-width: 560px) {
  .map-frame iframe { height: 340px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 26px 44px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.faq-q:hover { color: var(--gold-deep); }
.faq-q .mark {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
}
.faq-q .mark::before,
.faq-q .mark::after {
  content: '';
  position: absolute;
  background: var(--gold);
  transition: transform 0.3s var(--ease);
}
.faq-q .mark::before {
  left: 0; right: 0; top: 50%;
  height: 1px; transform: translateY(-50%);
}
.faq-q .mark::after {
  top: 0; bottom: 0; left: 50%;
  width: 1px; transform: translateX(-50%);
}
.faq-item.open .faq-q .mark::after { transform: translateX(-50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a-inner {
  padding: 0 44px 28px 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ============================================================
   RSVP / REGISTRY PAGES
   ============================================================ */
.embed-shell {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 22px;
}
.embed-card {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(44px, 7vw, 86px) clamp(28px, 6vw, 76px);
  position: relative;
}
.embed-card::before {
  content: '';
  position: absolute;
  inset: 13px;
  border: 1px solid var(--gold-light);
  pointer-events: none;
}
.embed-monogram {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
}
.embed-monogram .amp {
  font-style: italic;
  font-size: 0.82em;
  margin: 0 2px;
}
.embed-card .eyebrow { margin-bottom: 14px; }
.embed-card h2 {
  font-size: clamp(2rem, 4.6vw, 3rem);
}
.embed-card p {
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto;
}
.embed-card .btn { margin-top: 34px; }
.embed-fine {
  margin-top: 20px !important;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-style: italic;
}

/* Three-step guide */
.embed-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: none;
}
.embed-steps .step {
  background: var(--ivory);
  padding: 38px 28px;
  text-align: center;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.embed-steps h4 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.embed-steps .step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
@media (max-width: 680px) {
  .embed-steps { grid-template-columns: 1fr; }
}

/* Optional live embed (revealed only if framing is permitted) */
.embed-frame-wrap {
  border: 1px solid var(--line);
  background: var(--paper);
  margin-top: 40px;
  box-shadow: 0 24px 60px -32px rgba(28, 27, 24, 0.4);
}
.embed-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 1180px;
  border: none;
}

/* ============================================================
   CALLOUT BANNER
   ============================================================ */
.callout {
  text-align: center;
  padding: clamp(64px, 9vw, 104px) 32px;
  background: var(--charcoal);
  color: var(--ivory);
  position: relative;
}
.callout .eyebrow { color: var(--gold-light); }
.callout h2 {
  color: var(--paper);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 14px 0 8px;
}
.callout p {
  color: rgba(246, 243, 236, 0.78);
  max-width: 480px;
  margin: 0 auto 30px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.7);
  text-align: center;
  padding: 70px 32px 54px;
}

.footer-seal {
  display: block;
  width: clamp(72px, 9vw, 96px);
  margin: 0 auto 18px;
  opacity: 0.62;
  mix-blend-mode: normal;
  filter: drop-shadow(0 1px 10px rgba(216, 192, 138, 0.14));
}
.footer-mark {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--paper);
}
.footer-mark .amp { color: var(--gold); font-style: normal; }
.footer-date {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 10px;
  color: var(--gold-light);
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 30px 0 26px;
  list-style: none;
}
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: rgba(246, 243, 236, 0.55);
}
.footer-fine {
  margin-top: 20px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(246, 243, 236, 0.4);
}

/* ============================================================
   CINEMATIC HOME ENTRANCE
   ============================================================ */
.home-page.intro-active { overflow: hidden; }
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 360;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(216, 192, 138, 0.15), transparent 36%),
    radial-gradient(circle at 50% 55%, rgba(155, 182, 201, 0.08), transparent 46%),
    linear-gradient(180deg, #171612 0%, #24221d 50%, #171612 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 1.05s var(--ease), visibility 1.05s var(--ease);
}
.home-page.intro-finished .site-intro {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-wash {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(115deg, transparent 18%, rgba(246, 243, 236, 0.08) 42%, transparent 58%),
    radial-gradient(circle at 28% 48%, rgba(176, 141, 79, 0.16), transparent 28%);
  opacity: 0;
  transform: translateX(-12%) rotate(4deg);
  animation: intro-wash 2.8s 0.18s var(--ease) both;
}
.intro-frame {
  position: absolute;
  inset: clamp(16px, 3vw, 34px);
  border: 1px solid rgba(216, 192, 138, 0.46);
  opacity: 0;
  transform: scale(1.035);
  animation: intro-frame 1.3s 0.12s var(--ease) both;
}
.intro-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1080px);
  padding: 44px 30px;
  text-align: center;
}
.intro-kicker,
.intro-location {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: rgba(246, 243, 236, 0.86);
  opacity: 0;
  transform: translateY(16px);
}
.intro-kicker {
  font-size: 0.72rem;
  animation: intro-rise 0.95s 0.34s var(--ease) both;
}
.intro-location {
  margin-top: 14px;
  font-size: 0.68rem;
  color: rgba(246, 243, 236, 0.66);
  animation: intro-rise 0.95s 1.42s var(--ease) both;
}
.intro-names {
  margin-top: 16px;
  font-family: var(--script);
  font-size: clamp(4.5rem, 10vw, 8.7rem);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--gold-light);
  text-shadow: 0 4px 42px rgba(10, 9, 7, 0.62);
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  animation: intro-script 1.35s 0.58s var(--ease) both;
}
.intro-names .amp {
  font-family: var(--script);
  color: var(--paper);
  font-size: 0.82em;
  font-style: normal;
  margin: 0 0.08em;
}
.intro-divider {
  width: min(420px, 68vw);
  height: 1px;
  margin: 24px auto 19px;
  overflow: hidden;
  opacity: 0;
  animation: intro-fade 0.8s 1.05s var(--ease) both;
}
.intro-divider span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(216, 192, 138, 0.9) 50%, transparent);
  transform: scaleX(0);
  animation: intro-divider 1.18s 1.02s var(--ease) both;
}
.intro-venue {
  font-family: var(--script);
  font-size: clamp(2.7rem, 5.25vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--paper);
  text-shadow: 0 4px 38px rgba(10, 9, 7, 0.62);
  opacity: 0;
  transform: translateY(18px);
  animation: intro-rise 1.05s 1.12s var(--ease) both;
}
.hero-enter {
  opacity: 0;
  transform: translateY(28px);
}
.home-page.intro-finished .hero-enter {
  animation: home-hero-rise 1.08s var(--ease) both;
}
.home-page.intro-finished .hero-enter.enter-1 { animation-delay: 0.10s; }
.home-page.intro-finished .hero-enter.enter-2 { animation-delay: 0.22s; }
.home-page.intro-finished .hero-enter.enter-3 { animation-delay: 0.40s; }
.home-page.intro-finished .hero-enter.enter-4 { animation-delay: 0.54s; }
.home-page.intro-finished .hero-enter.enter-5 { animation-delay: 0.68s; }
.home-page.intro-finished .hero-enter.enter-6 { animation-delay: 0.84s; }
.home-page.intro-finished .home-hero::after {
  animation: home-frame-reveal 1.25s 0.18s var(--ease) both;
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
  color: rgba(246, 243, 236, 0.78);
  opacity: 0;
}
.home-page.intro-finished .hero-scroll-cue {
  animation: hero-scroll-fade 0.95s 1.45s var(--ease) both;
}
.hero-scroll-cue span {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, rgba(216, 192, 138, 0.08), rgba(216, 192, 138, 0.95));
  transform-origin: top;
  animation: hero-scroll-line 2s 2s ease-in-out infinite;
}
.hero-scroll-cue em {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}
@keyframes intro-frame {
  to { opacity: 1; transform: scale(1); }
}
@keyframes intro-wash {
  0% { opacity: 0; transform: translateX(-12%) rotate(4deg); }
  28% { opacity: 1; }
  100% { opacity: 0.46; transform: translateX(10%) rotate(4deg); }
}
@keyframes intro-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-script {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes intro-divider {
  to { transform: scaleX(1); }
}
@keyframes intro-fade {
  to { opacity: 1; }
}
@keyframes home-hero-rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-frame-reveal {
  from { opacity: 0; transform: scale(1.018); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes hero-scroll-fade {
  to { opacity: 1; }
}
@keyframes hero-scroll-line {
  0%, 100% { transform: scaleY(0.55); opacity: 0.58; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 640px) {
  .intro-frame { inset: 16px; }
  .intro-inner { padding: 30px 22px; }
  .intro-kicker,
  .intro-location {
    letter-spacing: 0.24em;
    line-height: 1.7;
  }
  .intro-names {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(3.35rem, 16vw, 4.75rem);
    line-height: 0.9;
  }
  .intro-divider {
    width: min(290px, 76vw);
    margin: 18px auto 15px;
  }
  .intro-venue {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.08rem, 11vw, 2.96rem);
    line-height: 0.94;
    text-wrap: balance;
  }
  .hero-scroll-cue { bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none; }
  .home-page.intro-active { overflow: auto; }
  .hero-enter,
  .hero-scroll-cue {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .home-page.intro-finished .home-hero::after,
  .hero-scroll-cue span {
    animation: none !important;
  }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   POLISH — motion, navigation utility, and Things explorer
   ============================================================ */
.home-hero-bg img {
  animation: hero-drift 18s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1.01); }
  to { transform: scale(1.06); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 180;
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--sky));
  box-shadow: 0 0 18px rgba(176, 141, 79, 0.35);
  pointer-events: none;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(176, 141, 79, 0.6);
  border-radius: 50%;
  background: rgba(28, 27, 24, 0.92);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  z-index: 140;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), border-color 0.32s var(--ease), background 0.32s var(--ease);
}
.to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top:hover {
  border-color: var(--gold-light);
  background: var(--gold-deep);
}
.to-top span {
  display: block;
  transform: translateY(-1px);
}


.guest-quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 250px));
  justify-content: center;
  gap: 10px;
  margin: -8px auto 34px;
  max-width: 1040px;
}
.guest-quick-links a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.58);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.28s var(--ease);
}
.guest-quick-links a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.poi-media-tile {
  min-height: 225px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(216, 192, 138, 0.14), rgba(155, 182, 201, 0.11)),
    var(--paper);
}
.poi-media-tile::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(176, 141, 79, 0.45);
  z-index: 1;
}
.poi-media-tile .tile-kicker,
.poi-media-tile .tile-name {
  position: relative;
  z-index: 2;
}
.poi-media-tile .tile-kicker {
  font-family: var(--sans);
  color: var(--gold-deep);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.poi-media-tile .tile-name {
  width: min(80%, 320px);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.05;
  color: var(--ink);
}
.poi-card.poi-essential {
  border-color: rgba(176, 141, 79, 0.42);
}
@media (max-width: 980px) {
  .guest-quick-links { grid-template-columns: repeat(2, minmax(0, 250px)); }
}
@media (max-width: 560px) {
  .guest-quick-links { grid-template-columns: 1fr; }
  .guest-quick-links a { min-height: 50px; }
  .poi-media-tile { min-height: 190px; }
}

.things-explorer .section-head {
  margin-bottom: 38px;
}
.things-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}
.filter-chip {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  min-height: 46px;
  padding: 0 20px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.28s var(--ease);
}
.filter-chip:hover,
.filter-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.things-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 4vw, 46px);
  align-items: start;
}
.poi-grid-explorer {
  grid-template-columns: 1fr;
}
.poi-card.is-hidden {
  display: none;
}
.poi-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 24px 60px -36px rgba(28, 27, 24, 0.55);
}
.poi-card.is-active::before {
  transform: scaleY(1);
}
.poi-actions {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.poi-focus {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}
.poi-focus::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.poi-focus:hover::after,
.poi-focus:focus-visible::after {
  transform: scaleX(1);
}
.poi-actions .poi-map-link {
  margin-top: 0;
  padding-top: 0;
}

.things-map-panel {
  position: sticky;
  top: 104px;
}
.map-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px;
  box-shadow: 0 22px 62px -40px rgba(28, 27, 24, 0.45);
}
.map-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  padding: 12px 12px 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.map-card-head .eyebrow {
  margin-bottom: 9px;
}
.map-card-head h3 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}
.map-count {
  min-width: 90px;
  text-align: right;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.map-count strong {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold-deep);
  font-weight: 500;
}
.map-count span {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.interactive-map {
  height: 520px;
  border: 1px solid var(--line);
  background: var(--ivory-deep);
  filter: grayscale(12%);
}
.map-card-foot {
  padding: 18px 12px 10px;
}
.map-card-foot p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.map-actions.compact {
  justify-content: flex-start;
  margin-top: 18px;
}
.btn-mini {
  min-height: 44px;
  padding: 13px 18px;
  font-size: 0.67rem;
}
.custom-poi-marker {
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--gold);
  border: 2px solid var(--paper);
  box-shadow: 0 10px 22px rgba(28, 27, 24, 0.28);
  position: relative;
}
.custom-poi-marker::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--paper);
}
.custom-poi-marker.scenic { background: var(--gold); }
.custom-poi-marker.dining { background: var(--sky-deep); }
.custom-poi-marker.coffee { background: var(--ink); }
.custom-poi-marker.explore { background: var(--gold-deep); }
.custom-poi-marker.essentials { background: var(--ink); border-color: var(--gold-light); }
.custom-poi-marker.drinks { background: #806f5a; }
.custom-poi-marker.graylyn,
.custom-poi-marker.venue {
  width: 34px;
  height: 34px;
  background: var(--gold-light);
  border: 3px solid var(--ink);
  box-shadow:
    0 0 0 4px rgba(216, 192, 138, 0.34),
    0 14px 28px rgba(28, 27, 24, 0.34);
  z-index: 600 !important;
}
.custom-poi-marker.graylyn::after,
.custom-poi-marker.venue::after {
  inset: 7px;
  background: var(--ink);
}
.custom-poi-marker.graylyn::before,
.custom-poi-marker.venue::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(216, 192, 138, 0.72);
  animation: venue-marker-pulse 2.6s ease-in-out infinite;
}
@keyframes venue-marker-pulse {
  0%, 100% { transform: scale(0.88); opacity: 0.28; }
  50% { transform: scale(1.08); opacity: 0.72; }
}
.poi-popup {
  min-width: 180px;
  font-family: var(--sans);
  color: var(--ink-soft);
}
.poi-popup strong {
  display: block;
  font-family: var(--serif);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 5px;
}
.poi-popup span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.5;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: var(--paper);
  color: var(--ink-soft);
  box-shadow: 0 18px 42px rgba(28, 27, 24, 0.22);
}
.leaflet-container a.leaflet-popup-close-button {
  color: var(--gold-deep);
}
.leaflet-control-attribution {
  font-size: 0.64rem;
}

@media (max-width: 980px) {
  .things-layout {
    grid-template-columns: 1fr;
  }
  .things-map-panel {
    position: relative;
    top: auto;
    order: -1;
  }
  .interactive-map {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .to-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }
  .filter-chip {
    flex: 1 1 calc(50% - 8px);
  }
  .map-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .map-count {
    text-align: left;
  }
  .interactive-map {
    height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-bg img {
    animation: none;
  }
  .scroll-progress,
  .to-top,
  .filter-chip,
  .poi-focus::after {
    transition: none;
  }
}

/* ============================================================
   MOBILE FINISHING PASS — iPhone-safe spacing and centering
   ============================================================ */
@media (max-width: 640px) {
  .nav-inner {
    min-height: 72px;
  }
  .nav-links {
    inset: 72px 0 auto 0;
    max-height: calc(100svh - 72px);
  }
  .page-hero {
    padding: 68px 22px 64px;
  }
  .page-hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.4rem);
  }
  .page-hero p {
    font-size: 1rem;
  }
  .callout {
    padding-left: 22px;
    padding-right: 22px;
  }
  .callout h2 {
    font-size: clamp(2.35rem, 10vw, 3.15rem);
  }
}


/* ============================================================
   GRAYLYN ESTATE SHOWCASE
   ============================================================ */
.estate-showcase .section-head {
  margin-bottom: clamp(34px, 5vw, 52px);
}
.estate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.estate-shot {
  position: relative;
  overflow: hidden;
  background: var(--ivory-deep);
  aspect-ratio: 4 / 3;
}
.estate-shot.estate-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8.7;
}
.estate-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.estate-shot:hover img {
  transform: scale(1.035);
}
.estate-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(196, 160, 98, 0.88);
  pointer-events: none;
  transition: inset 0.45s var(--ease);
}
.estate-shot:hover .estate-frame {
  inset: 20px;
}
@media (max-width: 760px) {
  .estate-grid {
    grid-template-columns: 1fr;
  }
  .estate-shot,
  .estate-shot.estate-wide {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }
  .estate-frame {
    inset: 12px;
  }
  .estate-shot:hover .estate-frame {
    inset: 12px;
  }
}



/* ============================================================
   FINAL GUEST-UTILITY POLISH
   ============================================================ */
.arrival-panel {
  max-width: 920px;
  margin: 38px auto 0;
  padding: clamp(26px, 3.2vw, 38px) clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}
.arrival-panel .eyebrow {
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.arrival-panel p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--ink-soft);
}
.schedule-actions {
  width: min(100%, 920px);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.schedule-actions .btn {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.travel-note {
  max-width: 690px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-style: italic;
}
.rsvp-editorial-image {
  position: relative;
  margin: 42px auto 0;
  max-width: 960px;
  overflow: hidden;
  background: var(--ivory-deep);
  border: 1px solid var(--line);
}
.rsvp-editorial-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}
.rsvp-editorial-frame {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(196, 160, 98, 0.88);
  pointer-events: none;
}
.rsvp-editorial-image figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  padding: 10px 14px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  background: rgba(28, 27, 24, 0.68);
  backdrop-filter: blur(4px);
}
@media (max-width: 900px) {
  .schedule-actions {
    width: min(100%, 420px);
    grid-template-columns: 1fr;
  }
  .schedule-actions .btn {
    width: 100%;
  }
  .arrival-panel {
    text-align: left;
  }
  .rsvp-editorial-image {
    margin-top: 30px;
  }
  .rsvp-editorial-image img {
    aspect-ratio: 4 / 3;
  }
  .rsvp-editorial-frame {
    inset: 12px;
  }
  .rsvp-editorial-image figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }
}


/* ============================================================
   RSVP REGISTRY PROMPT
   ============================================================ */
.rsvp-registry-prompt {
  width: min(100%, 820px);
  margin: clamp(36px, 5vw, 58px) auto 0;
  padding: clamp(30px, 4vw, 48px);
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
.rsvp-registry-prompt::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(191, 160, 93, 0.42);
  pointer-events: none;
}
.rsvp-registry-prompt .eyebrow,
.rsvp-registry-prompt h3,
.rsvp-registry-prompt p,
.rsvp-registry-prompt .rule,
.rsvp-registry-prompt .btn {
  position: relative;
  z-index: 1;
}
.rsvp-registry-prompt h3 {
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  margin: 12px 0 8px;
}
.rsvp-registry-prompt .rule {
  margin: 18px auto 20px;
}
.rsvp-registry-prompt p {
  max-width: 610px;
  margin: 0 auto 26px;
}
@media (max-width: 640px) {
  .rsvp-registry-prompt {
    padding: 28px 22px 30px;
  }
  .rsvp-registry-prompt::before {
    inset: 10px;
  }
}


/* ============================================================
   404 ACTIONS
   ============================================================ */
.error-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.error-actions .btn {
  min-width: 180px;
}

@media (prefers-reduced-motion: reduce) {
  .custom-poi-marker.graylyn::before,
  .custom-poi-marker.venue::before {
    animation: none;
  }
}
