@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap");

/* COLORS AND FONTS */
:root {
  --cream: #f5f0e5;
  --ink: #22362a;
  --green: #1d3527;
  --gold: #dfb372;
  --red: #8b392c;
  --line: #bdb9a8;
  --serif: "Libre Caslon Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

/* BASE STYLES */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1rem/1.7 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 6px;
}
.skip {
  position: fixed;
  top: -100px;
  background: white;
  z-index: 100;
  padding: 12px;
}
.skip:focus {
  top: 0;
}

/* HEADER AND NAVIGATION */
.site-header {
  height: 100px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--cream);
}
.brand {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font: 2.2rem/1.1 var(--serif);
  letter-spacing: -0.06em;
}
.brand-dot {
  color: var(--red);
}
.brand-sub {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-top: 8px;
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
}
nav a {
  border-bottom: 1px solid transparent;
}
nav a:hover {
  border-color: var(--ink);
}
nav .nav-plan {
  padding: 9px 20px;
  border: 1px solid var(--ink);
}

/* OPENING VIDEO AND TEXT */
.hero {
  position: relative;
  min-height: 740px;
  height: calc(100svh - 100px);
  max-height: 1000px;
  background: #344734;
  color: white;
  display: flex;
  align-items: center;
}
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 21, 13, 0.76), rgba(8, 21, 13, 0.15)),
    linear-gradient(0deg, rgba(8, 21, 13, 0.5), transparent 35%);
}
.hero-content {
  position: relative;
  padding: 50px 8%;
  max-width: 1100px;
}
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  margin: 0 0 28px;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font: clamp(4rem, 6.8vw, 7.8rem)/0.98 var(--serif);
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
em {
  font-weight: 400;
  color: var(--red);
}
.hero em,
.banner em,
.closing em {
  color: var(--gold);
}

.hero-description {
  font-size: 1.9rem;
  line-height: 1.8;
  margin-bottom: 35px;
  color: #f3f0e7;
}

.button {
  display: inline-flex;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid currentColor;
  transition:
    background 0.2s,
    color 0.2s;
}

.button.light {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.button.light:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero-bottom {
  position: absolute;
  bottom: 26px;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.hero-bottom span:last-child {
  font: 1.2rem var(--serif);
  letter-spacing: 0;
}

/* FESTIVAL HIGHLIGHTS */
.ribbon {
  background: var(--red);
  color: var(--cream);
  display: flex;
  justify-content: space-around;
  gap: 25px;
  padding: 20px 4%;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}
.section-pad {
  padding: 110px 8%;
}
h2 {
  font: clamp(3.2rem, 4.6vw, 5.8rem)/1.04 var(--serif);
  letter-spacing: -0.025em;
  margin-bottom: 30px;
}
.intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0 80px;
}
.intro .eyebrow {
  grid-column: 1/-1;
}
.intro-copy {
  max-width: 510px;
  padding-top: 8px;
}
.intro-copy p:last-child {
  margin-bottom: 0;
}

/* ADDITIONAL STORY SECTIONS */
.story {
  position: relative;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.story-media {
  position: relative;
  overflow: hidden;
  background: var(--green);
}
.story-media img,
.story-media video {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.split .story-copy {
  padding: 100px 16%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-copy > p:not(.eyebrow) {
  max-width: 500px;
}
.story-note {
  display: block;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}
.reverse .story-media {
  order: 2;
}
.reverse .story-copy {
  order: 1;
  background: #e6e7da;
}
.banner {
  min-height: 660px;
  color: var(--cream);
  display: flex;
  align-items: center;
}
.banner .story-media {
  position: absolute;
  inset: 0;
}
.banner .story-media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(16, 31, 22, 0.92),
    rgba(16, 31, 22, 0.35)
  );
}
.banner .story-copy {
  position: relative;
  padding: 100px 8%;
  max-width: 820px;
}
.banner .story-note {
  border-color: #8a9584;
}
.banner .story-media img {
  object-position: center 70%;
}

/* SECTION HEADINGS AND PHOTO GALLERY */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  max-width: 380px;
  margin-bottom: 0;
}
.gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 22px;
  align-items: start;
}
.gallery-photo {
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}
.gallery-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: filter 0.2s;
}
.gallery-photo:hover img {
  filter: brightness(0.87);
}
.gallery-photo span {
  display: block;
  font: 1.45rem var(--serif);
  padding-top: 16px;
}
.photo-1 {
  padding-top: 60px;
}
.photo-1 img {
  height: 340px;
}
.photo-2 {
  padding-top: 25px;
}
.photo-note {
  font-size: 0.8rem;
  color: #687165;
  margin: 35px 0 0;
}

