/* Equity Estates brand system — pulled from equityestatesfund.com
   Fonts: ivypresto-display (Typekit) for headings, open-sans for body.
   Playfair Display / Open Sans (Google) serve as fallbacks. */

:root {
  --gold: #e2b969;
  --navy: #1b2132;
  --cream: #fff8f0;
  --black: #141414;
  --green: #004225;
  --serif: "ivypresto-display", "Playfair Display", Georgia, serif;
  --sans: "open-sans", "Open Sans", Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--black);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
}

h2.light {
  color: var(--cream);
}

.center {
  text-align: center;
}

.container {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container.narrow {
  max-width: 50rem;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow.gold {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.button {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  transition: all 0.3s ease-in-out;
}
.button:hover {
  background: #c69a45;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  transition: background 0.3s ease;
}
.site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.header-avatar {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.header-avatar img {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 248, 240, 0.45);
  display: block;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.header-logo img {
  height: 1.375rem;
  display: block;
}
.header-tag {
  color: var(--gold);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255, 248, 240, 0.35);
  padding-left: 0.75rem;
  white-space: nowrap;
}
.header-tag sup {
  font-size: 0.7em;
}

.site-nav {
  display: flex;
  gap: 2rem;
}
.site-nav a {
  color: var(--cream);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}
.site-nav a:hover {
  color: var(--gold);
}
.nav-logout {
  margin: 0;
  display: flex;
  align-items: center;
}
.nav-logout button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.nav-logout button:hover {
  color: var(--gold);
}

/* "More" collapsible menu (desktop flyout, mobile inline) */
.nav-more {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-more-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-more-toggle:hover,
.nav-more.open .nav-more-toggle {
  color: var(--gold);
}
.nav-caret {
  font-size: 0.85em;
  transition: transform 0.25s ease;
}
.nav-more.open .nav-caret {
  transform: rotate(180deg);
}
.nav-more-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  right: 0;
  min-width: 12rem;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  border: 1px solid rgba(226, 185, 105, 0.25);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.nav-more.open .nav-more-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-more-menu a {
  padding: 0.7rem 1.25rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(17, 21, 31, 0.9), rgba(27, 33, 50, 0.85)),
    url("img/hero-cabos.webp") center / cover no-repeat,
    var(--navy);
  padding: 7rem 1.25rem 5rem;
}

.hero-anniv {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.anniv-num {
  font-family: var(--serif);
  font-size: clamp(3.25rem, 9vw, 5rem);
  line-height: 1;
  color: var(--gold);
}
.anniv-num sup {
  font-size: 0.35em;
  font-style: italic;
  vertical-align: super;
}
.anniv-label {
  font-size: clamp(0.875rem, 2.2vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream);
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  margin: 1rem 0 1.25rem;
}
.hero h1 em {
  color: var(--gold);
}

.hero .eyebrow {
  color: var(--gold);
}

.hero-rule {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 26rem;
  margin: 1.5rem auto;
}
.hero-rule span {
  flex: 1;
  height: 1px;
  background: rgba(226, 185, 105, 0.45);
}
.hero-mark {
  width: min(14rem, 50vw);
  height: auto;
  opacity: 0.9;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-style: italic;
  color: var(--cream);
}

.hero-dates {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.75);
  margin: 0.5rem 0 2.25rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
}
.section.alt {
  background: var(--cream);
}
.section.dark {
  background: var(--navy);
}

.section p + p {
  margin-top: 1rem;
}
.section em {
  font-family: var(--serif);
  font-style: italic;
}

/* ---------- Objective cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: #fff;
  border-top: 3px solid var(--gold);
  padding: 2rem 1.75rem;
  box-shadow: 0 10px 30px rgba(27, 33, 50, 0.07);
}
.card-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}
.card h3 {
  color: var(--navy);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}
.card p {
  font-size: 0.9375rem;
}

/* ---------- Stat band ---------- */

.band {
  background: var(--green);
  padding: 2.5rem 0;
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  color: var(--gold);
  display: block;
  line-height: 1.1;
}
.stat span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
}

/* ---------- Itinerary ---------- */

.day {
  background: #fff;
  border: 1px solid rgba(27, 33, 50, 0.1);
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(27, 33, 50, 0.05);
}
.day:first-of-type {
  margin-top: 2.5rem;
}

.cal-subscribe {
  margin: 2rem 0 0.5rem;
}
.cal-tip {
  font-size: 0.875rem;
  color: var(--navy);
  margin-top: 0.85rem;
  line-height: 1.5;
}
.cal-note {
  font-size: 0.8125rem;
  color: rgba(20, 20, 20, 0.6);
  margin-top: 0.5rem;
  line-height: 1.5;
}
/* The feed URL is shown as text with a copy button, not as a link — clicking a
   link downloads the .ics and imports it instead of subscribing. */
.cal-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.cal-link {
  color: var(--navy);
  word-break: break-all;
  font-size: 0.8125rem;
  background: rgba(27, 33, 50, 0.06);
  padding: 0.3rem 0.5rem;
  border-radius: 0.2rem;
  text-align: left;
}
.cal-copy-btn {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(27, 33, 50, 0.35);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}
.cal-copy-btn:hover {
  border-color: var(--navy);
}

.day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  background: var(--navy);
  padding: 1rem 1.5rem;
}
.day-date {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--cream);
}
.day-loc {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.sched {
  list-style: none;
  padding: 0.5rem 1.5rem;
}
.sched > li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(27, 33, 50, 0.08);
}
.sched > li:last-child {
  border-bottom: 0;
}

