:root {
  --ink: #111827;
  --ink-soft: #273142;
  --muted: #727d91;
  --line: #e7ebf3;
  --paper: #ffffff;
  --soft: #f7f9fd;
  --violet: #6c63ff;
  --violet-2: #8d83ff;
  --cyan: #50c7ee;
  --mint: #5fe0b7;
  --pink: #ff7db6;
  --shadow: 0 26px 80px rgba(36, 45, 68, 0.1);
  --soft-shadow: 0 14px 42px rgba(36, 45, 68, 0.08);
  --radius: 18px;
  --container: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 12%, rgba(108, 99, 255, 0.08), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(80, 199, 238, 0.12), transparent 28%),
    #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  box-shadow: 0 0 24px rgba(108, 99, 255, 0.55);
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.12), transparent 65%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(231, 235, 243, 0.9);
  box-shadow: 0 12px 40px rgba(36, 45, 68, 0.07);
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 900;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  border-radius: 12px;
  font-size: 17px;
  letter-spacing: 0;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  color: #6f7788;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--violet);
}

.header-resume {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  color: var(--violet);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  font-size: 14px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 70px) 0 150px;
  overflow: hidden;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: 72px;
  align-items: center;
}

.hello {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.hero__title {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: #626d7f;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 900;
  box-shadow: var(--soft-shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--violet), #746cff);
}

.button--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line);
}

.dashboard-card {
  position: relative;
  min-height: 510px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(231, 235, 243, 0.95);
  border-radius: 26px;
  box-shadow: 0 34px 100px rgba(70, 80, 110, 0.14);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
}

.dashboard-sidebar {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 20px;
  padding-top: 32px;
  background: linear-gradient(180deg, rgba(247, 249, 253, 0.82), rgba(255, 255, 255, 0.74));
  border-right: 1px solid var(--line);
}

.dashboard-sidebar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7cfdd;
}

.dashboard-sidebar span.is-active {
  width: 26px;
  height: 26px;
  background: rgba(108, 99, 255, 0.13);
  border: 7px solid #ffffff;
  box-shadow: 0 8px 22px rgba(108, 99, 255, 0.24);
}

.dashboard-main {
  padding: 30px;
}

.dashboard-head,
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.dashboard-head p,
.dashboard-head h2,
.panel-head h3,
.donut-panel h3 {
  margin: 0;
}

.dashboard-head p {
  color: var(--ink);
  font-weight: 900;
}

.dashboard-head h2 {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-head > span {
  padding: 8px 12px;
  color: #8b94a6;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.metric-tile {
  min-height: 106px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(46, 55, 78, 0.06);
}

.metric-tile span {
  display: block;
  color: #98a2b4;
  font-size: 12px;
  font-weight: 800;
}

.metric-tile strong {
  display: block;
  margin-top: 11px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
}

.metric-tile small {
  display: block;
  margin-top: 8px;
  color: #1fbf8a;
  font-weight: 900;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.65fr);
  gap: 16px;
  margin-top: 18px;
}

.chart-panel,
.donut-panel {
  position: relative;
  min-height: 248px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(46, 55, 78, 0.06);
}

.panel-head h3,
.donut-panel h3 {
  color: var(--ink);
  font-size: 14px;
}

.panel-head div {
  display: flex;
  gap: 8px;
}

.panel-head span {
  width: 34px;
  height: 8px;
  border-radius: 99px;
  background: #dde3f1;
}

.panel-head span:first-child {
  background: var(--violet);
}

.hero-chart {
  width: 100%;
  height: 210px;
  margin-top: 6px;
  overflow: visible;
}

.chart-area {
  fill: url("#chartFill");
}

.chart-line {
  fill: none;
  stroke: var(--violet);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 8px 18px rgba(108, 99, 255, 0.22));
}

.chart-dots circle {
  fill: #ffffff;
  stroke: var(--violet);
  stroke-width: 4;
  cursor: pointer;
}

