*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ivory: #faf9f6;
  --white: #ffffff;
  --green-deep: #484808;
  --green-mid: #5a6e18;
  --green-light: #eaf3de;
  --green-border: #c0c890;
  --text-dark: #1a2a1a;
  --text-mid: #4a5a10;
  --text-muted: #7a8a50;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', sans-serif;
  --tile-photo-schedule: url("/images/tile-photo-schedule.jpg");
  --tile-photo-rsvp: url("/images/tile-photo-rsvp.jpg");
  --tile-photo-travel: url("/images/tile-photo-travel.jpg");
  --tile-photo-todo: url("/images/tile-photo-todo.jpg");
  --tile-photo-registry: url("/images/tile-photo-registry.jpg");
  --tile-photo-faq: url("/images/tile-photo-faq.jpg");
  --hero-photo: url("/images/hero-photo.jpg");
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--ivory); color: var(--text-dark); font-weight: 300; font-size: 16px; line-height: 1.75; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 0.5px solid #d4e8b4;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 64px;
}
.nav-monogram { font-family: var(--serif); font-size: 22px; font-weight: 300; font-style: italic; color: var(--green-deep); cursor: pointer; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 9px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--green-deep); transition: transform 0.2s, opacity 0.2s; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-links a { text-decoration: none; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mid); transition: color 0.2s; cursor: pointer; }
.nav-links a:hover, .nav-links a.active { color: var(--green-deep); border-bottom: 1px solid var(--green-deep); padding-bottom: 2px; }

/* HERO */
.hero { background: var(--green-deep) var(--hero-photo) center 30%/cover no-repeat; color: var(--white); text-align: center; padding: 9rem 2rem 11rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: none; }
.hero-names { font-family: var(--serif); font-size: clamp(52px, 9vw, 96px); font-weight: 300; font-style: italic; line-height: 1.05; position: relative; margin-bottom: 2rem; text-shadow: 0 2px 24px rgba(20,26,8,0.35); }
.hero-amp { display: inline-block; font-size: 0.6em; color: inherit; margin: 0 0.25em; font-style: normal; vertical-align: middle; }
.hero-leaf { width: 36px; height: 44px; object-fit: contain; opacity: 0.85; }
.hero-date { font-size: 17px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.92); position: relative; }
.hero-loc { font-family: var(--serif); font-size: 23px; font-style: italic; color: rgba(255,255,255,0.85); margin-top: 0.4rem; position: relative; }
.hero-welcome { max-width: 520px; margin: 3rem auto 0; position: relative; }
.hero-welcome p { font-family: var(--serif); font-size: 20px; font-style: italic; color: rgba(255,255,255,0.6); line-height: 1.85; }
.welcome-note { max-width: 560px; margin: 0 auto 2.75rem; padding: 0 1rem; }
.welcome-note p { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--green-deep); line-height: 1.85; }

/* SHARED SECTION */
.page-inner { max-width: 860px; margin: 0 auto; padding: 6rem 2rem; }
.slbl { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.stitle { font-family: var(--serif); font-size: clamp(32px, 5vw, 48px); font-weight: 300; font-style: italic; color: var(--green-deep); line-height: 1.1; margin-bottom: 0.5rem; }
.srule { width: 48px; height: 0.5px; background: var(--green-border); margin: 1.5rem 0; }
.sintro { color: var(--text-mid); font-size: 16px; line-height: 1.85; max-width: 640px; margin-bottom: 3rem; }

/* SCHEDULE */
#page-schedule { background: var(--ivory); }
.day-head { font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 0.15rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--green-border); margin-top: 3rem; }
.day-head:first-of-type { margin-top: 0; }
.ev { display: grid; grid-template-columns: 1fr; gap: 0; padding: 1.5rem 0; border-bottom: 0.5px solid #f0f5e8; }
.ev:last-child { border-bottom: none; }
.ev-time { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--text-muted); padding-top: 2px; }
.ev-name { font-weight: 400; font-size: 17px; color: var(--text-dark); margin-bottom: 2px; }
.ev-loc { font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.ev-desc { font-size: 15px; color: var(--text-mid); line-height: 1.78; margin-bottom: 6px; }
.ev-note { font-size: 14px; color: var(--text-muted); line-height: 1.72; font-style: italic; margin-bottom: 8px; }
.attire { display: inline-block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); background: var(--green-light); padding: 3px 12px; border-radius: 20px; margin-top: 4px; }


/* RSVP */
#page-rsvp { background: var(--green-light); }