.time {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.3em;
  white-space: nowrap;
}
.sched strong {
  color: var(--navy);
}
.sched .sub {
  margin: 0.5rem 0 0 1.25rem;
  font-size: 0.9375rem;
}
.sched .sub li {
  padding: 0.125rem 0;
}

/* ---------- Travel ---------- */

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.travel-item {
  background: #fff;
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
}
.travel-item h3 {
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.travel-item p {
  font-size: 0.9375rem;
}

/* ---------- Budget ---------- */

.section.dark p.muted {
  color: rgba(255, 248, 240, 0.8);
  margin-bottom: 2.5rem;
}
.section.dark p.muted strong {
  color: var(--gold);
  font-weight: 700;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--cream);
}
.budget-table th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
  padding: 0 0.75rem 0.75rem;
  border-bottom: 1px solid rgba(226, 185, 105, 0.4);
}
.budget-table th:last-child,
.budget-table td:last-child {
  text-align: right;
  white-space: nowrap;
}
.budget-table td {
  padding: 0.875rem 0.75rem;
  border-bottom: 1px solid rgba(255, 248, 240, 0.12);
  vertical-align: top;
}
.budget-table .note {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 248, 240, 0.55);
}
.budget-table tfoot td {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--gold);
  border-bottom: 0;
  padding-top: 1.25rem;
}

.strategic-notes {
  margin-top: 2.5rem;
}
.strategic-notes h3 {
  color: var(--gold);
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}
.strategic-notes ul {
  list-style: none;
}
.strategic-notes li {
  color: rgba(255, 248, 240, 0.85);
  padding: 0.375rem 0 0.375rem 1.5rem;
  position: relative;
}
.strategic-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1em;
  width: 0.75rem;
  height: 1px;
  background: var(--gold);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  text-align: center;
  padding: 4rem 1.25rem;
}
.footer-logo {
  height: 1.25rem;
  opacity: 0.9;
}
.footer-theme {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--cream);
  margin-top: 1.5rem;
}
.footer-theme em {
  color: var(--gold);
}
.footer-meta {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.5);
  margin-top: 0.75rem;
}

/* ---------- Mobile ---------- */

