:root {
  --navy: #1A2B45;
  --navy-deep: #0F1C2E;
  --gold: #C9A227;
  --gold-hover: #B8911F;
  --gold-light: #E8D48B;
  --cream: #F7F3EB;
  --cream-dark: #EDE6D8;
  --white: #FFFFFF;
  --text: #2A2A2A;
  --muted: #5A5A5A;
  --eucalyptus: #3D5C4A;
  --max: 1120px;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Lato", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  padding: 1.15rem 0;
}
.site-header.is-solid { position: relative; background: var(--navy); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: relative;
}
.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem; font-weight: 600; color: var(--white);
  text-decoration: none; letter-spacing: 0.02em;
}
.logo span {
  display: block; font-family: "Lato", sans-serif; font-size: 0.68rem;
  font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.75; margin-top: 0.12rem;
}
.nav { display: flex; gap: 1.6rem; list-style: none; }
.nav a {
  color: var(--white); text-decoration: none; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.9;
}
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--gold-light); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.45);
  color: var(--white); padding: 0.45rem 0.7rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; border-radius: var(--radius);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.55rem; font-family: "Lato", sans-serif; font-size: 0.86rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-on-dark { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-on-dark:hover { background: var(--gold-hover); }

/* Home hero */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: var(--white);
  background:
    linear-gradient(180deg, rgba(15,28,46,0.35) 0%, rgba(15,28,46,0.42) 35%, rgba(15,28,46,0.88) 100%),
    url("assets/hero-ceremony.jpg") center 35% / cover no-repeat;
}
.hero-inner {
  width: min(100% - 2.5rem, var(--max)); margin-inline: auto;
  padding: 7rem 0 5.5rem; max-width: 720px; text-align: left;
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.1rem;
}
.hero h1 {
  color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  margin-bottom: 1.25rem; max-width: 16ch;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.7; opacity: 0.92;
  max-width: 54ch; margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Page banner */
.page-banner {
  position: relative; color: var(--white); background-color: var(--navy);
  background-size: cover; background-position: center; padding: 7.5rem 0 3.5rem;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,28,46,0.55), rgba(15,28,46,0.82));
}
.page-banner .wrap { position: relative; z-index: 1; max-width: 720px; }
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.85rem; }
.page-banner p { font-size: 1.08rem; opacity: 0.92; max-width: 52ch; }
.banner-programme { background-image: url("assets/ausday.jpg"); }
.banner-about { background-image: url("assets/ceremony-dance.jpg"); }
.banner-involved { background-image: url("assets/community.jpg"); background-position: center 20%; }
.banner-plain { background-image: none; }
.banner-plain::before { display: none; }
.banner-thanks { background: var(--eucalyptus); }
.banner-thanks::before { display: none; }

/* Sections */
.section { padding: 5rem 0; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem;
}
.section h2 { font-size: clamp(1.85rem, 3.2vw, 2.55rem); margin-bottom: 1.25rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 54ch; margin-bottom: 2rem; }
.prose p { color: var(--muted); margin-bottom: 1.15rem; font-size: 1.05rem; }
.prose p:last-child { margin-bottom: 0; }
.rule, .story-rule { width: 48px; height: 3px; background: var(--gold); margin-bottom: 1.5rem; }
.bg-cream { background: var(--cream); }
.soft { color: var(--muted); font-style: italic; }

/* Story */
.story { background: var(--cream); }
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: start; }
.story p { color: var(--muted); margin-bottom: 1.15rem; font-size: 1.05rem; }
.story p:last-child { margin-bottom: 0; }

/* Cards */
.what h2, .what .section-label { text-align: center; }
.what .lead { text-align: center; margin: 0 auto 3rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.card {
  background: var(--white); border: 1px solid var(--cream-dark); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 16px 40px rgba(26,43,69,0.1); transform: translateY(-3px); }
.card-img { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-dark); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.5rem 1.4rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card .meta {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.55rem;
}

/* Programme features */
.feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center;
  padding: 2.5rem 0; border-bottom: 1px solid var(--cream-dark);
}
.feature:last-of-type { border-bottom: none; }
.feature:nth-of-type(even) { direction: rtl; }
.feature:nth-of-type(even) > * { direction: ltr; }
.feature-img { aspect-ratio: 16/10; overflow: hidden; background: var(--cream-dark); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-body .meta {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem;
}
.feature-body h2 { font-size: clamp(1.5rem, 2.5vw, 1.95rem); margin-bottom: 0.5rem; }
.feature-body .place { color: var(--navy); font-weight: 700; margin-bottom: 0.75rem; }
.feature-body p { color: var(--muted); margin-bottom: 0.85rem; }

/* Ahead + CTA */
.ahead {
  background: var(--navy); color: var(--white); padding: 2.75rem 0; text-align: center;
}
.ahead p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.45;
  max-width: 48ch; margin: 0 auto; color: var(--cream);
}
.ahead strong { color: var(--gold-light); font-weight: 600; }
.cta { background: var(--eucalyptus); color: var(--white); padding: 5rem 0; text-align: center; }
.cta h2 { color: var(--white); margin-bottom: 1rem; }
.cta p { max-width: 52ch; margin: 0 auto 2rem; opacity: 0.92; font-size: 1.08rem; }

