/* ============================================================
   SAVE OUR SEAS GROUP — styles layered on top of css/styles.css

   The group runs the same layout, type and components as the
   campaign site, in blue and dark blue instead of yellow and coral.
   That's done purely by re-pointing the shared design tokens below,
   so every component from css/styles.css re-themes itself — nothing
   is duplicated or forked.

   The one thing that stays coral is the Save Our Seas logo in the
   members grid: that's the member's own mark, not the group's.
   ============================================================ */

:root {
  /* Sky blue — takes the place of yellow (hero, step numbers, footer links) */
  --yellow: #86C5E8;
  --yellow-deep: #4FA3D1;
  --yellow-pale: #E7F3FB;

  /* Blue — takes the place of coral (buttons, stats, waves, accents) */
  --coral: #1D6FB8;
  --coral-dark: #14507F;

  /* Dark blue — takes the place of near-black ink (text, footer, borders) */
  --ink: #0B2038;
  --ink-soft: #40566E;

  /* Page background, cooled to match */
  --cream: #F6FAFD;

  --shadow-md: 0 12px 30px -14px rgba(11, 32, 56, 0.35);
  --shadow-lg: 0 26px 60px -20px rgba(11, 32, 56, 0.45);
}

.brand-text .brand-lang { font-size: 0.52em; }

/* A few colours in the shared stylesheet are warm-tinted literals rather
   than tokens (they predate this site). Re-point the ones that actually
   show against blue. */
.site-header { border-bottom-color: rgba(11, 32, 56, 0.1); }
.site-header.scrolled { box-shadow: 0 8px 24px -12px rgba(11, 32, 56, 0.18); }
.swap-list { border-top-color: rgba(11, 32, 56, 0.16); }
.lang-link { border-color: rgba(11, 32, 56, 0.22); }
.site-footer { color: rgba(230, 240, 250, 0.75); }
.pillar-card p, .story-copy p { color: var(--ink-soft); }

@media (max-width: 760px) {
  .main-nav { border-bottom-color: rgba(11, 32, 56, 0.1); }
  .main-nav a { border-bottom-color: rgba(11, 32, 56, 0.1); }
}

/* ===== Group at a glance ===== */
.glance { padding: 80px 0 20px; background: var(--cream); }
.glance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.glance-card {
  text-align: center;
  padding: 30px 22px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 2px solid var(--ink);
}
.glance-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--coral);
  line-height: 1;
  margin-bottom: 6px;
}
.glance-card h2 { font-size: 1.05rem; }
.glance-note {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* Purpose artwork ring */
.orbit-ring { animation: orbitSpin 40s linear infinite; transform-origin: 210px 210px; }
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Members ===== */
.members { padding: 100px 0; background: var(--yellow-pale); }
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.member-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.member-logo {
  width: 76px; height: 60px;
  border-radius: 14px;
  background: var(--yellow-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.member-logo img { width: 46px; height: auto; }
.member-since {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--coral-dark);
  margin-bottom: 6px;
}
.member-card h3 { margin-bottom: 4px; }
.member-role {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.member-card > p { color: var(--ink-soft); font-size: 0.95rem; }
.member-links {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.member-lang {
  border: 2px solid rgba(11,32,56,0.22);
  border-radius: 999px;
  padding: 3px 11px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.member-lang:hover { border-color: var(--coral); background: var(--coral); color: #fff; }

/* Placeholder card for the next member */
.member-card-empty {
  background: transparent;
  border-style: dashed;
  border-color: rgba(11,32,56,0.32);
}
.member-card-empty:hover { transform: translateY(-6px); box-shadow: none; border-color: var(--coral); }
.member-logo-empty {
  background: transparent;
  border: 2px dashed rgba(11,32,56,0.32);
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--coral-dark);
  line-height: 1;
}

/* ===== How joining works ===== */
.joining { padding: 100px 0 40px; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  counter-reset: none;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  padding: 30px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: 0.93rem; }

.criteria {
  margin-top: 34px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 34px 32px;
}
.criteria h3 { color: #fff; margin-bottom: 16px; }
.criteria-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.criteria-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(230, 240, 250, 0.82);
}
.criteria-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 13px; height: 8px;
  border-left: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  transform: rotate(-45deg);
  border-radius: 1px;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .glance-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .members-grid { grid-template-columns: 1fr; }
  .criteria-list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .glance-grid, .steps-grid { grid-template-columns: 1fr; }
  .glance { padding-top: 60px; }
  .members, .joining { padding-top: 70px; }
}
