/*
Theme Name: Tolin Tide
Theme URI: https://tolintide.com
Author: Tolin Tide
Description: Custom retro cruise theme for Tolin Tide '27.
Version: 0.1.7
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: tolin-tide
*/


:root {
  --navy: #063d6b;
  --navy-deep: #032f56;
  --aqua: #18b9bd;
  --teal: #0d8fa2;
  --cream: #fff3d2;
  --paper: #f9e7b8;
  --coral: #f05a3c;
  --orange: #f47a32;
  --gold: #f6b44c;
  --ink: #173548;
  --white: #fffdf6;
  --shadow: 0 18px 45px rgba(3, 47, 86, .18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.top-stripe {
  height: 8px;
  background: linear-gradient(90deg,
    var(--navy) 0 20%,
    var(--aqua) 20% 40%,
    var(--cream) 40% 60%,
    var(--coral) 60% 80%,
    var(--gold) 80% 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px clamp(18px, 5vw, 72px);
  background: rgba(255, 243, 210, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(6, 61, 107, .14);
}
.mini-brand {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--navy);
}
.mini-brand span {
  font-family: "Pacifico", cursive;
  font-size: 1.45rem;
}
.mini-brand b {
  color: var(--coral);
  font-size: .95rem;
}
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: .92rem;
}
.site-nav a:hover { color: var(--coral); }
.nav-portal {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream) !important;
  text-decoration: none;
  font-weight: 800;
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--navy);
  color: var(--cream);
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
}

.hero {
  min-height: 860px;
  background:
    linear-gradient(rgba(255,243,210,.92), rgba(255,243,210,.9)),
    repeating-linear-gradient(0deg, rgba(6,61,107,.035) 0 1px, transparent 1px 5px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: start center;
  padding: 48px 20px 170px;
}
.hero-inner {
  position: relative;
  z-index: 3;
  width: min(950px, 100%);
  text-align: center;
}
.hero-logo {
  width: min(650px, 90vw);
  margin: 0 auto 4px;
  filter: drop-shadow(0 18px 18px rgba(6,61,107,.12));
}
.eyebrow, .section-kicker {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--coral);
  font-size: .82rem;
}
.hero h1 {
  margin: 10px auto 10px;
  max-width: 760px;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0 auto 24px;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
}
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 10px 0 #cc472f; }
.btn-cream { background: var(--cream); color: var(--navy); border-color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn:hover { transform: translateY(-1px); }

.countdown {
  margin: 12px auto 0;
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.countdown div {
  background: rgba(255,253,246,.76);
  border: 2px solid var(--navy);
  border-radius: 16px;
  padding: 14px 8px 12px;
  box-shadow: 4px 4px 0 rgba(6,61,107,.13);
}
.countdown strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1;
}
.countdown span {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
}

.sun-disc {
  position: absolute;
  width: 440px; height: 440px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--coral) 0 23px,
      var(--orange) 23px 46px,
      var(--gold) 46px 69px,
      rgba(246,180,76,.75) 69px 72px
    );
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .13;
}
.hero-gulls {
  position: absolute;
  color: var(--navy);
  font-size: 70px;
  opacity: .22;
  transform: rotate(-8deg);
}
.gull-one { left: 8%; top: 150px; }
.gull-two { right: 9%; top: 280px; transform: rotate(8deg); }

.wave {
  position: absolute;
  left: -8%;
  width: 116%;
  border-radius: 50% 50% 0 0;
}
.wave-back {
  height: 170px;
  bottom: 50px;
  background: var(--aqua);
  transform: rotate(-2deg);
}
.wave-front {
  height: 145px;
  bottom: -18px;
  background: var(--navy);
  transform: rotate(1deg);
}
.wave-back::before,
.wave-front::before {
  content: "";
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: -42px;
  background: inherit;
  left: 18%;
  box-shadow:
    240px 18px 0 0 currentColor,
    490px -10px 0 0 currentColor,
    760px 8px 0 0 currentColor;
  color: inherit;
}

.section { padding: 92px clamp(20px, 7vw, 110px); }
.cream-section {
  background:
    repeating-linear-gradient(0deg, rgba(6,61,107,.02) 0 1px, transparent 1px 5px),
    var(--cream);
}
.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}
.section h2 {
  margin: 10px 0 18px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4.6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.lead { font-size: 1.12rem; max-width: 720px; }

.ticket-card {
  position: relative;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 10px 10px 0 var(--aqua);
  transform: rotate(1.5deg);
  overflow: hidden;
}
.ticket-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(6,61,107,.025) 5px 6px);
}
.ticket-label {
  display: inline-block;
  background: var(--coral);
  color: white;
  font-weight: 900;
  letter-spacing: .13em;
  padding: 7px 10px;
  margin-bottom: 14px;
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px dashed rgba(6,61,107,.35);
  padding: 13px 0;
}
.ticket-row span {
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 900;
  color: var(--teal);
}
.ticket-row b { text-align: right; color: var(--navy); }
.ticket-stamp {
  position: absolute;
  right: -8px;
  bottom: 10px;
  color: rgba(240,90,60,.18);
  border: 5px double rgba(240,90,60,.22);
  border-radius: 50%;
  padding: 24px 15px;
  font-weight: 900;
  transform: rotate(-18deg);
  font-size: 1.35rem;
}

.navy-section { background: var(--navy); }
.section-kicker.light { color: var(--gold); }
.light-heading { color: var(--cream) !important; max-width: 850px; }

.feature-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--cream);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 8px 8px 0 rgba(24,185,189,.25);
}
.feature-card:nth-child(even) { transform: translateY(14px); }
.feature-card h3 { margin: 12px 0 8px; color: var(--navy); font-size: 1.35rem; }
.feature-card p { margin-top: 0; }
.feature-card a { color: var(--coral); font-weight: 900; }
.icon-badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--coral);
  font-size: 1.3rem;
  font-weight: 900;
}