/* TRAVEL */
#page-travel { background: var(--ivory); }
.sub-title { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--green-deep); margin: 2.5rem 0 1.25rem; }
.alert { background: #fffdf5; border: 0.5px solid #d4b96a; border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; font-size: 14px; color: #7a5c1a; line-height: 1.78; }
.alert strong { font-weight: 400; color: #5c4010; }
.airport-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 0.5rem; }
.ac { border: 0.5px solid #d4e8b4; border-radius: 12px; padding: 1.25rem 1.5rem; background: var(--white); }
.ac-code { font-family: var(--serif); font-size: 30px; font-style: italic; color: var(--green-deep); margin-bottom: 4px; }
.ac-name { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--green-deep); margin-bottom: 4px; }
.ac-dist { font-size: 13px; color: var(--text-mid); line-height: 1.65; }
.shuttle-row { padding: 0.75rem 0; border-bottom: 0.5px solid #e8f0d8; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.shuttle-row:last-child { border-bottom: none; }
.sname { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--green-deep); }
.sphone { font-size: 13px; color: var(--text-muted); font-style: italic; }
.hotel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.hc { border: 0.5px solid #d4e8b4; border-radius: 14px; padding: 1.5rem; background: var(--ivory); }
.hc-name { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--green-deep); margin-bottom: 5px; }
.hc-addr { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.6; }
.hc-note { font-size: 14px; color: var(--text-mid); line-height: 1.65; padding-top: 10px; border-top: 0.5px solid #e0eecb; }
.around-list { margin-bottom: 2.5rem; }
.around-item { padding: 0.65rem 0; border-bottom: 0.5px solid #e8f0d8; font-size: 14px; color: var(--text-mid); line-height: 1.75; }
.around-item:last-child { border-bottom: none; }

/* ASPEN 101 */
#page-todo { background: var(--ivory); }
.todo-cat { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--green-deep); margin: 2.5rem 0 1.25rem; }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.tc { border: 0.5px solid #e0eecb; border-radius: 14px; padding: 1.5rem; background: var(--white); }
.tc-name { font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--green-deep); margin-bottom: 6px; }
.tc-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.todo-subcat { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-mid); margin: 2rem 0 1rem; }
.todo-note { margin-top: 2.5rem; background: var(--white); border: 0.5px solid #d4e8b4; border-radius: 12px; padding: 1.25rem 1.5rem; font-size: 14px; color: var(--text-mid); line-height: 1.8; font-style: italic; }

/* HOME PHOTO-TILE MENU */
.tlinks-wrap { background: var(--white); padding: 4rem 2rem 4.5rem; text-align: center; }
.tlinks-label { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2rem; }
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; max-width: 920px; margin: 0 auto; }
.tile { display: block; text-decoration: none; position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; cursor: pointer; background-color: var(--green-deep); background-size: cover; background-position: center; box-shadow: 0 6px 18px rgba(20,26,8,0.10); transition: transform 0.28s ease, box-shadow 0.28s ease; }
.tile:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(20,26,8,0.18); }
.tile::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,20,6,0.72) 0%, rgba(15,20,6,0.15) 55%, rgba(15,20,6,0.05) 100%); z-index: 1; }
.tile-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.1rem 1.1rem 1.25rem; text-align: left; }
.tile-label { display: block; font-family: var(--serif); font-size: 24px; font-style: italic; color: var(--white); text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.tile-schedule { background-image: var(--tile-photo-schedule, linear-gradient(155deg, #6b7a2a 0%, #454f14 100%)); }
.tile-rsvp { background-image: var(--tile-photo-rsvp, linear-gradient(155deg, #7c8a3a 0%, #3f4a10 100%)); }
.tile-travel { background-image: var(--tile-photo-travel, linear-gradient(155deg, #5a6e18 0%, #2f3609 100%)); }
.tile-todo { background-image: var(--tile-photo-todo, linear-gradient(155deg, #8a9650 0%, #4a5a10 100%)); }
.tile-registry { background-image: var(--tile-photo-registry, linear-gradient(155deg, #72803a 0%, #3a4310 100%)); }
.tile-faq { background-image: var(--tile-photo-faq, linear-gradient(155deg, #616f30 0%, #363f0c 100%)); }
@media (max-width: 700px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .tile-label { font-size: 17px; }
}

/* REGISTRY */
#page-registry { background: var(--ivory); }
.registry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.rc { border: 0.5px solid #d4e8b4; border-radius: 14px; padding: 1.75rem; background: var(--white); display: flex; flex-direction: column; gap: 0.75rem; }
.rc-store { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--green-deep); }
.rc-desc { font-size: 13px; color: var(--text-mid); line-height: 1.7; flex: 1; }
.rc-link { display: inline-block; margin-top: 0.5rem; padding: 9px 28px; background: var(--green-deep); color: var(--white); border-radius: 40px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; transition: background 0.2s; align-self: flex-start; }
.rc-link:hover { background: var(--green-mid); }

/* FAQ */
#page-faq { background: var(--green-deep); }
#page-faq .page-inner { padding-top: 6rem; padding-bottom: 6rem; }
.faq-slbl { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(192,200,144,0.7); margin-bottom: 0.75rem; }
.faq-title { font-family: var(--serif); font-size: clamp(32px, 5vw, 48px); font-weight: 300; font-style: italic; color: var(--white); line-height: 1.1; margin-bottom: 0.5rem; }
.faq-rule { width: 48px; height: 0.5px; background: rgba(192,200,144,0.4); margin: 1.5rem 0; }
.faq-item { padding: 1.5rem 0; border-bottom: 0.5px solid rgba(192,200,144,0.2); }
.faq-item:last-child { border-bottom: none; }
.faq-photo-row { display: flex; gap: 1rem; margin-top: 3rem; }
.faq-photo-row img { width: 33.333%; height: 320px; object-fit: cover; border-radius: 4px; }
@media (max-width: 700px) {
  .faq-photo-row { flex-direction: column; }
  .faq-photo-row img { width: 100%; height: auto; }
}
.fq { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--white); margin-bottom: 8px; }
.fa { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.82; }

/* FOOTER */
footer { background: var(--green-deep); color: rgba(255,255,255,0.4); text-align: center; padding: 4rem 2rem; border-top: 0.5px solid rgba(192,200,144,0.15); }
.ft-tagline { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 0.5rem; }
.ft-logo { width: 200px; height: auto; margin: 1rem auto; display: block;  }
.ft-sub { font-family: var(--serif); font-style: italic; font-size: 17px; color: rgba(255,255,255,0.5); margin-bottom: 2.5rem; }
.ft-cd { display: flex; gap: 2rem; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap; }
.cd-unit { text-align: center; }
.cd-num { font-family: var(--serif); font-size: 38px; font-weight: 300; color: var(--white); line-height: 1; display: block; }
.cd-lbl { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); display: block; margin-top: 5px; }
.cd-sep { font-family: var(--serif); font-size: 32px; color: rgba(192,200,144,0.4); align-self: center; padding-bottom: 12px; }
.ft-names { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 300; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.ft-date { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(192,200,144,0.4); }

@media (max-width: 700px) {
  nav { flex-wrap: wrap; height: auto; min-height: 60px; padding: 0 1.25rem; }
  .nav-toggle { display: flex; }
  .nav-links { display: none; width: 100%; flex-direction: column; gap: 0; padding: 0.25rem 0 0.75rem; }
  nav.open .nav-links { display: flex; }
  .nav-links li { border-top: 0.5px solid #e4edd2; }
  .nav-links a { display: block; padding: 0.85rem 0; text-align: center; font-size: 12px; letter-spacing: 0.16em; }
  .nav-links a:hover, .nav-links a.active { border-bottom: none; padding-bottom: 0.85rem; }
  .hero { padding: 4.5rem 1.5rem 4rem; }
  .page-inner { padding: 3.5rem 1.25rem; }
  .ev { grid-template-columns: 1fr; gap: 4px; }
}

/* PASSWORD GATE */
#gate {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--green-deep);
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
.gate-monogram {
  font-family: var(--serif);
  font-size: 48px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.5rem;
}
.gate-date {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(192,200,144,0.6);
  margin-bottom: 3rem;
}
.gate-logo {
  width: 260px;
  height: auto;
  margin-bottom: 2rem;
  mix-blend-mode: normal;
}
.gate-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.gate-input-wrap {
  display: flex;
  gap: 0;
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}
#gate-input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(192,200,144,0.3);
  border-right: none;
  border-radius: 40px 0 0 40px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
  outline: none;
  letter-spacing: 0.06em;
}
#gate-input::placeholder { color: rgba(255,255,255,0.25); }
#gate-input:focus { border-color: rgba(192,200,144,0.6); }
.gate-btn {
  padding: 12px 22px;
  background: rgba(192,200,144,0.15);
  border: 0.5px solid rgba(192,200,144,0.3);
  border-left: none;
  border-radius: 0 40px 40px 0;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.gate-btn:hover { background: rgba(192,200,144,0.25); }
#gate-error {
  display: none;
  margin-top: 1rem;
  font-size: 12px;
  color: rgba(255,180,180,0.7);
  letter-spacing: 0.08em;
}
#site-content { display: none; }
.ft-home { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 1.5rem; cursor: pointer; transition: color 0.2s; }
.ft-home:hover { color: rgba(255,255,255,0.65); }

/* RSVP page: heading + text/button on the left, photo on the right */
.rsvp-split { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 3rem; row-gap: 0; }
.rsvp-head { grid-column: 1; grid-row: 1; }
.rsvp-text { grid-column: 1; grid-row: 2; align-self: center; }
.rsvp-text .sintro { margin: 0 0 3rem; font-size: 19px; line-height: 2.1; }
.rsvp-btn { padding: 16px 56px; font-size: 13px; margin-top: 0; }
.rsvp-photo { grid-column: 2; grid-row: 1 / 3; justify-self: end; align-self: start; width: 100%; max-width: 340px; }
.rsvp-photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
@media (max-width: 700px) {
  .rsvp-split { grid-template-columns: 1fr; grid-template-rows: auto; }
  .rsvp-head, .rsvp-text, .rsvp-photo { grid-column: 1; grid-row: auto; }
  .rsvp-text { align-self: start; }
  .rsvp-photo { justify-self: center; margin-top: 2rem; }
}

.attire + .ev-note { margin-top: 0.9rem; }
.alert-green { background: var(--green-light); border-color: #d4e8b4; color: var(--green-deep); }

/* Home welcome line: single line on wider screens */
@media (min-width: 1000px) {
  .welcome-note { max-width: none; }
  .welcome-note p { white-space: nowrap; font-size: 23px; }
}
.ev-name .attire { margin: 0 0 0 10px; vertical-align: middle; }
.rsvp-note { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 2rem 0 0; }