.chart-tooltip {
  position: absolute;
  top: 88px;
  left: 54%;
  min-width: 112px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  pointer-events: none;
}

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

.donut {
  width: 132px;
  height: 132px;
  margin: 24px auto 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 43%, transparent 44%),
    conic-gradient(var(--violet) 0 48%, #9ea0ff 48% 75%, #cbd4f4 75% 90%, #edf1fb 90% 100%);
  box-shadow: inset 0 0 0 1px var(--line);
}

.donut-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.donut-panel li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 8px;
  align-items: center;
}

.donut-panel li span {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--violet);
}

.donut-panel li:nth-child(2) span {
  background: #9ea0ff;
}

.donut-panel li:nth-child(3) span {
  background: #cbd4f4;
}

.donut-panel li:nth-child(4) span {
  background: #edf1fb;
}

.hero-wave {
  position: absolute;
  inset: auto 0 0;
  height: 260px;
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

.hero-wave path {
  fill: none;
  stroke: #8b82ff;
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.62;
}

.wave-note {
  position: absolute;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  font-size: 12px;
  font-weight: 900;
}

.wave-note--left {
  left: 9%;
  top: 52px;
}

.wave-note--right {
  right: 4%;
  bottom: 64px;
}

.section {
  padding: 86px 0;
}

.section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 900;
}

.section-head p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-head--center {
  text-align: center;
}

.section-head--center p {
  margin-right: auto;
  margin-left: auto;
}

.about-section {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) 320px minmax(0, 0.9fr);
  gap: 70px;
  align-items: center;
}

.portrait-card {
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(145deg, #f5f7fb, #ffffff);
  border: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.portrait-placeholder {
  aspect-ratio: 1 / 1.18;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(108, 99, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #f5f7fb, #ffffff);
}

.portrait-placeholder span {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: 50%;
  font-size: 34px;
  font-weight: 900;
}

.about-points {
  display: grid;
  gap: 34px;
}

.about-point {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.about-point > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--violet);
  background: rgba(108, 99, 255, 0.1);
  border-radius: 50%;
  font-weight: 900;
}

.about-point:nth-child(2) > span {
  color: #1fbf8a;
  background: rgba(95, 224, 183, 0.16);
}

.about-point h3,
.about-point p {
  margin: 0;
}

.about-point h3 {
  font-size: 18px;
}

.about-point p {
  margin-top: 8px;
  color: var(--muted);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  margin-top: 70px;
  color: #b2bacb;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 900;
  text-align: center;
}

.stack-section,
.projects-section,
.experience-section {
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.skill-card,
.case-card,
.stats-strip,
.timeline-item,
.contact-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.skill-card {
  min-height: 96px;
  padding: 18px;
  transform-style: preserve-3d;
}

.skill-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--violet);
  background: rgba(108, 99, 255, 0.09);
  border-radius: 10px;
  font-weight: 900;
}

.skill-card h3 {
  margin: 14px 0 0;
  font-size: 16px;
}

.skill-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.section-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-link {
  color: var(--violet);
  font-weight: 900;
}

.case-carousel {
  position: relative;
  margin-top: 34px;
}

.case-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 52px) / 3);
  gap: 26px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.case-track::-webkit-scrollbar {
  display: none;
}

.case-card {
  overflow: hidden;
  scroll-snap-align: start;
  transform-style: preserve-3d;
}

.case-preview {
  position: relative;
  min-height: 190px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.9)),
    #f3f6fb;
  border-bottom: 1px solid var(--line);
}

.case-preview span {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--violet);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: var(--soft-shadow);
  font-weight: 900;
}

.case-preview::after {
  content: "";
  position: absolute;
  inset: 58px 34px 40px 92px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, transparent 44%, rgba(108, 99, 255, 0.9) 45% 47%, transparent 48%),
    linear-gradient(26deg, transparent 54%, rgba(80, 199, 238, 0.8) 55% 57%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.06) 0 1px, transparent 1px 42px),
    #ffffff;
  box-shadow: inset 0 0 0 1px var(--line), var(--soft-shadow);
}