.sunset-section {
  background:
    linear-gradient(90deg, rgba(255,243,210,.97), rgba(255,243,210,.8)),
    repeating-linear-gradient(to bottom,
      var(--coral) 0 24px,
      var(--orange) 24px 48px,
      var(--gold) 48px 72px);
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: center;
}
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pill-row span {
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  background: rgba(255,253,246,.6);
}
.leaderboard-preview {
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--cream);
  padding: 20px;
  box-shadow: 12px 12px 0 var(--coral);
}
.board-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255,243,210,.3);
  padding-bottom: 14px;
  font-size: .8rem;
  letter-spacing: .12em;
}
.board-empty {
  min-height: 240px;
  display: grid;
  place-items: center;
  text-align: center;
  align-content: center;
  gap: 0;
}
.big-wave { font-size: 5rem; color: var(--aqua); line-height: 1; }

.join-section {
  background: var(--aqua);
  text-align: center;
}
.join-card {
  background: var(--cream);
  border-radius: 32px;
  padding: clamp(32px, 6vw, 70px);
  max-width: 950px;
  margin: auto;
  box-shadow: 12px 12px 0 var(--navy);
}
.join-card h2 { margin-bottom: 18px; }
.join-card p { max-width: 720px; margin-left: auto; margin-right: auto; }
.eyebrow.navy { color: var(--navy); }
.centered { justify-content: center; }
.tiny-note { font-size: .82rem; opacity: .72; }

footer {
  background: var(--navy-deep);
  color: var(--cream);
  text-align: center;
  padding: 50px 20px 56px;
}
.footer-logo {
  width: 150px;
  margin: 0 auto 10px;
}
.footer-small { opacity: .7; font-size: .86rem; }

/* Portal */
.portal-body {
  background:
    repeating-linear-gradient(0deg, rgba(6,61,107,.022) 0 1px, transparent 1px 5px),
    var(--cream);
}
.portal-header { position: relative; }
.portal-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 90px;
}
.portal-hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 28px;
}
.portal-logo { width: 210px; }
.portal-hero h1 {
  color: var(--navy);
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  margin: 0;
  line-height: .95;
  letter-spacing: -.055em;
}
.portal-hero p { max-width: 650px; }
.prototype-banner {
  margin: 26px 0;
  padding: 14px 18px;
  background: rgba(246,180,76,.28);
  border: 2px dashed var(--orange);
  border-radius: 14px;
}
.portal-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 28px 0 16px;
}
.portal-tab {
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}
.portal-tab.active {
  background: var(--navy);
  color: var(--cream);
}
.portal-panel { display: none; }
.portal-panel.active { display: block; }
.panel-heading {
  background: var(--navy);
  color: var(--cream);
  border-radius: 22px 22px 0 0;
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.panel-heading h2 { color: var(--cream); margin: 0 0 4px; font-size: 1.65rem; letter-spacing: -.02em; }
.panel-heading p { margin: 0; opacity: .8; }
.step-number {
  min-width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  font-weight: 900;
}
.retro-form {
  background: var(--white);
  border: 2px solid var(--navy);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  padding: clamp(20px, 5vw, 34px);
  box-shadow: var(--shadow);
}
.retro-form h3 {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.retro-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 18px;
}
.optional { font-weight: 500; opacity: .65; font-size: .82em; }
.retro-form input,
.retro-form select,
.retro-form textarea {
  width: 100%;
  border: 2px solid rgba(6,61,107,.35);
  background: #fffdf8;
  border-radius: 12px;
  padding: 12px 13px;
  outline: none;
}
.retro-form input:focus,
.retro-form select:focus,
.retro-form textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(24,185,189,.13);
}
.privacy-note {
  background: rgba(24,185,189,.12);
  border-left: 5px solid var(--aqua);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: .92rem;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.save-status { font-weight: 800; color: var(--teal); }

.photo-preview {
  min-height: 220px;
  border: 2px dashed rgba(6,61,107,.4);
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255,243,210,.35);
}
.photo-preview img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.gallery-empty {
  background: var(--white);
  border: 2px solid var(--navy);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  align-content: center;
  padding: 40px;
}
.gallery-empty > span { font-size: 5rem; color: var(--coral); line-height: 1; }
.gallery-empty h3 { color: var(--navy); font-size: 2rem; margin: 8px 0 0; }
.gallery-empty p { margin-top: 4px; }

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .sunset-section { grid-template-columns: 1fr; }
  .portal-hero { grid-template-columns: 150px 1fr; }
  .portal-logo { width: 150px; }
}

@media (max-width: 760px) {
  .site-header { align-items: center; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    padding: 16px;
    border: 2px solid var(--navy);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 7px 4px; }
  .portal-header .nav-portal { display: inline-flex; font-size: .75rem; }

  .hero { min-height: 760px; padding-top: 28px; }
  .hero-logo { width: min(510px, 98vw); }
  .countdown { grid-template-columns: repeat(2, 1fr); max-width: 390px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(even) { transform: none; }
  .portal-hero { grid-template-columns: 1fr; text-align: center; }
  .portal-logo { width: 180px; margin: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .ticket-row { flex-direction: column; gap: 3px; }
  .ticket-row b { text-align: left; }
}

@media (max-width: 480px) {
  .section { padding: 68px 18px; }
  .site-header { padding-inline: 14px; }
  .hero h1 { font-size: 2.15rem; }
  .hero-sub { padding-inline: 10px; }
  .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .portal-main { width: min(100% - 20px, 1120px); }
}


/* ===== V2 additions ===== */
.route-placeholder {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 18px auto 1fr auto 1fr 18px auto;
  gap: 10px;
  align-items: center;
  max-width: 760px;
}
.route-placeholder > div:not(.route-soon) { display: grid; }
.route-placeholder b { color: var(--navy); }
.route-placeholder small { opacity: .7; }
.route-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 3px solid var(--navy);
  background: var(--cream);
}
.route-dot.active { background: var(--coral); }
.route-line { height: 2px; background: rgba(6,61,107,.3); }
.route-soon {
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--teal);
  text-align: center;
}