/* TOM MEMORIAL */
.memorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  background: #e6e7da;
  align-items: center;
}
.memorial figure {
  margin: 0;
}
.memorial img {
  display: block;
  width: 100%;
  max-height: 610px;
  object-fit: cover;
}
.memorial figcaption {
  font-size: 0.82rem;
  margin-top: 16px;
  line-height: 1.6;
}
.memorial-dates {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 32px;
}

/* PLANNING AND FREQUENT QUESTIONS */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin: 55px 0 65px;
}
.plan-grid article {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.number {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--red);
}
h3 {
  font: 2rem/1.2 var(--serif);
  margin: 25px 0 20px;
}
.plan-grid p {
  font-size: 0.95rem;
}
.faq {
  max-width: 900px;
  margin: 0 auto;
}
details {
  border-top: 1px solid var(--line);
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 23px 35px 23px 0;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 0;
  font-size: 1.4rem;
  top: 17px;
}
details[open] summary:after {
  content: "−";
}
details > p {
  max-width: 750px;
  margin: 0 0 25px;
}

/* CLOSING INVITATION */
.closing {
  background: var(--green);
  color: var(--cream);
  text-align: center;
  padding: 110px 8%;
}
.closing h2 {
  font-size: clamp(3.5rem, 6vw, 7rem);
}
.closing > p:not(.eyebrow) {
  margin-bottom: 30px;
}

/* FOOTER */
footer {
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.82rem;
}
footer strong {
  display: block;
  font: 1.8rem var(--serif);
}
footer span {
  font-size: 0.72rem;
}
footer p {
  margin: 0;
}
footer > a {
  border-bottom: 1px solid var(--line);
}

/* PHOTO VIEWER */
dialog {
  border: 0;
  background: var(--cream);
  color: var(--ink);
  width: min(1000px, 92vw);
  max-height: 92vh;
  padding: 24px;
}
dialog::backdrop {
  background: #112318dd;
}
dialog img {
  display: block;
  max-width: 100%;
  max-height: 70vh;
  margin: auto;
  object-fit: contain;
}
dialog p {
  margin: 14px 0 0;
}
.close-photo {
  display: block;
  margin: 0 0 20px auto;
  padding: 5px 15px;
  background: none;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.video-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  background: var(--cream);
  border: 0;
  padding: 8px 16px;
  color: var(--ink);
}

