/* ===== CUSTOM PROPERTIES ===== */
:root {
  --navy:       #053349;
  --teal:       #229BB8;
  --sky:        #8FCBE4;
  --yellow:     #FCBF02;
  --orange:     #F88600;
  --page-bg:    #F5F9FC;
  --surface:    #FFFFFF;
  --text-muted: #5C7A8E;
  --border:     #C5D5E0;
}

/* ===== BASE RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--navy);
  background: var(--page-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 400;
  line-height: 1.1;
}

.kicker {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
}

.muted {
  color: var(--text-muted);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.reading-column {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.small-container {
  max-width: 560px;
  margin: 0 auto;
}

/* ===== HEADER + NAV ===== */
.site-header {
  background: var(--surface);
  border-bottom: 3px solid var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  letter-spacing: 0.04em;
}

.logo:hover {
  text-decoration: none;
}

.logo-main {
  color: var(--navy);
}

.logo-accent {
  color: var(--teal);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav a:hover {
  color: var(--teal);
  text-decoration: none;
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 60px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 60%;
}

.hero-wave path { fill: var(--teal); }

.hw1 { opacity: 0.12; animation: heroWave 14s ease-in-out infinite alternate; }
.hw2 { opacity: 0.08; animation: heroWave 20s ease-in-out infinite alternate-reverse; }
.hw3 { opacity: 0.05; animation: heroWave 28s ease-in-out infinite alternate; }

@keyframes heroWave {
  0%   { transform: translateX(0) scaleY(1); }
  50%  { transform: translateX(-25%) scaleY(1.05); }
  100% { transform: translateX(-50%) scaleY(1); }
}

.hero .container { position: relative; z-index: 1; }
.hero-curve { z-index: 1; }

.hero-kicker {
  color: var(--yellow);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 64px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: #fff;
}

.hero-subtitle {
  color: var(--sky);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 520px;
  margin: 0 auto;
}

.hero-input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  background: #FFFFFF;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
}

.hero-input::placeholder {
  color: var(--text-muted);
}

.hero-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-basis: 100%;
  margin: 4px 0 0;
  cursor: pointer;
}

.hero-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
}

.hero-consent span {
  font-size: 12px;
  color: var(--sky);
  line-height: 1.4;
}

.hero-consent a {
  color: var(--yellow);
  text-decoration: underline;
}

.hero-note {
  color: var(--sky);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 12px;
}

.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
}

/* ===== WAVE DIVIDERS ===== */
.wave-divider {
  padding: 8px 0;
  overflow: hidden;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 30px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 22px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn:hover {
  opacity: 0.9;
  text-decoration: none;
  color: #fff;
}

.btn-subscribe {
  padding: 8px 18px;
  font-size: 12px;
}

.btn-small {
  padding: 8px 16px;
  font-size: 12px;
}

.btn-full {
  width: 100%;
}

/* ===== EVENTS SECTION ===== */
.events-section {
  background: var(--page-bg);
  padding: 0 0 48px;
  position: relative;
}

.events-wave {
  display: block;
  width: 100%;
  height: 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.section-title {
  font-size: 32px;
  color: var(--navy);
}

.section-title-light {
  color: #fff;
}

.section-link {
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-link-yellow {
  color: var(--yellow);
}

.issue-list {
  display: flex;
  flex-direction: column;
}

.issue-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border);
  text-decoration: none;
}

.issue-row:hover {
  text-decoration: none;
}

.issue-row:hover .issue-title {
  color: var(--teal);
}

.issue-row .issue-title {
  font-family: 'Inter', sans-serif;
  font-size: 27px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0;
  text-transform: none;
}

.issue-meta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--teal);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.issue-subtitle {
  font-size: 21px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== TRADITIONS SECTION ===== */
.traditions-section {
  background: var(--teal);
  padding: 0 0 48px;
  position: relative;
}

.traditions-wave {
  display: block;
  width: 100%;
  height: 60px;
}

.traditions-intro {
  color: var(--sky);
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 28px;
}

.traditions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tradition-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-top: 4px solid var(--yellow);
  border-radius: 4px;
  padding: 18px;
  text-decoration: none;
  color: var(--navy);
  display: block;
  transition: transform 0.15s ease;
}

.tradition-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--navy);
}

.tradition-month {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--orange);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.tradition-name {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 4px;
}

.tradition-town {
  font-size: 16px;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy);
  padding: 32px 20px;
  text-align: center;
}