.mini-board {
  list-style: none;
  padding: 0;
  margin: 18px 0 8px;
}
.mini-board li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 8px;
  border-top: 1px solid rgba(255,243,210,.2);
}
.mini-board li span {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coral);
  font-weight: 900;
}
.mini-board em { font-style: normal; color: var(--gold); font-weight: 900; }
.demo-caption { font-size: .76rem; opacity: .65; margin: 8px 0 0; }

.captain-section {
  background: var(--navy-deep);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(32px, 7vw, 90px);
  align-items: center;
}
.captain-copy { max-width: 700px; font-size: 1.08rem; opacity: .86; }
.dashboard-preview-card {
  min-height: 220px;
  border: 2px solid var(--cream);
  border-radius: 24px;
  padding: 28px;
  text-decoration: none;
  display: grid;
  align-content: center;
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(24,185,189,.2), transparent 50%),
    var(--navy);
  box-shadow: 12px 12px 0 var(--coral);
}
.dashboard-preview-card span { color: var(--gold); font-size: .78rem; font-weight: 900; letter-spacing: .15em; }
.dashboard-preview-card strong { font-size: clamp(1.8rem, 4vw, 3.3rem); line-height: 1; }
.dashboard-preview-card small { opacity: .65; }

/* Gates */
.gate-card {
  width: min(980px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: minmax(230px, .75fr) 1.25fr;
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  background: var(--white);
  border: 3px solid var(--navy);
  border-radius: 30px;
  padding: clamp(24px, 5vw, 56px);
  box-shadow: 14px 14px 0 var(--aqua);
}
.gate-logo { width: min(330px, 100%); margin: auto; }
.gate-copy h1 {
  color: var(--navy);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin: 6px 0 16px;
}
.gate-form { margin-top: 24px; }
.gate-form label { display: block; font-weight: 900; color: var(--navy); margin-bottom: 7px; }
.gate-input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.gate-input-row input {
  min-width: 0;
  border: 2px solid rgba(6,61,107,.4);
  border-radius: 999px;
  padding: 12px 16px;
}
.gate-status { min-height: 22px; margin: 8px 0 0; color: var(--coral); font-weight: 800; }
.demo-key {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px dashed var(--aqua);
  border-radius: 12px;
  padding: 9px 12px;
  background: rgba(24,185,189,.08);
}
.demo-key span { font-size: .7rem; letter-spacing: .13em; font-weight: 900; color: var(--teal); }
.demo-key code { color: var(--navy); font-weight: 900; font-size: 1rem; }
.inline-link, .text-button {
  border: 0;
  background: transparent;
  color: var(--coral);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 900;
}
.prototype-banner .inline-link { float: right; }

/* Portal V2 */
.crew-app { padding-top: 0; }
.portal-hero.compact { grid-template-columns: 150px 1fr; }
.portal-hero.compact .portal-logo { width: 145px; }
.portal-welcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.status-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  box-shadow: 5px 5px 0 rgba(6,61,107,.09);
}
.status-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--aqua);
  color: var(--navy);
  font-weight: 900;
}
.status-card small { display: block; font-size: .67rem; letter-spacing: .1em; font-weight: 900; color: var(--teal); }
.status-card strong { color: var(--navy); }
.crew-home-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}
.portal-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 22px;
  padding: 26px;
}
.portal-card h2 { color: var(--navy); margin: 8px 0 16px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.tide-note-card {
  background:
    linear-gradient(135deg, rgba(246,180,76,.25), transparent 60%),
    var(--white);
}
.portal-checklist { list-style: none; padding: 0; margin: 0; }
.portal-checklist li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px dashed rgba(6,61,107,.22);
}
.portal-checklist li span {
  width: 22px; height: 22px;
  border: 2px solid var(--navy);
  border-radius: 6px;
  display: grid; place-items: center;
}
.portal-checklist li.done span { background: var(--aqua); }
.portal-checklist li.done span::after { content: "✓"; color: var(--navy); font-weight: 900; }

.repeater-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin: 14px 0;
}
.repeater-heading h3 { margin: 4px 0 0; color: var(--navy); font-size: 1.6rem; text-transform: none; letter-spacing: normal; }
.small-btn { min-height: 40px; padding: 0 15px; font-size: .78rem; }
.tiny-btn { min-height: 34px; padding: 0 12px; font-size: .7rem; }

