/* =========================================================
   New Port Club of Vero Beach — site stylesheet
   Palette sampled from the club's own logo/banner artwork:
   brass/amber from the "Hope Is Found Here" banner,
   sand + cream from the printed trifold background.
   ========================================================= */

:root {
  --ink:        #241a12;
  --ink-soft:   #4a3826;
  --brass:      #a8641c;
  --brass-deep: #7a4712;
  --brass-pale: #d9a869;
  --sand:       #c9b795;
  --cream:      #f4efe4;
  --paper:      #faf7f0;
  --paper-alt:  #efe6d4;
  --white:      #fffdf9;
  --line:       rgba(36, 26, 18, 0.14);
  --line-soft:  rgba(36, 26, 18, 0.08);
  --shadow:     0 10px 30px rgba(36, 26, 18, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brass-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: block;
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--brass-deep);
  color: var(--white);
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img { height: 52px; width: auto; border-radius: 3px; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.brand-word small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 500;
  margin-top: 3px;
}

nav.main-nav { display: flex; align-items: center; gap: 2px; }
nav.main-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.6em 0.9em;
  border-radius: 3px;
}
nav.main-nav a:hover { background: var(--paper-alt); text-decoration: none; }
nav.main-nav a.active { color: var(--brass-deep); font-weight: 700; }

.header-phone {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink);
  border-left: 1px solid var(--line);
  padding-left: 18px;
  margin-left: 6px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 860px) {
  nav.main-nav {
    position: fixed;
    inset: 84px 0 0 0;
    z-index: 40;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  nav.main-nav.open { transform: translateX(0); }
  nav.main-nav a { font-size: 1.1rem; padding: 0.9em 0.2em; border-bottom: 1px solid var(--line-soft); }
  .header-phone { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { margin-bottom: 1.8em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 2px;
}

/* ---------- Sequence (visitor steps) ---------- */
.sequence { padding: 84px 0; background: var(--cream); border-bottom: 1px solid var(--line); }
.sequence-head { max-width: 640px; margin-bottom: 48px; }
.sequence-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
@media (max-width: 900px) { .sequence-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sequence-list { grid-template-columns: 1fr; } }
.sequence-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 20px;
}
.sequence-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brass-deep);
  display: block;
  margin-bottom: 14px;
}
.sequence-list h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.sequence-list p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.8em; }
.sequence-list a { font-size: 0.85rem; font-weight: 600; }

/* ---------- Today board (signature element) ---------- */
.today-board {
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  padding: 28px 26px;
  position: relative;
  box-shadow: var(--shadow);
}
.today-board::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 32px;
  width: 16px;
  height: 16px;
  background: var(--brass);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.today-board .eyebrow { color: var(--brass-pale); }
.today-board h3 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1em;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
  padding-bottom: 0.7em;
}
.today-list { list-style: none; margin: 0; padding: 0; }
.today-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.today-list li:last-child { border-bottom: none; }
.today-time { color: var(--brass-pale); white-space: nowrap; }
.today-name { color: var(--white); flex: 1; padding: 0 12px; }
.today-loc { color: rgba(255,255,255,0.55); text-align: right; white-space: nowrap; }
.today-empty { color: rgba(255,255,255,0.6); font-size: 0.9rem; font-style: italic; }
.today-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.today-note a { color: var(--brass-pale); }

/* ---------- Upcoming events board (Get Involved) ---------- */
.events-board { max-width: 640px; margin: 0 auto; }
.events-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
  padding-bottom: 0.8em;
  margin-bottom: 0.4em;
}
.events-month {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.events-nav-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--brass-pale);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.events-nav-btn:hover:not(:disabled) { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.events-nav-btn:disabled { opacity: 0.28; cursor: default; }
.events-list { list-style: none; margin: 0; padding: 0; }
.events-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.events-list li:last-child { border-bottom: none; }
.event-date {
  flex: none;
  width: 48px;
  text-align: center;
  font-family: var(--font-mono);
  line-height: 1;
}
.event-date .ed-mo {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--brass-pale);
  margin-bottom: 3px;
}
.event-date .ed-day {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--white);
}
.event-main { display: flex; flex-direction: column; gap: 2px; }
.event-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--white);
}
.event-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}
.events-empty {
  color: rgba(255,255,255,0.6);
  font-style: italic;
  font-size: 0.9rem;
  padding: 14px 0;
}
.events-admin {
  max-width: 640px;
  margin: 14px auto 0;
  text-align: right;
}
.events-admin a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: 0.7;
}
.events-admin a:hover { opacity: 1; color: var(--brass-deep); }

