:root {
  --navy: #07131f;
  --midnight: #020a12;
  --blue: #00aeef;
  --blue-dark: #0078b8;
  --ice: #e8f8ff;
  --slate: #486173;
  --light: #f5fbff;
  --white: #ffffff;
  --line: #d4e8f2;
  --green: #8cc63f;
  --dark: #02070d;
  --shadow: 0 18px 40px rgba(7, 19, 32, 0.12);
  --muted: var(--slate);
  --accent: var(--blue-dark);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 10, 18, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 174, 239, 0.22);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: var(--white);
}

.logo-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 8px 18px rgba(0, 174, 239, 0.2));
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.logo small {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.78);
}

.nav-links a:hover { color: var(--blue); }

.mobile-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 750;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); box-shadow: 0 10px 24px rgba(0, 174, 239, 0.2); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(0, 174, 239, 0.28), transparent 32%), radial-gradient(circle at bottom left, rgba(140, 198, 63, 0.18), transparent 28%), linear-gradient(180deg, #020a12 0%, #07131f 100%);
  padding: 86px 0 54px;
}
.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.78); }
.hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.28); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 174, 239, 0.28);
  background: rgba(0, 174, 239, 0.10);
  color: var(--blue);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.045em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.35rem; }

.lead { font-size: 1.22rem; color: var(--slate); max-width: 690px; }
.hero-actions, .section-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero-card {
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(2,10,18,0.98), rgba(7,19,31,0.96));
  padding: 22px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(0, 174, 239, 0.24);
}

.brand-logo-card img, .about-logo-card img {
  width: 100%;
  border-radius: 26px;
}

.about-logo-card {
  background: linear-gradient(145deg, rgba(2,10,18,0.98), rgba(7,19,31,0.96));
  border: 1px solid rgba(0, 174, 239, 0.24);
  border-radius: 30px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.rink-card {
  position: relative;
  min-height: 390px;
  border-radius: 28px;
  background: linear-gradient(145deg, var(--navy), #12375f 48%, #dff4ff 49%, #ffffff);
  overflow: hidden;
  color: var(--white);
  padding: 26px;
}

.rink-card:before, .rink-card:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.55);
}
.rink-card:before { width: 170px; height: 170px; right: -44px; top: -36px; }
.rink-card:after { width: 220px; height: 220px; left: -78px; bottom: -84px; }

.metric-stack { position: absolute; right: 22px; bottom: 22px; display: grid; gap: 12px; width: min(260px, calc(100% - 44px)); }
.metric {
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.5);
}
.metric strong { display: block; font-size: 1.25rem; }
.metric span { color: var(--slate); font-size: 0.9rem; }