.site-footer p {
  color: var(--sky);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  margin-top: 8px;
}

.footer-links a {
  color: var(--sky);
  margin: 0 8px;
  font-size: 10px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-cities-line {
  color: rgba(143, 203, 228, 0.5);
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* ===== ISSUE PAGE ===== */
.issue-meta-line {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  padding-top: 32px;
}

.issue-headline {
  font-size: 44px;
  color: var(--navy);
  margin-bottom: 8px;
}

.issue-subtitle-line {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.plus-label {
  color: var(--navy);
}

.issue-subtitle-line strong {
  color: var(--navy);
}

.reading-column p {
  margin-bottom: 16px;
  line-height: 1.7;
}

.reading-column ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.reading-column li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.day-heading {
  font-size: 28px;
  color: var(--navy);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal);
}

.event-block {
  padding: 16px;
  border: 0.5px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 0 4px 4px 0;
  background: var(--surface);
  margin-bottom: 12px;
}

.event-title {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}

.event-town {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #229BB8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-description {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 8px;
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail {
  font-size: 13px;
  color: var(--text-muted);
}

.detail-label {
  color: var(--teal);
  font-weight: 600;
}

.ticket-link {
  color: var(--orange);
  font-weight: 600;
  margin-left: 4px;
}

.ticket-link:hover {
  color: var(--navy);
}

.event-link {
  color: var(--teal);
  word-break: break-all;
}

/* ===== MID-CONTENT SUBSCRIBE CTA ===== */
.subscribe-cta {
  background: var(--navy);
  border-radius: 4px;
  padding: 32px 24px;
  text-align: center;
  margin: 40px 0;
}

.cta-kicker {
  color: var(--yellow);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.cta-heading {
  color: #fff;
  font-size: 28px;
  margin-bottom: 20px;
}

.cta-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-input {
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  background: #FFFFFF;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  flex: 1;
  min-width: 200px;
}

.cta-input::placeholder {
  color: var(--text-muted);
}

/* ===== PAGE SECTIONS ===== */
.page-section {
  padding: 48px 0;
}

.page-heading {
  font-size: 44px;
  color: var(--navy);
  margin-bottom: 8px;
}

.page-intro {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.month-group {
  margin-bottom: 40px;
}

.month-heading {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--teal);
}

/* ===== COMING SOON PAGE ===== */
.category-group {
  margin-bottom: 40px;
}

.category-heading {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--orange);
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.coming-soon-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: 4px;
  padding: 18px;
  text-decoration: none;
  color: var(--navy);
  display: block;
  transition: transform 0.15s ease;
}

.coming-soon-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--navy);
}

.coming-soon-eta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: var(--teal);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.coming-soon-name {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 4px;
}

.coming-soon-blurb {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== COMING SOON HOMEPAGE SECTION ===== */
.coming-soon-section {
  background: var(--navy);
  padding: 0 0 48px;
  position: relative;
}

.coming-soon-wave {
  display: block;
  width: 100%;
  height: 60px;
}

.coming-soon-home-intro {
  color: var(--sky);
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 28px;
}

.coming-soon-home-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.coming-soon-home-card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-top: 4px solid var(--orange);
  border-radius: 4px;
  padding: 18px;
  text-decoration: none;
  color: var(--navy);
  display: block;
  transition: transform 0.15s ease;
}

.coming-soon-home-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--navy);
}

/* ===== TRADITION SINGLE PAGE ===== */
.tradition-single-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.tradition-description {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #FFFFFF;
  color: var(--navy);
  transition: border-color 0.15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.input-error {
  border-color: var(--orange) !important;
}

.error-text {
  display: block;
  color: var(--orange);
  font-size: 12px;
  margin-top: 4px;
}

.required {
  color: var(--orange);
}

.hint {
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: normal;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.success-message {
  background: var(--surface);
  border: 1px solid var(--teal);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
}

.success-message p {
  font-size: 16px;
  color: var(--navy);
  font-weight: 500;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.pagination-info {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== ADMIN LOGIN ===== */
.admin-login-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--page-bg);
  padding: 20px;
}

.admin-login-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 32px;
  width: 100%;
  max-width: 400px;
}

.admin-login-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--navy);
}

.admin-login-form {
  margin-top: 0;
}

.error-banner {
  background: #fef2e6;
  border: 1px solid var(--orange);
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--navy);
  text-align: center;
}

/* ===== ERROR PAGES ===== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* ===== LEGAL TEXT ===== */
.legal-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.legal-text p {
  margin-bottom: 16px;
}

