:root {
  --paper: #f0f0f0;
  --paper-soft: #eceef3;
  --paper-blue: #e8eef8;
  --ink: #3c4149;
  --ink-soft: #707785;
  --ink-faint: #a4aab3;
  --blue: #5293f6;
  --blue-soft: #a6c4f3;
  --blue-line: rgba(82, 147, 246, 0.72);
  --blue-faint: rgba(82, 147, 246, 0.14);
  --card-fill: rgba(255, 255, 255, 0.52);
  --card-border: rgba(166, 196, 243, 0.68);
  --hub-fill: rgba(231, 237, 248, 0.9);
  --panel-fill: rgba(160, 166, 176, 0.92);
  --shadow: 0 28px 70px rgba(166, 196, 243, 0.18);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --page-pad: clamp(34px, 4vw, 72px);
  --timeline-pad: clamp(18px, 2.4vw, 38px);
  --display: "Outfit", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-block: 20px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  background:
    radial-gradient(circle at 100% 0%, rgba(166, 196, 243, 0.48) 0%, rgba(166, 196, 243, 0.16) 11%, transparent 26%),
    radial-gradient(circle at 0% 100%, rgba(82, 147, 246, 0.82) 0%, rgba(82, 147, 246, 0.38) 7%, transparent 18%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-soft) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(166, 196, 243, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 196, 243, 0.08) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.16;
  pointer-events: none;
}

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

button {
  font: inherit;
}

