:root {
  --navy: #071c2d;
  --navy-2: #0c2940;
  --ink: #122331;
  --cream: #f4eedf;
  --paper: #faf7ef;
  --gold: #d9ad56;
  --gold-light: #f0cf87;
  --red: #a9342d;
  --white: #fffdf8;
  --rule: rgba(217, 173, 86, .42);
  --serif-display: "Limelight", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); padding: .7rem 1rem; color: #fff; background: var(--red); }
.skip-link:focus { transform: none; }
.section { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: absolute; z-index: 10; top: 0; left: 50%; width: min(1280px, calc(100% - 48px)); transform: translateX(-50%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding: 24px 0; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.25); }
.brand { display: inline-flex; align-items: center; gap: .65rem; width: fit-content; color: inherit; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; line-height: 1; }
.brand-mark { display: grid; place-items: center; width: 40px; aspect-ratio: 1; color: var(--navy); background: var(--gold); border-radius: 50%; font-size: 1.5rem; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--serif-display); font-size: 1.05rem; font-weight: 400; }
.brand small { margin-top: .18rem; color: var(--gold-light); font-size: .63rem; letter-spacing: .22em; }
nav { display: flex; gap: 2rem; font-size: .9rem; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.25rem; color: var(--navy); background: var(--gold); border: 2px solid var(--gold); text-decoration: none; text-transform: uppercase; letter-spacing: .08em; font-size: .86rem; font-weight: 700; box-shadow: 5px 5px 0 rgba(7,28,45,.55); transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover, .button:focus-visible { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 rgba(7,28,45,.55); background: var(--gold-light); }
.button-small { padding: .65rem 1rem; font-size: .78rem; box-shadow: none; }
.button-small:hover { box-shadow: none; }
.button-dark { margin-top: 1rem; color: var(--cream); background: var(--navy); border-color: var(--navy); box-shadow: 5px 5px 0 var(--red); }

.hero { position: relative; min-height: 790px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--navy); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,17,29,.97) 0%, rgba(4,17,29,.82) 41%, rgba(4,17,29,.24) 72%, rgba(4,17,29,.66) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: repeating-linear-gradient(135deg, transparent 0 22px, var(--gold) 23px 24px); mask-image: linear-gradient(90deg,#000,transparent 27%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(1280px, calc(100% - 48px)); margin: 80px auto 0; }
.eyebrow { margin: 0 0 .7rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: .22em; font-weight: 700; font-size: .76rem; }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 2px; margin: 0 .7rem .25em 0; background: currentColor; }
.eyebrow.dark { color: var(--red); }
.eyebrow.gold { color: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 0 0 1.35rem; font-family: var(--serif-display); font-size: clamp(4rem, 8vw, 7.8rem); font-weight: 400; line-height: .82; letter-spacing: -.025em; text-transform: uppercase; text-shadow: 0 3px 30px rgba(0,0,0,.35); }
h1 span { display: block; margin: 0 0 .3em .08em; font-family: var(--sans); font-size: .15em; letter-spacing: .32em; font-weight: 700; }
.hero h1, .hero h1 span, .site-header .brand strong, .site-header .brand small { color: #fff; }
.hero-lede { max-width: 590px; margin-bottom: 1.75rem; color: #e9e2d3; font-size: 1.16rem; line-height: 1.55; }
.costume-note { max-width: 590px; margin-bottom: 1.75rem; padding-left: 1rem; border-left: 3px solid var(--gold); color: var(--cream); font-size: 1rem; }
.costume-note strong { color: var(--gold-light); }
.event-day { margin: 0; font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.text-link { color: var(--white); font-size: .92rem; font-weight: 600; text-decoration-color: var(--gold); }
.event-card { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1280px)/2)); bottom: 0; width: 330px; padding: 28px 30px 24px; color: var(--navy); background: var(--cream); border-top: 5px solid var(--gold); box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.event-card-label, .next-label { margin-bottom: .15rem; color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; font-weight: 700; }
.event-date { margin: 0 0 .8rem; font-weight: 700; letter-spacing: .08em; }
.event-date span { margin-right: .25rem; font-family: var(--serif-display); font-size: 3.3rem; font-weight: 400; letter-spacing: 0; }
.event-card dl { margin: 0; border-top: 1px solid rgba(7,28,45,.18); }
.event-card dl div { display: grid; grid-template-columns: 70px 1fr; padding: .5rem 0; border-bottom: 1px solid rgba(7,28,45,.14); }
.event-card dt { color: #60717b; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.event-card dd { margin: 0; font-size: .86rem; font-weight: 700; }
.ticket-price { margin: .75rem 0 0; text-align: right; font-weight: 700; }
.save-date { padding: 17px 24px; color: var(--cream); background: var(--red); text-align: center; }
.save-date p { margin: 0; }
.save-date span { margin-right: 1rem; opacity: .8; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; }

.story { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; padding-block: 120px; }
h2 { margin-bottom: 1.3rem; font-family: var(--serif-display); color: var(--navy); font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 400; line-height: 1.02; text-transform: uppercase; }
.intro { font-size: 1.2rem; font-weight: 600; line-height: 1.55; }
.story-links { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.6rem; font-size: .9rem; font-weight: 700; }
.story-images { position: relative; min-height: 630px; }
.story-images figure { margin: 0; }
.story-images img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) contrast(1.04); }
.story-images figcaption { padding: .6rem .8rem; color: var(--cream); background: var(--navy); text-transform: uppercase; letter-spacing: .1em; font-size: .67rem; }
.portrait-card { position: absolute; z-index: 2; top: 0; left: 0; width: 68%; height: 470px; transform: rotate(-2deg); box-shadow: 18px 18px 0 var(--gold); }
.flags-card { position: absolute; right: 0; bottom: 0; width: 60%; height: 315px; transform: rotate(2deg); box-shadow: -12px -12px 0 var(--red); }

