/* BlessedBen — eye health site
   Soft blues, clean whites, refined typography.
   Fully responsive. Animations respect prefers-reduced-motion. */

:root {
  --bg: #f7fafc;
  --bg-soft: #e8f0f6;
  --bg-tint: #eef3f8;
  --surface: #ffffff;
  --ink: #0e2438;
  --ink-soft: #3a4f63;
  --muted: #4d6273;
  --line: #d0dce6;
  --teal: #123a5c;
  --teal-hover: #0a2c48;
  --teal-bright: #1a5a85;
  --aqua: #3d7ba6;
  --sky: #d4e4f0;
  --sky-soft: #e8f1f8;
  --ring: rgba(18, 58, 92, 0.30);
  --shadow: 0 16px 40px rgba(14, 36, 56, 0.08);
  --shadow-soft: 0 8px 24px rgba(14, 36, 56, 0.06);
  --radius: 20px;
  --radius-sm: 14px;
  --header-h: 4.25rem;
  --max: 70rem;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
button, input, a { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--teal);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(246, 251, 253, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(14, 36, 56, 0.05);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  display: block;
}
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bars {
  display: block;
  width: 1.15rem;
  height: 0.1rem;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.1rem;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle-bars::before { top: -0.35rem; }
.nav-toggle-bars::after { top: 0.35rem; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.25rem 0;
  position: relative;
}
.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--teal);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  transform: scaleX(1);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--teal);
  color: #fff;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ----- Eyebrow / section heads ----- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.6rem;
}
.section {
  padding: 4.5rem 0;
}
.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 0.45rem;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.1rem;
}
.band-soft { background: var(--bg-soft); }
.band-white { background: var(--surface); }

/* ----- Hero ----- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 8% 15%, rgba(212, 228, 240, 0.9), transparent 60%),
    radial-gradient(ellipse 50% 50% at 96% 8%, rgba(212, 228, 240, 0.7), transparent 55%),
    radial-gradient(ellipse 45% 40% at 80% 95%, rgba(212, 228, 240, 0.5), transparent 60%),
    linear-gradient(180deg, #f7fafc 0%, #eef3f8 100%);
}
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}
.hero-shapes .s1 {
  width: 28rem;
  height: 28rem;
  right: -6rem;
  top: -8rem;
  background: radial-gradient(circle, rgba(26, 90, 133, 0.14), transparent 70%);
}
.hero-shapes .s2 {
  width: 18rem;
  height: 18rem;
  left: -5rem;
  bottom: -4rem;
  background: radial-gradient(circle, rgba(18, 58, 92, 0.12), transparent 70%);
}
.hero-shapes .s3 {
  width: 12rem;
  height: 12rem;
  right: 28%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(212, 228, 240, 0.75), transparent 70%);
  filter: blur(2px);
}
.hero-ring {
  position: absolute;
  right: 6%;
  top: 18%;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  border: 1px solid rgba(18, 58, 92, 0.14);
  box-shadow: inset 0 0 0 18px rgba(212, 228, 240, 0.35);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}
.tagline {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  color: var(--teal);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
.subline {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0;
}
.hero-photo {
  position: relative;
  justify-self: end;
  width: min(100%, 26rem);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border-radius: 2rem;
  background: linear-gradient(160deg, var(--sky) 0%, rgba(18, 58, 92, 0.18) 100%);
  z-index: 0;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 1.7rem;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

/* ----- About ----- */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.about-photo-wrap {
  position: relative;
  width: 16.5rem;
  height: 16.5rem;
  flex-shrink: 0;
}
.about-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -0.55rem;
  border-radius: 50%;
  background: conic-gradient(from 140deg, var(--sky), var(--teal-bright), var(--sky-soft), var(--sky));
  opacity: 0.85;
}
.about-photo-wrap img {
  position: relative;
  width: 16.5rem;
  height: 16.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-soft);
  background: var(--bg-soft);
}
.about-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.4rem);
}

