:root {
  --bg: #F4F8F3;
  --bg-alt: #E8F1E8;
  --accent: #8BAF91;
  --accent-dark: #456B50;
  --text: #26332A;
  --muted: #68736B;
  --white: #FFFFFF;
  --border: #DCE7DC;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-padding-top: 88px; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-dark);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }

h1 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; }
h3 { font-size: 1.05rem; }

.muted { color: var(--muted); }

.section { padding-block: clamp(64px, 9vw, 108px); }
.section-alt { background: var(--bg-alt); }
.section-sub { color: var(--muted); max-width: 62ch; margin-bottom: 40px; font-size: 1.05rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 248, 243, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand { text-decoration: none; color: var(--text); display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-weight: 600; }
.brand-tag { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }

.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s 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); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero { padding-block: clamp(56px, 8vw, 104px); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.marker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 24px;
}
.marker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-sub { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); margin-top: 24px; max-width: 52ch; }

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.btn-primary { background: var(--accent-dark); color: var(--white); }
.btn-primary:hover { background: #38573F; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--accent-dark); color: var(--accent-dark); }
.btn-ghost:hover { background: rgba(139, 175, 145, 0.14); }

.link-arrow { color: var(--accent-dark); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.link-arrow:hover { border-bottom-color: var(--accent-dark); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 420px); }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 28px;
  z-index: 0;
}
.hero-visual picture { position: relative; z-index: 1; display: block; }
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.grid-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.grid-tasks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
}

.task {
  border-top: 1px solid var(--border);
  padding: 24px 0 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 16px;
}
.task-num {
  grid-row: span 2;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 4px;
  font-variant-numeric: tabular-nums;
}
.task h3 { margin-bottom: 6px; }
.task p { color: var(--muted); font-size: 0.95rem; }

.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: flow;
  margin-top: 8px;
}
.flow li { position: relative; text-align: center; }
.flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
}
.flow-step {
  display: inline-block;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
}
.flow li:last-child .flow-step { background: var(--accent-dark); color: var(--white); border-color: var(--accent-dark); }

.method {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  counter-reset: step;
}
.method-step { position: relative; padding-top: 20px; border-top: 2px solid var(--border); }
.method-step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.method-num {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.method-step h3 { margin-bottom: 8px; }
.method-step p { color: var(--muted); font-size: 0.95rem; }

.about-inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.about-name { font-size: 1.3rem; font-weight: 600; margin-top: 4px; }
.about-role { color: var(--accent-dark); font-weight: 500; font-size: 0.95rem; margin-top: 4px; }
.about-lead { font-size: 1.12rem; font-weight: 500; margin-top: 24px; }
.about-body { color: var(--muted); margin-top: 12px; max-width: 56ch; }

.education {
  margin-top: 36px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.education h3 { margin-bottom: 16px; }
.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.edu-degree { font-weight: 600; }
.edu-line { font-size: 0.92rem; }

.grid-creds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}
.cred h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.cred ul { list-style: none; }
.cred li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  flex-wrap: wrap;
}
.cred li span:first-child { flex: 1 1 260px; }

.event-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  align-items: start;
}
.event-media img { border-radius: 16px; width: 168px; height: 168px; object-fit: cover; }
.event-title { font-size: 1.25rem; font-weight: 700; }
.event-when { color: var(--accent-dark); font-weight: 600; margin-top: 4px; }
.event-section { font-weight: 500; margin-top: 12px; }
.event-meta { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.event-desc { margin-top: 14px; max-width: 70ch; }
.event-speaker { color: var(--muted); font-size: 0.9rem; margin-top: 12px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-dark);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
}

.materials {
  margin-top: 24px;
  border: 1px dashed var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.materials h3 { margin-bottom: 8px; }
.materials p { color: var(--muted); }

.cta { background: var(--accent-dark); color: var(--white); }
.cta-inner { text-align: center; max-width: 720px; }
.cta h2 { color: var(--white); }
.cta p { color: rgba(255, 255, 255, 0.82); font-size: 1.05rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.cta .btn-primary { background: var(--white); color: var(--accent-dark); }
.cta .btn-primary:hover { background: var(--bg-alt); }
.cta .btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: var(--white); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-name { font-weight: 600; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--accent-dark); }
.footer-copy { font-size: 0.85rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .nav-toggle span { transition: none; }
}

@media (max-width: 1100px) {
  .grid-audience { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .method { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 340px 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; width: min(100%, 400px); }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:not(:last-child)::after { display: none; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo { width: min(100%, 400px); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .grid-tasks { grid-template-columns: 1fr; gap: 0; }
  .grid-audience { grid-template-columns: 1fr; }
  .grid-creds { grid-template-columns: 1fr; gap: 32px; }
  .event-card { grid-template-columns: 1fr; padding: 24px; }
  .event-media img { width: 96px; height: 96px; }
}

@media (max-width: 640px) {
  .method { grid-template-columns: 1fr; gap: 0; }
  .method-step {
    border-top: none;
    border-left: 2px solid var(--border);
    padding: 0 0 36px 24px;
    margin-left: 4px;
    position: relative;
  }
  .method-step::before { top: 4px; left: -5px; }
  .method-step:last-child { padding-bottom: 0; }
  .flow { grid-template-columns: 1fr; }
  .education-grid { grid-template-columns: 1fr; }
  .hero-actions { gap: 16px; }
  .btn { padding: 14px 24px; width: 100%; text-align: center; }
  .hero-actions .link-arrow { width: auto; }
  .cta-actions { flex-direction: column; align-items: stretch; }
}
