.portfolio-page { --portfolio-background: #000; background: #000; }
.portfolio-page::before { display: none; }
.portfolio-hero { position: relative; overflow: hidden; min-height: max(740px, 100svh); display: flex; flex-direction: column; background: #000; color: #f4f4f5; }
.portfolio-hero__layout { flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 5vw, 84px); padding-block: 155px 85px; }
.portfolio-hero__copy { position: relative; z-index: 2; min-width: 0; }
.portfolio-hero h1 { width: 100%; line-height: 1; }
.portfolio-hero .hero-title__line { width: auto; max-width: 100%; }
.portfolio-hero .hero-title__line:nth-child(2) { font-size: clamp(26px, 2.65vw, 42px); white-space: normal; line-height: 1.25; }
.portfolio-hero .hero-title__line:nth-child(1), .portfolio-hero .hero-title__line:nth-child(3) { font-size: clamp(16px, 1.55vw, 25px); white-space: normal; }
.portfolio-hero__description { max-width: 440px; margin-top: 30px; color: #a8a8ac; font-size: 16px; line-height: 1.7; }
.portfolio-hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 32px; }
.portfolio-page .portfolio-hero__contact { margin-top: 0; }
.portfolio-hero__faq { margin-left: 8px; }
.portfolio-hero__bottom { padding-block: 0 clamp(20px, 4svh, 44px); }
.portfolio-hero__bottom .hero-meta__link { margin-left: -45px; }
.portfolio-orbit { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; justify-self: center; container-type: inline-size; }
.portfolio-orbit__center { position: absolute; inset: 31%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.portfolio-orbit__number { display: flex; color: #f4f4f5; font-family: Inter, Arial, sans-serif; font-size: clamp(48px, 17cqw, 105px); line-height: 1; font-weight: 400; letter-spacing: -.075em; font-variant-numeric: tabular-nums; }
.portfolio-orbit__number > span:last-child { color: #999; font-weight: 300; }
.portfolio-orbit__center p { margin-top: 14px; color: #aaa; font-size: clamp(11px, 2.7cqw, 16px); line-height: 1.5; }
.portfolio-orbit__hint { display: none; }
.portfolio-orbit__ring { position: absolute; border: 1px solid transparent; border-radius: 50%; pointer-events: none; }
/* Fade the continuous line, never the interactive children of the ring. */
.portfolio-orbit__ring::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgb(255 255 255 / 48%);
  border-radius: inherit;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(var(--ring-fade-angle), transparent 0%, #0003 18%, #000 48%, #0009 72%, transparent 100%);
  mask-image: linear-gradient(var(--ring-fade-angle), transparent 0%, #0003 18%, #000 48%, #0009 72%, transparent 100%);
  transform-origin: 50% 50%;
  animation: portfolio-ring-line-turn var(--ring-line-duration) linear infinite;
  animation-play-state: paused;
  will-change: transform;
}
.portfolio-orbit__ring--inner { inset: 20%; --duration: 42s; --ring-fade-angle: 135deg; --ring-line-duration: 31s; --ring-line-travel: 360deg; }
.portfolio-orbit__ring--middle { inset: 10%; --duration: 62s; --ring-fade-angle: 235deg; --ring-line-duration: 47s; --ring-line-travel: -360deg; }
.portfolio-orbit__ring--outer { inset: 0; --duration: 86s; --ring-fade-angle: 315deg; --ring-line-duration: 67s; --ring-line-travel: 360deg; }
.portfolio-orbit.is-running .portfolio-orbit__ring::before { animation-play-state: running; }
.portfolio-orbit__track { --travel: 360deg; position: absolute; inset: 0; pointer-events: none; animation: portfolio-orbit-turn var(--duration) linear infinite; }
.portfolio-orbit__node { position: absolute; left: 50%; top: 0; width: clamp(44px, 11cqw, 64px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.portfolio-orbit__counter { width: 100%; height: 100%; animation: portfolio-orbit-counterturn var(--duration) linear infinite; }
.portfolio-orbit__icon { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 21%; border: 1px solid #ffffff38; border-radius: 28%; background: #141414; color: #e4e4e7; cursor: pointer; pointer-events: auto; transition: background 180ms, color 180ms, border-color 180ms; will-change: translate; }
.portfolio-orbit__icon svg { width: 100%; height: 100%; overflow: visible; }
.portfolio-orbit__logo { display: block; width: 100%; height: 100%; object-fit: contain; filter: invert(1); pointer-events: none; user-select: none; }
.portfolio-orbit__label { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(calc(-50% + var(--tooltip-shift, 0px))); width: max-content; max-width: min(240px, 80vw); padding: 9px 12px; border-radius: 7px; background: #f4f4f5; color: #111; box-shadow: 0 4px 20px #0008; font: 12px/1.35 Inter, Arial, sans-serif; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 150ms; }
.portfolio-orbit__track.is-held:not(.is-tooltip-dismissed) .portfolio-orbit__label { opacity: 1; visibility: visible; }
.portfolio-orbit__track.is-held { z-index: 10; }
.portfolio-orbit__icon.is-touch-preview { background: #fff; color: #000; border-color: #fff; }
.portfolio-orbit__icon.is-touch-preview .portfolio-orbit__logo { filter: none; }
@media (hover: hover) {
  .portfolio-orbit__icon:hover { background: #fff; color: #000; border-color: #fff; }
  .portfolio-orbit__icon:hover .portfolio-orbit__logo { filter: none; }
}
.portfolio-orbit__icon:focus-visible { outline: 2px solid white; outline-offset: 5px; }
.portfolio-orbit.is-ready:not(.is-entered) .portfolio-orbit__node { top: 50%; }
.portfolio-orbit.is-ready:not(.is-entered) .portfolio-orbit__icon { opacity: 0; transform: scale(.55); }
/* Radius grows from zero while an extra, counterbalanced turn creates a spiral.
   Independent rotation stays on transform, so arrival never resets its phase. */
.portfolio-orbit.is-entered .portfolio-orbit__track {
  animation: portfolio-orbit-turn var(--duration) linear infinite,
    portfolio-launch-turn 1400ms cubic-bezier(.22, .65, .3, 1) var(--enter-delay) both;
  animation-play-state: paused;
}
.portfolio-orbit.is-entered .portfolio-orbit__counter {
  animation: portfolio-orbit-counterturn var(--duration) linear infinite,
    portfolio-launch-counterturn 1400ms cubic-bezier(.22, .65, .3, 1) var(--enter-delay) both;
  animation-play-state: paused;
}
.portfolio-orbit.is-entered .portfolio-orbit__node { animation: portfolio-launch-radius 1400ms cubic-bezier(.22, .65, .3, 1) var(--enter-delay) both paused; }
.portfolio-orbit.is-entered .portfolio-orbit__icon { animation: portfolio-icon-enter 1400ms ease-out var(--enter-delay) both paused; }
.portfolio-orbit.is-entered .portfolio-orbit__center { animation: portfolio-center-enter 900ms ease both; }
.portfolio-orbit .portfolio-orbit__track,
.portfolio-orbit .portfolio-orbit__counter,
.portfolio-orbit .portfolio-orbit__node,
.portfolio-orbit .portfolio-orbit__icon { animation-play-state: paused; }
.portfolio-orbit.is-running .portfolio-orbit__track,
.portfolio-orbit.is-running .portfolio-orbit__counter,
.portfolio-orbit.is-running .portfolio-orbit__node,
.portfolio-orbit.is-running .portfolio-orbit__icon { animation-play-state: running; }
.portfolio-orbit.is-running .portfolio-orbit__track.is-held,
.portfolio-orbit.is-running .portfolio-orbit__track.is-held .portfolio-orbit__counter,
.portfolio-orbit.is-running .portfolio-orbit__track.is-held .portfolio-orbit__node,
.portfolio-orbit.is-running .portfolio-orbit__track.is-held .portfolio-orbit__icon { animation-play-state: paused; }
@keyframes portfolio-launch-radius { from { top: 50%; } to { top: 0; } }
@keyframes portfolio-launch-turn { from { rotate: var(--launch-turn, -110deg); } to { rotate: 0deg; } }
@keyframes portfolio-launch-counterturn { from { rotate: calc(-1 * var(--launch-turn, -110deg)); } to { rotate: 0deg; } }
@keyframes portfolio-icon-enter { from { opacity: 0; transform: scale(.55); } 22% { opacity: 1; } to { opacity: 1; transform: scale(1); } }
@keyframes portfolio-center-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes portfolio-ring-line-turn { to { transform: rotate(var(--ring-line-travel)); } }
@keyframes portfolio-orbit-turn { from { transform: rotate(var(--phase)); } to { transform: rotate(calc(var(--phase) + var(--travel))); } }
@keyframes portfolio-orbit-counterturn { from { transform: rotate(calc(-1 * var(--phase))); } to { transform: rotate(calc(-1 * var(--phase) - var(--travel))); } }
.portfolio-page .work-showcase__curtain { background: #000; }
.portfolio-page .work-showcase__title h2 { font-size: 32px; white-space: normal; }
.portfolio-page .work-showcase { scroll-margin-top: 50px; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.portfolio-filter { padding: 11px 18px; min-height: 44px; border: 1px solid #16161630; border-radius: 999px; background: transparent; color: #161616; font: 13px/1.2 Inter, Arial, sans-serif; cursor: pointer; transition: background 180ms, color 180ms, border-color 180ms; }
.portfolio-filter:hover { border-color: #161616; }
.portfolio-filter[aria-pressed="true"], .portfolio-filter--reset { color: #fff; background: #161616; border-color: #161616; }
.portfolio-filter:focus-visible { outline: 2px solid #161616; outline-offset: 3px; }
.portfolio-results { margin-bottom: 22px; color: #626262; font: 12px/1.4 Inter, Arial, sans-serif; }
.portfolio-empty { padding: 64px 20px; border-block: 1px solid #16161625; text-align: center; }
.portfolio-empty p { margin-bottom: 22px; font-size: 16px; color: #626262; }
.portfolio-page .EL-portfolio-item[hidden], .portfolio-empty[hidden] { display: none !important; }
@media (max-width: 1080px) and (min-width: 821px) {
  .portfolio-hero__layout { gap: 40px; }
  .portfolio-hero .hero-title__line:nth-child(2) { font-size: 30px; }
}
@media (max-width: 1229px) {
  .portfolio-hero__bottom .hero-meta__link { margin-left: 0; }
}
@media (max-width: 820px) {
  .portfolio-hero { min-height: 100svh; }
  .portfolio-hero__layout { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-block: 58px 52px; }
  .portfolio-hero .hero-title__line:nth-child(2) { font-size: clamp(25px, 5.3vw, 38px); }
  .portfolio-hero .hero-title__line:nth-child(1), .portfolio-hero .hero-title__line:nth-child(3) { font-size: clamp(14px, 3vw, 21px); }
  .portfolio-hero__description { max-width: 430px; margin-top: 20px; font-size: 15px; line-height: 1.55; }
  .portfolio-hero__actions { gap: 12px; margin-top: 18px; padding-bottom: 72px; }
  .portfolio-page .portfolio-hero__contact { display: inline-flex; margin-top: 0; }
  .portfolio-hero__faq { margin-left: 0; }
  .portfolio-orbit { width: 92%; grid-row: 1; }
  .portfolio-orbit__hint { position: absolute; bottom: -30px; left: 50%; display: block; width: max-content; margin: 0; transform: translateX(-50%); color: #aaa; font: 12px/1.4 Inter, Arial, sans-serif; text-align: center; }
  .portfolio-orbit__ring::before {
    border-color: rgb(255 255 255 / 48%);
    -webkit-mask-image: linear-gradient(var(--ring-fade-angle), transparent 0%, #0007 15%, #000 43%, #000d 78%, transparent 100%);
    mask-image: linear-gradient(var(--ring-fade-angle), transparent 0%, #0007 15%, #000 43%, #000d 78%, transparent 100%);
  }
  .portfolio-hero__bottom { padding-bottom: 30px; }
  .portfolio-page .work-showcase__title h2 { font-size: 26px; }
  .portfolio-filters { gap: 8px; }
  .portfolio-filter { padding-inline: 14px; font-size: 12px; }
  .portfolio-orbit__number {
    font-size: 44px;
  }
  .portfolio-orbit__center p {
    margin-top: 4px;
  }

}
@media (prefers-reduced-motion: reduce) {
  .portfolio-orbit__ring::before { animation: none; transform: none; }
  .portfolio-orbit__track, .portfolio-orbit.is-entered .portfolio-orbit__track { animation: none; rotate: none; transform: rotate(var(--phase)); }
  .portfolio-orbit__counter, .portfolio-orbit.is-entered .portfolio-orbit__counter { animation: none; rotate: none; transform: rotate(calc(-1 * var(--phase))); }
  .portfolio-orbit .portfolio-orbit__node, .portfolio-orbit.is-entered .portfolio-orbit__node { animation: none; top: 0; }
  .portfolio-orbit.is-entered .portfolio-orbit__icon, .portfolio-orbit.is-entered .portfolio-orbit__center { animation: none; }
}

.portfolio-project-page {
  background: #111210;
  color: #f5f5f3;
}

.portfolio-project {
  padding-block: clamp(120px, 10vw, 165px) clamp(72px, 8vw, 120px);
  background: #111210;
}

.portfolio-project__inner {
  max-width: 1200px;
}

.portfolio-project__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(36px, 4vw, 56px);
  color: #aaa;
  font: 13px/1.2 Inter, Arial, sans-serif;
  text-decoration: none;
  transition: color 180ms ease;
}

.portfolio-project__back:hover,
.portfolio-project__back:focus-visible {
  color: #fff;
}

.portfolio-project__header {
  padding-bottom: clamp(26px, 2.5vw, 38px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.portfolio-project__header h1 {
  max-width: 980px;
  margin: 0;
  color: #f5f5f3;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(38px, 4.6vw, 70px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.portfolio-project__summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 90px);
  padding-block: clamp(38px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.portfolio-project__facts {
  display: grid;
  gap: 28px;
  margin: 0;
}

.portfolio-project__facts div {
  display: grid;
  gap: 7px;
}

.portfolio-project__facts dt,
.portfolio-project__label {
  margin: 0;
  color: #aaa;
  font: 500 12px/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-project__facts dd {
  margin: 0;
  color: #f5f5f3;
  font: 400 clamp(18px, 1.6vw, 25px)/1.2 Inter, Arial, sans-serif;
  letter-spacing: -0.035em;
}

.portfolio-project__website a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #f5f5f3;
  font: inherit;
  cursor: pointer;
}

.portfolio-project__website [data-portfolio-site-output] {
  display: block;
  color: #aaa;
  font: 400 20px/1.4 Inter, Arial, sans-serif;
}

.portfolio-project__overview > p:last-child {
  max-width: 700px;
  margin: 8px 0 0;
  color: #f5f5f3;
  font: 400 clamp(22px, 2.2vw, 34px)/1.22 Inter, Arial, sans-serif;
  letter-spacing: -0.035em;
}

.portfolio-project__media {
  margin: clamp(52px, 6vw, 78px) 0 0;
}

.portfolio-project__work {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 6vw, 90px);
  padding-block: clamp(38px, 4vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.portfolio-project__work ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #f5f5f3;
  font: 400 clamp(16px, 1.35vw, 20px)/1.4 Inter, Arial, sans-serif;
  letter-spacing: -0.025em;
}

.portfolio-project__work li {
  position: relative;
  padding-left: 24px;
}

.portfolio-project__work li::before {
  content: '↗';
  position: absolute;
  left: 0;
  color: #aaa;
}

.portfolio-project__media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: cover;
}

.portfolio-project__content {
  padding-top: clamp(52px, 6vw, 78px);
  color: #d8d8d4;
  font: 400 16px/1.7 Inter, Arial, sans-serif;
}

.portfolio-project__content > *:first-child {
  margin-top: 0;
}

.portfolio-project__content h2 {
  margin: 0 0 16px;
  color: #fff;
  font: 600 clamp(28px, 2.2vw, 34px)/1.15 Inter, Arial, sans-serif;
  letter-spacing: -0.03em;
}

.portfolio-project__content h3 {
  margin: 34px 0 14px;
  color: #fff;
  font: 600 24px/1.2 Inter, Arial, sans-serif;
  letter-spacing: -0.025em;
}

.portfolio-project__content p {
  max-width: 760px;
  margin-block: 0 24px;
}

.portfolio-project__content ol,
.portfolio-project__content ul {
  max-width: 800px;
  margin: 0 0 32px;
  padding-left: 24px;
}

.portfolio-project__content li + li {
  margin-top: 12px;
}

.portfolio-project__content img,
.portfolio-project__content video,
.portfolio-project__content iframe {
  display: block;
  max-width: 100%;
}

.portfolio-article-lead {
  max-width: 900px;
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.portfolio-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 64px);
  margin-top: clamp(46px, 5vw, 70px);
}

.portfolio-article-section + .portfolio-article-section {
  margin-top: clamp(52px, 6vw, 80px);
}

.portfolio-process__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(620px, 1.28fr);
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
  margin-top: 32px;
}

.portfolio-process__steps h3:first-child {
  margin-top: 0;
}

.portfolio-site-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.portfolio-site-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #191a18;
}

.portfolio-site-shot figcaption {
  display: grid;
  gap: 4px;
  min-height: 70px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.portfolio-site-shot figcaption span {
  color: #90918e;
  font: 500 10px/1.2 Inter, Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portfolio-site-shot figcaption strong {
  color: #f5f5f3;
  font: 500 14px/1.3 Inter, Arial, sans-serif;
}

.portfolio-site-shot__viewport {
  position: relative;
  height: min(72vh, 780px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #777 #252624;
  scrollbar-width: thin;
  background: #f3f3f3;
}

.portfolio-site-shot__open {
  position: sticky;
  top: 16px;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  margin: 16px 16px -60px auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 18, 16, 0.88);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.portfolio-site-shot__open:hover,
.portfolio-site-shot__open:focus-visible {
  color: #111210;
  background: #fff;
  transform: scale(1.06);
}

.portfolio-site-shot__open svg {
  width: 20px;
  height: 20px;
}

.portfolio-site-shot__open span {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  width: max-content;
  max-width: 200px;
  padding: 8px 10px;
  border-radius: 6px;
  color: #fff;
  background: rgba(17, 18, 16, 0.94);
  font: 500 12px/1.25 Inter, Arial, sans-serif;
  pointer-events: none;
  opacity: 0;
  transform: translate(8px, -50%);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.portfolio-site-shot__open:hover span,
.portfolio-site-shot__open:focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
  visibility: visible;
}

.portfolio-site-shot__viewport img {
  width: 100%;
  height: auto;
}

.portfolio-site-shot__viewport::-webkit-scrollbar {
  width: 7px;
}

.portfolio-site-shot__viewport::-webkit-scrollbar-track {
  background: #252624;
}

.portfolio-site-shot__viewport::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #777;
}

.portfolio-image-lightbox {
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: rgba(7, 8, 7, 0.97);
}

.portfolio-image-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.portfolio-image-lightbox__frame {
  display: grid;
  width: 100%;
  height: 100%;
  justify-items: center;
  padding: 64px 32px 40px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #777 #171817;
  scrollbar-width: thin;
}

.portfolio-image-lightbox__image {
  display: block;
  width: min(1400px, 100%);
  height: auto;
  align-self: start;
  background: #f3f3f3;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.portfolio-image-lightbox__close {
  position: fixed;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 18, 16, 0.88);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.portfolio-image-lightbox__close:hover,
.portfolio-image-lightbox__close:focus-visible {
  color: #111210;
  background: #fff;
  transform: rotate(4deg);
}

.portfolio-image-lightbox__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

@media (max-width: 1050px) {
  .portfolio-process__layout {
    grid-template-columns: 1fr;
  }

  .portfolio-site-comparison {
    margin-top: 16px;
  }
}

@media (max-width: 820px) {
  .portfolio-project__summary,
  .portfolio-project__work,
  .portfolio-article-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-project__summary {
    gap: 48px;
  }

  .portfolio-project__overview > p:last-child {
    font-size: 22px;
  }

  .portfolio-site-comparison {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .portfolio-site-comparison {
    gap: 8px;
  }

  .portfolio-site-shot figcaption {
    min-height: 76px;
    padding: 12px;
  }

  .portfolio-site-shot figcaption strong {
    font-size: 12px;
  }

  .portfolio-site-shot__viewport {
    height: 56vh;
  }

  .portfolio-image-lightbox__frame {
    padding: 58px 10px 24px;
  }

  .portfolio-image-lightbox__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }
}