/* ----- Topic cards ----- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}
.topic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--bg-soft);
}
.topic-card .card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
}
.topic-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}
.topic-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ----- Tips ----- */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.tip {
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.3rem 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.tip-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.tip h3 {
  font-size: 1.08rem;
  margin: 0 0 0.4rem;
}
.tip p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ----- Credentials ----- */
.cred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cred {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem 1.55rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.cred-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  color: var(--teal);
}
.cred h3 {
  font-size: 1.12rem;
  margin: 0 0 0.3rem;
}
.cred p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.cred .status {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--sky-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.cred .status-soon {
  color: var(--ink-soft);
  background: var(--bg-tint);
}

/* ----- CTA ----- */
.cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 80% at 0% 0%, rgba(212, 228, 240, 0.6), transparent 55%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(18, 58, 92, 0.14), transparent 55%),
    linear-gradient(180deg, #d7e6f0 0%, #e8f0f6 100%);
  text-align: center;
}
.cta h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}
.cta-lead {
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  font-size: 1.08rem;
}
.cta-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 32rem;
  margin: 0 auto 0.7rem;
}
.cta-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.cta-form input[type="email"] {
  flex: 1 1 16rem;
  min-width: 0;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
}
.cta-form input[type="email"]::placeholder { color: #7a8f9a; }
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}
.form-msg {
  font-size: 0.95rem;
  color: var(--teal);
  margin: 0 auto 1rem;
  max-width: 36rem;
  min-height: 0;
}
.form-msg[hidden] { display: none; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ----- Footer ----- */
.site-footer {
  background: #0a1f33;
  color: #d4e0ea;
  padding: 3rem 0 2rem;
  font-size: 0.95rem;
}
.site-footer a { color: #d4e4f0; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.footer-brand svg { width: 1.7rem; height: 1.7rem; }
.disclaimer {
  color: #b3c4d1;
  line-height: 1.65;
}
.footer-col h2,
.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9eb8cb;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li { margin: 0 0 0.4rem; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(212, 228, 240, 0.16);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  color: #8ea3b3;
  font-size: 0.9rem;
}

/* ----- Reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.topic-card.reveal:nth-child(1) { transition-delay: 0.02s; }
.topic-card.reveal:nth-child(2) { transition-delay: 0.07s; }
.topic-card.reveal:nth-child(3) { transition-delay: 0.12s; }
.topic-card.reveal:nth-child(4) { transition-delay: 0.17s; }
.topic-card.reveal:nth-child(5) { transition-delay: 0.06s; }
.topic-card.reveal:nth-child(6) { transition-delay: 0.11s; }
.topic-card.reveal:nth-child(7) { transition-delay: 0.16s; }
.topic-card.reveal:nth-child(8) { transition-delay: 0.21s; }
.tip.reveal:nth-child(1) { transition-delay: 0.04s; }
.tip.reveal:nth-child(2) { transition-delay: 0.1s; }
.tip.reveal:nth-child(3) { transition-delay: 0.16s; }
.tip.reveal:nth-child(4) { transition-delay: 0.22s; }
.cred.reveal:nth-child(1) { transition-delay: 0.04s; }
.cred.reveal:nth-child(2) { transition-delay: 0.1s; }
.cred.reveal:nth-child(3) { transition-delay: 0.16s; }
.cred.reveal:nth-child(4) { transition-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal.is-visible,
  .topic-card,
  .btn,
  .nav-list a::after,
  .site-header {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo { justify-self: start; width: min(100%, 22rem); }
  .hero-ring { display: none; }
  .topic-grid,
  .tips-grid,
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(246, 251, 253, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s;
    box-shadow: var(--shadow-soft);
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0;
  }
  .nav-list a {
    display: block;
    padding: 0.7rem 0.2rem;
    font-size: 1.05rem;
  }
  .nav-list a::after { display: none; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 1.75rem)); }
  .section { padding: 3.25rem 0; }
  .hero { padding: 2.25rem 0 3rem; }
  .about-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
  }
  .about-copy { text-align: left; }
  .about-photo-wrap,
  .about-photo-wrap img {
    width: 13.5rem;
    height: 13.5rem;
  }
  .topic-grid,
  .tips-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; align-items: stretch; }
  .cta-form input[type="email"] { flex: 0 0 auto; width: 100%; }
  .cta-form .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .cred-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 2.05rem; }
}


/* ----- Eye Health Guide ----- */
.section-follow {
  padding-top: 1.25rem;
}
.guide-block {
  margin-bottom: 2.5rem;
}
.guide-block:last-of-type { margin-bottom: 0; }
.guide-block h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin: 0 0 0.65rem;
}
.guide-lead {
  color: var(--ink-soft);
  max-width: 44rem;
  margin: 0 0 1.25rem;
}
.guide-note {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 44rem;
  margin: 1rem 0 0;
}
.guide-recap {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.35rem;
}
.guide-recap li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.guide-recap strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
}
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.schedule-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: var(--shadow-soft);
}
.schedule-card h4 {
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
  color: var(--teal);
}
.schedule-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}
.urgent-panel {
  margin-top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.35rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.urgent-panel h4 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.urgent-panel p { color: var(--ink-soft); margin: 0 0 0.8rem; }
.urgent-panel ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink);
}
.urgent-panel li { margin: 0 0 0.4rem; }
.urgent-panel li:last-child { margin-bottom: 0; }
.visit-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: visit;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.visit-steps li {
  counter-increment: visit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem 1.25rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.85rem;
}
.visit-steps li::before {
  content: counter(visit);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
  margin-top: 0.1rem;
}
.visit-steps h4 {
  font-size: 1.08rem;
  margin: 0 0 0.3rem;
  grid-column: 2;
}
.visit-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  grid-column: 2;
}
.guide-paths {
  margin-top: 2.5rem;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.guide-paths-lead {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  color: var(--ink);
}
.guide-paths-btns {
  justify-content: center;
  margin-top: 0;
}
.guide-paths .guide-note {
  margin: 1rem auto 0;
}

@media (max-width: 960px) {
  .schedule-grid,
  .guide-recap,
  .visit-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section-follow { padding-top: 0.5rem; }
  .schedule-grid,
  .guide-recap,
  .visit-steps { grid-template-columns: 1fr; }
  .guide-paths { padding: 1.25rem 1.1rem 1.2rem; }
  .guide-paths-btns { flex-direction: column; align-items: stretch; }
  .guide-paths-btns .btn { width: 100%; }
}

/* ----- Section wave dividers ----- */
.wave {
  display: block;
  width: 100%;
  height: 4.25rem;
  line-height: 0;
}
.wave svg {
  width: 100%;
  height: 100%;
  display: block;
}
.wave-down { margin-bottom: -1px; }
.wave-up { margin-top: -1px; }

/* Consistent spacing scale helpers */
.section { padding-block: 4.75rem; }
@media (max-width: 640px) {
  .section { padding-block: 3.4rem; }
  .wave { height: 2.75rem; }
}

/* ----- Topic card links ----- */
.topic-card h3 a,
.guide-recap a {
  color: inherit;
  text-decoration: none;
}
.topic-card h3 a:hover,
.guide-recap a:hover {
  color: var(--teal);
  text-decoration: underline;
}
.card-more {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.card-more a {
  color: var(--teal);
  text-decoration: none;
}
.card-more a:hover,
.card-more a:focus-visible {
  text-decoration: underline;
}

/* ----- Article pages ----- */
.article-main {
  background: var(--surface);
}
.article-wrap {
  width: min(46rem, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 2.5rem 0 4.5rem;
}
.breadcrumb {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.breadcrumb a {
  color: var(--teal);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.article-header h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
}
.byline {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0 0 1.15rem;
}
.article-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1.1rem;
  margin: 0 0 1.25rem;
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}
.article-disclaimer {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 0.95rem 1.15rem;
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.article-body h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin: 2.15rem 0 0.7rem;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.12rem;
  margin: 1.35rem 0 0.45rem;
  color: var(--ink);
}
.article-toc {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem 1.05rem;
  margin: 0 0 2rem;
}
.article-toc-title {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.article-toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 1.5rem;
}
.article-toc li {
  break-inside: avoid;
  margin: 0 0 0.28rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.article-toc a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
.article-toc a:hover,
.article-toc a:focus-visible { text-decoration: underline; }
.scenario {
  background: var(--sky-soft);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.05rem;
  margin: 0.7rem 0 1rem;
  color: var(--ink);
}
.scenario strong { color: var(--navy, var(--ink)); }
.myth-list {
  display: grid;
  gap: 0.85rem;
  margin: 0.8rem 0 1.2rem;
}
.myth-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem 0.95rem;
  background: var(--surface);
}
.myth-item p { margin: 0 0 0.45rem; }
.myth-item p:last-child { margin-bottom: 0; }
.myth-item .myth { color: var(--ink-soft); }
.myth-item .fact { color: var(--ink); }
.checklist {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem 1rem 0.4rem;
  margin: 0.7rem 0 1.2rem;
}
.checklist li { margin: 0 0 0.45rem; }
@media (max-width: 640px) {
  .article-toc ol { columns: 1; }
}

.article-body p,
.article-body li {
  color: var(--ink-soft);
}
.article-body ul,
.article-body ol {
  margin: 0 0 1em;
  padding-left: 1.2rem;
}
.article-body li { margin: 0 0 0.35rem; }
.article-body .urgent-panel { margin: 1.1rem 0 1.5rem; }
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-list li {
  border-top: 1px solid var(--line);
  padding: 1.05rem 0 1.1rem;
  margin: 0;
  color: var(--ink-soft);
}
.faq-list li:last-child { border-bottom: 1px solid var(--line); }
.faq-list h3 {
  font-size: 1.08rem;
  margin: 0 0 0.35rem;
  color: var(--ink);
}
.related-guides { margin-top: 2.75rem; }
.related-guides h2 { margin-bottom: 0.8rem; }
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}
.related-list a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}
.related-list a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .article-wrap { width: min(46rem, calc(100% - 1.75rem)); padding: 1.75rem 0 3.4rem; }
  .related-list { grid-template-columns: 1fr; }
}

.guide-checklist,
.guide-questions {
  margin: 0.85rem 0 0;
  padding-left: 1.2rem;
}
.guide-checklist li,
.guide-questions li {
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
}
.guide-sub {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.45rem;
}