.case-preview--donuts::after {
  background:
    radial-gradient(circle at 34% 50%, #fff 0 20%, transparent 21%),
    conic-gradient(from 90deg at 34% 50%, var(--violet) 0 52%, #ffd16a 52% 78%, #edf1fb 78% 100%),
    radial-gradient(circle at 72% 50%, #fff 0 20%, transparent 21%),
    conic-gradient(from 120deg at 72% 50%, #5fe0b7 0 42%, #ff7db6 42% 70%, #edf1fb 70% 100%),
    #ffffff;
}

.case-preview--flow::after {
  background:
    radial-gradient(circle at 15% 50%, var(--violet) 0 12px, transparent 13px),
    radial-gradient(circle at 50% 50%, #5fe0b7 0 12px, transparent 13px),
    radial-gradient(circle at 85% 50%, #ffd16a 0 12px, transparent 13px),
    linear-gradient(90deg, transparent 15%, rgba(108, 99, 255, 0.34) 15% 85%, transparent 85%),
    #ffffff;
}

.case-card h3 {
  margin: 26px 24px 0;
  font-size: 21px;
}

.case-card p {
  min-height: 104px;
  margin: 12px 24px 0;
  color: var(--muted);
}

.case-card a {
  display: inline-flex;
  margin: 8px 24px 26px;
  color: var(--violet);
  font-weight: 900;
}

.carousel-btn {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.carousel-btn--prev {
  left: -64px;
}

.carousel-btn--next {
  right: -64px;
}

.achievements-section {
  padding-top: 30px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 34px 24px;
}

.stats-strip div {
  padding: 0 36px;
  border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
  border-right: 0;
}

.stats-strip dt {
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
}

.stats-strip dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 10px;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 0.75fr);
  gap: 22px;
  padding: 26px;
}

.timeline-item span {
  color: var(--violet);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 0;
  font-size: 21px;
}

.timeline-item p {
  grid-column: 2;
  margin: -8px 0 0;
  color: var(--muted);
}

.contact-section {
  padding-top: 54px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  padding: 42px;
}

.contact-panel h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
}

.contact-panel p {
  max-width: 520px;
  margin: 14px 0 0;
  color: var(--muted);
}

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

.contact-links a {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  font-weight: 900;
  text-align: center;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 28px 0 34px;
  color: #98a2b4;
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

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

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

.hero .reveal {
  opacity: 1;
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .carousel-btn {
    display: none;
  }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    gap: 20px;
  }

  .hero__grid,
  .about-layout,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .dashboard-card {
    max-width: 820px;
  }

  .skill-grid,
  .logo-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .header-resume {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 12px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle.is-active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle.is-active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding: 110px 0 96px;
  }

  .hero__title {
    font-size: clamp(42px, 13vw, 62px);
  }

  .hero__actions,
  .contact-links {
    grid-template-columns: 1fr;
    display: grid;
  }

  .button {
    width: 100%;
  }

  .dashboard-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-sidebar {
    display: none;
  }

  .metric-row,
  .dashboard-grid,
  .stats-strip,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .case-track {
    grid-auto-columns: min(88vw, 380px);
  }

  .stats-strip div {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-strip div:last-child {
    border-bottom: 0;
  }

  .timeline-item p {
    grid-column: auto;
    margin-top: 0;
  }

  .hero-wave {
    opacity: 0.45;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .dashboard-main,
  .contact-panel {
    padding: 22px;
  }

  .dashboard-head {
    display: grid;
  }

  .skill-grid,
  .logo-row {
    grid-template-columns: 1fr;
  }

  .hero-wave {
    display: none;
  }

  .case-card p {
    min-height: auto;
  }
}