/* RESPONSIVE LAYOUTS */
@media (min-width: 1500px) {
  .story-copy h2 {
    font-size: 5.5rem;
  }
}
@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 95px;
    flex-wrap: wrap;
    padding: 20px 5%;
    gap: 20px;
  }
  nav {
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero {
    height: 78svh;
    min-height: 620px;
  }
  .hero-bottom {
    font-size: 0.62rem;
  }
  .section-pad {
    padding: 75px 6%;
  }
  .intro {
    gap: 0 40px;
  }
  .split .story-copy {
    padding: 70px 10%;
  }
  .split {
    min-height: 600px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 15px;
  }
  .gallery-photo img {
    height: 300px;
  }
  .photo-1 img {
    height: 260px;
  }
  .memorial {
    gap: 7%;
  }
  .plan-grid {
    gap: 25px;
  }
  .ribbon {
    flex-wrap: wrap;
    justify-content: center;
  }
  .ribbon span {
    font-size: 0.65rem;
  }
  footer {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .brand-name {
    font-size: 2rem;
  }
  .brand-sub {
    font-size: 0.58rem;
  }
  nav {
    gap: 16px;
    font-size: 0.8rem;
    width: 100%;
    justify-content: space-between;
  }
  nav .nav-plan {
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--ink);
  }
  .hero {
    min-height: 650px;
    height: 80svh;
  }
  .hero-content {
    padding: 65px 6%;
  }
  h1 {
    font-size: 3.75rem;
  }
  .hero-description br {
    display: none;
  }
  .hero-bottom {
    left: 6%;
    right: 6%;
    flex-direction: column;
    gap: 8px;
  }
  .hero-bottom span:last-child {
    font-size: 1.1rem;
  }
  .eyebrow {
    font-size: 0.67rem;
    letter-spacing: 0.13em;
  }
  .ribbon {
    gap: 12px 22px;
    padding: 18px 5%;
  }
  .ribbon span {
    font-size: 0.6rem;
  }
  .intro {
    display: block;
  }
  .intro-copy {
    padding-top: 10px;
  }
  h2 {
    font-size: 3.4rem;
  }
  .section-pad {
    padding: 65px 6%;
  }
  .split {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .story-media {
    height: 400px;
    flex-shrink: 0;
  }
  .split .story-copy {
    padding: 65px 6%;
  }
  .reverse .story-media {
    order: 0;
  }
  .reverse .story-copy {
    order: 1;
  }
  .banner {
    min-height: 630px;
  }
  .banner .story-media {
    height: 100%;
  }
  .banner .story-copy {
    padding: 65px 6%;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .gallery-photo,
  .photo-1,
  .photo-2 {
    padding: 0;
  }
  .gallery-photo img,
  .photo-1 img {
    height: 390px;
  }
  .gallery-photo span {
    font-size: 1.5rem;
  }
  .memorial {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .plan-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px 0;
  }
  .plan-grid h3 {
    margin-top: 15px;
  }
  .plan-grid p {
    margin-bottom: 0;
  }
  .closing {
    padding: 80px 6%;
  }
  .closing h2 {
    font-size: 3.7rem;
  }
  footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #102118b3, #10211855),
      linear-gradient(0deg, #102118aa, transparent 50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* MAKING CIDER: spacing between the two rows */
.cider-section {
  display: grid;
  gap: 90px;
}

/* Each row has two equally sized columns */
.cider-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 60px;
}

/* Photo size and cropping */
.cider-row img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 6px;
}

/* Put the second row's photo on the right */
.cider-row-reverse img {
  grid-column: 2;
  grid-row: 1;
}

.cider-row-reverse .cider-text {
  grid-column: 1;
  grid-row: 1;
}

/* Space between the heading and paragraph */
.cider-text h2 {
  margin-bottom: 24px;
}

.cider-text > p:not(.eyebrow) {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* On phones, each photo sits above its text */
@media (max-width: 700px) {
  .cider-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cider-row-reverse img,
  .cider-row-reverse .cider-text {
    grid-column: auto;
    grid-row: auto;
  }

  .cider-row img {
    height: 300px;
  }

  .cider-section {
    gap: 60px;
  }
}

/* HOMEPAGE REBUILD: section layouts below the unchanged hero */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.menu-toggle {
  display: none;
}
.header-actions .nav-plan,
.menu-toggle {
  padding: 9px 18px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  cursor: pointer;
}
.site-header {
  gap: 18px;
}
.site-header .brand {
  flex-shrink: 0;
}
.site-header #main-navigation {
  gap: 12px;
  font-size: 0.78rem;
}
.site-header #main-navigation .nav-plan {
  padding: 8px 10px;
}
.site-header .header-actions {
  order: 3;
}
.site-search {
  display: flex;
  gap: 6px;
  max-width: 230px;
}
.site-search input {
  min-width: 0;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  background: #fffaf1;
  font: inherit;
}
.site-search button {
  border: 1px solid var(--ink);
  padding: 8px;
  background: var(--green);
  color: var(--cream);
  cursor: pointer;
}
.ribbon {
  min-height: 64px;
  margin: 0;
  align-items: center;
}
.ribbon a {
  border: 0;
  text-align: center;
}
.ribbon a:hover {
  text-decoration: underline;
}
.section-banner {
  margin: 0;
  padding: 18px 4%;
  min-height: 64px;
  background: var(--red);
  color: var(--cream);
  text-align: center;
  font: 400 1.65rem/1.1 var(--sans);
  letter-spacing: 0;
}
.provided-note {
  margin: 0;
  font-size: 0.92rem;
  color: var(--green);
  border-left: 3px solid var(--red);
  padding-left: 18px;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px 12%;
}
.band-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 4px;
}
.band-card h3 {
  font: 500 1.6rem/1.25 var(--sans);
  margin: 20px 0 12px;
}
.band-card p {
  margin: 0 0 8px;
}
.activity-title {
  font: 400 clamp(2rem, 3vw, 3.2rem)/1.2 var(--sans);
  margin: 0 0 18px;
}
.cost-note {
  font-size: 0.85rem !important;
  color: var(--red);
}
.shenanigans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 50px 8%;
}
.extra-card {
  margin: 0;
}
.extra-wide {
  grid-column: 1/-1;
}
.extra-images {
  display: grid;
  gap: 35px;
}
.extra-wide .extra-images {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.extra-images img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 4px;
}
.extra-card figcaption {
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
  margin-top: 18px;
}
.camp-intro {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 45px;
  align-items: center;
}
.camp-intro h2 {
  font-size: clamp(3rem, 4vw, 5rem);
  margin-bottom: 0;
}
.camp-intro img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}
.footer-base {
  background: linear-gradient(180deg, #e6e7da 0%, var(--cream) 160px);
}
.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}
.footer-columns h2 {
  font-size: clamp(3rem, 4vw, 5rem);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}