.traveler-list { display: grid; gap: 12px; margin-bottom: 24px; }
.traveler-row {
  position: relative;
  border: 2px solid rgba(6,61,107,.22);
  background: rgba(255,243,210,.35);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr .9fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.traveler-row label { margin: 0; }
.remove-traveler {
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(240,90,60,.12);
  color: var(--coral);
  font-weight: 900;
  cursor: pointer;
}
.games-portal-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
}
.panel-heading.standalone { border-radius: 22px 22px 0 0; }
.standalone-form { border-radius: 0 0 22px 22px; }
.portal-leaderboard {
  background: var(--navy);
  color: var(--cream);
  border-radius: 22px;
  padding: 26px;
  align-self: start;
  box-shadow: 9px 9px 0 var(--coral);
}
.portal-leaderboard h2 { color: var(--cream); font-size: 2.2rem; margin: 4px 0 18px; }
.portal-leaderboard ol { list-style: none; padding: 0; margin: 0; }
.portal-leaderboard li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(255,243,210,.18);
  padding: 13px 0;
}
.portal-leaderboard li span {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--coral); font-weight: 900;
}
.portal-leaderboard li em { font-style: normal; color: var(--gold); font-weight: 900; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-top: 0;
  border-radius: 0 0 22px 22px;
  padding: 22px;
}
.gallery-placeholder {
  aspect-ratio: 1 / .8;
  border-radius: 18px;
  background: var(--aqua);
  color: var(--navy);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 18px;
}
.gallery-placeholder.alt { background: var(--gold); }
.gallery-placeholder.coral { background: var(--coral); color: var(--white); }
.gallery-placeholder span { font-size: 4rem; line-height: 1; }
.gallery-placeholder b { font-size: 1.25rem; }
.gallery-placeholder small { opacity: .7; }

/* Admin */
.admin-body {
  background:
    repeating-linear-gradient(0deg, rgba(6,61,107,.022) 0 1px, transparent 1px 5px),
    var(--cream);
}
.admin-main {
  width: min(1240px, calc(100% - 34px));
  margin: 0 auto;
  padding: 36px 0 90px;
}
.admin-gate { width: min(980px, 100%); }
.admin-title-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin: 10px 0 22px;
}
.admin-title-row h1 {
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6.5rem);
  margin: 0;
  line-height: .88;
  letter-spacing: -.06em;
}
.admin-title-row p { max-width: 720px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.demo-ribbon {
  background: var(--navy);
  color: var(--cream);
  border-radius: 14px;
  padding: 13px 16px;
  margin-bottom: 18px;
}
.demo-ribbon b { color: var(--gold); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0;
}
.metric-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 5px 5px 0 rgba(24,185,189,.22);
}
.metric-card small { display: block; color: var(--teal); font-size: .7rem; letter-spacing: .12em; font-weight: 900; }
.metric-card strong { display: block; color: var(--navy); font-size: 3rem; line-height: 1; margin: 6px 0; }
.metric-card span { font-size: .84rem; opacity: .72; }
.metric-card.urgent { box-shadow: 5px 5px 0 rgba(240,90,60,.35); }
.metric-card.urgent strong { color: var(--coral); }