.portfolio-shell {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 30px var(--page-pad) 78px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(36vw, 620px);
  height: min(36vw, 620px);
  background: radial-gradient(circle at 100% 0%, rgba(166, 196, 243, 0.84), rgba(166, 196, 243, 0.14) 38%, transparent 62%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero__topline,
.hero__eyebrow,
.timeline__intro-label,
.timeline-node__order,
.timeline-node__period,
.timeline-card__eyebrow,
.branch-stop__index {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__topline {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(82, 147, 246, 0.52);
}

.hero__topline span,
.hero__topline a {
  font-size: 0.78rem;
}

.hero__topline span:first-child,
.hero__topline a {
  color: var(--blue-soft);
}

.hero__topline span:nth-child(2) {
  justify-self: center;
  color: var(--ink-soft);
}

.hero__body {
  position: relative;
  z-index: 2;
  max-width: min(85vw, 1180px);
  margin-top: clamp(64px, 12vh, 116px);
}

.hero__eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 0.9rem;
}

.hero__title {
  margin: 0;
  display: grid;
  gap: 6px;
}

.hero__title-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  font-family: var(--display);
  font-size: var(--hero-title-size, clamp(4rem, 8vw, 7rem));
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: var(--ink);
  white-space: nowrap;
}

.hero__title-line--accent {
  display: block;
  color: var(--blue);
}

.hero__lede {
  display: inline-block;
  max-width: none;
  margin: 22px 0 0;
  font-size: var(--hero-lede-size, clamp(1rem, 1.3vw, 1.28rem));
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero__stack {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  max-width: min(760px, 100%);
}

.hero__stack-row {
  display: grid;
  grid-template-columns: minmax(88px, max-content) 1fr;
  gap: clamp(18px, 2.4vw, 36px);
  align-items: baseline;
  padding: clamp(11px, 1.2vw, 16px) 0;
  border-bottom: 1px solid rgba(166, 196, 243, 0.38);
}

.hero__stack-row:first-child {
  padding-top: 0;
}

.hero__stack-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero__stack-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero__stack-items {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  color: var(--ink);
  font-size: clamp(0.94rem, 0.9rem + 0.22vw, 1.04rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.hero__tech {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.hero__tech-logo {
  width: 19px;
  height: 19px;
  object-fit: contain;
  display: block;
  flex: none;
}

.hero__aside {
  position: absolute;
  top: clamp(208px, 27vh, 300px);
  right: clamp(30px, 4vw, 72px);
  z-index: 2;
  width: fit-content;
  min-width: 0;
  max-width: min(26vw, 360px);
}

.hero__download {
  display: grid;
  gap: 8px;
  width: fit-content;
  min-width: 0;
  padding: 20px 22px 22px;
  border-radius: 28px;
  border: 1px solid rgba(166, 196, 243, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(231, 237, 248, 0.28)),
    rgba(255, 255, 255, 0.32);
  box-shadow: 0 22px 40px rgba(166, 196, 243, 0.14);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hero__download:hover,
.hero__download:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(82, 147, 246, 0.62);
  box-shadow: 0 22px 40px rgba(166, 196, 243, 0.2);
}

.hero__download-eyebrow {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__download-heading {
  display: inline-grid;
  grid-template-columns: auto auto;
  justify-content: start;
  width: fit-content;
  gap: 10px;
  align-items: center;
}

.hero__download-title {
  font-family: var(--display);
  font-size: clamp(1.18rem, 1.45vw, 1.42rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero__download-copy {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}

.hero__download-icon-image {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.slide-portfolio {
  width: 100%;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) var(--page-pad) clamp(80px, 10vw, 140px);
  border-top: 1px solid rgba(82, 147, 246, 0.28);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(82, 147, 246, 0.1) 50%, transparent calc(50% + 1px));
}

.slide-portfolio__list {
  display: grid;
  gap: 0;
}

.slide-portfolio figure {
  position: relative;
  width: 100%;
  min-height: min(100svh, 960px);
  margin: 0;
  display: grid;
  place-items: center;
  padding: clamp(52px, 8vh, 96px) 0;
  scroll-snap-align: center;
  opacity: 0.24;
  transform: translateY(46px) scale(0.965);
  filter: saturate(0.72);
  transition:
    opacity 600ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 600ms ease;
}

.slide-portfolio figure::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(82, 147, 246, 0.12);
  z-index: -1;
}

.slide-portfolio figure.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
}

.slide-portfolio img {
  display: block;
  width: min(100%, 1440px, calc((100svh - 150px) * 16 / 9));
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(60, 65, 73, 0.16);
  background: var(--paper);
  box-shadow: 0 34px 90px rgba(70, 78, 94, 0.2);
}

.slide-portfolio figcaption {
  position: absolute;
  right: max(0px, calc((100% - min(100%, 1440px, calc((100svh - 150px) * 16 / 9))) / 2));
  bottom: clamp(24px, 4vh, 48px);
  padding: 6px 10px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(82, 147, 246, 0.34);
  background: rgba(240, 240, 240, 0.86);
  backdrop-filter: blur(8px);
}

.hero__summary {
  position: relative;
  z-index: 2;
  margin-top: clamp(64px, 11vh, 128px);
}

.hero-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 22px);
  align-items: stretch;
}

.hero-summary__panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 12px 6px 14px;
}

.hero-summary__panel::before,
.hero-summary__panel::after,
.hero-summary__label::before,
.hero-summary__label::after {
  content: none;
}

.hero-summary__panel--work {
  container-type: inline-size;
}

.hero-summary__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 7px 12px 8px;
  border: 1px solid rgba(60, 65, 73, 0.42);
  background: rgba(255, 255, 255, 0.46);
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.34vw, 1.38rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-summary__label span {
  color: var(--blue);
}

.hero-summary__metric-block {
  display: grid;
  gap: 8px;
}

.hero-summary__metric {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 4.7vw, 4.5rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.hero-summary__metric-copy {
  margin: 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-summary__support {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: clamp(1rem, 1.16vw, 1.14rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.hero-summary__note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hero-summary__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-summary__list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.98rem;
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.hero-summary__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-summary__flow {
  display: grid;
  gap: 10px;
  width: min(100%, 30rem);
  justify-self: start;
}

.hero-summary__flow-card {
  width: fit-content;
  max-width: 100%;
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 0;
  text-align: left;
}

.hero-summary__flow-title {
  font-family: var(--display);
  font-size: 0.96rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hero-summary__flow-copy {
  color: var(--blue);
  font-size: 0.82rem;
  line-height: 1.42;
}

.timeline {
  position: relative;
  padding: 30px var(--timeline-pad) 140px;
}

.timeline__intro {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
}

.timeline__intro-label {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.86rem;
}

.timeline__intro-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.timeline__intro-title span {
  display: block;
  color: var(--blue);
}

.timeline__intro-body {
  max-width: 30ch;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.timeline__list {
  position: relative;
  width: 100%;
  --edge-buffer: clamp(14px, 1.3vw, 22px);
  --row-gap: clamp(50px, 5.2vw, 66px);
  --card-track-height: clamp(112px, 10vw, 128px);
  --node-track-height: 68px;
  --card-stem-length: clamp(28px, 2.4vw, 36px);
  --stop-gap: 22px;
  --stop-width: 214px;
  --row-columns: 4;
  --timeline-content-width: 1200px;
  --hover-grow: clamp(56px, 4.2vw, 96px);
  --hover-grow-media: clamp(96px, 6vw, 152px);
  display: grid;
  gap: var(--row-gap);
  padding: 8px 0 120px;
  overflow: visible;
}

.timeline__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}

.timeline__path-stem {
  stroke: rgba(82, 147, 246, 0.34);
  stroke-width: 2;
  stroke-linecap: round;
}

.timeline__path-glow {
  fill: none;
  stroke: rgba(166, 196, 243, 0.24);
  stroke-width: 16;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline__path-line {
  fill: none;
  stroke: rgba(82, 147, 246, 0.92);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.snake-row {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
}

.snake-row.is-active-row {
  z-index: 24;
}

.snake-row__stops {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--row-columns), minmax(0, 1fr));
  grid-template-rows: var(--card-track-height) var(--node-track-height) var(--card-track-height);
  column-gap: var(--stop-gap);
  row-gap: 0;
  width: 100%;
  max-width: 100%;
  padding-inline: var(--edge-buffer);
  align-items: start;
}

.snake-stop {
  display: contents;
}

.snake-stop__node {
  position: relative;
  grid-column: var(--column);
  grid-row: 2;
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: var(--node-track-height);
  z-index: 2;
  align-self: center;
}

.snake-stop__index,
.snake-stop__period,
.timeline-card__eyebrow {
  font-family: var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snake-stop__index {
  color: var(--blue);
  font-size: 0.72rem;
}

.snake-stop__period {
  color: rgba(60, 65, 73, 0.62);
  font-size: 0.64rem;
  font-weight: 500;
  white-space: nowrap;
}

.snake-stop__dot {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 12px rgba(166, 196, 243, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.snake-stop__dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.snake-stop__card-shell {
  position: relative;
  grid-column: var(--column);
  height: var(--card-track-height);
  min-width: 0;
  overflow: visible;
  z-index: 3;
  isolation: isolate;
}

.snake-stop--top .snake-stop__card-shell {
  grid-row: 1;
  align-self: end;
}

.snake-stop--bottom .snake-stop__card-shell {
  grid-row: 3;
  align-self: start;
}

.timeline-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  max-width: none;
  min-height: 76px;
  padding: 12px 13px 12px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 28px rgba(166, 196, 243, 0.14);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    width 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
  z-index: 2;
}

.snake-stop--top .timeline-card {
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.snake-stop--bottom .timeline-card {
  bottom: auto;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

.timeline-card--hub {
  background: rgba(231, 237, 248, 0.94);
}

.timeline-card--branch {
  background: rgba(255, 255, 255, 0.76);
}

.timeline-card--current {
  background: rgba(231, 237, 248, 0.98);
}

.timeline-card__eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 0.66rem;
}

.timeline-card__main {
  display: grid;
  gap: 9px;
}

.timeline-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(0.96rem, 1.08vw, 1.16rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.timeline-card__summary {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.48;
}

.timeline-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
}

.timeline-card__chip {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(166, 196, 243, 0.62);
  background: rgba(255, 255, 255, 0.28);
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1.2;
}

.timeline-card__chip--award {
  color: var(--blue);
  border-color: rgba(82, 147, 246, 0.52);
  background: rgba(82, 147, 246, 0.08);
}

.timeline-card__expand {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 220ms ease,
    margin-top 180ms ease,
    opacity 140ms ease;
}

.timeline-card__media {
  margin: 0 0 12px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(166, 196, 243, 0.56);
  background:
    linear-gradient(135deg, rgba(166, 196, 243, 0.28), rgba(255, 255, 255, 0.12)),
    rgba(231, 237, 248, 0.72);
}

.timeline-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-card__details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.timeline-card__details li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.52;
}

.timeline-card__details li::before {
  content: "";
  position: absolute;
  top: 0.76em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.timeline-card__branch-label {
  margin: 12px 0 0;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snake-stop.is-active .timeline-card,
.snake-stop:hover .timeline-card,
.snake-stop:focus-within .timeline-card {
  width: min(calc(100% + var(--hover-grow)), calc(var(--timeline-content-width) - 4px));
  border-color: rgba(82, 147, 246, 0.66);
  box-shadow: 0 24px 44px rgba(166, 196, 243, 0.2);
  background: rgba(255, 255, 255, 0.84);
}

.snake-stop.is-active .timeline-card--with-media,
.snake-stop:hover .timeline-card--with-media,
.snake-stop:focus-within .timeline-card--with-media {
  width: min(calc(100% + var(--hover-grow-media)), calc(var(--timeline-content-width) - 4px));
  background: rgba(255, 255, 255, 0.92);
}

.snake-stop--top.is-active .timeline-card,
.snake-stop--top:hover .timeline-card,
.snake-stop--top:focus-within .timeline-card {
  transform: translate(-50%, -50%) scale(1.025);
}

.snake-stop--bottom.is-active .timeline-card,
.snake-stop--bottom:hover .timeline-card,
.snake-stop--bottom:focus-within .timeline-card {
  transform: translate(-50%, -50%) scale(1.025);
}

.snake-stop.is-active .snake-stop__card-shell,
.snake-stop:hover .snake-stop__card-shell,
.snake-stop:focus-within .snake-stop__card-shell {
  z-index: 18;
}

.snake-stop.is-active .timeline-card__expand,
.snake-stop:hover .timeline-card__expand,
.snake-stop:focus-within .timeline-card__expand {
  max-height: 340px;
  margin-top: 10px;
  opacity: 1;
}

.snake-stop.is-active .timeline-card--with-media .timeline-card__expand,
.snake-stop:hover .timeline-card--with-media .timeline-card__expand,
.snake-stop:focus-within .timeline-card--with-media .timeline-card__expand {
  max-height: 520px;
}

.snake-stop.is-active .snake-stop__dot,
.snake-stop:hover .snake-stop__dot,
.snake-stop:focus-within .snake-stop__dot {
  transform: scale(1.12);
  box-shadow: 0 0 0 16px rgba(166, 196, 243, 0.24);
}

.snake-stop--micro .timeline-card__title,
.snake-stop--milestone .timeline-card__title {
  font-size: clamp(0.92rem, 1vw, 1.08rem);
}

.snake-stop--current .timeline-card__title {
  color: var(--blue);
}

.snake-stop--micro .timeline-card {
  min-height: 72px;
}

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

  .snake-stop__dot,
  .timeline-card,
  .timeline-card__expand {
    transition: none;
  }
}

@media (max-width: 1240px) {
  .hero-summary__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-summary__panel--work {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-bottom: 56px;
  }

  .hero__stack-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero__aside {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 360px);
    min-width: 0;
    margin-top: 28px;
  }

  .hero__summary {
    margin-top: 44px;
  }

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

  .hero-summary__panel,
  .hero-summary__panel--work {
    grid-column: auto;
    padding: 12px 0 14px;
  }

  .hero-summary__flow {
    gap: 7px;
    width: min(100%, 24rem);
  }

  .slide-portfolio {
    padding-inline: 14px;
  }

  .slide-portfolio figure {
    min-height: 52svh;
    padding: 30px 0 46px;
    transform: translateY(28px) scale(0.975);
  }

  .slide-portfolio img {
    width: 100%;
  }

  .slide-portfolio figcaption {
    right: 0;
    bottom: 14px;
  }
}

@media (max-width: 980px) {
  .hero__aside {
    top: clamp(214px, 26vh, 286px);
    right: clamp(22px, 3vw, 48px);
    width: fit-content;
    min-width: 0;
    max-width: min(28vw, 332px);
  }
}