.footer-links li {
  margin: 12px 0;
}
.footer-links a,
.search-results a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-form {
  padding: 32px;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.contact-form h3 {
  margin-top: 0;
}
.contact-form > label {
  display: block;
  margin: 18px 0 7px;
}
.contact-form > input {
  width: 100%;
  padding: 12px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
}
.contact-form label span {
  font-size: 0.8rem;
}
.contact-form .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}
.consent-label input {
  margin-top: 7px;
}
.contact-form button {
  background: var(--green);
  color: var(--cream);
  margin-top: 10px;
  cursor: pointer;
}
.form-note {
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 15px 0 0;
}
#photo-gallery {
  margin-top: 45px;
}
#photo-gallery .gallery {
  padding-bottom: 30px;
}
.search-results {
  padding: 30px 8%;
  background: #e6e7da;
}
.search-results h3 {
  margin-top: 0;
}
.clear-search {
  padding: 7px 15px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}
input:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* PHONE AND TABLET MENU: one Menu button and one RSVP button */
@media (max-width: 1200px) {
  .site-header {
    position: relative;
    height: auto;
    min-height: 100px;
    flex-wrap: wrap;
    padding: 20px 5%;
  }
  .site-header .header-actions {
    order: 0;
    margin-left: auto;
  }
  .menu-toggle {
    display: inline-block;
  }
  .site-header #main-navigation {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .site-header #main-navigation.is-open {
    display: flex;
  }
  .site-header #main-navigation .nav-plan {
    padding: 12px;
    border: 1px solid var(--line);
  }
  .site-search {
    max-width: none;
  }
  .site-search input {
    padding: 12px;
  }
}
@media (max-width: 700px) {
  .band-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .camp-intro,
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .shenanigans-grid {
    gap: 35px 20px;
  }
  .extra-images img {
    height: 250px;
  }
  .extra-wide .extra-images {
    gap: 15px;
  }
  .extra-card figcaption {
    font-size: 0.95rem;
  }
  .section-banner {
    font-size: 1.3rem;
    padding: 18px 5%;
  }
  .contact-form {
    padding: 24px;
  }
}
@media (max-width: 440px) {
  .site-header .brand-name {
    font-size: 1.8rem;
  }
  .header-actions .nav-plan,
  .menu-toggle {
    padding: 8px 10px;
    font-size: 0.78rem;
  }
  .site-header {
    gap: 12px;
  }
  .extra-images img {
    height: 210px;
  }
}

/* HEADER REFINEMENTS: square placeholder and left-aligned desktop links */
.site-header {
  justify-content: flex-start;
}
.site-header .brand {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.brand-image {
  display: block;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.site-header #main-navigation {
  justify-content: flex-start;
}
.site-header .header-actions {
  display: none;
}

/* RUSTIC TYPE: use the original serif and warm accent palette */
.section-banner {
  font-family: var(--serif);
  font-size: 2.2rem;
  letter-spacing: 0.015em;
}
.band-card h3 {
  font: 2.4rem/1.15 var(--serif);
  color: var(--ink);
}
.band-card p {
  color: var(--ink);
  line-height: 1.75;
}
.band-card p:last-child {
  color: var(--red);
  font-size: 0.9rem;
}
.activity-title {
  font-family: var(--serif);
  color: var(--ink);
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  letter-spacing: -0.02em;
}
.extra-card figcaption {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--ink);
}
.provided-note,
.cost-note {
  font-size: 0.95rem;
  letter-spacing: 0.025em;
}

/* CONSISTENT OFF-WHITE CONTENT SURFACES; retain the red section ribbons */
.memorial,
.footer-base,
.contact-form,
.search-results {
  background: var(--cream);
}
.site-search input,
.contact-form > input {
  background: var(--cream);
}