.admin-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 16px;
  margin: 16px 0;
}
.admin-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 6px 6px 0 rgba(6,61,107,.08);
}
.admin-card.wide { min-width: 0; }
.admin-card h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  margin: 5px 0 16px;
  line-height: 1;
}
.admin-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}
.stamp {
  border: 3px double var(--coral);
  color: var(--coral);
  border-radius: 50%;
  width: 72px; height: 72px;
  display: grid; place-items: center;
  font-size: .72rem;
  font-weight: 900;
  transform: rotate(9deg);
}
.arrival-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.arrival-stat {
  border: 2px solid rgba(6,61,107,.17);
  border-radius: 14px;
  padding: 14px;
}
.arrival-stat strong { display: block; color: var(--coral); font-size: 2.2rem; line-height: 1; }
.arrival-stat b { display: block; color: var(--navy); margin-top: 4px; }
.arrival-stat small { display: block; opacity: .62; line-height: 1.2; }
.transfer-note {
  margin-top: 14px;
  border-left: 5px solid var(--aqua);
  background: rgba(24,185,189,.09);
  padding: 11px 13px;
  border-radius: 8px;
}
.bar-list { display: grid; gap: 10px; }
.bar-list > div {
  display: grid;
  grid-template-columns: 88px 1fr 26px;
  gap: 10px;
  align-items: center;
  font-size: .83rem;
}
.bar-list span { color: var(--navy); font-weight: 800; }
.bar-list i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua) 0 var(--w), rgba(6,61,107,.1) var(--w) 100%);
}
.bar-list b { color: var(--coral); text-align: right; }
.local-summary p { margin: 0; }
.local-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; }
.local-summary dt { color: var(--teal); font-weight: 900; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.local-summary dd { margin: 0; color: var(--navy); font-weight: 700; }

.full-card { margin: 16px 0; }
.responsive-table-wrap { overflow-x: auto; }
.retro-table { width: 100%; border-collapse: collapse; min-width: 650px; }
.retro-table th, .retro-table td {
  text-align: left;
  padding: 12px 10px;
  border-top: 1px dashed rgba(6,61,107,.22);
}
.retro-table th { font-size: .7rem; letter-spacing: .1em; color: var(--teal); }
.table-pill { display: inline-block; border-radius: 999px; padding: 5px 9px; font-weight: 900; font-size: .72rem; }
.coral-pill { background: rgba(240,90,60,.14); color: #b63824; }
.gold-pill { background: rgba(246,180,76,.22); color: #92600d; }
.aqua-pill { background: rgba(24,185,189,.16); color: #08757a; }

.queue-count {
  background: var(--coral);
  color: white;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
}
.approval-queue { display: grid; gap: 10px; }
.approval-item {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 12px;
  align-items: center;
  border-top: 1px dashed rgba(6,61,107,.25);
  padding-top: 10px;
}
.approval-thumb {
  width: 62px; height: 62px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 2rem; font-weight: 900;
}
.wave-thumb { background: var(--aqua); color: var(--navy); }
.sun-thumb { background: var(--gold); color: var(--coral); }
.star-thumb { background: var(--coral); color: var(--white); }
.approval-copy { display: grid; }
.approval-copy b { color: var(--navy); }
.approval-copy span { font-size: .82rem; color: var(--teal); font-weight: 700; }
.approval-copy small { opacity: .65; }
.approval-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: end; }
.approval-actions button {
  border: 0;
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font-weight: 900;
  font-size: .72rem;
}
.approve-btn { background: var(--aqua); color: var(--navy); }
.reject-btn { background: rgba(240,90,60,.12); color: var(--coral); }
.approval-item.resolved { opacity: .45; }
.approval-item.resolved .approval-actions { display: none; }

.leaderboard-admin ol { list-style: none; padding: 0; margin: 0; }
.leaderboard-admin li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px dashed rgba(6,61,107,.2);
}
.leaderboard-admin li span {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-weight: 900;
}
.leaderboard-admin li b { color: var(--navy); }
.leaderboard-admin li em { font-style: normal; color: var(--coral); font-weight: 900; }

.roadmap-card {
  background:
    linear-gradient(135deg, rgba(24,185,189,.1), transparent 55%),
    var(--white);
}
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.roadmap-grid > div {
  border: 2px solid rgba(6,61,107,.18);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 9px;
  align-items: center;
}
.roadmap-grid span {
  grid-row: 1 / 3;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-weight: 900;
}
.roadmap-grid .roadmap-done { background: var(--aqua); color: var(--navy); }
.roadmap-grid b { color: var(--navy); line-height: 1.1; }
.roadmap-grid small { opacity: .62; }

/* responsive V2 */
@media (max-width: 980px) {
  .captain-section,
  .games-portal-grid,
  .admin-grid { grid-template-columns: 1fr; }
  .portal-welcome-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .arrival-layout { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: repeat(2, 1fr); }
  .traveler-row { grid-template-columns: repeat(2, 1fr); }
  .traveler-row .remove-traveler { position: absolute; right: 10px; top: 10px; }
}

@media (max-width: 760px) {
  .gate-card { grid-template-columns: 1fr; text-align: center; }
  .gate-logo { width: 210px; }
  .gate-input-row { grid-template-columns: 1fr; }
  .route-placeholder { grid-template-columns: 16px 1fr; }
  .route-line, .route-soon { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .crew-home-grid { grid-template-columns: 1fr; }
  .admin-title-row { align-items: start; flex-direction: column; }
  .admin-actions { justify-content: start; }
  .approval-item { grid-template-columns: 56px 1fr; }
  .approval-thumb { width: 52px; height: 52px; }
  .approval-actions { grid-column: 1 / -1; justify-content: start; }
}

@media (max-width: 520px) {
  .metric-grid,
  .arrival-layout,
  .roadmap-grid,
  .traveler-row { grid-template-columns: 1fr; }
  .status-card { grid-template-columns: 42px 1fr; }
  .status-card .text-button { grid-column: 2; justify-self: start; padding: 0; }
  .repeater-heading { align-items: start; flex-direction: column; }
  .prototype-banner .inline-link { float: none; display: block; margin-top: 8px; }
}


/* ===== V3: Meet the Crew ===== */
.crew-page-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-link {
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}
.header-link:hover { color: var(--coral); }

.meet-hero {
  margin-top: 26px;
  background:
    linear-gradient(135deg, rgba(24,185,189,.18), transparent 54%),
    var(--white);
  border: 3px solid var(--navy);
  border-radius: 30px;
  padding: clamp(28px, 6vw, 60px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
  box-shadow: 12px 12px 0 var(--aqua);
}
.meet-host-copy h1 {
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: .9;
  margin: 8px 0 20px;
  letter-spacing: -.055em;
}
.meet-intro {
  font-size: 1.12rem;
  max-width: 700px;
}
.host-facts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.host-facts span {
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 800;
  background: var(--cream);
}
.host-photo-placeholder {
  display: grid;
  place-items: center;
}
.retro-photo-frame {
  width: min(360px, 100%);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 60% 30%, rgba(246,180,76,.45), transparent 28%),
    linear-gradient(160deg, var(--aqua), var(--navy));
  border: 10px solid var(--cream);
  outline: 3px solid var(--navy);
  box-shadow: 10px 10px 0 var(--coral);
  transform: rotate(2deg);
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--cream);
  text-align: center;
  padding: 20px;
}
.retro-photo-frame span {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.retro-photo-frame small { opacity: .78; max-width: 220px; }

.meet-directory-head {
  margin: 76px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}
.meet-directory-head h2,
.crew-profile-fields h2 {
  color: var(--navy);
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: .95;
  margin: 5px 0 8px;
  letter-spacing: -.05em;
}
.meet-directory-head p { max-width: 680px; }
.directory-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.directory-tools input,
.directory-tools select {
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--white);
}

.crew-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.crew-profile-card {
  position: relative;
  min-width: 0;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px 1fr;
  box-shadow: 7px 7px 0 rgba(6,61,107,.09);
}
.family-color {
  position: absolute;
  height: 10px;
  left: 0; right: 0; top: 0;
}
.coral-family { background: var(--coral); }
.aqua-family { background: var(--aqua); }
.gold-family { background: var(--gold); }
.navy-family { background: var(--navy); }

.crew-photo {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 2.4rem;
  font-weight: 900;
}
.sample-photo-one { background: linear-gradient(145deg, var(--coral), var(--orange)); }
.sample-photo-two { background: linear-gradient(145deg, var(--aqua), var(--teal)); }
.sample-photo-three { background: linear-gradient(145deg, var(--gold), var(--coral)); }
.sample-photo-four { background: linear-gradient(145deg, var(--navy), var(--teal)); }

.crew-profile-copy { padding: 24px 22px; }
.crew-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--teal);
  font-size: .68rem;
  letter-spacing: .1em;
  font-weight: 900;
}
.crew-card-topline em {
  font-style: normal;
  color: var(--coral);
}
.crew-profile-copy h3 {
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
  margin: 8px 0 5px;
}
.crew-location {
  color: var(--teal);
  font-weight: 800;
  font-size: .88rem;
  margin: 0 0 13px;
}
.crew-facts {
  display: grid;
  gap: 4px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px dashed rgba(6,61,107,.24);
  font-size: .84rem;
}
.crew-profile-card.hidden-card { display: none; }

