:root {
  --bg: #060910;
  --bg-2: #0d1426;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e7edf5;
  --muted: #9fb2c8;
  --accent: #f6a93b;
  --accent-2: #5ce1e6;
  --radius: 16px;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Space Grotesk", "Manrope", sans-serif;
  --font-body: "Manrope", "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--bg), var(--bg-2));
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg__glow {
  position: absolute;
  width: 45vw;
  height: 45vw;
  filter: blur(120px);
  opacity: 0.6;
}

.glow-1 {
  top: -12%;
  left: -10%;
  background: radial-gradient(circle, rgba(246, 169, 59, 0.4), transparent 60%);
}

.glow-2 {
  bottom: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(92, 225, 230, 0.35), transparent 60%);
}

.bg__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 160px 160px;
  mix-blend-mode: screen;
  opacity: 0.08;
}

main {
  position: relative;
  z-index: 1;
  padding: 32px clamp(16px, 4vw, 64px) 96px;
  max-width: 1200px;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(16px, 4vw, 64px);
  background: rgba(6, 9, 16, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.topbar-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 42px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.menu-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.topbar.is-open .menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar.is-open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.topbar.is-open .menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #08121f;
  border-color: transparent;
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
}

.chip,
.tag,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.pill {
  background: rgba(246, 169, 59, 0.15);
  color: var(--accent);
  border-color: rgba(246, 169, 59, 0.4);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 24px;
  margin-top: 32px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

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

.hero__text h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 8px 0 16px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0;
}

.lede {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero__current {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
}

.divider {
  width: 12px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
}

.platform-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
  opacity: 0.9;
}

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

.hero__panel {
  display: grid;
  gap: 12px;
}

.stat-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.stat-value {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.stat-label {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-block {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
}

.panel-title {
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.panel-body {
  color: var(--muted);
  line-height: 1.6;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  margin-top: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.section-head h2 {
  margin: 10px 0 0;
  font-size: 1.8rem;
  font-family: var(--font-display);
}

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

.columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.column h3 {
  margin: 0 0 8px;
}

.bullets {
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  display: grid;
  gap: 8px;
}

.timeline {
  display: grid;
  gap: 18px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--accent), transparent);
  opacity: 0.4;
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  position: relative;
  padding-left: 16px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  left: 6px;
  top: 8px;
  box-shadow: 0 0 0 6px rgba(246, 169, 59, 0.15);
}

.timeline-date {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.card {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.card-header h3 {
  margin: 0 0 4px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.projects-grid {
  --project-card-width: clamp(220px, 24vw, 280px);
  display: flex;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc((100% - var(--project-card-width)) / 2);
  perspective: 1400px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(246, 169, 59, 0.7) rgba(255, 255, 255, 0.08);
}

.projects-grid::before,
.projects-grid::after {
  content: "";
  flex: 0 0 calc((100% - var(--project-card-width)) / 2);
  pointer-events: none;
}

.projects-grid::-webkit-scrollbar {
  height: 10px;
}

.projects-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.projects-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, rgba(246, 169, 59, 0.9), rgba(92, 225, 230, 0.85));
  border-radius: 999px;
  border: 2px solid rgba(6, 9, 16, 0.8);
}

.projects-grid::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(255, 190, 90, 0.95), rgba(110, 235, 240, 0.9));
}

.projects-grid .project {
  flex: 0 0 var(--project-card-width);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.project .card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.card-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.project {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(8, 12, 24, 0.85));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  padding: 16px;
  transform: translateY(var(--card-y, 0px)) translateZ(var(--card-z, 0px)) scale(var(--card-scale, 1))
    rotateY(var(--card-rotate, 0deg));
  opacity: var(--card-opacity, 1);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.project--video {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 9 / 12.8;
  position: relative;
  overflow: hidden;
  background: #05070d;
  gap: 0;
}

.project .card-header h3 {
  color: #e6eef9;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.2em * 2);
}

.project .muted {
  color: #9fb2c8;
  font-size: 0.95rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.45em * 2);
}

.project .muted.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  min-height: 0;
}

.project .btn.ghost {
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: #c6d2e0;
  box-shadow: none;
  width: max-content;
  justify-self: start;
  justify-content: center;
  text-align: center;
}

.project .btn.ghost:hover {
  background: linear-gradient(135deg, rgba(246, 169, 59, 0.48), rgba(92, 225, 230, 0.35));
  border-color: rgba(246, 169, 59, 0.6);
  color: #fff2dd;
  box-shadow: 0 14px 26px rgba(246, 169, 59, 0.28);
  transform: translateY(-1px);
}

.read-more {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  width: max-content;
}

.read-more:hover {
  color: #f8c979;
}

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

.project .pill {
  background: rgba(246, 169, 59, 0.12);
  color: #f6c27a;
  border-color: rgba(246, 169, 59, 0.35);
}

.project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 12.8;
  border-radius: 14px;
  border: 1px solid var(--border);
  background-color: rgba(6, 9, 16, 0.85);
  background-image: radial-gradient(circle at top right, var(--media-accent, rgba(246, 169, 59, 0.3)), transparent 55%),
    radial-gradient(circle at bottom left, var(--media-accent-2, rgba(92, 225, 230, 0.25)), transparent 60%),
    linear-gradient(135deg, rgba(6, 9, 16, 0.92), rgba(6, 9, 16, 0.55));
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 18px 32px rgba(0, 0, 0, 0.35);
}