/* About */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
.split-img { aspect-ratio: 4/5; overflow: hidden; background: var(--cream-dark); }
.split-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.value { background: var(--cream); padding: 1.25rem 1.35rem; border-left: 3px solid var(--gold); }
.value h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.value p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.creative-box { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 2.5rem; align-items: center; }
.creative-box img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }

/* Get involved */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.way { border: 1px solid var(--cream-dark); padding: 1.75rem 1.6rem; background: var(--white); }
.way h3 { font-size: 1.35rem; margin-bottom: 0.65rem; }
.way p { color: var(--muted); margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: start; }
.contact-panel { background: var(--navy); color: var(--white); padding: 2.5rem; }
.contact-panel h2 { color: var(--white); margin-bottom: 0.75rem; }
.contact-panel p { opacity: 0.9; margin-bottom: 1.25rem; }
.contact-panel a { color: var(--gold-light); text-decoration: none; border-bottom: 1px solid transparent; }
.contact-panel a:hover { border-bottom-color: var(--gold-light); }
.contact-links { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.5rem; font-size: 1.05rem; }
.form label {
  display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--navy); margin-bottom: 0.4rem;
}
.form .field { margin-bottom: 1.15rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.75rem 0.85rem; border: 1px solid var(--cream-dark);
  border-radius: var(--radius); font-family: inherit; font-size: 1rem; color: var(--text); background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
.form textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; opacity: 0; }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,0.75);
  padding: 2.75rem 0 2rem; font-size: 0.9rem;
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem;
  padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 1.25rem;
}
.footer-brand {
  font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem;
  color: var(--white); margin-bottom: 0.4rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.15rem; margin-top: 0.85rem; }
.footer-nav a, .footer-links a {
  color: rgba(255,255,255,0.8); text-decoration: none; border-bottom: 1px solid transparent; font-size: 0.85rem;
}
.footer-nav a:hover, .footer-links a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.footer-note { font-size: 0.82rem; opacity: 0.7; }
.footer-note a { color: var(--gold-light); text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }

/* Compact content pages */
.content-narrow { max-width: 720px; }
.content-narrow h2 { margin-top: 2rem; font-size: 1.45rem; }
.content-narrow ul { margin: 0.75rem 0 1.25rem 1.2rem; color: var(--muted); list-style: disc; }
.content-narrow li { margin-bottom: 0.4rem; }


/* Nav density + Contact CTA */
.nav { gap: 0.95rem; align-items: center; }
.nav a {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}
.nav-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem !important;
  background: var(--gold);
  color: var(--navy-deep) !important;
  border-radius: var(--radius);
  opacity: 1 !important;
  letter-spacing: 0.06em;
}
.nav-cta:hover,
.nav a.nav-cta[aria-current="page"] {
  background: var(--gold-hover);
  color: var(--navy-deep) !important;
}

/* Page banners for new sections */
.banner-community { background-image: url("assets/community.jpg"); background-position: center 30%; }
.banner-anzac { background-image: url("assets/anzac-pointking.jpg"); background-position: center 40%; }
.banner-ausday { background-image: url("assets/ausday.jpg"); background-position: center 45%; }
.banner-sunset { background-image: url("assets/sunset-talk-2.jpg"); background-position: center 35%; }
.banner-solstice { background-image: url("assets/solstice.jpg"); background-position: center 50%; }
.banner-contact { background-image: url("assets/ceremony-gathering.jpg"); background-position: center 20%; }