/* Clear breathing room and a double-rule divider after Tom's memorial */
.footer-base {
  position: relative;
  border-top: 4px double var(--line);
  margin-top: 45px;
  padding-top: 85px;
}
.contact-form {
  border-color: var(--line);
}
.footer-links a:hover {
  color: var(--red);
}

/* Keep one Menu and one RSVP on phones and smaller screens */
@media (max-width: 1200px) {
  .site-header .header-actions {
    display: flex;
    margin-left: 0;
  }
  .site-header #main-navigation .desktop-rsvp {
    display: none;
  }
}
@media (max-width: 700px) {
  .section-banner {
    font-size: 1.8rem;
  }
  .extra-card figcaption {
    font-size: 1.4rem;
  }
  .footer-base {
    margin-top: 30px;
    padding-top: 60px;
  }
}
@media (max-width: 440px) {
  .brand-image {
    width: 42px;
    height: 42px;
  }
  .site-header .brand {
    gap: 10px;
  }
}

/* FINAL POLISH: right-aligned navigation and a tighter editorial rhythm */
@media (min-width: 1201px) {
  .site-header #main-navigation {
    margin-left: auto;
    justify-content: flex-end;
  }
}
.section-pad {
  padding-top: 72px;
  padding-bottom: 72px;
}
.cider-section {
  gap: 52px;
}
.cider-row {
  gap: 42px;
}
.cider-text .eyebrow {
  color: var(--red);
  margin-bottom: 18px;
  font-weight: 700;
}
.cider-text h2 {
  font-size: clamp(3rem, 4.2vw, 5.1rem);
  line-height: 1.06;
  margin-bottom: 20px;
}
.cider-text > p:not(.eyebrow) {
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 0;
}
.section-banner {
  font-size: 2.55rem;
  padding: 14px 4%;
  background: linear-gradient(110deg, #76372b, #984b36, #76372b);
  border-top: 1px solid #b77950;
  border-bottom: 1px solid #b77950;
}
.ribbon {
  background: var(--red);
}
.band-grid {
  gap: 42px 8%;
}
.band-card {
  padding-bottom: 20px;
  border-bottom: 1px solid #c8ae87;
}
.band-card h3 {
  color: var(--red);
  font-size: 2.7rem;
  margin: 16px 0 10px;
}
.band-card p {
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.band-card p:nth-of-type(2) {
  color: #756344;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.activity-title {
  color: var(--red);
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.08;
}
.cost-note {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border: 1px solid #c8ae87;
  border-radius: 2px;
  color: #756344;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.extra-card figcaption {
  font-size: 2rem;
  line-height: 1.15;
  margin-top: 16px;
}
.shenanigans-grid {
  gap: 36px 6%;
}
.camp-intro {
  gap: 32px;
}
.plan-grid {
  margin: 36px 0 40px;
}
.plan-grid h3 {
  color: var(--red);
  margin: 16px 0 12px;
}
.plan-grid article {
  border-top-color: #bda17c;
}
.memorial .eyebrow {
  color: var(--red);
  margin-bottom: 20px;
}
.memorial h2 {
  margin-bottom: 22px;
}
.memorial-dates {
  color: #756344;
}
.footer-base {
  margin-top: 28px;
  padding-top: 58px;
  border-top-color: #bda17c;
}
.contact-form {
  border-top: 4px solid var(--red);
  box-shadow: 0 8px 24px #533c2310;
}
.contact-form h3 {
  color: var(--red);
  font-size: 2.6rem;
  margin-bottom: 14px;
}
.footer-links a {
  text-decoration-color: #bda17c;
}
@media (max-width: 700px) {
  .section-pad {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .cider-section {
    gap: 36px;
  }
  .cider-row {
    gap: 22px;
  }
  .cider-text h2 {
    font-size: 3rem;
  }
  .section-banner {
    font-size: 2rem;
  }
  .band-grid {
    gap: 30px;
  }
  .extra-card figcaption {
    font-size: 1.45rem;
  }
  .footer-base {
    padding-top: 44px;
  }
}

/* LARGE HEADER IMAGE: nearly fills the header height */
.brand-image {
  width: 84px;
  height: 84px;
}
.site-header {
  min-height: 100px;
}
@media (max-width: 1200px) {
  .site-header {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
@media (max-width: 440px) {
  .brand-image {
    width: 68px;
    height: 68px;
  }
}

/* FIRST SCREEN: header + video + activity ribbon fit the viewport.
   app.js measures the actual header/ribbon heights, including wrapping. */
.hero {
  height: calc(
    100svh - var(--header-height, 100px) - var(--ribbon-height, 64px)
  );
  min-height: 0;
  max-height: none;
}
.hero-content {
  padding-top: 24px;
  padding-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 6.6rem);
  margin-bottom: 20px;
}
.hero .eyebrow {
  margin-bottom: 18px;
}
.hero-description {
  line-height: 1.4;
  margin-bottom: 24px;
}
@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(2.3rem, 8.5vw, 3.5rem);
  }
  .hero-description {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }
}
@media (max-height: 600px) {
  .hero h1 {
    font-size: clamp(1.8rem, 4.5vh, 3rem);
    margin-bottom: 10px;
  }
  .hero .eyebrow {
    margin-bottom: 8px;
  }
  .hero-description {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .hero-content {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* SEARCH RESULTS: dropdown anchored to the search field */
.site-search {
  position: relative;
}
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, 85vw);
  max-height: 55svh;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 30px #183d2a26;
  z-index: 100;
  background: var(--cream);
  color: var(--ink);
}
.search-results[hidden] {
  display: none;
}
.search-results h3 {
  font: 1.5rem/1.2 var(--serif);
  margin: 0 0 14px;
}
.search-results ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}
.search-results li + li {
  border-top: 1px solid var(--line);
}
.search-results a {
  display: block;
  padding: 10px 0;
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .search-results {
    left: 0;
    right: auto;
    width: 100%;
  }
}

/* WHAT TO BRING: five readable cards and a closing note */
.bring-section {
  margin-top: 42px;
}
.bring-heading {
  font-size: 3rem;
  margin: 0 0 20px;
}
.bring-intro {
  max-width: 75ch;
}
.bring-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}
.bring-grid article:last-child {
  grid-column: 1 / -1;
}
.bring-closing {
  font: 1.65rem/1.5 var(--serif);
  color: var(--red);
  max-width: 65ch;
}
@media (max-width: 700px) {
  .bring-grid {
    grid-template-columns: 1fr;
  }
  .bring-heading {
    font-size: 2.6rem;
  }
}

/* HEADER: keeps the logo, date, navigation and search visible while scrolling. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px #22362a12;
}
.brand-time {
  margin-top: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ACTIVITY BAR: directly below the header and sticky from first load. */
.ribbon {
  position: sticky;
  top: var(--header-height, 100px);
  z-index: 30;
  box-shadow: 0 3px 12px #22362a18;
}
/* Keep linked headings visible beneath the sticky activity bar. */
html {
  scroll-padding-top: calc(var(--header-height, 100px) + var(--ribbon-height, 80px) + 16px);
}

/* PAST GALLERIES: expandable year list inside the gallery dropdown. */
.past-galleries { padding: 12px 0; }
.past-gallery { border-bottom: 1px solid var(--line); }
.past-gallery > summary { padding: 16px; cursor: pointer; font-family: var(--serif); font-size: 1.5rem; }
.past-gallery .gallery { padding: 12px 16px 20px; }
.gallery-empty { grid-column: 1 / -1; margin: 0; }
.past-gallery video { width: 100%; display: block; }
.past-gallery figure { margin: 0; }

/* ANDY CONTACT POPUP */
#andy-dialog {
  width: min(420px, calc(100vw - 32px));
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: var(--cream);
  color: var(--ink);
}
#andy-dialog::backdrop { background: #18291fd0; }
#andy-dialog h2 { font: 2.3rem/1.15 var(--serif); margin: 26px 0 20px; }
#andy-dialog p { margin: 16px 0; }
#andy-dialog p a { text-decoration: underline; overflow-wrap: anywhere; }
.andy-close { display: block; margin-left: auto; padding: 8px 12px; cursor: pointer; background: transparent; color: inherit; border: 1px solid var(--line); }