.project--video .project-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 0;
  padding: 0;
  background: #05070d;
  background-image: none;
  box-shadow: none;
  display: block;
}

.project-media > div {
  position: relative;
  z-index: 1;
}

.project-media--catwool {
  background-image: linear-gradient(135deg, rgba(6, 9, 16, 0.75), rgba(6, 9, 16, 0.35)),
    url("assets/CATWOOL.webp");
}

.project-media--video {
  padding: 0;
  background: #0b0f19;
}

.project-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.project--video .project-media-video {
  object-position: center;
}

.project-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: 18px 16px 16px;
  margin-top: auto;
  min-height: 34%;
  background: linear-gradient(180deg, rgba(4, 5, 8, 0.2) 0%, rgba(4, 5, 8, 0.75) 45%, rgba(4, 5, 8, 0.96) 100%);
}

.project--video .video-restart {
  top: 12px;
  bottom: auto;
}

.project-media--logo {
  background-image: radial-gradient(circle at top right, rgba(92, 225, 230, 0.25), transparent 55%),
    radial-gradient(circle at bottom left, rgba(246, 169, 59, 0.2), transparent 60%),
    linear-gradient(135deg, rgba(6, 9, 16, 0.88), rgba(6, 9, 16, 0.55));
}

.project-media-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.media-title {
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #e6eef9;
}

.media-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.featured {
  padding: 32px;
}

.featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  margin-top: 18px;
}

.featured__media {
  display: grid;
  gap: 12px;
}

.video-frame {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
}

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(6, 9, 16, 0.5);
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-embed video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-restart {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  width: 44px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 14, 24, 0.65);
  color: #e6eef9;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.video-fullscreen {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  width: 44px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 14, 24, 0.65);
  color: #e6eef9;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.video-fullscreen__icon {
  width: 18px;
  height: 18px;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-fullscreen:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  background: rgba(10, 14, 24, 0.8);
}

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

.video-fullscreen.is-active {
  border-color: rgba(246, 169, 59, 0.55);
  background: linear-gradient(135deg, rgba(246, 169, 59, 0.9), rgba(92, 225, 230, 0.85));
  color: #08121f;
}

.video-restart:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  background: rgba(10, 14, 24, 0.8);
}

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

.video-restart__icon {
  width: 18px;
  height: 18px;
  display: block;
  filter: none;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: radial-gradient(circle at top right, rgba(246, 169, 59, 0.2), transparent 55%),
    radial-gradient(circle at bottom left, rgba(92, 225, 230, 0.2), transparent 55%),
    rgba(10, 16, 30, 0.85);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 18px;
}

.video-title {
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.featured__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.featured__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.meta-card {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
}

.meta-label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin: 0;
}

.meta-value {
  margin: 6px 0 0;
  font-weight: 700;
}

.featured__content h3 {
  margin: 0 0 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills .chips {
  margin-top: 8px;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.contact-link:hover {
  color: var(--accent);
}

.footer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 28px auto 32px;
  padding: 0 clamp(16px, 4vw, 64px);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.visible {
  opacity: 1;
  transform: none;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

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

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

  .top-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 820px) {
  .topbar {
    position: sticky;
    top: 0;
    flex-wrap: wrap;
  }

  .topbar-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
  }

  .topbar.is-open .topbar-menu {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 8px;
  }

  .topbar-cta {
    margin-left: auto;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 18px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item::before {
    left: 4px;
  }
}

@media (max-width: 560px) {
  main {
    padding: 20px 14px 72px;
  }

  .hero,
  .panel {
    padding: 22px;
  }

  .featured {
    padding: 22px;
  }

  .topbar {
    position: sticky;
    top: 0;
    padding: 12px 14px;
  }

  .menu-toggle {
    width: 40px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
