/* ==========================================================================
   My STEM Lab — stylesheet
   Palette taken from the poster: brand navy, lab teal, pale "lab paper" tints.
   ========================================================================== */

:root {
  --navy:        #0f2742;
  --navy-800:    #14314f;
  --navy-600:    #1e4066;
  --teal:        #0fb5ad;
  --teal-deep:   #0c8f89;
  --teal-dark:   #0a7570;

  --paper:       #ffffff;
  --paper-tint:  #f4f8fb;
  --card:        #e8f0f6;
  --card-line:   #d2e0ea;

  --ink:         #0f2742;
  --ink-soft:    #3d5771;
  --ink-muted:   #6b8299;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow-sm:   0 1px 2px rgba(15,39,66,.07), 0 2px 8px -2px rgba(15,39,66,.10);
  --shadow-md:   0 2px 4px rgba(15,39,66,.06), 0 14px 32px -12px rgba(15,39,66,.24);
  --shadow-lg:   0 4px 8px rgba(15,39,66,.07), 0 28px 60px -18px rgba(15,39,66,.34);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1140px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--teal-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.muted { color: var(--ink-muted); }
.mt { margin-top: 1.5rem; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.5em;
  font-family: var(--sans);
  font-size: .97rem; font-weight: 600; line-height: 1.2;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -8px rgba(12,143,137,.75); }
.btn-primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(12,143,137,.8); }
.btn-ghost { border-color: var(--card-line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); background: rgba(15,181,173,.06); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef6fa; color: var(--navy); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.12); color: #fff; }
.btn-sm  { padding: .55em 1.1em; font-size: .88rem; }
.btn-lg  { padding: .95em 1.9em; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; margin-bottom: .6rem; }

/* --- header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--card-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy); }
.brand-mark { width: 32px; height: 32px; color: var(--teal); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.22rem; letter-spacing: .01em; }
.brand-text em { font-style: normal; font-size: .72rem; color: var(--ink-muted); letter-spacing: .06em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .3rem 0; position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.site-nav a:hover::after, .site-nav a.current::after { transform: scaleX(1); }
.site-nav a.current { color: var(--teal-dark); }
.nav-cta { text-decoration: none; }
.site-nav a.btn-primary { color: #fff; }
.site-nav a.btn-primary:hover { color: #fff; }
.nav-cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: .55rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--card-line);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--paper-tint); }
  .site-nav a { display: block; padding: .85rem .25rem; font-size: 1.02rem; }
  .site-nav a::after { display: none; }
  .nav-cta { margin-top: 1rem; }
}

/* --- hero ----------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(15,181,173,.22), transparent 62%),
    linear-gradient(165deg, var(--navy) 0%, #123354 55%, #0d2340 100%);
  color: #e8f2f8;
  padding: clamp(3.5rem, 2rem + 7vw, 6.5rem) 0 clamp(3rem, 2rem + 5vw, 5rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .accent { color: #4fe0d8; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: #7fe6df; background: rgba(15,181,173,.14);
  border: 1px solid rgba(79,224,216,.3);
  padding: .42rem 1rem; border-radius: 999px; margin: 0 0 1.4rem;
}
.hero-lede { font-size: clamp(1.05rem, .98rem + .4vw, 1.22rem); color: #c5dbe9; max-width: 40ch; margin-bottom: 1.1em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero-note { margin-top: 1.3rem; font-size: .9rem; color: #93b3c9; }

.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  backdrop-filter: blur(6px);
}
.hero-card h2 { color: #fff; font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.1rem; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.hero-stats li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: baseline; }
.hero-stats b { font-family: var(--serif); font-size: 1.45rem; color: #4fe0d8; white-space: nowrap; }
.hero-stats span { font-size: .89rem; color: #b9d3e4; line-height: 1.45; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lede { max-width: none; }
}

/* --- generic sections ----------------------------------------------------- */
.section { padding: clamp(3rem, 2rem + 5vw, 5.5rem) 0; }
.section-alt { background: var(--paper-tint); border-block: 1px solid var(--card-line); }
.section-navy { background: var(--navy); color: #c5dbe9; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 62ch; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-lede { font-size: 1.06rem; color: var(--ink-muted); margin-bottom: 2rem; }
.eyebrow {
  font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-dark); margin: 0 0 .7rem;
}
.eyebrow a { color: inherit; }
.lede { font-size: 1.13rem; color: var(--ink-soft); max-width: 62ch; }