.legal-updated {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.legal-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-top: 32px;
  margin-bottom: 8px;
}

.legal-text h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 20px;
  margin-bottom: 6px;
}

.legal-text ul {
  margin: 0 0 16px 24px;
  list-style: disc;
}

.legal-text li {
  margin-bottom: 6px;
}

.legal-text a {
  color: var(--teal);
  text-decoration: underline;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 13px;
}

.cookie-table th {
  text-align: left;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--navy);
  padding: 8px 12px;
  border-bottom: 2px solid var(--border);
}

.cookie-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.cookie-table code {
  font-size: 12px;
  background: var(--page-bg);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: #fff;
  padding: 20px 24px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 20px rgba(5, 51, 73, 0.3);
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  min-width: 240px;
}

.cookie-banner p a {
  color: var(--yellow);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 8px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cookie-btn:hover {
  opacity: 0.85;
}

.cookie-btn-accept {
  background: var(--teal);
  color: #fff;
}

.cookie-btn-manage {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 51, 73, 0.6);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-modal-overlay.visible {
  display: flex;
}

.cookie-modal {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 500px;
  width: calc(100% - 32px);
  box-shadow: 0 20px 60px rgba(5, 51, 73, 0.3);
}

.cookie-modal h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-toggle-row:last-of-type {
  border-bottom: none;
}

.cookie-toggle-label {
  flex: 1;
}

.cookie-toggle-label strong {
  display: block;
  font-size: 14px;
  color: var(--navy);
}

.cookie-toggle-label span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--teal);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.cookie-modal-actions .cookie-btn {
  flex: 1;
  text-align: center;
}

.cookie-btn-save {
  background: var(--teal);
  color: #fff;
}

.cookie-btn-cancel {
  background: var(--page-bg);
  color: var(--navy);
}

/* ===== SUBSCRIBE POPUP ===== */
.subscribe-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 51, 73, 0.6);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}

.subscribe-popup-overlay.visible {
  display: flex;
}

.subscribe-popup {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  max-width: 420px;
  width: calc(100% - 32px);
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(5, 51, 73, 0.3);
}

.subscribe-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.subscribe-popup-close:hover {
  color: var(--navy);
}

.subscribe-popup-emoji {
  font-size: 40px;
  margin-bottom: 8px;
}

.subscribe-popup-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.subscribe-popup-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.subscribe-popup-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  margin-bottom: 8px;
}

.subscribe-popup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--teal);
}

.subscribe-popup-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  margin-bottom: 12px;
  cursor: pointer;
}

.subscribe-popup-consent input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--teal);
  width: 16px;
  height: 16px;
}

.subscribe-popup-consent span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.subscribe-popup-consent a {
  color: var(--teal);
  text-decoration: underline;
}

.subscribe-popup-form .btn {
  width: 100%;
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
  .cookie-modal {
    padding: 24px 20px;
  }
}
.bg-waves {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100%;
}

.bg-wave path { fill: var(--sky); }

.bg-wave-1 { opacity: 0.08; animation: waveDrift 18s ease-in-out infinite alternate; }
.bg-wave-2 { opacity: 0.06; animation: waveDrift 24s ease-in-out infinite alternate-reverse; }
.bg-wave-3 { opacity: 0.04; animation: waveDrift 30s ease-in-out infinite alternate; }

@keyframes waveDrift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-wave { animation: none; }
}

/* ===== MEDIA QUERIES ===== */
@media (min-width: 640px) {
  .traditions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .coming-soon-grid,
  .coming-soon-home-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: 72px;
  }

  .issue-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
  }

  .issue-row .issue-title {
    flex: 1;
  }

  .issue-subtitle {
    flex-basis: 100%;
  }
}

@media (min-width: 1024px) {
  .traditions-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .coming-soon-grid,
  .coming-soon-home-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero-title {
    font-size: 80px;
  }

  .hero {
    padding: 80px 20px 100px;
  }
}

@media (max-width: 639px) {
  .header-inner {
    justify-content: center;
    text-align: center;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-form {
    flex-direction: column;
  }

  .hero-input {
    width: 100%;
  }

  .issue-row {
    flex-direction: column;
    gap: 4px;
  }

  .issue-headline {
    font-size: 32px;
  }

  .page-heading {
    font-size: 32px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-input {
    width: 100%;
  }

  .section-header {
    flex-direction: column;
    gap: 4px;
  }
}