.evening { padding: 110px 0 120px; color: var(--cream); background: var(--navy); }
.evening h2, .visit h2 { color: var(--cream); }
.evening-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5rem; align-items: end; }
.evening-intro { max-width: 520px; color: #c8d0d3; font-size: 1.1rem; }
.evening-intro strong { color: var(--gold-light); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 50px; background: var(--rule); border: 1px solid var(--rule); }
.feature-grid article { padding: 34px; background: var(--navy); }
.feature-grid .number { color: var(--gold); font-family: var(--serif-display); font-size: 1.5rem; }
.feature-grid h3 { margin: 2.8rem 0 .7rem; color: var(--white); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .08em; }
.feature-grid p { margin: 0; color: #bac7ce; font-size: .94rem; }
.feature-grid a { color: var(--gold-light); font-weight: 700; }
.panorama { position: relative; margin-top: 56px; overflow: hidden; }
.panorama img { width: 100%; height: 520px; object-fit: cover; }
.panorama-caption { position: absolute; right: 0; bottom: 0; max-width: 430px; padding: 30px 36px; color: var(--navy); background: var(--gold); }
.panorama-caption p { margin-bottom: .8rem; font-family: var(--serif-display); font-size: 1.6rem; line-height: 1.15; text-transform: uppercase; }
.panorama-caption a { font-weight: 700; }

.purpose { display: grid; grid-template-columns: .35fr 1fr; gap: 6rem; padding-block: 110px; }
.purpose-kicker { padding-top: .8rem; color: var(--red); border-top: 2px solid var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; }
.purpose h2 { max-width: 850px; }
.purpose p { max-width: 700px; font-size: 1.14rem; }
.purpose p a { font-weight: 700; color: var(--red); }

.supporters { padding: 110px 0 120px; background: #e8e0ce; }
.supporters h2 { max-width: 750px; }
.supporters-intro { max-width: 690px; font-size: 1.1rem; }
.thanks-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 45px; }
.thanks-card { display: flex; flex-direction: column; min-height: 325px; padding: 27px; color: var(--ink); background: var(--paper); border-top: 4px solid var(--navy); text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.thanks-card:hover, a.thanks-card:focus-visible { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(7,28,45,.12); }
.thanks-icon { display: grid; place-items: center; width: 45px; height: 45px; color: var(--paper); background: var(--red); border-radius: 50%; }
.thanks-card h3 { margin: 2.2rem 0 .6rem; color: var(--navy); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .04em; }
.thanks-card p { margin-bottom: 1rem; font-size: .9rem; }
.card-link { margin-top: auto; color: var(--red); text-decoration: underline; text-underline-offset: 4px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.visit { display: grid; grid-template-columns: 1fr .85fr; gap: 7rem; padding-block: 105px; color: var(--cream); background: var(--navy); box-shadow: 50vw 0 var(--navy), -50vw 0 var(--navy); }
.visit p { color: #bdc8cd; }
.access-note { max-width: 510px; padding-left: 1rem; border-left: 2px solid var(--gold); font-size: .85rem; }
.visit-action { align-self: center; padding: 32px; color: var(--navy); background: var(--cream); border: 1px solid var(--gold); }
.next-date { color: var(--navy) !important; font-size: 1.15rem; }
.next-date strong { font-family: var(--serif-display); font-size: 2.5rem; font-weight: 400; line-height: 1.2; text-transform: uppercase; }

footer { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; gap: 2rem; padding: 38px max(24px, calc((100vw - 1280px)/2)); color: #9eb0ba; background: #04131f; font-size: .78rem; }
.footer-brand { color: var(--white); }
footer p { margin: 0; text-align: center; }
.footer-links { display: flex; justify-content: end; gap: 1rem; flex-wrap: wrap; }
.footer-contact { text-align: center; font-size: .95rem; color: var(--cream); }
.footer-contact span, .footer-contact a { display: block; overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: 1050px; align-items: flex-start; }
  .hero-content { margin-top: 170px; }
  .event-card { right: 24px; left: 24px; width: auto; }
  .story { grid-template-columns: 1fr; }
  .story-copy { max-width: 720px; }
  .story-images { max-width: 700px; width: 100%; justify-self: center; }
  .evening-head { grid-template-columns: 1fr; gap: 1rem; }
  .thanks-grid { grid-template-columns: repeat(2,1fr); }
  .visit { gap: 3rem; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { width: min(100% - 32px, 1180px); }
  .site-header { width: calc(100% - 32px); padding-block: 18px; }
  .site-header .button { display: none; }
  .site-header { grid-template-columns: 1fr; }
  .hero { min-height: 1080px; }
  .hero-image { object-position: 58% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(4,17,29,.92) 0%, rgba(4,17,29,.72) 55%, rgba(4,17,29,.93) 100%); }
  .hero-content { width: calc(100% - 32px); margin-top: 135px; }
  h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .hero-lede { font-size: 1rem; }
  .event-card { right: 16px; left: 16px; padding: 22px; }
  .save-date span { display: block; margin: 0 0 .25rem; }
  .story, .purpose, .visit { padding-block: 80px; }
  .story { gap: 3rem; }
  .story-images { min-height: 510px; }
  .portrait-card { width: 78%; height: 360px; }
  .flags-card { width: 70%; height: 240px; }
  .evening { padding-block: 80px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 260px; }
  .panorama img { height: 500px; }
  .panorama-caption { right: 16px; left: 16px; max-width: none; padding: 24px; }
  .purpose { grid-template-columns: 1fr; gap: 2rem; }
  .thanks-grid { grid-template-columns: 1fr; }
  .thanks-card { min-height: 280px; }
  .visit { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer p { text-align: left; }
  .footer-links { justify-content: flex-start; }
  .footer-contact { text-align: left; }
}

/* Enquiries and contact information */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; padding-bottom: 90px; }
.contact-layout h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.contact-details dl { margin-block: 32px; }
.contact-details dl div { padding-block: 15px; border-bottom: 1px solid var(--rule); }
.contact-details dt { color: var(--gold-light); }
.contact-details dd { margin: 5px 0 0; font-size: 1.2rem; overflow-wrap: anywhere; }
.contact-details .button { margin-top: 15px; }
.enquiry-form { padding: 32px; background: var(--navy-2); border-top: 3px solid var(--gold); }
.enquiry-form label { display: block; margin: 20px 0 7px; font-weight: 600; }
.enquiry-form input:not([type="hidden"]), .enquiry-form textarea { display: block; width: 100%; min-width: 0; padding: 12px; border: 1px solid #889da9; border-radius: 0; background: var(--paper); color: var(--navy); font: inherit; }
.enquiry-form textarea { resize: vertical; }
.enquiry-form input:focus, .enquiry-form textarea:focus { outline: 3px solid var(--gold); outline-offset: 3px; }
.enquiry-form .form-honeypot { display: none !important; }
.form-intro, .form-note { color: #c8d0d3; font-size: .95rem; }
.form-note { margin-top: 22px; }
.enquiry-form button { cursor: pointer; }
.thank-you-content { min-height: 60vh; padding-bottom: 90px; }
@media (max-width: 980px) {
  .contact-layout { gap: 35px; }
}
@media (max-width: 700px) {
  .contact-layout { grid-template-columns: 1fr; gap: 45px; padding-bottom: 65px; }
  .enquiry-form { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Annual photograph galleries */
.gallery-teaser { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding-top: 100px; }
.gallery-teaser img { width: 100%; height: auto; border-bottom: 5px solid var(--gold); }
.gallery-page { background: var(--navy); color: var(--cream); }
.gallery-page .site-header { position: static; transform: none; margin-inline: auto; }
.gallery-page .site-header nav { display: flex; flex-wrap: wrap; }
.gallery-heading { padding-block: 70px 42px; }
.gallery-heading h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.08; max-width: 1000px; }
.gallery-heading > p { max-width: 700px; }
.gallery-back { display: inline-block; color: var(--gold-light); margin-bottom: 2rem; }
.gallery-hint { font-size: .95rem; color: #c8d0d3; }
.gallery-jumps { display: flex; flex-wrap: wrap; gap: 24px; color: var(--gold-light); }
.video-section { padding-bottom: 60px; }
.video-section h2, .gallery-photo-heading h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.gallery-video { margin: 0; min-width: 0; }
.gallery-video video { display: block; width: 100%; height: auto; background: #000; }
.gallery-video figcaption { padding-top: 14px; }
.gallery-video h3 { margin-bottom: 4px; font-size: 1.1rem; color: var(--cream); }
.gallery-video p { font-size: .95rem; color: #c8d0d3; }
.gallery-photo-heading { padding-top: 35px; padding-bottom: 20px; border-top: 1px solid var(--rule); }
.gallery-years { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.year-card { display: block; border-bottom: 3px solid var(--gold); background: var(--navy-2); text-decoration: none; }
.year-card img { width: 100%; height: auto; }
.year-card > div { padding: 28px; }
.year-card h2 { color: #fff; font-size: 3rem; }
.year-card span { color: var(--gold-light); text-decoration: underline; }
.year-card:hover, .year-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.gallery-photo { margin: 0; }
.gallery-photo-featured { grid-column: 1 / -1; }
.gallery-photo a { display: block; }
.gallery-photo img { width: 100%; height: auto; }
.gallery-photo figcaption { padding-top: 12px; font-size: 1rem; color: var(--cream); }
.gallery-booking { padding-block: 90px; margin-top: 60px; border-top: 1px solid var(--rule); }
.gallery-booking h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); }
.gallery-booking p { max-width: 720px; }
.photo-lightbox { position: fixed; width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px); padding: 20px; border: 1px solid var(--gold); background: var(--navy); color: var(--cream); overflow: auto; }
.photo-lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox-image { width: 100%; height: min(65vh, 800px); object-fit: contain; margin-top: 16px; }
.lightbox-caption { margin: 16px 0; text-align: center; }
.lightbox-close, .lightbox-controls button { padding: 10px 16px; min-height: 44px; border: 1px solid var(--gold); color: var(--navy); background: var(--gold); font: inherit; cursor: pointer; }
.lightbox-close { display: block; margin-left: auto; }
.lightbox-controls { display: flex; justify-content: center; align-items: center; gap: 18px; }
@media (max-width: 980px) {
  .gallery-page .site-header { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
  .gallery-teaser { gap: 2rem; }
}
@media (max-width: 700px) {
  .gallery-teaser { grid-template-columns: 1fr; padding-top: 70px; }
  .gallery-heading { padding-block: 50px 25px; }
  .gallery-heading h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
  .gallery-years, .photo-grid { grid-template-columns: 1fr; }
  .gallery-page .site-header nav { width: 100%; gap: 24px; }
  .gallery-photo-featured { grid-column: auto; }
  .gallery-booking { margin-top: 40px; padding-block: 60px; }
  .photo-lightbox { padding: 12px; }
  .lightbox-controls { gap: 12px; }
  .video-grid { grid-template-columns: 1fr; }
}

/* Keep the video grid consistent while allowing portrait clips to play in full. */
.gallery-video video { aspect-ratio: 16 / 9; object-fit: contain; }
/* Focus the dancing thumbnail on the couple; the enlarged photograph stays complete. */
.gallery-photo-dance img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 18%; }