.meet-privacy-card {
  margin: 70px 0 30px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--cream);
  padding: 28px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
}
.meet-privacy-card h2 {
  color: var(--cream);
  margin: 6px 0 8px;
  font-size: 2rem;
}
.meet-privacy-card p { max-width: 900px; margin-bottom: 0; }

.crew-profile-fields {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 44px);
}
.profile-prompt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.profile-prompt-grid > div {
  border: 2px solid rgba(6,61,107,.15);
  background: rgba(255,243,210,.45);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 4px;
}
.profile-prompt-grid b { color: var(--navy); }
.profile-prompt-grid span { font-size: .84rem; opacity: .7; }

.profile-optin {
  margin: 24px 0 18px;
  padding: 18px;
  border: 2px dashed var(--aqua);
  border-radius: 16px;
  background: rgba(24,185,189,.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.profile-optin h3 {
  margin: 3px 0 0;
  color: var(--navy);
  text-transform: none;
  letter-spacing: normal;
}
.toggle-label {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  margin: 0 !important;
  white-space: nowrap;
}
.toggle-label input {
  width: 20px !important;
  height: 20px;
}

@media (max-width: 980px) {
  .meet-hero { grid-template-columns: 1fr; }
  .host-photo-placeholder { order: -1; }
  .retro-photo-frame { width: 250px; aspect-ratio: 1; }
  .crew-card-grid { grid-template-columns: 1fr; }
  .profile-prompt-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .meet-directory-head { align-items: start; flex-direction: column; }
  .directory-tools { justify-content: start; width: 100%; }
  .directory-tools input,
  .directory-tools select { width: 100%; }
  .crew-profile-card { grid-template-columns: 110px 1fr; }
  .crew-photo { min-height: 210px; }
  .profile-optin { align-items: start; flex-direction: column; }
}

@media (max-width: 520px) {
  .crew-profile-card { grid-template-columns: 1fr; }
  .crew-photo { min-height: 130px; }
  .profile-prompt-grid { grid-template-columns: 1fr; }
  .crew-page-nav .header-link { display: none; }
}


/* ===== V4: Individual crew cards + Team Lab ===== */
.crew-person-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.person-card {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(6,61,107,.08);
}
.kid-card { box-shadow: 6px 6px 0 rgba(246,180,76,.35); }
.person-photo {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--cream);
  font-size: 2.7rem;
  font-weight: 900;
  letter-spacing: -.03em;
}
.adult-one { background: linear-gradient(145deg, var(--coral), var(--orange)); }
.adult-two { background: linear-gradient(145deg, var(--navy), var(--teal)); }
.adult-three { background: linear-gradient(145deg, var(--aqua), var(--navy)); }
.kid-one { background: linear-gradient(145deg, var(--gold), var(--coral)); }
.kid-two { background: linear-gradient(145deg, var(--aqua), var(--gold)); color: var(--navy); }
.kid-three { background: linear-gradient(145deg, var(--coral), var(--aqua)); }

.person-card-copy { padding: 20px; }
.person-topline {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .67rem;
  letter-spacing: .1em;
  font-weight: 900;
  color: var(--teal);
}
.person-topline em {
  font-style: normal;
  color: var(--coral);
}
.person-card-copy h3 {
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
  margin: 8px 0 4px;
}
.person-family {
  margin: 0 0 10px;
  color: var(--teal);
  font-weight: 800;
  font-size: .84rem;
}
.team-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: .73rem;
  margin-bottom: 12px;
}
.team-coral { background: rgba(240,90,60,.16); color: #b63824; }
.team-aqua { background: rgba(24,185,189,.18); color: #08757a; }
.team-gold { background: rgba(246,180,76,.25); color: #8a5a0a; }
.team-navy { background: rgba(6,61,107,.12); color: var(--navy); }

.person-facts {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(6,61,107,.22);
  font-size: .82rem;
}
.person-card.hidden-card { display: none; }

.team-lab-card {
  background:
    linear-gradient(135deg, rgba(240,90,60,.07), transparent 45%),
    var(--white);
}
.team-name-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0 18px;
}
.assignment-table select {
  border: 2px solid rgba(6,61,107,.25);
  border-radius: 10px;
  padding: 7px 10px;
  background: var(--white);
  min-width: 190px;
}
.shuffle-team {
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}
.team-lab-actions {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .crew-person-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .crew-person-grid { grid-template-columns: 1fr; }
}

.traveler-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.traveler-wide { grid-column: span 2; }
@media (max-width: 980px) {
  .traveler-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .traveler-row { grid-template-columns: 1fr; }
  .traveler-wide { grid-column: auto; }
}


/* ===== WordPress integration / v0.1.1 fixes ===== */
body.admin-bar .site-header { top: 32px; }

.tt-page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 90px;
}

.tt-page-shell .entry-title {
  color: var(--navy);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.05em;
  margin: 0 0 24px;
}

.entry-content > *:first-child { margin-top: 0; }

/* WordPress menus render an UL inside the nav; the prototype used direct links. */
.site-nav > ul,
.site-nav .menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav li { margin: 0; padding: 0; }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--coral); }

/* Five hub cards now flow cleanly rather than leaving an awkward orphan row. */
.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
}
.feature-card:nth-child(even) { transform: none; }

/* Keep WordPress-generated content from inheriting odd default spacing. */
.entry-content img { height: auto; }
.entry-content a { word-break: break-word; }

