/* ============================================================
   Bentley Park Freemasons – Cairns, Queensland
   Masculine, warm, classic design system
   https://www.bentleyparkfreemasons.com.au/
   ============================================================ */

:root {
  /* Core palette */
  --navy: #0c1a2e;
  --navy-deep: #071220;
  --navy-mid: #152a45;
  --green: #1a3c2e;
  --green-deep: #0f281f;
  --green-mid: #245a42;
  --green-soft: #2d6b4f;
  --gold: #c9a227;
  --gold-light: #e0c04a;
  --gold-dark: #a8861f;
  --gold-muted: rgba(201, 162, 39, 0.15);
  --timber: #6b4423;
  --timber-light: #8b5e3c;
  --timber-pale: #c4a574;
  --cream: #f5f0e6;
  --cream-dark: #e8dfd0;
  --parchment: #faf7f0;
  --text: #1a1a1a;
  --text-muted: #4a4a4a;
  --text-light: #f5f0e6;
  --text-on-dark: rgba(245, 240, 230, 0.85);
  --white: #ffffff;
  --border-gold: rgba(201, 162, 39, 0.35);
  --shadow: 0 4px 24px rgba(7, 18, 32, 0.12);
  --shadow-lg: 0 12px 40px rgba(7, 18, 32, 0.2);
  --radius: 4px;
  --radius-lg: 8px;
  --max-width: 1120px;
  --header-height: 80px;
  --font-serif: "Libre Baskerville", "Georgia", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;
}

/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--parchment);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--green-mid);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--gold-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--cream);
}

.section--dark {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--green-deep) 100%);
  color: var(--text-light);
}

.section--dark h2,
.section--dark h3 {
  color: var(--gold-light);
}

.section--dark p {
  color: var(--text-on-dark);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-header .ornament {
  margin-bottom: 1rem;
}

/* Ornament / Masonic icon (user PNG — black source, recolored via filter) */
.masonic-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.masonic-icon--sm {
  width: 28px;
  height: 28px;
}

.masonic-icon--md {
  width: 36px;
  height: 36px;
}

/* Black PNG → gold (dark backgrounds: header, hero, footer, page heroes) */
.masonic-icon--gold {
  filter: invert(72%) sepia(55%) saturate(650%) hue-rotate(6deg) brightness(95%) contrast(92%);
}

/* Black PNG → soft cream/white (optional light-on-dark) */
.masonic-icon--cream {
  filter: invert(95%) sepia(12%) saturate(250%) hue-rotate(5deg) brightness(105%);
}

/* Keep black as-is on light backgrounds (default) */
.masonic-icon--dark {
  filter: none;
  opacity: 0.9;
}

.ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gold);
}

.ornament .masonic-icon {
  width: 36px;
  height: 36px;
}

.ornament--sm .masonic-icon {
  width: 26px;
  height: 26px;
}

.ornament-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-deep);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--gold-light);
}

.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.9rem;
  color: var(--text-on-dark);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.1);
}

.main-nav a.active {
  color: var(--gold-light);
  background: rgba(201, 162, 39, 0.15);
}

/* Draft banner */
.draft-banner {
  background: var(--timber);
  color: var(--cream);
  text-align: center;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.draft-banner span {
  opacity: 0.95;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1.3;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(201, 162, 39, 0.15);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green-mid);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--green);
  color: var(--cream);
  border-color: var(--green);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: min(72vh, 580px);
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--navy-deep);
  background-image:
    linear-gradient(115deg, rgba(7, 18, 32, 0.92) 0%, rgba(7, 18, 32, 0.78) 42%, rgba(15, 40, 31, 0.72) 100%),
    url("../../images/bentley_park_lodge_exterior.jpg");
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 18, 32, 0.55) 0%, transparent 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  max-width: 720px;
}

.hero .ornament {
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 1rem;
}

.hero .subheadline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
  font-weight: 400;
  max-width: 540px;
}