.section { padding: 82px 0; }
.section-soft { background: var(--light); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark .lead, .section-dark p { color: rgba(255,255,255,0.78); }
.section-header { max-width: 760px; margin-bottom: 34px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.four-grid { grid-template-columns: repeat(4, 1fr); }
.two-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 22px rgba(7, 19, 32, 0.06);
}
.card p { color: var(--slate); margin-bottom: 0; }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0,174,239,0.14), rgba(140,198,63,0.14));
  color: var(--blue);
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--slate); }
.check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.banner {
  border-radius: 34px;
  padding: 34px;
  background: linear-gradient(135deg, var(--navy), #12375f);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
}
.banner p { color: rgba(255,255,255,0.78); margin: 0; }

.page-hero { padding: 74px 0 42px; background: radial-gradient(circle at top right, rgba(0,174,239,0.18), transparent 30%), linear-gradient(180deg, #f5fbff, #ffffff); }
.about-hero { background: radial-gradient(circle at top right, rgba(0,174,239,0.24), transparent 30%), linear-gradient(180deg, #020a12, #07131f); color: var(--white); }
.about-hero .lead { color: rgba(255,255,255,0.78); }
.about-hero-grid { align-items: center; }

.form-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 26px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 14px; }
label { font-weight: 750; font-size: 0.92rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  color: var(--navy);
  background: var(--white);
}
textarea { min-height: 140px; resize: vertical; }

.current-newsletter-link {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.current-newsletter-link .btn {
  width: 100%;
  justify-content: center;
}

.current-newsletter-feature {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  text-align: left;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
}
.current-newsletter-image-link {
  display: block;
}
.current-newsletter-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(7, 19, 32, 0.08);
}
.current-newsletter-label {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--slate);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.newsletter-link {
  color: var(--blue-dark);
  font-weight: 850;
  font-size: 0.98rem;
  line-height: 1.25;
}
.newsletter-link:hover {
  color: var(--blue);
  text-decoration: underline;
}
.newsletter-article-logo {
  width: 108px;
  margin: 0 0 18px;
  border-radius: 22px;
  filter: drop-shadow(0 10px 22px rgba(0, 174, 239, 0.14));
}


.article-list { display: grid; gap: 16px; }
.article-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.article-item span { color: var(--blue); font-weight: 800; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.06em; }
.article-item p { color: var(--slate); margin-bottom: 0; }

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 44px 0;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 26px; }
.site-footer a, .site-footer p { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--white); }
.footer-links { display: grid; gap: 8px; }

@media (max-width: 1100px) {
  .four-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .mobile-toggle { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 76px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); color: var(--slate); }
  .nav-links.open { display: grid; }
  .hero-grid, .two-grid, .banner, .footer-grid { grid-template-columns: 1fr; }
  .card-grid, .four-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}


.dark-card {
  background: linear-gradient(145deg, var(--midnight), var(--navy));
  color: var(--white);
  border-color: rgba(0,174,239,0.22);
}
.dark-card p, .dark-card li { color: rgba(255,255,255,0.78); }
.profile-card { border-top: 5px solid var(--blue); }
.credential-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.credential-list li { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.credential-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.credential-list strong { color: var(--blue); font-size: 1.1rem; }
.credential-list span { color: rgba(255,255,255,0.74); }
.text-link { color: var(--blue-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 520px) { .logo span { font-size: 0.95rem; } .logo small { font-size: 0.62rem; } .logo-img { width: 48px; height: 48px; } }

.headshot-card {
  overflow: hidden;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(2,10,18,0.98), rgba(7,19,31,0.96));
  border: 1px solid rgba(0, 174, 239, 0.28);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
}

.headshot-card img {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  object-position: center top;
  background: var(--midnight);
}

.headshot-caption {
  padding: 18px 20px 20px;
  border-top: 1px solid rgba(0,174,239,0.24);
  color: var(--white);
}

.headshot-caption strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.25;
}

.headshot-caption span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.72);
  font-size: 0.94rem;
}

.hero-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.32);
}

.pillar-button {
  display: block;
  position: relative;
  min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.pillar-button:hover {
  transform: translateY(-3px);
  border-color: rgba(0,174,239,0.48);
  box-shadow: 0 18px 38px rgba(7, 19, 32, 0.12);
}
.pillar-button .read-more {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue-dark);
  font-weight: 850;
}
.article-hero {
  padding: 72px 0 34px;
  background: radial-gradient(circle at top right, rgba(0,174,239,0.18), transparent 30%), linear-gradient(180deg, #f5fbff, #ffffff);
}
.article-wrap {
  max-width: 820px;
}
.article-content {
  max-width: 820px;
  font-size: 1.05rem;
}
.article-content h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-top: 38px;
}
.article-content p, .article-content li {
  color: var(--slate);
}
.article-content ul {
  padding-left: 22px;
}
.article-back {
  margin-top: 36px;
}

.reference-list { padding-left: 1.3rem; color: var(--muted); }
.reference-list li { margin-bottom: .75rem; }
.article-content sup { color: var(--accent); font-weight: 800; }