@media (max-width: 760px) {
  .site-nav > ul,
  .site-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .site-nav > ul a,
  .site-nav .menu a {
    display: block;
    padding: 7px 4px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}


/* ===== v0.1.2 Homepage itinerary + pricing ===== */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 0 #d69226;
}
.itinerary-section {
  background:
    repeating-linear-gradient(0deg, rgba(6,61,107,.025) 0 1px, transparent 1px 5px),
    var(--cream);
}
.itinerary-heading-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(38px, 7vw, 84px);
  align-items: center;
}
.itinerary-ticket { margin-top: 0; }
.itinerary-track {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 60px auto 34px;
}
.itinerary-track::before {
  content: "";
  position: absolute;
  left: 136px;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: linear-gradient(var(--coral), var(--aqua), var(--navy));
  opacity: .35;
}
.itinerary-stop {
  position: relative;
  display: grid;
  grid-template-columns: 112px 52px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 108px;
}
.itinerary-day {
  color: var(--teal);
  font-size: .72rem;
  letter-spacing: .09em;
  font-weight: 900;
  text-align: right;
}
.itinerary-icon {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 rgba(6,61,107,.12);
}
.itinerary-stop.port .itinerary-icon { background: var(--gold); }
.itinerary-stop.sea .itinerary-icon { background: var(--aqua); }
.itinerary-stop.embark .itinerary-icon { background: var(--coral); color: white; }
.itinerary-copy {
  background: rgba(255,253,246,.72);
  border: 2px solid rgba(6,61,107,.18);
  border-radius: 16px;
  padding: 16px 18px;
}
.itinerary-copy span {
  display: block;
  color: var(--coral);
  font-size: .68rem;
  letter-spacing: .12em;
  font-weight: 900;
}
.itinerary-copy h3 {
  color: var(--navy);
  margin: 2px 0 2px;
  font-size: 1.45rem;
}
.itinerary-copy p { margin: 0; font-size: .9rem; }
.highlight-port .itinerary-copy {
  border-color: var(--coral);
  box-shadow: 5px 5px 0 rgba(240,90,60,.14);
}
.return .itinerary-copy {
  background: var(--navy);
  color: var(--cream);
}
.return .itinerary-copy h3 { color: var(--cream); }
.itinerary-cta,
.pricing-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.pricing-section {
  background:
    linear-gradient(135deg, rgba(24,185,189,.12), transparent 42%),
    var(--white);
}
.pricing-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}
.price-date {
  border: 3px double var(--coral);
  color: var(--coral);
  border-radius: 50%;
  width: 145px;
  height: 145px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
  transform: rotate(6deg);
  font-size: .73rem;
  letter-spacing: .08em;
  font-weight: 900;
  flex: 0 0 auto;
}
.occupancy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.occupancy-card {
  border: 3px solid var(--navy);
  border-radius: 22px;
  background: var(--cream);
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(24,185,189,.25);
}
.featured-pricing {
  transform: translateY(-10px);
  box-shadow: 8px 8px 0 rgba(240,90,60,.24);
}
.occupancy-head {
  background: var(--navy);
  color: var(--cream);
  padding: 18px 20px;
}
.occupancy-head span {
  color: var(--gold);
  font-size: .7rem;
  letter-spacing: .12em;
  font-weight: 900;
}
.occupancy-head h3 {
  margin: 3px 0 0;
  font-size: 1.45rem;
}
.price-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  row-gap: 2px;
  padding: 14px 17px;
  border-top: 1px dashed rgba(6,61,107,.23);
}
.price-list > div:first-child { border-top: 0; }
.price-list span {
  color: var(--navy);
  font-size: .86rem;
}
.price-list span b {
  display: inline-flex;
  min-width: 30px;
  color: var(--coral);
}
.price-list strong {
  color: var(--navy);
  text-align: right;
}
.price-list small {
  grid-column: 2;
  color: var(--teal);
  text-align: right;
  font-weight: 800;
}
.pricing-note {
  max-width: 960px;
  margin: 30px auto 0;
  border-left: 6px solid var(--gold);
  background: rgba(246,180,76,.13);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: .9rem;
}

@media (max-width: 980px) {
  .itinerary-heading-row,
  .occupancy-grid {
    grid-template-columns: 1fr;
  }
  .itinerary-ticket { max-width: 560px; }
  .featured-pricing { transform: none; }
  .pricing-heading { align-items: start; }
}
@media (max-width: 700px) {
  .itinerary-track::before {
    left: 23px;
  }
  .itinerary-stop {
    grid-template-columns: 48px 1fr;
    gap: 12px;
  }
  .itinerary-day {
    grid-column: 2;
    text-align: left;
    padding-left: 2px;
    margin-bottom: -8px;
  }
  .itinerary-icon {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .itinerary-copy {
    grid-column: 2;
  }
  .pricing-heading {
    flex-direction: column;
  }
  .price-date {
    width: auto;
    height: auto;
    border-radius: 999px;
    transform: none;
    padding: 8px 12px;
  }
}




/* ===== v0.1.4 Booking form: no mailto, no JavaScript ===== */
.booking-section {
  background:
    linear-gradient(135deg, rgba(246,180,76,.13), transparent 48%),
    var(--cream);
}
.booking-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}
.booking-copy h2 {
  color: var(--navy);
  margin-bottom: 10px;
}
.booking-note {
  margin-top: 24px;
  border-left: 6px solid var(--aqua);
  border-radius: 10px;
  padding: 14px 16px;
  background: rgba(24,185,189,.09);
}
.booking-form-card {
  border: 3px solid var(--navy);
  border-radius: 22px;
  background: var(--white);
  padding: clamp(20px, 4vw, 30px);
  box-shadow: 9px 9px 0 rgba(24,185,189,.24);
}
.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.booking-fields label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 900;
}
.booking-fields label.full {
  grid-column: 1 / -1;
}
.booking-fields input,
.booking-fields textarea {
  width: 100%;
  border: 2px solid rgba(6,61,107,.28);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: white;
  color: var(--ink);
}
.booking-fields input:focus,
.booking-fields textarea:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 4px rgba(24,185,189,.12);
}
.booking-consent {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(6,61,107,.05);
  font-size: .86rem;
}
.booking-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}
.booking-message {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 12px;
  font-weight: 700;
}
.booking-message.success {
  border: 2px solid var(--aqua);
  background: rgba(24,185,189,.12);
  color: var(--navy);
}
.booking-message.error {
  border: 2px solid var(--coral);
  background: rgba(240,90,60,.09);
  color: #8c2f24;
}
.tt-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media(max-width:850px){
  .booking-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .booking-fields{grid-template-columns:1fr}
  .booking-fields label.full{grid-column:auto}
}


