@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,600;9..144,700&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  color-scheme: light;
  --ink: #1b1b20;
  --muted: #5a5a64;
  --accent: #0f5b4d;
  --accent-soft: #e7f1ee;
  --highlight: #e8b35b;
  --paper: #fdf8f2;
  --deep: #15202b;
  --border: rgba(27, 27, 32, 0.12);
  --shadow: 0 30px 60px rgba(21, 32, 43, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #fff1da 0%, #f9efe2 25%, #f2f5f3 65%, #e7eff6 100%);
  min-height: 100vh;
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  position: relative;
  overflow: hidden;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.9;
  z-index: 0;
}

.page::before {
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, rgba(15, 91, 77, 0.2), rgba(232, 179, 91, 0.25));
  top: -120px;
  right: -120px;
}

.page::after {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(21, 32, 43, 0.15), rgba(15, 91, 77, 0.2));
  bottom: -120px;
  left: -80px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero__meta {
  background: var(--paper);
  padding: 40px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: rise 0.8s ease both;
}

.eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  font-weight: 600;
}

h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  margin: 0 0 18px;
  line-height: 1.1;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__tags span {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 22px;
  background: #0a66c2;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__linkedin:hover {
  background: #004182;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

.hero__linkedin:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero__panel {
  display: grid;
  align-content: start;
}

.panel__card {
  background: var(--deep);
  color: #f9f9fb;
  padding: 36px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  animation: rise 0.9s ease 0.1s both;
}

.panel__card h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.panel__card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.panel__card li {
  padding-left: 18px;
  position: relative;
  font-size: 0.98rem;
  line-height: 1.4;
}

.panel__card li::before {
  content: "●";
  color: var(--highlight);
  position: absolute;
  left: 0;
  top: 0.1rem;
}

.section {
  margin-top: 52px;
  position: relative;
  z-index: 1;
}

.story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(21, 32, 43, 0.08);
  animation: fade 0.8s ease 0.1s both;
}

.story h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-top: 0;
}

.story h3 {
  margin-top: 0;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.grid__item {
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(21, 32, 43, 0.08);
  animation: fade 0.8s ease 0.15s both;
}

.grid__item h3 {
  margin-top: 0;
  font-family: "Fraunces", "Times New Roman", serif;
}

.timeline h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-bottom: 24px;
}

.timeline__list {
  display: grid;
  gap: 20px;
}

.timeline__item {
  padding: 24px 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 26px rgba(21, 32, 43, 0.08);
  position: relative;
}

.timeline__role {
  display: block;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline__org {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.2rem;
}

.emphasis {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  background: var(--deep);
  color: #f9f9fb;
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.emphasis h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin-top: 0;
}

.emphasis__metrics {
  display: grid;
  gap: 16px;
}

.emphasis__metrics div {
  background: rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  border-radius: 18px;
  display: grid;
  gap: 4px;
}

.emphasis__metrics span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.emphasis__metrics strong {
  font-size: 1.1rem;
}

.footer {
  margin-top: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .story {
    grid-template-columns: 1fr;
  }

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

  .emphasis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 32px 18px 48px;
  }

  .hero__meta,
  .panel__card,
  .story,
  .emphasis {
    padding: 28px;
  }
}