/* ---------- Is / Is not ---------- */
.isnt { padding: 84px 0; }
.isnt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 36px;
}
@media (max-width: 700px) { .isnt-grid { grid-template-columns: 1fr; } }
.isnt-col { background: var(--paper); padding: 28px 30px; }
.isnt-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1em;
}
.isnt-col.is h4 { color: var(--brass-deep); }
.isnt-col.isnot h4 { color: var(--ink-soft); }
.isnt-col ul { margin: 0; padding: 0; list-style: none; }
.isnt-col li {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
}
.isnt-col li:first-of-type { border-top: none; }

/* ---------- Quote band ---------- */
.quote-band {
  position: relative;
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.quote-band::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,26,18,0.72), rgba(36,26,18,0.82));
}
.quote-band .wrap { position: relative; text-align: center; }
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  font-weight: 500;
  max-width: 18ch;
  margin: 0 auto;
  line-height: 1.3;
}
.quote-band cite {
  display: block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-pale);
}

/* ---------- Generic page hero (inner pages) ---------- */
.page-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); background: var(--cream); }
.page-hero .lede { margin-bottom: 0; }

/* ---------- Section ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--cream); }
.section-head { max-width: 680px; margin-bottom: 40px; }

/* ---------- Values grid (About) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 980px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
  padding: 20px 18px;
}
.value-card .eyebrow { margin-bottom: 0.6em; }
.value-card h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.4em; }
.value-card p { font-size: 0.87rem; color: var(--ink-soft); margin: 0; }

/* ---------- Timeline (About) ---------- */
.timeline { list-style: none; margin: 36px 0 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 32px 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute; left: -6.5px; top: 4px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--brass); border: 2px solid var(--paper);
}
.timeline-year { font-family: var(--font-mono); font-size: 0.8rem; color: var(--brass-deep); display: block; margin-bottom: 4px; }

/* ---------- Photo + text split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: 4px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split.reverse .split-media { order: 0; } }

/* ---------- Meetings table ---------- */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 44px;
}
.legend-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 20px;
  padding: 6px 14px;
  color: var(--ink-soft);
}

.day-block { margin-bottom: 36px; }
.day-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper-alt);
  padding: 10px 16px;
  border-radius: 4px 4px 0 0;
  border: 1px solid var(--line);
  border-bottom: none;
}
.meeting-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: 0 0 4px 4px; overflow: hidden; }
.meeting-table td { padding: 12px 16px; border-top: 1px solid var(--line-soft); font-size: 0.92rem; vertical-align: top; }
.meeting-table tr:first-child td { border-top: none; }
.meeting-table .m-time { font-family: var(--font-mono); white-space: nowrap; color: var(--brass-deep); width: 90px; }
.meeting-table .m-name { font-weight: 600; }
.meeting-table .m-tags { color: var(--ink-soft); font-size: 0.82rem; }
.meeting-table .m-loc { color: var(--ink-soft); font-size: 0.85rem; text-align: right; white-space: nowrap; }
.meeting-table tr:nth-child(even) { background: rgba(36,26,18,0.02); }

.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brass);
  background: var(--cream);
  padding: 16px 20px;
  border-radius: 3px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

/* ---------- Cards (Get Involved) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }
.info-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 4px;
  padding: 26px 24px;
}
.info-card .eyebrow { margin-bottom: 0.5em; }
.info-card h3 { margin-bottom: 0.5em; }
.info-card p { font-size: 0.93rem; color: var(--ink-soft); }
.info-card ul { padding-left: 1.1em; font-size: 0.93rem; color: var(--ink-soft); margin: 0.8em 0; }
.info-card li { margin-bottom: 0.4em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: none; }
.contact-list .eyebrow { margin-bottom: 0.3em; }
.contact-list a, .contact-list span.value { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--brass-deep); }
.map-frame {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 56px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 40px; border-radius: 3px; }
.footer-brand span {
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
}
.site-footer p { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.site-footer h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 1em;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.footer-links a:hover { color: var(--brass-pale); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