/* ===== v0.1.6 Hub directory + public Tide Cup teaser ===== */
.hub-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(246,180,76,.10), transparent 24%),
    radial-gradient(circle at 12% 88%, rgba(24,185,189,.11), transparent 27%),
    var(--navy);
}
.hub-intro {
  color: rgba(255,253,246,.72);
  max-width: 720px;
  margin: -8px 0 32px;
  font-size: 1.02rem;
}
.hub-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.hub-directory-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 275px;
  padding: 20px;
  border: 2px solid rgba(255,253,246,.2);
  border-radius: 18px;
  background: rgba(255,253,246,.07);
  color: var(--cream);
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  overflow: hidden;
}
.hub-directory-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  border: 18px solid rgba(24,185,189,.08);
  border-radius: 50%;
}
.hub-directory-card:hover {
  transform: translateY(-4px);
  background: rgba(255,253,246,.11);
  border-color: var(--aqua);
}
.hub-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hub-number {
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 900;
}
.hub-directory-card .icon-badge {
  margin: 0;
}
.hub-directory-card h3 {
  color: var(--cream);
  margin: 0 0 8px;
  font-size: 1.45rem;
}
.hub-directory-card p {
  color: rgba(255,253,246,.74);
  margin: 0 0 18px;
  font-size: .9rem;
  line-height: 1.55;
}
.hub-directory-card strong {
  margin-top: auto;
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .02em;
}
.hub-games-card { border-color: rgba(246,180,76,.55); }
.hub-coming-card { cursor: default; opacity: .86; }
.hub-coming-card:hover { transform: none; border-color: rgba(255,253,246,.2); }
.hub-join-card {
  background: rgba(240,90,60,.13);
  border-color: rgba(240,90,60,.55);
}

.tide-cup-teaser {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  background:
    repeating-linear-gradient(0deg, rgba(6,61,107,.022) 0 1px, transparent 1px 5px),
    linear-gradient(120deg, var(--cream), #fff9e9 54%, rgba(246,180,76,.22));
}
.tide-cup-teaser-copy h2 {
  max-width: 720px;
  color: var(--navy);
  margin-bottom: 10px;
}
.tide-cup-secret-copy {
  max-width: 780px;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.65;
}
.cup-pill-row span {
  border-color: rgba(6,61,107,.24);
  background: rgba(255,255,255,.55);
}
.tide-cup-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.classified-cup-card {
  position: relative;
  max-width: 440px;
  justify-self: center;
  width: 100%;
  padding: 24px;
  border: 3px solid var(--navy);
  border-radius: 18px;
  background:
    repeating-linear-gradient(0deg, rgba(6,61,107,.035) 0 1px, transparent 1px 4px),
    #f5e8c7;
  box-shadow: 12px 12px 0 rgba(24,185,189,.27);
  transform: rotate(1.2deg);
  color: var(--navy);
}
.classified-top {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 9px;
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 900;
}
.classified-top span { color: var(--coral); }
.cup-emblem {
  width: 150px;
  height: 150px;
  margin: 24px auto;
  border: 5px double var(--coral);
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  transform: rotate(-5deg);
}
.cup-emblem span { color: var(--gold); font-size: 1.4rem; line-height: 1; }
.cup-emblem strong { color: var(--navy); font-size: 1.5rem; line-height: .92; letter-spacing: .04em; }
.cup-emblem small { color: var(--coral); font-weight: 900; letter-spacing: .12em; }
.classified-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px dashed rgba(6,61,107,.28);
  font-size: .72rem;
  letter-spacing: .08em;
}
.redacted {
  display: block;
  height: 11px;
  background: var(--navy);
  border-radius: 2px;
}
.redacted.long { width: 95%; }
.redacted.medium { width: 70%; }
.redacted.short { width: 48%; }
.classified-cup-card > p {
  margin: 22px 0 4px;
  text-align: center;
  color: var(--coral);
  font-size: .72rem;
  letter-spacing: .11em;
  font-weight: 900;
}
.classified-stamp {
  position: absolute;
  right: -16px;
  bottom: 28px;
  padding: 8px 11px;
  border: 3px double var(--coral);
  color: var(--coral);
  background: rgba(245,232,199,.83);
  transform: rotate(-12deg);
  text-align: center;
  font-size: .59rem;
  line-height: 1.05;
  letter-spacing: .04em;
  font-weight: 900;
}
@media(max-width:1000px){
  .hub-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tide-cup-teaser{grid-template-columns:1fr}
  .classified-cup-card{justify-self:start}
}
@media(max-width:650px){
  .hub-directory-grid{grid-template-columns:1fr}
  .hub-directory-card{min-height:230px}
  .classified-stamp{right:4px;bottom:18px}
}