@media (max-width: 47.9375rem) {
  .nav-toggle {
    display: flex;
  }

  /* Stack the wordmark and the anniversary tag so the header doesn't crowd
     the avatar on narrow screens; drop the vertical divider when stacked. */
  .header-left {
    gap: 0.6rem;
  }
  .header-avatar img {
    width: 1.75rem;
    height: 1.75rem;
  }
  .header-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
  .header-logo img {
    height: 1rem;
  }
  .header-tag {
    font-size: 0.5625rem;
    border-left: 0;
    padding-left: 0;
  }

  .site-header {
    background: var(--navy);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(226, 185, 105, 0.25);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .site-nav.open {
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.35);
  }
  .site-nav a {
    padding: 1rem 1.25rem;
  }

  /* The "More" menu expands inline within the mobile drawer. */
  .nav-more {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-more-toggle {
    justify-content: space-between;
    padding: 1rem 1.25rem;
    letter-spacing: 0.24em;
  }
  .nav-more-menu {
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
    opacity: 1;
    visibility: hidden;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, visibility 0.3s;
  }
  .nav-more.open .nav-more-menu {
    visibility: visible;
    max-height: 40rem;
  }
  .nav-more-menu a {
    padding-left: 2.5rem;
  }

  /* Log out aligns with the other drawer items (same left edge + padding). */
  .nav-logout {
    display: block;
    width: 100%;
  }
  .nav-logout button {
    width: 100%;
    text-align: left;
    padding: 1rem 1.25rem;
  }

  .sched > li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .day-head {
    flex-direction: column;
  }
}

/* ---------- Forms (profile pages) ---------- */

.page-form {
  background: var(--cream);
}
.form-page {
  padding-top: 8rem;
  min-height: 70vh;
}
.form-narrow {
  max-width: 44rem;
}
.muted-dark {
  color: rgba(20, 20, 20, 0.6);
}
.muted-dark a {
  color: var(--navy);
}

.ee-form {
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(27, 33, 50, 0.07);
  padding: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.ee-form label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.1rem 0 0.35rem;
}
.ee-form label:first-child {
  margin-top: 0;
}

.ee-form input,
.ee-form select,
.ee-form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(27, 33, 50, 0.25);
  border-radius: 0;
  background: #fff;
  color: var(--black);
  width: 100%;
}
.ee-form input:focus,
.ee-form select:focus,
.ee-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: -1px;
  border-color: var(--gold);
}

.ee-form .button {
  margin-top: 1.75rem;
  border: 0;
  cursor: pointer;
  align-self: flex-start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
.form-row > div {
  display: flex;
  flex-direction: column;
}
@media (max-width: 37.5rem) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.current-photo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: rgba(20, 20, 20, 0.6);
}
.current-photo img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.flash-ok {
  background: var(--green);
  color: var(--cream);
  padding: 0.85rem 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}

.cta-band {
  background: var(--cream);
  text-align: center;
}

/* ---------- Lookup errors & private page ---------- */

.flash-err {
  background: #b3433a;
  color: #fff;
  padding: 0.85rem 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}

.private-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.private-logo {
  width: 14rem;
  max-width: 70vw;
  margin-bottom: 2rem;
}

/* ---------- Profile form sections ---------- */

.ee-form .form-section {
  font-size: 1.375rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin: 2.65rem 0 0.25rem;
}
.ee-form .form-section:first-of-type {
  margin-top: 0;
}

.field-hint {
  font-size: 0.8125rem;
  color: rgba(20, 20, 20, 0.55);
  margin-top: 0.35rem;
}

/* ---------- Browser notification settings ---------- */

#notif-settings .notif-status {
  font-size: 0.875rem;
  color: rgba(20, 20, 20, 0.7);
  margin: 0.5rem 0 1rem;
}
#notif-settings .notif-status.ok {
  color: var(--green);
}
#notif-settings .notif-status.err {
  color: #b3433a;
}
#notif-settings .notif-status.muted {
  color: rgba(20, 20, 20, 0.45);
}
#notif-settings .chk {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--navy);
  margin: 0.4rem 0;
  cursor: pointer;
}
#notif-settings .chk input {
  width: auto;
  margin: 0;
}

/* ---------- Password strength indicator ---------- */

.pw-strength {
  margin-top: 0.5rem;
}
.pw-strength .pw-meter {
  height: 6px;
  background: rgba(27, 33, 50, 0.12);
  overflow: hidden;
}
.pw-strength .pw-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #b3433a;
  transition: width 0.2s ease, background 0.2s ease;
}
.pw-strength[data-level="1"] .pw-meter-fill {
  width: 25%;
  background: #b3433a;
}
.pw-strength[data-level="2"] .pw-meter-fill {
  width: 50%;
  background: #d08a2e;
}
.pw-strength[data-level="3"] .pw-meter-fill {
  width: 75%;
  background: var(--gold);
}
.pw-strength[data-level="4"] .pw-meter-fill {
  width: 100%;
  background: var(--green);
}
.pw-strength .pw-word {
  margin-top: 0.5rem;
}
.pw-reqs {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.8125rem;
  color: rgba(20, 20, 20, 0.55);
}
.pw-reqs li {
  position: relative;
  padding-left: 1.4rem;
  line-height: 1.7;
}
.pw-reqs li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: rgba(20, 20, 20, 0.35);
}
.pw-reqs li.met {
  color: var(--green);
}
.pw-reqs li.met::before {
  content: "✓";
  color: var(--green);
}