.hero-accent {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem 0 1.5rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--green-deep) 100%);
  padding: 3.5rem 0 3rem;
  text-align: center;
  border-bottom: 3px solid var(--gold);
  position: relative;
}

.page-hero h1 {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-on-dark);
  max-width: 560px;
  margin: 0.75rem auto 0;
}

/* ========== CARDS / PROMISE ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-muted);
  border-radius: 50%;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Quote block */
.quote-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.quote-block blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.7;
  border: none;
  quotes: none;
}

.quote-block .quote-mark {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  font-family: var(--font-serif);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.5rem;
}

/* Values list */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}

.value-item .value-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--gold-dark);
}

.value-item h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 0.35rem;
}

/* Details / info boxes */
.detail-list {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

.detail-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.detail-item dt {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
}

.detail-item dd {
  color: var(--text-muted);
  margin: 0;
}

/* Checklist style */
.check-list {
  margin: 1.25rem 0;
}

.check-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--cream-dark);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 2px;
  background: var(--gold-muted);
}

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--navy-mid) 0%, var(--green) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption,
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 0.9rem;
  background: linear-gradient(transparent, rgba(7, 18, 32, 0.88));
  color: var(--cream);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Local scene band (optional Cairns photo) */
.local-band {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.local-band-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(7, 18, 32, 0.82) 0%, rgba(15, 40, 31, 0.75) 100%),
    url("../../images/cairns_city.jpg");
  background-size: cover;
  background-position: center 40%;
}

.local-band-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
  max-width: 640px;
}

.local-band-content h2 {
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.local-band-content p {
  color: var(--text-on-dark);
  margin: 0;
}

/* Lodge feature images on Our Lodge page */
.lodge-feature {
  margin-top: 2rem;
}

.lodge-feature img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  max-height: 420px;
}

/* Map */
.map-embed {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow);
  background: var(--cream);
  min-height: 320px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
  counter-increment: step;
}

.step::before {
  content: counter(step);
  position: absolute;
  top: -0.75rem;
  left: 1.25rem;
  width: 2rem;
  height: 2rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--gold);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.contact-person {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream-dark);
}

.contact-person .role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-person .name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-person a {
  color: var(--green-mid);
  font-weight: 600;
}

.contact-alt {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-alt a {
  font-weight: 600;
}

/* Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group .required {
  color: var(--timber);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--parchment);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--timber-pale);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
  outline: none;
  background: var(--white);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(36, 90, 66, 0.1);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius);
  color: var(--green-deep);
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green-deep) 100%);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.cta-band h2 {
  color: var(--cream);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--text-on-dark);
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy-deep);
  color: var(--text-on-dark);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
  border-top: 3px solid var(--gold);
}

.footer-main {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-logo .masonic-icon {
  width: 36px;
  height: 36px;
}

.footer-main p {
  color: var(--text-on-dark);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-main .lodge-name {
  font-family: var(--font-serif);
  color: var(--cream);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-affiliation {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.75rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links span {
  color: rgba(245, 240, 230, 0.3);
}

/* Main content area */
main {
  flex: 1;
}

/* Content prose */
.prose {
  max-width: 720px;
}

.prose p {
  margin-bottom: 1.15rem;
}

/* Subtle page CTA strip */
.page-cta-strip {
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1.25rem 0;
  text-align: center;
}

.page-cta-strip p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.page-cta-strip a {
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-cta-strip a:hover {
  color: var(--gold-dark);
}

/* Privacy page */
.privacy-content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-content h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 2px solid var(--gold);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.is-open {
    max-height: 360px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.25rem;
  }

  .main-nav a {
    padding: 0.85rem 1rem;
  }

  .logo-title {
    font-size: 0.95rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 0;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }

  .logo-sub {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Print */
@media print {
  .draft-banner,
  .nav-toggle,
  .site-header {
    position: static;
  }

  .btn-secondary {
    border-color: #000;
    color: #000;
  }
}