.pillar-hero-bar {
  margin: 44px 0;
  border-radius: 30px;
  padding: 28px;
  background: radial-gradient(circle at top right, rgba(0,174,239,0.30), transparent 32%), radial-gradient(circle at bottom left, rgba(140,198,63,0.22), transparent 30%), linear-gradient(135deg, var(--midnight), var(--navy));
  color: var(--white);
  border: 1px solid rgba(0,174,239,0.24);
  box-shadow: 0 18px 42px rgba(7, 19, 32, 0.16);
}
.pillar-hero-bar h2 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.pillar-hero-bar p {
  color: rgba(255,255,255,0.76);
  margin: 0 0 20px;
}
.pillar-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pillar-link {
  min-height: 100%;
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--white);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.pillar-link:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
  border-color: rgba(0,174,239,0.48);
}
.pillar-link strong {
  display: block;
  line-height: 1.16;
  font-size: 0.98rem;
}
.pillar-link span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.68);
  font-size: 0.84rem;
}

@media (max-width: 860px) {
  .pillar-link-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pillar-link-grid { grid-template-columns: 1fr; }
  .pillar-hero-bar { padding: 22px; }
}

.social-link { display: inline-block; margin-top: 8px; color: var(--green); font-weight: 800; text-decoration: none; }
.social-link:hover { color: var(--blue); }

@media (max-width: 640px) {
  .current-newsletter-feature {
    grid-template-columns: 1fr;
  }
  .newsletter-article-logo {
    width: 92px;
  }
}

.newsletter-issue-hero {
  background: radial-gradient(circle at top right, rgba(0,174,239,0.18), transparent 30%), linear-gradient(180deg, #f5fbff, #ffffff);
}
.newsletter-issue-content .article-callout {
  background: #f0f5f9;
  border-left: 5px solid var(--navy);
  border-radius: 14px;
  padding: 22px;
  margin: 26px 0;
}
.newsletter-issue-content .article-callout p:last-child {
  margin-bottom: 0;
}
.newsletter-issue-content .article-callout p {
  color: var(--navy);
  font-weight: 750;
}
.newsletter-issue-content .dark-callout {
  background: var(--navy);
  border-left-color: var(--blue);
  color: var(--white);
}
.newsletter-issue-content .dark-callout h2,
.newsletter-issue-content .dark-callout p {
  color: var(--white);
}
.newsletter-issue-content .article-mini-card {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin: 18px 0;
}
.newsletter-issue-content .article-mini-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
}


/* Current newsletter card cleanup */
.current-newsletter-copy {
  display: grid;
  gap: 6px;
  align-content: center;
}

.current-newsletter-label {
  display: block;
  margin: 0;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.newsletter-link {
  display: block;
  color: var(--blue-dark);
  font-weight: 850;
  font-size: 1rem;
  line-height: 1.3;
}

.current-newsletter-image {
  max-width: 104px;
}

.current-newsletter-feature {
  grid-template-columns: 104px 1fr;
}

@media (max-width: 640px) {
  .current-newsletter-feature {
    grid-template-columns: 86px 1fr;
  }
  .current-newsletter-image {
    max-width: 86px;
  }
  .newsletter-link {
    font-size: 0.96rem;
  }
}


/* Thank you page */
.thanks-hero {
  min-height: calc(100vh - 76px);
  padding: 88px 0;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(0, 174, 239, 0.30), transparent 34%),
    radial-gradient(circle at bottom left, rgba(140, 198, 63, 0.20), transparent 30%),
    linear-gradient(180deg, #020a12 0%, #07131f 100%);
}

.thanks-wrap {
  display: grid;
  place-items: center;
}

.thanks-card {
  width: min(820px, 100%);
  text-align: center;
  color: var(--white);
  background: linear-gradient(145deg, rgba(2,10,18,0.92), rgba(7,19,31,0.94));
  border: 1px solid rgba(0,174,239,0.28);
  border-radius: 34px;
  padding: clamp(30px, 6vw, 58px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.thanks-card h1 {
  color: var(--white);
  margin-top: 18px;
}

.thanks-card .lead,
.thanks-card p {
  color: rgba(255,255,255,0.78);
  margin-left: auto;
  margin-right: auto;
}

.thanks-logo {
  width: 170px;
  margin: 0 auto 24px;
  border-radius: 28px;
  filter: drop-shadow(0 16px 30px rgba(0, 174, 239, 0.22));
}

.thanks-card .hero-actions {
  justify-content: center;
}

.thanks-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.30);
}
.thanks-outline:hover {
  border-color: var(--blue);
}