.page-head {
  background: linear-gradient(175deg, var(--paper-tint), #e9f1f7);
  border-bottom: 1px solid var(--card-line);
  padding: clamp(2.6rem, 2rem + 3.5vw, 4.2rem) 0;
}
.page-head h1 { margin-bottom: .3em; }

/* --- cards / grids -------------------------------------------------------- */
.grid { display: grid; gap: 1.35rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card-tint { background: var(--card); border-color: transparent; }
.card-cta { background: var(--card); border-color: transparent; }
.card-cta h3 { margin-bottom: .35rem; }
.card-cta p { font-size: .93rem; margin-bottom: 1rem; }

/* --- level heading with a prominent price badge --------------------------- */
.level-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem;
  margin-bottom: .5rem;
}
.level-head h2, .level-head h3 { margin: 0; }
.level-head h3 { font-size: 1.55rem; }
.level-price {
  display: inline-flex; align-items: baseline; gap: .5rem; margin: 0;
  background: linear-gradient(125deg, var(--teal-dark), var(--teal));
  color: #fff; padding: .5rem 1.25rem .55rem; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(12,143,137,.85);
  white-space: nowrap;
}
.level-price b { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.level-price span {
  font-size: .78rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: #d6fbf8;
}
@media (max-width: 480px) { .level-price b { font-size: 1.6rem; } }

/* subject cards */
.subject-card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.3rem; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.subject-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal); color: inherit; }
.subject-card h3 { margin-bottom: .35rem; font-size: 1.22rem; }
.subject-card p { font-size: .93rem; color: var(--ink-muted); margin-bottom: 1.1rem; }
.card-foot {
  margin-top: auto; display: flex; align-items: baseline; justify-content: space-between;
  gap: .75rem; padding-top: .85rem; border-top: 1px solid var(--card-line);
}
.card-price {
  font-family: var(--serif); font-size: 1.45rem; font-weight: 700;
  color: var(--teal-dark); line-height: 1; white-space: nowrap;
}
.card-price small { font-family: var(--sans); font-size: .72rem; font-weight: 600; color: var(--ink-muted); }
.subject-card .more { font-size: .87rem; font-weight: 600; color: var(--teal-dark); }
.subject-card:hover .card-price { color: var(--teal-deep); }

.pill, .tag {
  display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px;
  background: var(--card); color: var(--navy-600);
}
.pill-price { background: rgba(15,181,173,.14); color: var(--teal-dark); }
/* Bigger price chip used in the subject-page header */
.pill-price-lg {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  letter-spacing: 0; text-transform: none; padding: .35rem 1.15rem .45rem;
  background: linear-gradient(125deg, var(--teal-dark), var(--teal)); color: #fff;
  box-shadow: 0 6px 16px -8px rgba(12,143,137,.8);
}
.pill-price-lg small { font-family: var(--sans); font-size: .72rem; font-weight: 600; color: #d6fbf8; }
.tag-star { background: rgba(15,181,173,.16); color: var(--teal-dark); }
.subject-meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }

/* --- stats / achievements ------------------------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.stat {
  background: var(--paper); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-family: var(--serif); font-size: 1.95rem; color: var(--navy); line-height: 1.1; }
.stat .stat-label { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); margin: .45rem 0 .55rem; }
.stat span.stat-detail { display: block; font-size: .9rem; color: var(--ink-muted); line-height: 1.5; }

/* --- pricing -------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.3rem; }
.price {
  background: var(--paper); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 1.9rem 1.6rem; text-align: center; box-shadow: var(--shadow-sm);
}
.price h3 { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: .8rem; }
.price .amount { font-family: var(--serif); font-size: 2.9rem; color: var(--navy); line-height: 1; display: block; }
.price .unit { display: block; font-size: .86rem; color: var(--ink-muted); margin-top: .4rem; }
.price .detail { font-size: .91rem; color: var(--ink-soft); margin: 1rem 0 0; }

/* --- steps ---------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { counter-increment: step; position: relative; padding-top: 3.2rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: #fff;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.steps p { font-size: .93rem; color: var(--ink-muted); margin: 0; }

/* --- resources ------------------------------------------------------------ */
.resource-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.resource a {
  display: flex; flex-direction: column; gap: .6rem; height: 100%;
  background: var(--paper); border: 1px solid var(--card-line); border-left: 4px solid var(--card-line);
  border-radius: var(--radius-sm); padding: 1.25rem 1.35rem;
  text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.resource a:hover { border-color: var(--teal); border-left-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.resource-featured a { border-left-color: var(--teal); }
.resource-head { display: flex; flex-wrap: wrap; gap: .4rem; }
.resource-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.resource-title .ext { width: .8em; height: .8em; color: var(--ink-muted); flex: none; }
.resource-desc { font-size: .92rem; color: var(--ink-muted); line-height: 1.55; }

.resource-group { margin-bottom: 3.2rem; }
.resource-group > h2 { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.2rem; }
.resource-group > h2 a { text-decoration: none; }
.resource-group > h2 a:hover { text-decoration: underline; }

/* --- subject page layout -------------------------------------------------- */
.subject-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0;
  align-items: start;
}
.subject-aside { display: grid; gap: 1.2rem; position: sticky; top: 100px; }
.subject-aside .card h3 { font-size: 1.02rem; }
.plain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .93rem; }
@media (max-width: 900px) {
  .subject-body { grid-template-columns: 1fr; gap: 2rem; }
  .subject-aside { position: static; }
}