/* PARTIFUL RSVP: prominent link above the contact-list fields. */
.partiful-rsvp {
  display: block;
  padding: 14px 20px;
  margin-bottom: 24px;
  background: var(--green, #203d2b);
  color: var(--cream);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--green, #203d2b);
  text-decoration: none;
}
.partiful-rsvp:hover { filter: brightness(1.15); }
.partiful-rsvp:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

/* TOM'S TRIBUTE: readable title and paragraphs alongside his photograph. */
.memorial-tribute-title {
  font: 1.65rem/1.35 var(--serif);
  margin: 24px 0 20px;
  color: inherit;
}
.memorial > div > p:not(.eyebrow):not(.memorial-dates) {
  line-height: 1.75;
  margin-bottom: 18px;
}

/* DIRECTIONS & PARKING: bordered map and address panels. */
.directions-panel { margin-top: 28px; border: 1px solid var(--line); background: var(--cream); }
.directions-panel > summary { padding: 20px 24px; cursor: pointer; font: 1.8rem/1.2 var(--serif); }
.directions-panel[open] > summary { border-bottom: 1px solid var(--line); }
.directions-layout { display: grid; grid-template-columns: 1.4fr 1fr; }
.parking-map { margin: 0; padding: 24px; border-right: 1px solid var(--line); }
.parking-map img { width: 100%; height: auto; display: block; }
.parking-map figcaption { margin-top: 12px; font-size: 0.9rem; }
.directions-info { padding: 32px 24px; align-self: center; }
.directions-info h3 { font: 2.4rem/1.15 var(--serif); margin: 16px 0; }
.map-buttons { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.map-buttons .button { text-align: center; }
.parking-help { padding-top: 20px; border-top: 1px solid var(--line); }
.parking-help a { text-decoration: underline; }
@media (max-width: 700px) {
  .directions-layout { grid-template-columns: 1fr; }
  .parking-map { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; }
  .directions-info { padding: 24px 16px; }
}

/* DIRECTIONS SECTION: matching full-width banner and bordered content. */
.directions-section > .directions-panel {
  margin: 24px auto 40px;
  width: 90%;
  max-width: 1200px;
  box-sizing: border-box;
}

/* HEADER BUTTON COLORS: RSVP and the mobile Menu match Search. */
.site-header .rsvp-link,
.site-header .applegram-link,
.site-header .menu-toggle {
  background: var(--green);
  color: var(--cream);
  border: 1px solid var(--ink);
}

/* GALLERY COLLAGE: touching photos arranged in rows with their own proportions. */
#photo-gallery { margin-top: 28px; }
#photo-gallery .past-galleries { padding: 0; }
#photo-gallery .collage { display: flex; flex-wrap: wrap; gap: 0; padding: 0; align-items: start; }
#photo-gallery .collage-item { flex: none; box-sizing: border-box; overflow: hidden; margin: 0; padding: 0; border: 0; }
#photo-gallery .collage-item img,
#photo-gallery .collage-item video { width: 100%; height: 100%; object-fit: contain; display: block; }
#photo-gallery .gallery-empty { padding: 20px 16px; }
.gallery-upload { padding: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-upload p { margin: 12px 0; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.photo-previews img { width: 100px; height: 100px; object-fit: cover; }
.gallery-upload [hidden] { display: none; }
.gallery-upload button:disabled { opacity: 0.6; cursor: wait; }

/* SIXTH-YEAR PHOTO PICKER: beside the title; wraps neatly on small screens. */
#photo-gallery .gallery-heading { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#photo-gallery .gallery-heading > span { flex: 1; min-width: 180px; }
#photo-gallery .choose-photos { font: 600 0.9rem/1.4 var(--sans, sans-serif); padding: 10px 16px; letter-spacing: 0; }
@media (max-width: 600px) {
  #photo-gallery .choose-photos { width: 100%; }
}

/* PHOTO BUTTON: aligned to the right of the sixth-year title. */
#photo-gallery .gallery-heading > span { flex: 1; }
#photo-gallery .choose-photos { background: var(--green); color: #fff; border: 1px solid var(--green); }
#photo-gallery .choose-photos:hover { filter: brightness(1.15); }
/* MEMORIAL SERVICE POPUP: compact, readable and scrollable on phones. */

.hero-memorial-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 12px; }
.hero-memorial-actions button { font: inherit; cursor: pointer; }
#memorial-info { width: min(460px, calc(100vw - 32px)); box-sizing: border-box; max-height: 85svh; overflow-y: auto; padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--cream); color: var(--ink); }
#memorial-info::backdrop { background: #18291fc9; }
.memorial-info-close { display: block; margin-left: auto; padding: 6px 10px; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
#memorial-info h2 { font: 2.3rem/1.1 var(--serif); margin: 10px 0 16px; }
#memorial-info h3 { font: 1.4rem/1.2 var(--serif); margin: 20px 0 10px; }
#memorial-info p { font-size: 0.95rem; line-height: 1.55; margin: 12px 0; }
#memorial-info .memorial-service-time { font-weight: 700; color: var(--green); padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.memorial-itinerary { margin: 0; padding-left: 24px; font-size: 0.9rem; }
.memorial-itinerary li { padding: 7px 0; border-bottom: 1px solid var(--line); }

/* Distinct packing section and clearly tappable auburn menu buttons. */
.bring-section { margin-top: 0; }
.bring-banner { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.ribbon { flex-wrap: wrap; gap: 8px; padding: 10px 4%; }
.ribbon a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #f3e5cd99;
  border-radius: 6px;
  background: transparent;
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  text-decoration: none;
  box-shadow: none;
}
.ribbon a:hover { background: transparent; border-color: var(--cream); text-decoration: none; }
.ribbon a:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; }
.memorial-itinerary-button { background: var(--green); color: var(--cream); font: inherit; cursor: pointer; margin-top: 18px; }
@media (max-width: 700px) {
  .ribbon { gap: 8px; padding: 10px 3%; }
  .ribbon a { font-size: 0.84rem; padding: 8px 10px; }
}

/* AppleGram entrance above the yearly photo galleries. */
.applegram-gallery-link { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 28px 0 18px; border-top: 1px solid var(--line); }
.applegram-gallery-link .button { background: var(--green); color: var(--cream); }
.applegram-gallery-link p { margin: 0; }


/* External annual albums sit on the right of their gallery headings. */
#photo-gallery .gallery-album-link { margin-left: auto; flex: 0 0 auto; background: var(--green); color: var(--cream); font: 600 0.9rem/1.4 var(--sans); padding: 10px 16px; white-space: nowrap; }
#photo-gallery .gallery-album-link:disabled { opacity: 0.55; cursor: default; }
@media (max-width: 600px) {
  #photo-gallery .gallery-heading { gap: 10px; }
  #photo-gallery .gallery-heading > span { min-width: 140px; }
  #photo-gallery .gallery-album-link { width: auto; }
}

/* Prominent disclosure arrows for the six annual galleries. */
#photo-gallery summary.gallery-heading { list-style: none; cursor: pointer; }
#photo-gallery summary.gallery-heading::-webkit-details-marker { display: none; }
#photo-gallery .gallery-title { display: inline-flex; align-items: center; gap: 18px; }
#photo-gallery .gallery-chevron { display: inline-block; flex: 0 0 auto; width: 14px; height: 14px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: translateY(-4px) rotate(45deg); }
#photo-gallery details[open] > summary .gallery-chevron { transform: translateY(4px) rotate(225deg); }

.tom-toast-note { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 24px 0; }

/* After the four live bands: orchard silent disco announcement. */
.silent-disco-announcement { margin: 0 8% 70px; display: grid; grid-template-columns: 1.15fr 1fr; background: var(--green, #1d3527); color: var(--cream); border-radius: 4px; overflow: hidden; }
.silent-disco-announcement > img { display: block; width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.silent-disco-copy { padding: clamp(28px, 4vw, 60px); align-self: center; }
.silent-disco-copy .eyebrow { margin-bottom: 18px; color: var(--gold); }
.silent-disco-copy h3 { font: 400 clamp(2rem, 3.5vw, 4rem)/1.1 var(--serif); margin-bottom: 20px; }
.silent-disco-copy h3 em { color: var(--gold); }
.silent-disco-copy p:last-child { margin-bottom: 0; }
.silent-disco-time { font-size: 1.4rem; font-weight: 700; color: var(--gold); }
@media (max-width: 700px) { .silent-disco-announcement { grid-template-columns: 1fr; margin: 0 6% 50px; } .silent-disco-announcement > img { min-height: 0; height: auto; } }

/* Keep the tops of band photos visible on widescreen displays. */
@media (min-width: 1201px) {
  #bands .band-card img { object-position: center top; }
}

@media (min-width: 1201px) {
  #bands .band-card:nth-child(1) img { padding-top: 24px; box-sizing: border-box; object-fit: contain; object-position: center bottom; }
  #bands .band-card:nth-child(4) img { object-position: center 25%; }
}

/* Match the head-friendly band framing on phones and tablets. */
@media (max-width: 1200px) {
  #bands .band-card img { object-position: center top; }
  #bands .band-card:nth-child(1) img { padding-top: 16px; box-sizing: border-box; object-fit: contain; object-position: center bottom; }
  #bands .band-card:nth-child(4) img { object-position: center 25%; }
}