.form-aside {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: rgba(20, 20, 20, 0.7);
}
.form-aside a {
  color: var(--navy);
  font-weight: 600;
}

/* Sits under the password field on the sign-in form. align-self keeps the hit
   area to the text itself rather than the full row width. */
.forgot-link {
  align-self: flex-end;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--navy);
  font-weight: 600;
}

/* The sign-in page's one remaining aside, sized up so a first-time visitor
   can't miss that this is also where they set their password. */
.form-aside.aside-lead {
  font-size: 1.40625rem; /* 50% larger than .form-aside */
  line-height: 1.4;
}

.password-form {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27, 33, 50, 0.12);
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.4rem 0.75rem;
  margin-top: 0.25rem;
}
.check-option {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  margin: 0 !important;
  color: var(--black) !important;
}
.check-option input {
  width: auto;
  accent-color: var(--gold);
}

/* Long-form acknowledgement: the text wraps as a paragraph beside the box
   rather than centring against it like the short dietary options do. */
.ack-option {
  display: flex !important;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.5;
  margin: 0.25rem 0 0 !important;
  color: var(--black) !important;
  cursor: pointer;
}
.ack-option input {
  width: auto;
  flex: none;
  margin-top: 0.2rem;
  accent-color: var(--gold);
}

/* ---------- Chat ---------- */

.chat-page .form-narrow { max-width: 46rem; }