/* Community / content feature blocks */
.block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.block:last-of-type { border-bottom: none; }
.block--flip { direction: rtl; }
.block--flip > * { direction: ltr; }
.block-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream-dark);
}
.block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-body .meta {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.block-body h2,
.block-body h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  margin-bottom: 0.75rem;
}
.block-body p { color: var(--muted); margin-bottom: 0.85rem; }
.block-body p:last-child { margin-bottom: 0; }
.block-body ul {
  color: var(--muted);
  margin: 0.5rem 0 1rem 1.15rem;
  list-style: disc;
}
.block-body li { margin-bottom: 0.35rem; }
.detail-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.detail-list li {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--muted);
  font-size: 1rem;
}
.detail-list strong {
  color: var(--navy);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding-top: 0.15rem;
}
.note-pending {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.15rem;
  color: var(--muted);
  font-size: 0.98rem;
  margin: 1.25rem 0;
}
.program-timeline {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.program-timeline li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--muted);
}
.program-timeline time {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.15rem;
}


/* Events dropdown */
.nav .has-dropdown {
  position: relative;
  list-style: none;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.9;
  cursor: pointer;
  padding: 0.25rem 0;
}
.nav-dropdown-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
  margin-top: 1px;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.has-dropdown.is-open > .nav-dropdown-toggle,
.has-dropdown.is-current > .nav-dropdown-toggle {
  opacity: 1;
  color: var(--gold-light);
  outline: none;
}
.nav-dropdown-toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--gold);
  border-radius: 2px;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 13.5rem;
  background: var(--navy-deep);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 0.45rem 0;
  list-style: none;
  box-shadow: 0 12px 32px rgba(15,28,46,0.35);
  z-index: 40;
}
.has-dropdown:hover > .nav-dropdown,
.has-dropdown:focus-within > .nav-dropdown,
.has-dropdown.is-open > .nav-dropdown {
  display: block;
}
.nav-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  white-space: nowrap;
  opacity: 0.9;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-dropdown a[aria-current="page"] {
  opacity: 1;
  color: var(--gold-light);
  background: rgba(255,255,255,0.06);
  outline: none;
}
.banner-partner { background-image: url("assets/ceremony-crowd.jpg"); background-position: center 40%; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.step {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 1.5rem 1.35rem;
}
.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.step p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.offerings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.75rem; }
.offering {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.35rem;
}
.offering h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.offering p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 1100px) {
  .nav { gap: 0.7rem; }
  .nav a { font-size: 0.68rem; letter-spacing: 0.04em; }
  .nav-cta { padding: 0.4rem 0.7rem !important; }
}
@media (max-width: 900px) {
  .block, .block--flip { grid-template-columns: 1fr; gap: 1.5rem; direction: ltr; }
  .detail-list li, .program-timeline li { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (max-width: 900px) {
  .story-grid, .split, .creative-box, .form-grid, .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature:nth-of-type(even) { direction: ltr; }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .ways, .values { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: calc(100% + 0.75rem);
    left: 0; right: 0; background: var(--navy-deep); padding: 1rem 1.25rem 1.25rem; gap: 1rem;
  }
  .nav-toggle { display: inline-block; }

  .has-dropdown { width: 100%; }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.82rem;
    padding: 0.15rem 0;
  }
  .nav-dropdown {
    position: static;
    transform: none;
    display: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0.35rem 0 0.55rem 1rem;
    margin: 0;
  }
  .has-dropdown.is-open > .nav-dropdown,
  .has-dropdown:focus-within > .nav-dropdown {
    display: block;
  }
  /* On mobile, hover shouldn't force-open when closed via JS unless open */
  .has-dropdown:hover > .nav-dropdown {
    display: none;
  }
  .has-dropdown.is-open:hover > .nav-dropdown,
  .has-dropdown.is-open > .nav-dropdown {
    display: block;
  }
  .nav-dropdown a {
    padding: 0.45rem 0.25rem;
    font-size: 0.78rem;
    opacity: 0.85;
  }
  .steps { grid-template-columns: 1fr; }
  .offerings { grid-template-columns: 1fr; }

  .hero { min-height: 88vh; align-items: center; }
  .hero-inner { padding: 6.5rem 0 4rem; }
  .page-banner { padding: 6.5rem 0 2.75rem; }
}
@media (max-width: 560px) {
  .wrap, .hero-inner { width: min(100% - 1.75rem, var(--max)); }
  .section { padding: 3.5rem 0; }
  .hero h1 { max-width: none; }
  .btn { width: 100%; }
  .contact-panel { padding: 1.75rem 1.35rem; }
}
img[src$="sunset-talk.jpg"] { object-position: center 6% !important; }
.card-img img { object-position: center 20%; }
img[src$="community.jpg"] { object-position: center 12% !important; }
.block-img img { object-position: center 25%; }
