@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");

:root {
  --bg: #f9fafb;
  --bg-soft: #f3f4f6;
  --surface: #ffffff;
  --text: #1b1f2a;
  --muted: #48505f;
  --border: #e3e6eb;
  --primary: #0f172a;
  --primary-soft: #e7e9ee;
  --accent: #0f172a;
  --shadow: 0 10px 26px -24px rgba(15, 23, 42, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, calc(100% - 2.8rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e5e7eb;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.2rem;
}

.brand {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  font-family: "Sora", "Manrope", sans-serif;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
}

.site-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0;
  border-radius: 0;
  background: transparent;
  transition: color 180ms ease;
  position: relative;
  letter-spacing: 0.06em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.6rem;
  height: 2px;
  background: #0f172a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #0f172a;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a:focus-visible,
.btn:focus-visible,
.contact-email:focus-visible {
  outline: 2px solid #222833;
  outline-offset: 2px;
}

.page {
  padding: 3.8rem 0 5rem;
}

.hero {
  background: var(--surface);
  border: 1px solid #e5e7eb;
  border-left: 6px solid #0f172a;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(2.2rem, 3.6vw, 3.4rem);
}

.hero-eyebrow {
  display: inline-block;
  margin: 0;
  color: #0f172a;
  background: transparent;
  padding: 0.15rem 0;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0.6rem 0 0.8rem;
  font-size: clamp(2.25rem, 5.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-family: "Sora", "Manrope", sans-serif;
}

.hero p {
  margin: 0;
  max-width: 70ch;
  color: var(--muted);
}

.hero-about {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: clamp(1.1rem, 2.2vw, 2.2rem);
  align-items: center;
}

.hero-about-content {
  min-width: 0;
}

.hero-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.hero-profile {
  margin: 0;
}

.hero-profile img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  display: block;
  margin-left: auto;
  border-radius: 0;
  object-fit: cover;
  border: 1px solid #d7dbe2;
  box-shadow: 0 12px 28px -22px rgba(15, 23, 42, 0.18);
  background: #f7f8fa;
}

.button-row {
  margin-top: 1.55rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 0;
  border: 1px solid transparent;
  padding: 0.85rem 1.22rem;
  font-size: 0.9rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 180ms ease;
}


.btn-primary {
  color: #ffffff;
  background: #0f172a;
  border-color: #0f172a;
}

.btn-primary:hover {
  background: #0b1221;
  border-color: #0b1221;
}

.btn-secondary {
  color: #0f172a;
  border-color: #c5ccd6;
  background: transparent;
}

.btn-secondary:hover {
  border-color: #9aa3b2;
  background: #f3f4f6;
}

.section {
  margin-top: 3rem;
  padding-left: 0;
  border-left: 0;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  letter-spacing: -0.02em;
  font-family: "Sora", "Manrope", sans-serif;
}

.section-intro {
  margin: 0.5rem 0 0;
  color: var(--muted);
  max-width: 68ch;
  font-size: 1.02rem;
}

.grid {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.95rem;
  padding-left: 0;
}


.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.35rem;
  box-shadow: none;
  border-left: 0;
  border-top: 1px solid #dfe2e8;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #d5d9e1;
}

.impact-mark {
  width: 110px;
  height: auto;
  margin: 0 0 0.9rem;
  display: block;
  opacity: 0.9;
}


.card-tone-a {
  border-top-color: #0f172a;
  background: #ffffff;
}

.card-tone-b {
  border-top-color: #4b5563;
  background: #f9fafb;
}

.card-tone-c {
  border-top-color: #9aa3b2;
  background: #f6f7fb;
}

.card-tone-dark {
  background: #f5f6f8;
  border-color: #d8dde3;
  border-top-color: #0f172a;
}

.card.card-tone-dark h3,
.card.card-tone-dark p,
.card.card-tone-dark .stat,
.card.card-tone-dark .stat-label {
  color: #222833;
}

.card-tone-dark .badge {
  background: #e4e9ef;
  color: #222833;
}


.card-varied .card:nth-child(4n + 2) {
  border-top: 1px solid #d1d6de;
}

.card-varied .card:nth-child(4n + 3) {
  border-top: 1px solid #cbd1da;
}


.book-grid .card {
  border-left-width: 1px;
  border-top: 2px solid #0f172a;
}

.book-grid .card:nth-child(even) {
  border-top-color: #4b5563;
  background: #f9fafb;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-family: "Sora", "Manrope", sans-serif;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.span-4 {
  grid-column: span 4;
}

.span-6 {
  grid-column: span 6;
}

.span-8 {
  grid-column: span 8;
}

.span-12 {
  grid-column: span 12;
}

.badge-row {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.badge {
  display: inline-block;
  padding: 0.36rem 0.7rem;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.78rem;
  color: #111317;
  background: #d5dae1;
}

.timeline {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  border-left: 3px solid #7f8792;
  padding: 0.2rem 0 0.2rem 1rem;
}

.timeline-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  font-family: "Sora", "Manrope", sans-serif;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.list {
  margin: 0;
  padding-left: 1.05rem;
}

.list li {
  margin-top: 0.42rem;
  color: var(--muted);
}

.stat {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.85rem;
  margin: 0;
}

.stat-label {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.feed-list {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.85rem;
}



.feed-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1rem;
  align-items: start;
  border-left: 0;
  border-top: 1px solid #dfe2e8;
}

.feed-item-text-only {
  grid-template-columns: 1fr;
}

.feed-item h3 {
  margin: 0;
  font-size: 1.06rem;
}


.feed-source {
  display: inline-flex;
  margin-bottom: 0.45rem;
  padding: 0.22rem 0.6rem;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0f172a;
  background: #e9ecf2;
}

.feed-content {
  min-width: 0;
}


.feed-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid #ccd2db;
  background: #f2f5f9;
}

.feed-meta {
  margin: 0.35rem 0 0.55rem;
  color: #5f6772;
  font-size: 0.83rem;
}

.feed-item p {
  margin: 0;
  color: var(--muted);
}

.feed-item a {
  display: inline-flex;
  margin-top: 0.7rem;
  color: #222833;
  font-weight: 800;
  text-decoration: underline;
}

.book-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.book-cover {
  width: 96px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid #ccd2db;
  background: #f2f5f9;
}

.book-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.book-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.footnote {
  margin-top: 0.9rem;
  color: #64748b;
  font-size: 0.84rem;
}

.contact-panel {
  background: var(--surface);
  color: #0f172a;
  border-radius: 0;
  border: 1px solid #e5e7eb;
  border-left: 0;
  border-top: 2px solid #0f172a;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: none;
}

.contact-panel p {
  margin: 0.45rem 0 0;
  color: #4a5563;
}

.contact-email {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 800;
  border-radius: 0;
  padding: 0.82rem 1.1rem;
  background: #0f172a;
  color: #ffffff;
}


.site-footer {
  border-top: 1px solid rgba(214, 222, 234, 0.85);
  padding: 1.5rem 0 2rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: #6a7380;
  font-size: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .span-4,
  .span-6,
  .span-8 {
    grid-column: span 12;
  }

  .hero-about {
    grid-template-columns: 1fr;
  }

  .hero-profile img {
    margin: 0;
    max-width: 270px;
  }

  .feed-item {
    grid-template-columns: 1fr;
  }

  .feed-thumb {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 860px) {
  .site-header .container {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 1.2rem;
    top: calc(100% + 0.5rem);
    width: min(320px, calc(100% - 2.4rem));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 0;
    box-shadow: var(--shadow);
    padding: 0.55rem;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.35rem;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    padding: 0.62rem 0.2rem;
  }

  .site-nav a::after {
    bottom: 0;
    height: 1px;
  }
}