/* --- prose ---------------------------------------------------------------- */
/* Reading column: keeps body text aligned with the page-head heading above it. */
.narrow { max-width: 70ch; margin-inline: auto; }
.prose { max-width: 70ch; padding-block: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); }
.subject-body .prose { padding-block: 0; }
.prose-post { padding-block: clamp(2.2rem, 1.5rem + 2.5vw, 3.4rem) 0; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose blockquote {
  margin: 1.6em 0; padding: .2em 0 .2em 1.3em;
  border-left: 3px solid var(--teal); color: var(--ink-soft); font-style: italic;
}
.prose code { background: var(--paper-tint); border: 1px solid var(--card-line); border-radius: 5px; padding: .12em .4em; font-size: .89em; }
.prose pre { background: var(--navy); color: #dbeaf4; padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); overflow-x: auto; font-size: .88rem; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .7em .9em; border-bottom: 1px solid var(--card-line); }
.prose th { background: var(--paper-tint); color: var(--navy); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--card-line); margin: 2.5em 0; }
.prose img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

.callout {
  background: var(--card); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.8em 0;
  border-left: 4px solid var(--teal);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--navy); }

/* --- about / tutor -------------------------------------------------------- */
.tutor-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.tutor-photo { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
@media (max-width: 760px) { .tutor-grid { grid-template-columns: 1fr; } .tutor-photo { max-width: 260px; } }

/* --- blog list ------------------------------------------------------------ */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.post-card {
  background: var(--paper); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 1.6rem 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.post-card h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover { color: var(--teal-dark); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .85rem; color: var(--ink-muted); margin: 0 0 .7rem; }
.post-excerpt { font-size: .97rem; color: var(--ink-muted); margin-bottom: .8rem; }
.post-head .post-meta { margin-top: .8rem; }

/* --- contact -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.form-frame { width: 100%; min-height: 780px; border: 1px solid var(--card-line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.contact-methods { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.contact-methods li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; align-items: start; }
.contact-methods .ico { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--card); color: var(--teal-dark); display: grid; place-items: center; }
.contact-methods .ico svg { width: 1.15rem; height: 1.15rem; }
.contact-methods b { display: block; color: var(--navy); font-size: .95rem; }
.contact-methods span { font-size: .92rem; color: var(--ink-muted); }
.qr-box { text-align: center; }
.qr-box img { width: 170px; margin: 0 auto .7rem; border-radius: 8px; }

/* --- poster block --------------------------------------------------------- */
.poster-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.poster-block img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 820px) { .poster-block { grid-template-columns: 1fr; } }

/* --- FAQ ------------------------------------------------------------------ */
.faq { display: grid; gap: .8rem; max-width: 72ch; }
.faq details {
  background: var(--paper); border: 1px solid var(--card-line); border-radius: var(--radius-sm);
  padding: 1.05rem 1.3rem;
}
.faq details[open] { border-color: var(--teal); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .9rem 0 0; font-size: .95rem; color: var(--ink-muted); }
.faq details p:last-child { margin-bottom: 0; }

/* --- CTA band ------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(15,181,173,.24), transparent 60%),
    linear-gradient(140deg, var(--navy) 0%, #14314f 100%);
  background-color: var(--navy);
  color: #c5dbe9;
  padding: clamp(2.6rem, 2rem + 3.5vw, 4rem) 0;
}
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 52ch; color: #b0cadd; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn-primary { background: var(--teal); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* --- members -------------------------------------------------------------- */
.locked-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin: 2rem 0; }
.locked {
  position: relative; background: var(--paper-tint); border: 1px dashed var(--card-line);
  border-radius: var(--radius); padding: 1.5rem;
}
.locked h3 { font-size: 1.05rem; display: flex; align-items: center; gap: .5rem; }
.locked h3 svg { width: 1rem; height: 1rem; color: var(--ink-muted); flex: none; }
.locked p { font-size: .92rem; color: var(--ink-muted); margin: 0; }

.login-card { max-width: 420px; background: var(--card); border-radius: var(--radius); padding: 1.8rem; }
.login-card label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.login-card input {
  width: 100%; padding: .75rem .9rem; margin-bottom: 1rem;
  border: 1px solid var(--card-line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 1rem; background: #fff; color: var(--ink);
}
.login-card input:focus { outline: 3px solid var(--teal); outline-offset: 1px; }
.form-note { font-size: .87rem; color: var(--ink-muted); margin-top: 1rem; }
.form-error { color: #b3261e; font-size: .9rem; margin-top: .6rem; min-height: 1.2em; }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: #a9c6da; padding: clamp(2.8rem, 2rem + 3vw, 4rem) 0 1.8rem; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand strong { font-family: var(--serif); font-size: 1.3rem; color: #fff; display: block; margin-bottom: .6rem; }
.footer-brand p { color: #93b3c9; max-width: 34ch; font-size: .9rem; }
.footer-contact a { color: #4fe0d8; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-col h3 { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a { color: #a9c6da; text-decoration: none; }
.footer-col a:hover { color: #4fe0d8; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: #7e9db4;
}
.footer-base p { margin: 0; }
.footer-base a { color: #7e9db4; }

/* --- motion --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* --- disabled form controls (member area placeholder) --------------------- */
.login-card input:disabled { background: #f2f6f9; color: var(--ink-muted); cursor: not-allowed; }
.login-card .btn:disabled { background: #b9cbd8; box-shadow: none; cursor: not-allowed; }
.login-card .btn:disabled:hover { background: #b9cbd8; transform: none; }