.chat-window {
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(27,33,50,.07);
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.chat-guidelines {
  margin: 0;
  padding: .75rem 1.25rem;
  font-size: .85rem;
  line-height: 1.45;
  color: rgba(20,20,20,.65);
  background: var(--cream);
  border-bottom: 1px solid rgba(27,33,50,.08);
}

.chat-messages {
  height: 55vh;
  min-height: 18rem;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-empty { color: rgba(20,20,20,.45); text-align: center; margin: auto 0; }

.chat-row { display: flex; gap: .75rem; align-items: flex-end; max-width: 85%; }
.chat-row.mine { flex-direction: row-reverse; align-self: flex-end; }

.chat-avatar { flex: 0 0 auto; }
.chat-avatar img,
.avatar-initials {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar-initials {
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: .9375rem;
}

.chat-bubble {
  background: var(--cream);
  border-radius: 14px;
  padding: .6rem .9rem;
}
.chat-row.mine .chat-bubble { background: rgba(226,185,105,.22); }

.chat-meta { display: flex; gap: .6rem; align-items: baseline; margin-bottom: .15rem; }
.chat-who { font-weight: 700; font-size: .8125rem; color: var(--navy); }
.chat-when { font-size: .6875rem; color: rgba(20,20,20,.45); }
.chat-delete {
  margin-left: auto;
  padding: 0 .25rem;
  background: none;
  border: 0;
  font-size: .6875rem;
  color: rgba(20,20,20,.4);
  cursor: pointer;
  line-height: 1;
}
.chat-delete:hover { color: #b3261e; }
.chat-text { font-size: .9375rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.chat-photo {
  display: block;
  margin-top: .4rem;
  max-width: 100%;
  max-height: 18rem;
  border-radius: 10px;
}

.chat-composer {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1rem;
  border-top: 1px solid rgba(27,33,50,.1);
}
.chat-composer input[type="text"] {
  flex: 1;
  min-width: 0; /* allow the input to shrink so the row fits narrow screens */
  font-family: var(--sans);
  font-size: 1rem;
  padding: .6rem .75rem;
  border: 1px solid rgba(27,33,50,.25);
}
.chat-composer input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.chat-composer .button { border: 0; cursor: pointer; padding: .7rem 1.4rem; flex-shrink: 0; white-space: nowrap; }
.chat-composer .chat-photo-btn { flex-shrink: 0; }
@media (max-width: 30rem) {
  .chat-composer { gap: .4rem; padding: .85rem .6rem; }
  .chat-composer .button { padding: .7rem .9rem; letter-spacing: .12em; }
}
.chat-composer .button[disabled] { opacity: .6; cursor: not-allowed; }
.chat-spinner {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: .45em;
  vertical-align: -.15em;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: chat-spin .6s linear infinite;
}
@keyframes chat-spin { to { transform: rotate(360deg); } }
.chat-composer .chat-avatar img,
.chat-composer .avatar-initials { width: 2.25rem; height: 2.25rem; }
.chat-photo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  cursor: pointer;
  border: 1px solid rgba(27,33,50,.25);
  border-radius: 8px;
  flex-shrink: 0;
}
.chat-photo-btn:hover { background: rgba(27,33,50,.05); }
.chat-photo-name {
  margin: 0;
  padding: 0 1rem .85rem;
  font-size: .8125rem;
  color: rgba(20,20,20,.6);
}

.chat-identify { padding: 1.25rem; border-top: 1px solid rgba(27,33,50,.1); }
.chat-identify-note { font-size: .9375rem; color: rgba(20,20,20,.7); margin-bottom: 1rem; }
.chat-identify-note a { color: var(--navy); }
.chat-identify-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.chat-identify-form input {
  font-family: var(--sans);
  font-size: 1rem;
  padding: .6rem .75rem;
  border: 1px solid rgba(27,33,50,.25);
}
.chat-identify-form input[type="email"] { flex: 1; min-width: 14rem; }
.chat-identify-form input[name="access_code"] { width: 6rem; }
.chat-identify-form input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.chat-identify-form .button { border: 0; cursor: pointer; }

/* =====================================================================
   New features: announcements, FAQ, directory, memory wall, timeline,
   map, trivia. Built on the existing navy/gold/cream palette.
   ===================================================================== */

.button.ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(27,33,50,.3);
}
.button.ghost:hover { background: rgba(27,33,50,.06); }

/* ---- Home announcement banner ---- */
.home-ann {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .9rem 1.5rem;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  border-left: 5px solid var(--gold);
}
.home-ann.ann-important { border-left-color: #e8a33d; }
.home-ann.ann-urgent { background: #7a1f1a; border-left-color: #ffd9d4; }
.home-ann-badge {
  font-size: .65rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); white-space: nowrap;
}
.home-ann.ann-urgent .home-ann-badge { color: #ffd9d4; }
.home-ann-text { flex: 1; min-width: 12rem; font-size: .95rem; }
.home-ann-more { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; white-space: nowrap; }

/* ---- Announcements feed ---- */
.ann-feed { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.ann-card {
  background: #fff; border: 1px solid rgba(27,33,50,.12);
  border-left: 5px solid var(--gold); border-radius: 8px; padding: 1.1rem 1.3rem;
}
.ann-card.ann-important { border-left-color: #e8a33d; }
.ann-card.ann-urgent { border-left-color: #b3261e; background: #fff6f5; }
.ann-card.pinned { box-shadow: 0 2px 12px rgba(27,33,50,.08); }
.ann-top { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .4rem; }
.ann-badge {
  font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: var(--navy); padding: .15rem .5rem; border-radius: 4px;
}
.ann-card.ann-important .ann-badge { background: #c47e1a; }
.ann-card.ann-urgent .ann-badge { background: #b3261e; }
.ann-pin { font-size: .7rem; color: var(--navy); font-weight: 600; }
.ann-time { font-size: .75rem; color: rgba(20,20,20,.5); margin-left: auto; }
.ann-title { font-size: 1.15rem; margin: 0 0 .3rem; color: var(--navy); }
.ann-body { font-size: .95rem; line-height: 1.55; white-space: pre-wrap; }
/* WordPress-sourced content is real HTML, so don't collapse its whitespace. */
.ann-wp-body { white-space: normal; }
.ann-wp-body p { margin: 0 0 .8rem; }
.ann-wp-body img { max-width: 100%; height: auto; border-radius: 8px; }
.ann-wp-body a { color: var(--gold-dark, #b8902a); }
.ann-link { margin: .6rem 0 0; font-size: .9rem; font-weight: 600; }
/* Collapsible WordPress posts: clamp to the first 4 lines until expanded. */
.ann-collapse.collapsed .ann-wp-body {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ann-toggle {
  margin-top: .5rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gold-dark, #b8902a);
}
.ann-toggle:hover { text-decoration: underline; }

/* ---- FAQ ---- */
.faq-search {
  width: 100%; font-family: var(--sans); font-size: 1rem; padding: .7rem .85rem;
  border: 1px solid rgba(27,33,50,.25); margin: 1.5rem 0;
}
.faq-cat {
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 1.75rem 0 .75rem;
}
.faq-item { border-bottom: 1px solid rgba(27,33,50,.12); padding: .25rem 0; }
.faq-item summary {
  cursor: pointer; padding: .75rem 0; font-weight: 600; color: var(--navy); list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+ "; color: var(--gold); font-weight: 700; }
.faq-item[open] summary::before { content: "– "; }
.faq-answer { padding: 0 0 .9rem; font-size: .95rem; line-height: 1.6; white-space: pre-wrap; color: rgba(20,20,20,.8); }

/* ---- Directory ---- */
.dir-filters {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  justify-content: center; margin: 1.5rem 0;
}
.dir-filters input[type="search"], .dir-filters select {
  font-family: var(--sans); font-size: .95rem; padding: .55rem .7rem;
  border: 1px solid rgba(27,33,50,.25);
}
.dir-filters input[type="search"] { min-width: 16rem; }
.dir-check { display: inline-flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--navy); }
.dir-count { text-align: center; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(20,20,20,.5); margin-bottom: 1.25rem; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.25rem; }
.dir-card {
  background: #fff; border: 1px solid rgba(27,33,50,.12); border-radius: 10px;
  padding: 1.4rem 1.2rem; text-align: center;
}
.dir-avatar { width: 5rem; height: 5rem; margin: 0 auto .85rem; }
.dir-avatar img, .dir-avatar .avatar-initials {
  width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--cream); font-size: 1.4rem; font-weight: 700;
}
.dir-name { font-size: 1.1rem; margin: 0 0 .15rem; color: var(--navy); }
.dir-flag { font-size: .9rem; }
.dir-role { font-size: .9rem; color: var(--gold); font-weight: 600; margin: 0 0 .35rem; }
.dir-meta { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; font-size: .75rem; color: rgba(20,20,20,.55); margin-bottom: .6rem; }
.dir-meta span:not(:last-child)::after { content: "·"; margin-left: .4rem; }
.dir-line { font-size: .85rem; line-height: 1.45; margin: .3rem 0; color: rgba(20,20,20,.8); }
.dir-fun { font-style: italic; color: rgba(20,20,20,.6); }

/* ---- Memory wall ---- */
.mem-form { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0; background: #fff; padding: 1.1rem; border: 1px solid rgba(27,33,50,.12); border-radius: 10px; }
.mem-form select, .mem-form textarea { font-family: var(--sans); font-size: 1rem; padding: .6rem .7rem; border: 1px solid rgba(27,33,50,.25); }
.mem-form-actions { display: flex; align-items: center; gap: .7rem; }
.mem-form-actions .button { margin-left: auto; }
.mem-photo-name { font-size: .8rem; color: rgba(20,20,20,.6); }
.mem-cats { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.25rem 0; }
.mem-cat {
  text-decoration: none; font-size: .8rem; padding: .35rem .8rem; border-radius: 20px;
  border: 1px solid rgba(27,33,50,.2); color: var(--navy);
}
.mem-cat.on { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.mem-grid { columns: 2; column-gap: 1.1rem; }
.mem-card {
  break-inside: avoid; background: #fff; border: 1px solid rgba(27,33,50,.12);
  border-radius: 10px; padding: 1rem; margin-bottom: 1.1rem;
}
.mem-photo { width: 100%; border-radius: 8px; margin-bottom: .6rem; display: block; }
.mem-cat-tag { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.mem-body { font-size: .95rem; line-height: 1.55; margin: .4rem 0; white-space: pre-wrap; }
.mem-foot { display: flex; align-items: center; justify-content: space-between; margin-top: .5rem; }
.mem-author { font-size: .8rem; font-weight: 600; color: var(--navy); }
.mem-react {
  background: none; border: 1px solid rgba(27,33,50,.2); border-radius: 20px;
  padding: .25rem .6rem; cursor: pointer; font-size: .85rem;
}
.mem-react.on { background: rgba(226,185,105,.22); border-color: var(--gold); }
@media (max-width: 640px) { .mem-grid { columns: 1; } }

/* ---- Timeline ---- */
.tl { position: relative; margin-top: 2.5rem; padding-left: 1rem; }
.tl::before { content: ""; position: absolute; left: 5.5rem; top: 0; bottom: 0; width: 2px; background: rgba(226,185,105,.4); }
.tl-entry { position: relative; display: flex; gap: 1.5rem; margin-bottom: 2.25rem; }
.tl-marker { flex: 0 0 4.5rem; text-align: right; position: relative; padding-right: 1.4rem; }
.tl-year { font-family: var(--serif); font-size: 1.35rem; color: var(--gold); font-weight: 600; }
.tl-marker::after { content: ""; position: absolute; right: -1.1rem; top: .4rem; width: .85rem; height: .85rem; background: var(--gold); border-radius: 50%; border: 3px solid var(--cream); }
.tl-content { flex: 1; padding-left: 1rem; }
.tl-title { font-size: 1.15rem; color: var(--navy); margin: 0 0 .5rem; }
.tl-img { width: 100%; max-width: 30rem; border-radius: 8px; margin: .25rem 0 .6rem; display: block; }
.tl-video { position: relative; padding-bottom: 56.25%; max-width: 34rem; margin: .25rem 0 .6rem; }
.tl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 8px; }
.tl-body { font-size: .95rem; line-height: 1.6; white-space: pre-wrap; color: rgba(20,20,20,.8); }
@media (max-width: 560px) {
  .tl-entry { gap: 1.25rem; }
  /* Year column must fit a 4-digit year; dot + line sit just to its right. */
  .tl::before { left: 3.2rem; }
  .tl-marker { flex: 0 0 2.8rem; text-align: left; padding-right: 0; }
  .tl-year { font-size: .95rem; white-space: nowrap; }
  .tl-marker::after { right: auto; left: 2.8rem; top: .3rem; }
  .tl-content { padding-left: 0; }
}

/* ---- Culture & Values (bottom of Our Story) ---- */
.values-section { padding-top: 3.5rem; }
.values-lead { max-width: 42rem; margin: .75rem auto 0; color: rgba(20,20,20,.75); font-size: 1.0625rem; line-height: 1.6; }
.values-statement { text-align: center; max-width: 40rem; margin: 2.25rem auto 0; }
.vs-label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.values-statement p { font-family: var(--serif); font-size: 1.4rem; line-height: 1.4; color: var(--navy); }
.values-core-eyebrow { margin-top: 3rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.value-card {
  background: #fff;
  border: 1px solid rgba(27,33,50,.1);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 1.5rem 1.4rem;
}
.value-num {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: .5rem;
}
.value-card h3 { font-size: 1.15rem; color: var(--navy); margin: 0 0 .5rem; }
.value-card p { font-size: .9rem; line-height: 1.55; color: rgba(20,20,20,.75); }
.values-foot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.values-foot-item p { font-size: 1.0625rem; line-height: 1.6; color: rgba(20,20,20,.8); }
.values-promise { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--navy); }

/* ---- Map ---- */
.cabo-map { height: 26rem; border-radius: 10px; margin: 1.25rem 0; z-index: 0; }
.map-cats { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: 1.25rem; }
.map-cat {
  background: #fff; border: 1px solid rgba(27,33,50,.2); border-radius: 20px;
  padding: .3rem .75rem; font-size: .78rem; cursor: pointer; color: rgba(20,20,20,.5);
}
.map-cat.on { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.map-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.1rem; align-items: start; }
.map-card { background: #fff; border: 1px solid rgba(27,33,50,.12); border-radius: 10px; overflow: hidden; }
/* Collapsible header (summary) */
.map-card-head {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .9rem 2rem .9rem 1rem;
  position: relative;
}
.map-card-head::-webkit-details-marker { display: none; }
.map-card-caret {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: .9rem;
  transition: transform .25s ease;
}
.map-card[open] .map-card-caret { transform: translateY(-50%) rotate(180deg); }
.map-card-img { width: 100%; height: 9rem; object-fit: cover; display: block; }
.map-card-body { padding: .9rem 1rem; border-top: 1px solid rgba(27,33,50,.08); }
.map-card-body .map-card-img { margin: -.9rem -1rem .7rem; width: calc(100% + 2rem); border-radius: 0; }
.map-card-cat { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.map-card-name { font-size: 1.05rem; color: var(--navy); font-weight: 600; }
.map-card-desc { font-size: .88rem; line-height: 1.5; color: rgba(20,20,20,.75); margin-bottom: .5rem; }
.map-card-link { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); text-decoration: none; }

/* ---- Trivia ---- */
.trivia-card { background: #fff; border: 1px solid rgba(27,33,50,.12); border-radius: 12px; padding: 1.75rem; margin-top: 1.75rem; }
.trivia-cat { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.trivia-q { font-size: 1.3rem; color: var(--navy); margin: .4rem 0 1.25rem; }
.trivia-options { display: flex; flex-direction: column; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.trivia-opt { display: flex; align-items: center; gap: .65rem; padding: .75rem .9rem; border: 1px solid rgba(27,33,50,.2); border-radius: 8px; cursor: pointer; }
.trivia-opt:hover { background: rgba(27,33,50,.04); }
.trivia-options.answered li { display: flex; align-items: center; justify-content: space-between; padding: .75rem .9rem; border: 1px solid rgba(27,33,50,.15); border-radius: 8px; }
.trivia-options.answered li.correct { background: #eef7ee; border-color: #6fae6f; }
.trivia-options.answered li.wrong { background: #fbeeee; border-color: #d08d8d; }
.trivia-mark { font-size: .8rem; font-weight: 700; color: var(--navy); }
.trivia-result { margin-top: 1.25rem; font-weight: 600; text-align: center; }
.trivia-result.ok { color: #2f7d32; }
.trivia-result.no { color: #b3261e; }

/* Answered questions collapse to a summary row; click to reveal the result. */
.trivia-card-done { padding: 0; }
.trivia-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.25rem 1.75rem;
}
.trivia-summary::-webkit-details-marker { display: none; }
.trivia-summary-main { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.trivia-q-sm { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); font-weight: 600; }
.trivia-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.trivia-badge.ok { background: rgba(47,125,50,.12); color: #2f7d32; }
.trivia-badge.no { background: rgba(179,38,30,.1); color: #b3261e; }
.trivia-summary::after {
  content: "▾";
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.trivia-card-done[open] .trivia-summary::after { transform: rotate(180deg); }
.trivia-done-body { padding: 0 1.75rem 1.75rem; }
.trivia-done-body .trivia-result { margin-top: 1.1rem; }

/* ---- Trivia leaderboard ---- */
.lb { list-style: none; padding: 0; margin: 2rem 0 0; }
.lb-row { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid rgba(27,33,50,.1); }
.lb-row.me { background: rgba(226,185,105,.16); border-radius: 6px; }
.lb-rank { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); width: 2rem; text-align: center; }
.lb-name { flex: 1; font-weight: 600; color: var(--navy); }
.lb-score { font-size: .9rem; color: rgba(20,20,20,.8); }
.lb-sub { color: rgba(20,20,20,.5); font-size: .8rem; }

/* ---- Profile completion ---- */
/* The ring itself is shared with the admin portal (views/partials/completion-ring.ejs);
   this block and its twin in admin.css must stay in step. */
.ring-track { stroke: rgba(27, 33, 50, 0.12); }
.ring-num { font-family: var(--sans); font-weight: 700; fill: var(--navy); }
.ring-few .ring-fill { stroke: #b3261e; }
.ring-some .ring-fill { stroke: #c9782a; }
.ring-most .ring-fill { stroke: var(--gold); }
.ring-done .ring-fill { stroke: #2f7d32; }

.completion-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(27, 33, 50, 0.07);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.completion-card svg { flex-shrink: 0; }
.completion-status {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.3;
}
.completion-missing {
  font-size: 0.8125rem;
  color: rgba(20, 20, 20, 0.6);
  margin-top: 0.3rem;
}
.completion-missing strong { color: var(--navy); font-weight: 600; }

/* Marks the fields the organizers need before the trip. Employees can still
   save without them — the ring is the nudge, not a blocked submit button. */
/* The ring also appears in the navy "action needed" banner on the home page,
   where the navy digits and faint track would both disappear. */
.home-ann .ring-track { stroke: rgba(255, 248, 240, 0.28); }
.home-ann .ring-num { fill: var(--cream); }
.home-ann .ring-few .ring-fill { stroke: #ff8a7a; }
.home-ann .ring-some .ring-fill { stroke: #f0a94b; }

.req-mark {
  color: #b3261e;
  text-decoration: none;
  border: 0;
  cursor: help;
  font-size: 0.9rem;
  line-height: 1;
}
