:root {
  color-scheme: dark;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --quiet: rgba(255, 255, 255, 0.54);
  --glass: rgba(35, 32, 30, 0.42);
  --glass-strong: rgba(54, 48, 45, 0.62);
  --line: rgba(255, 255, 255, 0.22);
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #12100f;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

.page-transitions body {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(5px);
  transition: opacity 320ms ease, transform 320ms ease, filter 320ms ease;
}

.page-transitions body.page-ready {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.page-transitions body.page-leaving {
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(5px);
}

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

@media (prefers-reduced-motion: reduce) {
  .page-transitions body,
  .page-transitions body.page-ready,
  .page-transitions body.page-leaving {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

}

.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  padding: 22px 32px 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    linear-gradient(90deg, rgba(10, 9, 9, 0.93) 0%, rgba(10, 9, 9, 0.72) 32%, rgba(10, 9, 9, 0.16) 58%, rgba(10, 9, 9, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 9, 9, 0.62), rgba(10, 9, 9, 0.06) 42%, rgba(10, 9, 9, 0.22)),
    url("assets/studio-hero-new.png") 58% center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 26%, rgba(255, 212, 158, 0.2), transparent 23%),
    radial-gradient(circle at 67% 42%, rgba(255, 224, 185, 0.16), transparent 20%),
    radial-gradient(circle at 48% 88%, rgba(116, 162, 110, 0.08), transparent 22%);
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18% 82%, rgba(0, 0, 0, 0.22));
}

.site-header,
.hero-content {
  position: relative;
  z-index: 1;
}

.site-header {
  width: 100%;
  margin: 0 auto;
  min-height: 54px;
  padding: 5px 7px 5px 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: 0 22px 70px var(--shadow), inset 0 1px rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px) saturate(120%);
}

.brand,
.header-cta,
.primary-cta {
  backdrop-filter: blur(18px) saturate(125%);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0;
}

.brand::before {
  content: "Meet me";
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand span {
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 26px;
  height: 24px;
  flex: 0 0 auto;
}

.brand-mark span {
  position: absolute;
  top: 0;
  width: 6px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  transform-origin: top center;
}

.brand-mark span:nth-child(1) {
  left: 0;
  transform: rotate(-38deg);
}

.brand-mark span:nth-child(2) {
  left: 10px;
  height: 17px;
  transform: rotate(38deg);
}

.brand-mark span:nth-child(3) {
  right: 0;
  transform: rotate(38deg);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 28px);
  color: var(--quiet);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-links a,
.portfolio-trigger {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.portfolio-trigger:hover,
.portfolio-menu:focus-within .portfolio-trigger {
  color: #fff;
}

.portfolio-menu {
  position: relative;
}

.portfolio-popover {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(1040px, calc(100vw - 48px));
  padding: 22px 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(42, 39, 37, 0.88), rgba(14, 14, 14, 0.84)),
    rgba(24, 23, 22, 0.84);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52), inset 0 1px rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(24px) saturate(130%);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% - 8px));
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 20;
  display: block;
  overflow: hidden;
}

.portfolio-popover:target {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.portfolio-popover > a:not(.popover-close) {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 14px;
  padding: 15px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  white-space: normal;
}

.portfolio-popover > a:not(.popover-close):hover,
.portfolio-popover > a:not(.popover-close):focus-visible {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  outline: 0;
}

.portfolio-heading {
  margin-bottom: 18px;
  padding: 0 64px 0 28px;
}

.popover-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.popover-close::before,
.popover-close::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  transition: background 160ms ease;
}

.popover-close::before {
  transform: rotate(45deg);
}

.popover-close::after {
  transform: rotate(-45deg);
}

.popover-close:hover,
.popover-close:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.13);
  transform: scale(1.04);
  outline: 0;
}

.popover-close:hover::before,
.popover-close:hover::after,
.popover-close:focus-visible::before,
.popover-close:focus-visible::after {
  background: #fff;
}

.portfolio-heading span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-heading strong {
  color: #fff;
  font-size: 1.28rem;
  font-weight: 700;
}

.portfolio-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(420px, 54%);
  gap: 4px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: none;
  scroll-padding-inline: 7%;
  padding: 8px 7% 10px;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.portfolio-rail::-webkit-scrollbar {
  display: none;
}

.portfolio-rail.is-dragging,
.portfolio-rail.is-gliding {
  cursor: grabbing;
  scroll-snap-type: none;
}

.portfolio-slide {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  border-radius: 8px;
  background: #242322;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
  transform: scale(0.97);
  transition: transform 180ms ease, filter 180ms ease;
  -webkit-user-drag: none;
  user-select: none;
}

.portfolio-slide:hover,
.portfolio-slide:focus-visible {
  transform: scale(0.98);
  outline: 0;
}

.portfolio-slide img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  display: block;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.9);
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.portfolio-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.84) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 42%, rgba(0, 0, 0, 0.22));
  z-index: 1;
}

.slide-copy {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 26px;
  z-index: 2;
}

.slide-copy strong,
.slide-copy small {
  display: block;
}

.slide-copy strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  line-height: 1.05;
  font-weight: 800;
}

.slide-copy small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.portfolio-controls {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 12px;
  align-items: center;
  margin: 2px 18px 0;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.portfolio-control {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.portfolio-control::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(255, 255, 255, 0.72);
  border-left: 2px solid rgba(255, 255, 255, 0.72);
}

.portfolio-prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.portfolio-next {
  justify-self: end;
}

.portfolio-next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.portfolio-control:hover,
.portfolio-control:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.04);
  outline: 0;
}

.portfolio-control:disabled {
  opacity: 0.36;
  cursor: default;
  transform: none;
}

.portfolio-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.portfolio-thumb {
  position: absolute;
  top: 1px;
  left: 0;
  width: 26%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
  cursor: grab;
}

.portfolio-thumb.is-dragging {
  cursor: grabbing;
  background: rgba(255, 255, 255, 0.82);
}

.portfolio-heading {
  grid-column: auto;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 -8px 24px rgba(255, 255, 255, 0.08);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-cta span {
  position: relative;
  width: 17px;
  height: 13px;
  display: inline-block;
  flex: 0 0 auto;
  border: 1.6px solid currentColor;
  border-radius: 4px;
  background:
    linear-gradient(35deg, transparent 46%, currentColor 48% 52%, transparent 54%) left 1px top 1px / 50% 72% no-repeat,
    linear-gradient(-35deg, transparent 46%, currentColor 48% 52%, transparent 54%) right 1px top 1px / 50% 72% no-repeat;
  opacity: 0.9;
}

.header-cta span::before {
  content: none;
}

.header-cta span::after {
  content: none;
}

.hero-content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding-block: clamp(28px, 7vh, 74px);
}

.copy {
  width: min(860px, 100%);
  transform: translateX(34px);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.35rem, 4.15vw, 3.72rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.38);
}

.site-footer {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.62);
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  outline: 0;
}

.reviews-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 0%, rgba(97, 84, 75, 0.24), transparent 36%),
    radial-gradient(circle at 0% 88%, rgba(68, 56, 48, 0.2), transparent 30%),
    linear-gradient(180deg, #171413 0%, #0d0c0b 100%);
}

.reviews-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 112px 0 74px;
}

.reviews-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  align-items: end;
  gap: 48px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.reviews-hero h1 {
  grid-column: 1;
  margin-top: 10px;
  max-width: 720px;
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: 0.92;
}

.reviews-hero p {
  grid-column: 2;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.review-feature {
  margin-top: 34px;
  padding: clamp(26px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 42px;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 28px 80px rgba(0, 0, 0, 0.22);
}

.review-feature span,
.review-card span {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-feature h2 {
  margin: 18px 0 0;
  max-width: 620px;
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 4.9rem);
  line-height: 1;
}

.review-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
  line-height: 1.7;
}

.review-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.review-card {
  min-height: 265px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
}

.review-card blockquote {
  margin: 34px 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 800;
  line-height: 1.35;
}

.review-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.82rem;
  font-weight: 800;
}

.contact-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 10%, rgba(94, 80, 70, 0.24), transparent 34%),
    radial-gradient(circle at 8% 94%, rgba(255, 255, 255, 0.055), transparent 30%),
    linear-gradient(180deg, #171413 0%, #0c0b0a 100%);
}

.contact-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 112px 0 76px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 44px;
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-hero .section-label,
.contact-hero h1 {
  grid-column: 1;
  margin-top: 10px;
  max-width: 780px;
  font-size: clamp(3.2rem, 6.8vw, 7rem);
  line-height: 0.95;
}

.contact-hero .section-label {
  margin-top: 0;
  font-size: 0.78rem;
  line-height: 1;
}

.contact-hero p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.68;
}

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

.contact-card {
  min-height: 230px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.025);
  color: #fff;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card[href]:hover,
.contact-card[href]:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
  outline: 0;
}

.contact-card-large {
  grid-column: span 3;
  min-height: 270px;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  margin-top: auto;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 3.6rem);
  line-height: 1;
}

.contact-card small {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
  line-height: 1.5;
}

.learning-page {
  background:
    radial-gradient(circle at 82% 12%, rgba(95, 107, 246, 0.18), transparent 34%),
    radial-gradient(circle at 10% 86%, rgba(23, 186, 112, 0.1), transparent 32%),
    linear-gradient(180deg, #171413 0%, #0c0b0a 100%);
}

.learning-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 76px 0 76px;
}

.learning-hero {
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.84fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: center;
  padding: 18px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.learning-hero-copy h1 {
  margin-top: 12px;
  max-width: 780px;
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  line-height: 0.98;
}

.learning-hero-copy p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.learning-phone-stack {
  min-height: min(520px, 64vh);
  position: relative;
}

.learning-phone-stack img {
  position: absolute;
  width: min(230px, 38%);
  max-height: min(500px, 62vh);
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.learning-phone-stack img:nth-child(1) {
  left: 0;
  top: 42px;
  z-index: 2;
}

.learning-phone-stack img:nth-child(2) {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 3;
}

.learning-phone-stack img:nth-child(3) {
  right: 0;
  top: 66px;
  z-index: 1;
}

@media (min-width: 981px) and (max-height: 820px) {
  .learning-main {
    padding-top: 64px;
  }

  .learning-hero {
    min-height: calc(100vh - 96px);
    padding-bottom: 24px;
  }

  .learning-hero-copy h1 {
    font-size: clamp(2.85rem, 5.5vw, 5.5rem);
  }

  .learning-hero-copy p {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .learning-phone-stack {
    min-height: 460px;
  }

  .learning-phone-stack img {
    width: min(210px, 36%);
    max-height: 440px;
  }
}

.learning-overview {
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-overview article span,
.learning-overview aside span,
.learning-steps span {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.learning-overview h2,
.learning-section-title h2,
.learning-notes h2 {
  margin: 12px 0 0;
  max-width: 720px;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  line-height: 1;
}

.learning-overview p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.04rem;
  line-height: 1.72;
}

.learning-overview aside {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
}

.learning-overview aside div {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-overview aside div:last-child {
  border-bottom: 0;
}

.learning-overview aside strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.35;
}

.learning-flow,
.learning-notes {
  padding: 72px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-steps {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.learning-steps article {
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
}

.learning-steps h3 {
  margin: auto 0 0;
  color: #fff;
  font-size: 1.3rem;
}

.learning-steps p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.58;
}

.learning-gallery {
  padding: 76px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-gallery img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.learning-notes {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.7fr);
  gap: 48px;
}

.learning-notes ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.learning-notes li {
  padding: 18px 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.55;
}

.autenticar-page {
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.09), transparent 30%),
    radial-gradient(circle at 10% 88%, rgba(92, 84, 76, 0.22), transparent 32%),
    linear-gradient(180deg, #171413 0%, #0b0a0a 100%);
}

.autenticar-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 104px 0 76px;
}

.autenticar-hero {
  min-height: calc(100vh - 150px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(440px, 0.95fr);
  gap: clamp(42px, 5vw, 72px);
  align-items: center;
  padding: 44px 0 68px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.autenticar-hero::before {
  content: "";
  position: absolute;
  inset: 10% -4% 8% 34%;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 72%, transparent);
  opacity: 0.5;
}

.autenticar-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.autenticar-copy h1 {
  margin-top: 12px;
  max-width: 540px;
  font-size: clamp(4rem, 6.8vw, 7rem);
  line-height: 0.9;
  overflow-wrap: anywhere;
}

.autenticar-copy p {
  max-width: 540px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.autenticar-hero-facts {
  max-width: 540px;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.autenticar-hero-facts span {
  min-height: 46px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.autenticar-hero-facts span + span {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.case-link {
  margin-top: 28px;
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 800;
}

.case-link:hover,
.case-link:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  outline: 0;
}

.autenticar-preview {
  margin: 0;
  position: relative;
  z-index: 1;
  width: min(100%, 690px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
}

.autenticar-preview::before {
  content: "Live interface";
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.42);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.autenticar-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.88) saturate(0.92);
}

.autenticar-overview,
.autenticar-build,
.autenticar-journey {
  padding: 72px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.autenticar-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
}

.autenticar-overview article span,
.autenticar-overview aside span,
.autenticar-cards span {
  display: block;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.autenticar-overview h2,
.autenticar-build h2,
.autenticar-journey h2 {
  margin: 12px 0 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  line-height: 1;
}

.autenticar-overview p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1.04rem;
  line-height: 1.72;
}

.autenticar-overview aside {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
}

.autenticar-overview aside div {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.autenticar-overview aside div:last-child {
  border-bottom: 0;
}

.autenticar-overview aside strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.35;
}

.autenticar-cards {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.autenticar-cards article {
  min-height: 260px;
  padding: 24px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.025);
}

.autenticar-cards h3 {
  margin: 58px 0 0;
  color: #fff;
  font-size: 1.3rem;
}

.autenticar-cards p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.58;
}

.journey-strip {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.journey-strip span {
  min-height: 96px;
  padding: 18px 18px 18px 30px;
  display: flex;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 14px 50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

@media (max-width: 980px) {
  .portfolio-blank-page .portfolio-page-panel {
    top: 56%;
    width: calc(100vw - 32px);
  }

  .portfolio-blank-page .portfolio-slide,
  .portfolio-blank-page .portfolio-slide img {
    min-height: min(280px, 38vh);
  }

  .reviews-main {
    width: min(100% - 48px, 760px);
    padding: 84px 0 58px;
  }

  .reviews-hero,
  .review-feature,
  .contact-hero,
  .learning-hero,
  .learning-overview,
  .learning-notes,
  .autenticar-hero,
  .autenticar-overview {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reviews-hero p,
  .contact-hero p {
    grid-column: 1;
    grid-row: auto;
    max-width: 620px;
  }

  .review-grid,
  .contact-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-main {
    width: min(100% - 48px, 760px);
    padding: 84px 0 58px;
  }

  .learning-main {
    width: min(100% - 48px, 760px);
    padding: 84px 0 58px;
  }

  .autenticar-main {
    width: min(100% - 48px, 760px);
    padding: 84px 0 58px;
  }

  .autenticar-hero {
    min-height: auto;
  }

  .learning-hero {
    min-height: auto;
  }

  .learning-phone-stack {
    min-height: 560px;
  }

  .learning-phone-stack img {
    width: min(230px, 38%);
  }

  .learning-steps,
  .learning-gallery,
  .autenticar-cards,
  .journey-strip {
    grid-template-columns: 1fr;
  }

  .learning-gallery img {
    max-height: 620px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.03);
  }

  .contact-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .reviews-main,
  .contact-main {
    width: calc(100% - 32px);
    padding: 68px 0 44px;
  }

  .reviews-hero h1,
  .contact-hero h1,
  .learning-hero-copy h1,
  .autenticar-copy h1 {
    font-size: 3.7rem;
  }

  .review-feature {
    padding: 24px;
  }

  .review-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .contact-card-large {
    grid-column: auto;
  }

  .review-card {
    min-height: 220px;
  }

  .contact-card {
    min-height: 205px;
  }

  .learning-main {
    width: calc(100% - 32px);
    padding: 68px 0 44px;
  }

  .autenticar-main {
    width: calc(100% - 32px);
    padding: 68px 0 44px;
  }

  .learning-phone-stack {
    min-height: 0;
    display: grid;
    gap: 14px;
  }

  .learning-phone-stack img {
    position: relative;
    inset: auto;
    width: min(100%, 330px);
    max-height: none;
    margin: 0 auto;
    transform: none !important;
  }

  .learning-overview,
  .learning-flow,
  .learning-gallery,
  .learning-notes,
  .autenticar-overview,
  .autenticar-build,
  .autenticar-journey {
    padding: 48px 0;
  }

  .learning-overview h2,
  .learning-section-title h2,
  .learning-notes h2,
  .autenticar-overview h2,
  .autenticar-build h2,
  .autenticar-journey h2 {
    font-size: 2.15rem;
  }

  .autenticar-preview img {
    aspect-ratio: 4 / 3;
  }
}

.home-page {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.home-page .site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 0 0;
  transform: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.portfolio-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.055), transparent 28%),
    linear-gradient(180deg, #141211 0%, #090909 46%, #0d0c0c 100%);
}

.portfolio-page-main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 152px 0 78px;
}

.portfolio-page-hero {
  min-height: 34vh;
  display: grid;
  align-content: end;
  justify-items: start;
  padding-bottom: clamp(38px, 7vw, 76px);
}

.portfolio-page-hero h1 {
  max-width: 920px;
  margin-top: 16px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.98;
  font-weight: 800;
}

.portfolio-page-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1rem;
  line-height: 1.65;
}

.portfolio-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-page-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition:
    opacity 520ms ease var(--delay, 0ms),
    transform 520ms cubic-bezier(0.2, 0.78, 0.22, 1) var(--delay, 0ms),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.portfolio-page-card.featured {
  grid-column: span 2;
  min-height: 520px;
}

.page-ready .portfolio-page-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.portfolio-page-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.72);
  transform: scale(1.02);
  transition: transform 420ms ease, filter 420ms ease;
}

.portfolio-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 12%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 58%);
}

.portfolio-page-card-copy {
  width: 100%;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  gap: 8px;
}

.portfolio-page-card-copy small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-page-card-copy strong {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 3.3rem);
  line-height: 1;
}

.portfolio-page-card:not(.featured) .portfolio-page-card-copy strong {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.portfolio-page-card-copy em {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.96rem;
  font-style: normal;
}

.portfolio-page-card:hover,
.portfolio-page-card:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.48);
  outline: 0;
}

.portfolio-page-card:hover img,
.portfolio-page-card:focus-visible img {
  filter: saturate(0.94) brightness(0.86);
  transform: scale(1.055);
}

.portfolio-blank-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(180deg, #151312 0%, #0b0a0a 54%, #0e0d0d 100%);
}

.portfolio-blank-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.portfolio-blank-page .portfolio-page-panel {
  position: fixed;
  inset: auto;
  top: 55%;
  left: 50%;
  width: min(980px, calc(100vw - 120px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  opacity: 0;
  visibility: visible;
  transform: translate(-50%, calc(-50% + 14px)) scale(0.985);
  animation: portfolioBlankPanelIn 440ms cubic-bezier(0.2, 0.78, 0.22, 1) 120ms forwards;
  z-index: 1;
}

.portfolio-blank-page .portfolio-heading {
  padding-inline: 0;
  margin-bottom: 14px;
}

.portfolio-blank-page .portfolio-rail {
  grid-auto-columns: minmax(380px, 48%);
  padding: 4px 2% 8px;
  scroll-padding-inline: 2%;
}

.portfolio-blank-page .portfolio-controls {
  margin-inline: 0;
}

.portfolio-blank-page .portfolio-slide,
.portfolio-blank-page .portfolio-slide img {
  min-height: min(245px, 31vh);
}

@media (max-width: 980px) {
  .portfolio-blank-page .portfolio-page-panel {
    top: 56%;
    width: calc(100vw - 48px);
  }

  .portfolio-blank-page .portfolio-rail {
    grid-auto-columns: minmax(300px, 76vw);
  }

  .portfolio-blank-page .portfolio-slide,
  .portfolio-blank-page .portfolio-slide img {
    min-height: min(230px, 32vh);
  }
}

.portfolio-blank-page .portfolio-page-panel .popover-close {
  display: none;
}

@keyframes portfolioPanelIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes portfolioBlankPanelIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 980px) {
  .portfolio-page-main {
    width: calc(100% - 32px);
    padding: 136px 0 54px;
  }

  .portfolio-page-hero {
    min-height: auto;
    padding: 42px 0 42px;
  }

  .portfolio-page-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.6rem);
  }

  .portfolio-page-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .portfolio-page-card,
  .portfolio-page-card.featured {
    grid-column: auto;
    min-height: 340px;
  }
}

@media (max-width: 520px) {
  .portfolio-page-main {
    width: calc(100% - 20px);
    padding-top: 126px;
  }

  .portfolio-page-card,
  .portfolio-page-card.featured {
    min-height: 310px;
  }

  .portfolio-page-card-copy {
    padding: 22px;
  }
}

@media (max-width: 980px) {
  .hero {
    height: 100svh;
    min-height: 620px;
    padding: 18px 24px 22px;
    background:
      linear-gradient(90deg, rgba(10, 9, 9, 0.96) 0%, rgba(10, 9, 9, 0.72) 48%, rgba(10, 9, 9, 0.24) 100%),
      linear-gradient(0deg, rgba(10, 9, 9, 0.72), rgba(10, 9, 9, 0.08) 48%, rgba(10, 9, 9, 0.28)),
      url("assets/studio-hero-new.png") 62% center / cover no-repeat;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    padding: 10px 2px 2px;
    justify-content: flex-start;
    overflow: visible;
  }

  .portfolio-popover {
    left: 50%;
    width: min(940px, calc(100vw - 32px));
    transform: translate(-50%, calc(-50% - 8px));
  }

  .portfolio-popover:target {
    transform: translate(-50%, -50%);
  }

  .copy {
    transform: translateX(24px);
  }

}

@media (max-width: 640px) {
  .hero {
    height: 100svh;
    min-height: 620px;
    padding-inline: 16px;
    background:
      linear-gradient(90deg, rgba(10, 9, 9, 0.97) 0%, rgba(10, 9, 9, 0.76) 68%, rgba(10, 9, 9, 0.36) 100%),
      linear-gradient(0deg, rgba(10, 9, 9, 0.76), rgba(10, 9, 9, 0.18) 48%, rgba(10, 9, 9, 0.42)),
      url("assets/studio-hero-new.png") 63% center / cover no-repeat;
  }

  .site-header {
    padding: 10px;
    gap: 10px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 25px;
    height: 23px;
  }

  .brand-mark span {
    width: 6px;
    height: 24px;
  }

  .brand-mark span:nth-child(2) {
    left: 9px;
    height: 17px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero-content {
    padding-block: 58px 44px;
    align-items: start;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .copy {
    transform: none;
  }

  .home-page {
    height: 100svh;
    overflow: hidden;
  }

  .portfolio-popover {
    max-height: calc(100vh - 90px);
    padding: 18px 0 22px;
  }

  .portfolio-heading {
    padding: 0 54px 0 18px;
  }

  .portfolio-rail {
    grid-auto-columns: minmax(270px, 82%);
    gap: 4px;
    scroll-padding-inline: 2%;
    padding-inline: 2%;
  }

  .portfolio-slide {
    min-height: 310px;
    clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  }

  .portfolio-slide img {
    min-height: 310px;
  }

  .slide-copy {
    left: 30px;
    right: 30px;
    bottom: 24px;
  }

  .portfolio-controls {
    margin-inline: 10px;
    grid-template-columns: 30px 1fr 30px;
  }

}

.project-page {
  background:
    radial-gradient(circle at 70% 0%, rgba(107, 86, 66, 0.28), transparent 35%),
    linear-gradient(180deg, #151211 0%, #0d0c0b 100%);
}

.project-header {
  position: sticky;
  top: 24px;
  z-index: 10;
  width: calc(100% - 64px);
  margin: 24px auto 0;
}

.project-page main {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.project-hero {
  padding: 92px 0 38px;
}

.project-kicker,
.section-label {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: end;
  margin-top: 18px;
}

.project-hero h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  line-height: 1.02;
  font-weight: 700;
}

.project-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
}

.project-summary {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px) saturate(125%);
}

.project-summary div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-summary div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.project-summary span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-summary strong {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
}

.project-showcase {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.project-showcase img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}

.about-page {
  background:
    radial-gradient(circle at 18% 20%, rgba(116, 162, 110, 0.18), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(146, 112, 79, 0.28), transparent 34%),
    linear-gradient(180deg, #151211 0%, #0d0c0b 100%);
}

.about-portrait {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.32);
}

.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.92;
}

.about-card-grid article {
  min-height: 235px;
}

.about-focus {
  padding-bottom: 110px;
}

.experience-section {
  min-height: calc(100vh - 120px);
  padding: 38px 0 56px;
  display: grid;
  align-content: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-intro {
  display: none;
}

.experience-hint {
  width: fit-content;
  margin: 0 auto 4px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.experience-intro h2 {
  margin: 10px 0 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.05;
}

.experience-intro p {
  max-width: 570px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  line-height: 1.65;
}

.experience-timeline {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(720px, 72vw);
  gap: 48px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc((100% - min(720px, 72vw)) / 2);
  padding: 44px calc((100% - min(720px, 72vw)) / 2) 42px;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.experience-timeline::before {
  display: none;
}

.experience-timeline::-webkit-scrollbar {
  display: none;
}

.experience-scroll-note {
  position: relative;
  width: min(520px, 64%);
  height: 5px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.experience-scroll-note span {
  position: absolute;
  inset: 1px auto 1px 0;
  width: 34%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.34);
}

.experience-timeline.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.experience-card {
  position: relative;
  min-height: 292px;
  padding: 24px 24px 22px 92px;
  scroll-snap-align: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.022)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(118%);
}

.experience-card::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 42px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(150, 201, 138, 0.62), rgba(255, 255, 255, 0.08));
}

.experience-card::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 31px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #f5f5f0;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.experience-date::before {
  content: attr(data-step);
  display: block;
  margin-bottom: 9px;
  color: rgba(150, 201, 138, 0.82);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.experience-card.small {
  transform: none;
  min-height: 292px;
  opacity: 1;
}

.experience-card.current {
  background:
    linear-gradient(145deg, rgba(116, 162, 110, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
}

.experience-card.current::after,
.experience-card.about-more::after {
  background: #96c98a;
}

.experience-card.about-more {
  min-width: 390px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(116, 162, 110, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.experience-dot {
  display: none;
}

.experience-card.small .experience-dot {
  display: none;
}

.experience-card.current .experience-dot,
.experience-card.about-more .experience-dot {
  background: #96c98a;
}

.experience-date {
  display: block;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.experience-card h3 {
  margin: 15px 0 0;
  color: #fff;
  font-size: 1.32rem;
  line-height: 1.08;
}

.experience-card p,
.experience-card small,
.experience-card strong {
  display: block;
}

.experience-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.experience-card small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

.experience-card strong {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.stacked-page {
  background:
    radial-gradient(circle at 72% 4%, rgba(188, 184, 176, 0.16), transparent 30%),
    radial-gradient(circle at 20% 22%, rgba(82, 84, 82, 0.22), transparent 32%),
    linear-gradient(180deg, #111111 0%, #0b0b0b 100%);
}

.stacked-case-hero {
  min-height: auto;
  padding: 24px 0 58px;
  display: block;
}

.stacked-page-title {
  padding: 58px 0 8px;
}

.stacked-page-title h1 {
  max-width: 900px;
  margin-top: 10px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.96;
  font-weight: 800;
}

.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;
}

.stacked-case-copy {
  max-width: 610px;
}

.stacked-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.stacked-logo-lockup img {
  width: 76px;
  filter: brightness(0) invert(1);
}

.stacked-logo-lockup span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stacked-case-copy h1 {
  margin: 0;
  max-width: 610px;
  font-size: clamp(3rem, 5.6vw, 5.35rem);
  line-height: 0.98;
  font-weight: 800;
}

.stacked-case-copy p {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.96rem, 1.16vw, 1.05rem);
  line-height: 1.58;
}

.stacked-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.stacked-meta-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stacked-meta-row a,
.finished-site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.stacked-meta-row a:hover,
.stacked-meta-row a:focus-visible,
.finished-site-link:hover,
.finished-site-link:focus-visible {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-1px);
  outline: 0;
}

.stacked-visual-panel {
  position: relative;
  min-height: 460px;
  padding: 42px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.38);
}

.stacked-browser-bar {
  position: absolute;
  top: 15px;
  left: 18px;
  display: flex;
  gap: 7px;
}

.stacked-browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.stacked-visual-main,
.stacked-visual-inset {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.stacked-visual-main {
  inset: 42px 18px 18px 18px;
}

.stacked-visual-inset {
  left: 38px;
  bottom: 38px;
  width: min(42%, 300px);
  aspect-ratio: 4 / 3;
}

.stacked-visual-main img,
.stacked-visual-inset img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stacked-visual-main figcaption,
.stacked-visual-inset figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stacked-website-hero-shot {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  min-height: min(680px, calc(100vh - 170px));
  aspect-ratio: 1518 / 768;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: #101010;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.44);
  transition: transform 180ms ease, border-color 180ms ease;
}

.stacked-website-hero-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 18%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent 34%);
}

.stacked-website-hero-shot::after {
  content: "View finished website";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stacked-website-hero-shot:hover,
.stacked-website-hero-shot:focus-visible {
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
  outline: 0;
}

.stacked-website-hero-shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: min(680px, calc(100vh - 170px));
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.84);
}

.stacked-showcase {
  display: grid;
  grid-template-columns: 0.52fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.stacked-brand-card,
.stacked-before-after figure {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.28);
}

.stacked-brand-card {
  min-height: 360px;
  padding: 28px;
  display: grid;
  align-content: end;
  gap: 18px;
}

.stacked-brand-card img {
  width: min(230px, 100%);
  filter: brightness(0) invert(1);
}

.stacked-brand-card span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stacked-before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stacked-before-after figure {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.stacked-before-after img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.stacked-before-after figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stacked-copy {
  display: grid;
  gap: 18px;
}

.ux-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ux-role-grid article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.ux-role-grid h3 {
  margin-top: 18px;
}

.ux-process {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 46px;
}

.ux-process-map {
  display: grid;
  gap: 10px;
}

.ux-process-map article {
  display: grid;
  grid-template-columns: 44px 0.6fr 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.ux-process-map span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
}

.ux-process-map strong {
  color: #fff;
  font-size: 1rem;
}

.ux-process-map p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.stacked-infographic {
  padding: 54px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stacked-infographic h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.objective-copy {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.02rem;
  line-height: 1.65;
}

.stacked-context-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.62;
}

.stacked-context-copy + .objective-copy {
  margin-top: 14px;
}

.stacked-context-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 28px;
  align-items: end;
}

.stacked-context-section h2 {
  max-width: 460px;
  margin-left: auto;
  text-align: right;
}

.stacked-context-section p {
  margin: 0;
  max-width: 690px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.04rem;
  line-height: 1.7;
}

.stacked-context-section > div {
  text-align: right;
}

.intro-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.intro-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.ux-board-grid article,
.ux-flow article,
.deliverable-pills span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.032));
}

.intro-stat-grid article {
  position: relative;
  min-height: 104px;
  padding: 18px 20px 18px 54px;
  display: grid;
  align-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 18px 50%);
}

.intro-stat-grid article:first-child {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
}

.intro-stat-grid strong {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
}

.intro-stat-grid span {
  max-width: 190px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.infographic-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.infographic-heading h2 {
  max-width: 760px;
}

.ux-flow-section .infographic-heading {
  width: min(760px, 100%);
  margin-left: auto;
  text-align: right;
}

.ux-flow-section .infographic-heading h2 {
  margin-left: auto;
}

.ux-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding-top: 0;
}

.ux-flow article {
  position: relative;
  min-height: 150px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
}

.ux-flow article:first-child {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
}

.ux-flow span,
.ux-board-grid span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ux-flow strong {
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.1;
}

.ux-board {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}

.ux-board-main {
  min-height: 0;
  padding: 28px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 54px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06);
}

.ux-board-main h2 {
  max-width: 480px;
}

.ux-board-spine {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 46px;
}

.ux-board-spine span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ux-board-spine i {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04));
}

.ux-board-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ux-board-grid article {
  min-height: 224px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
}

.ux-board-grid strong {
  display: block;
  max-width: 270px;
  color: #fff;
  font-size: 1.12rem;
  line-height: 1.18;
}

.ux-board-grid p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.5;
}

.screen-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.7fr;
  gap: 12px;
}

.screen-strip figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.screen-strip img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.78);
}

.screen-strip figure:last-child img {
  padding: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.screen-strip figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.deliverable-map {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 26px;
  align-items: start;
}

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

.deliverable-pills span {
  padding: 14px 16px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.build-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.build-scope-grid article {
  min-height: 190px;
  padding: 22px;
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.028));
}

.build-scope-grid span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
  font-weight: 900;
}

.build-scope-grid strong {
  display: block;
  margin-top: 26px;
  color: #fff;
  font-size: 1.2rem;
}

.build-scope-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.55;
}

.finished-website-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
  padding-bottom: 90px;
  border-bottom: 0;
}

.finished-website-panel figure {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.finished-website-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: brightness(0.76);
}

.finished-website-panel > div {
  padding: 28px;
  display: grid;
  align-content: end;
  justify-items: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.finished-website-panel .finished-site-link {
  margin-top: 24px;
}

.site-disclaimer {
  max-width: 420px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.86rem;
  line-height: 1.5;
}

.about-dashboard-page {
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 84% 10%, rgba(255, 255, 255, 0.07), transparent 28%),
    radial-gradient(circle at 18% 72%, rgba(120, 96, 73, 0.09), transparent 32%),
    linear-gradient(180deg, #151311 0%, #0f0d0c 100%);
}

.page-transitions body.about-dashboard-page,
.page-transitions body.about-dashboard-page.page-ready,
.page-transitions body.about-dashboard-page.page-leaving {
  transform: none;
  filter: none;
}

.about-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.about-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(29, 26, 24, 0.98), rgba(18, 16, 15, 0.98));
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.profile-card {
  padding: 6px 0 18px;
  text-align: center;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-avatar {
  position: relative;
  width: 94px;
  height: 94px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.profile-avatar span {
  position: absolute;
  right: 8px;
  bottom: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.profile-card h1 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.profile-card p {
  margin: 7px auto 0;
  max-width: 185px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  line-height: 1.38;
}

.profile-details {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-details div {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px;
}

.profile-details dt {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 800;
}

.profile-details dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.7rem;
  line-height: 1.3;
  text-align: right;
}

.skill-stack {
  display: grid;
  gap: 13px;
}

.skill-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
}

.skill-row i {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.skill-row i::before {
  content: "";
  display: block;
  width: var(--level);
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.84);
}

.proficiency-panel {
  padding-top: 2px;
}

.proficiency-panel h2 {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.proficiency-grid span {
  min-height: 60px;
  padding: 8px 5px 7px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.proficiency-grid b {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.proficiency-grid small {
  max-width: 100%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 981px) and (max-height: 760px) {
  .about-sidebar {
    padding-block: 16px;
    gap: 10px;
  }

  .profile-card {
    padding-bottom: 10px;
  }

  .profile-avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 8px;
  }

  .profile-card p {
    font-size: 0.7rem;
    line-height: 1.24;
  }

  .profile-details {
    gap: 7px;
    padding-bottom: 10px;
  }

  .skill-stack {
    gap: 8px;
  }

  .proficiency-grid span {
    min-height: 46px;
  }
}

.about-main {
  min-width: 0;
  padding: 24px clamp(24px, 4vw, 58px) 46px;
}

@media (min-width: 981px) {
  .about-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .about-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 260px;
    height: 100svh;
    z-index: 5;
  }

  .about-main {
    grid-column: 2;
  }

  .about-dashboard-page > .site-footer {
    margin-left: 260px;
    width: calc(100% - 324px);
  }
}

.about-topbar {
  position: relative;
  top: auto;
  width: 100%;
  margin: 0 0 24px;
  background: rgba(255, 255, 255, 0.035);
}

.about-banner {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: block;
  padding: 0;
  clip-path: none;
  background: #111;
}

.about-banner span,
.section-heading span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-banner h2 {
  max-width: 720px;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.about-banner p {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1rem;
  line-height: 1.65;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 20px 0;
}

.about-stats div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 62px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.about-stats strong {
  color: #fff;
  font-size: 1.65rem;
}

.about-stats span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.8rem;
  font-weight: 800;
}

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

.about-grid article,
.experience-rows article {
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.075);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.about-grid article span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.76rem;
  font-weight: 900;
}

.about-grid h3 {
  margin: 32px 0 0;
  color: #fff;
  font-size: 1.08rem;
}

.about-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  line-height: 1.62;
}

.language-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.28rem;
  letter-spacing: 0.18em;
  line-height: 1;
}

.about-writing-block {
  margin-top: 14px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026));
}

.about-writing-block p {
  max-width: 920px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  line-height: 1.68;
}

.about-writing-block p + p {
  margin-top: 14px;
}

.education-section {
  padding-top: 14px;
}

.education-section .section-heading {
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.education-section .section-heading h2 {
  max-width: 620px;
}

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

.education-grid article {
  min-height: 185px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026)),
    rgba(255, 255, 255, 0.02);
}

.education-grid article span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.education-grid h3 {
  margin: 34px 0 0;
  color: #fff;
  font-size: 1.12rem;
}

.education-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.5;
}

.education-grid small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  line-height: 1.55;
}

.experience-list {
  padding-top: 14px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2 {
  max-width: 520px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.experience-rows {
  display: grid;
  gap: 9px;
}

.experience-rows article {
  display: grid;
  grid-template-columns: 80px minmax(220px, 1fr) minmax(220px, 0.34fr);
  align-items: center;
  gap: 22px;
  min-height: 78px;
  clip-path: none;
}

.experience-rows span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 900;
}

.experience-rows strong {
  color: #fff;
  font-size: 1rem;
}

.experience-rows small {
  justify-self: end;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.82rem;
  text-align: right;
  white-space: normal;
}

.about-dashboard-page .about-stats div,
.about-dashboard-page .about-grid article,
.about-dashboard-page .about-writing-block,
.about-dashboard-page .education-grid article,
.about-dashboard-page .experience-rows article {
  border-radius: 0;
  clip-path: none;
}

@media (max-width: 980px) {
  .about-shell {
    display: flex;
    flex-direction: column;
  }

  .about-main {
    order: 1;
    padding: 20px clamp(16px, 4vw, 30px) 34px;
  }

  .about-sidebar {
    order: 2;
    position: relative;
    height: auto;
    margin: 0 clamp(16px, 4vw, 30px) 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: initial;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .profile-card {
    grid-row: span 2;
    border-bottom: 0;
  }

  .about-stats,
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-sidebar {
    grid-template-columns: 1fr;
    padding: 24px 18px;
  }

  .about-main {
    padding: 18px 16px 36px;
  }

  .about-banner {
    min-height: 360px;
  }

  .about-banner h2 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }

  .about-stats,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .experience-rows article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.project-section {
  padding: 74px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.two-column {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 54px;
}

.project-section h2,
.project-section h3 {
  margin: 10px 0 0;
  color: #fff;
}

.project-section h2 {
  max-width: 520px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 700;
}

.project-section h3 {
  font-size: 1.08rem;
}

.project-section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.7;
}

.stacked-copy {
  display: grid;
  gap: 18px;
}

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

.card-grid article {
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.card-grid article p {
  margin-top: 16px;
  font-size: 0.94rem;
}

.journey {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 54px;
}

.journey ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: journey;
}

.journey li {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  counter-increment: journey;
}

.journey li::before {
  content: counter(journey, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
}

.journey strong,
.journey span {
  display: block;
}

.journey strong {
  font-size: 1rem;
}

.journey span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.55;
}

.deliverables {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 54px;
  padding-bottom: 96px;
  border-bottom: 0;
}

.deliverables ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliverables li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .project-header {
    width: calc(100% - 48px);
    top: 18px;
    margin-top: 18px;
  }

  .project-page main {
    width: min(100% - 48px, 760px);
  }

  .project-hero-grid,
  .two-column,
  .journey,
  .deliverables,
  .ux-process,
  .intro-panel,
  .stacked-context-section,
  .ux-board,
  .deliverable-map,
  .finished-website-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stacked-context-section > div,
  .stacked-context-section h2 {
    margin-left: 0;
    text-align: left;
  }

  .card-grid,
  .ux-role-grid {
    grid-template-columns: 1fr;
  }

  .ux-flow {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 0;
  }

  .ux-flow::before {
    top: 0;
    bottom: 0;
    left: 18px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  }

  .ux-flow article,
  .ux-flow article:first-child {
    min-height: 92px;
    padding: 18px 18px 18px 66px;
    border-radius: 16px;
  }

  .ux-flow span {
    top: 50%;
    left: 18px;
    transform: translate(-50%, -50%);
  }

  .ux-flow small {
    margin-bottom: 8px;
  }

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

  .screen-strip figure,
  .finished-website-panel figure {
    min-height: 260px;
  }

  .ux-process-map article {
    grid-template-columns: 42px 1fr;
  }

  .ux-process-map p {
    grid-column: 2;
  }

  .project-showcase img {
    aspect-ratio: 4 / 3;
  }

  .experience-timeline {
    grid-auto-columns: min(640px, 82vw);
    scroll-padding-inline: calc((100% - min(640px, 82vw)) / 2);
    padding-inline: calc((100% - min(640px, 82vw)) / 2);
  }

  .experience-timeline::before {
    left: 10vw;
    width: calc(100% - 20vw);
  }

  .stacked-case-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 56px 0 44px;
  }

  .stacked-case-copy h1 {
    max-width: 720px;
    font-size: clamp(3rem, 11vw, 5rem);
  }

  .stacked-visual-panel {
    min-height: 520px;
  }

  .stacked-visual-main {
    inset: 0 0 70px 36px;
  }

  .stacked-showcase,
  .stacked-before-after {
    grid-template-columns: 1fr;
  }

  .stacked-brand-card,
  .stacked-before-after img {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .project-header {
    width: calc(100% - 32px);
  }

  .project-page main {
    width: calc(100% - 32px);
  }

  .project-hero {
    padding-top: 62px;
  }

  .project-section {
    padding: 52px 0;
  }

  .experience-section {
    min-height: calc(100vh - 96px);
    padding: 74px 0 58px;
  }

  .experience-timeline {
    grid-auto-columns: 88vw;
    gap: 18px;
    scroll-padding-inline: 6vw;
    padding: 36px 6vw 32px;
  }

  .experience-timeline::before {
    top: 58px;
    left: 4vw;
    width: calc(100% - 8vw);
  }

  .experience-card,
  .experience-card.small {
    min-height: 270px;
    transform: none;
  }

  .experience-hint {
    margin-bottom: 0;
    font-size: 0.66rem;
  }

  .experience-scroll-note {
    width: 78%;
  }

  .experience-card.about-more {
    min-width: 0;
  }

  .stacked-case-hero {
    padding-top: 46px;
  }

  .stacked-logo-lockup {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
  }

  .stacked-case-copy h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .stacked-visual-panel {
    min-height: 390px;
  }

  .stacked-visual-main {
    inset: 0 0 78px 0;
  }

  .stacked-visual-inset {
    width: 62%;
  }

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

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .site-header,
  .project-header,
  .about-topbar {
    width: calc(100% - 24px);
    min-height: 0;
    margin: 12px auto 0;
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    border-radius: 22px;
  }

  .site-footer {
    width: calc(100% - 24px);
    padding: 22px 0 28px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .home-page .site-footer {
    width: calc(100% - 24px);
    bottom: 12px;
    padding: 22px 0 28px;
    border-radius: 0;
  }

  .brand {
    width: 100%;
    justify-self: stretch;
    font-size: 0.96rem;
  }

  .brand > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    display: none;
  }

  .nav-links {
    order: 2;
    grid-column: auto;
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
    overflow-x: auto;
    padding: 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.82rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a,
  .portfolio-trigger {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
  }

  .hero {
    min-height: 100svh;
    padding: 12px;
    background:
      linear-gradient(90deg, rgba(10, 9, 9, 0.98) 0%, rgba(10, 9, 9, 0.82) 72%, rgba(10, 9, 9, 0.52) 100%),
      linear-gradient(0deg, rgba(10, 9, 9, 0.8), rgba(10, 9, 9, 0.18) 48%, rgba(10, 9, 9, 0.48)),
      url("assets/studio-hero-new.png") 58% center / cover no-repeat;
  }

  .hero-content {
    min-height: calc(100svh - 142px);
    padding: 34px 8px 32px;
    align-items: center;
  }

  .copy {
    width: 100%;
    transform: none;
  }

  h1 {
    max-width: 10ch;
    font-size: 2.55rem;
    line-height: 1.08;
  }

  .portfolio-popover {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 24px);
    padding: 16px 0 18px;
    border-radius: 18px;
  }

  .popover-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }

  .portfolio-heading {
    margin-bottom: 10px;
    padding: 0 54px 0 18px;
  }

  .portfolio-heading strong {
    font-size: 1.08rem;
  }

  .portfolio-rail {
    grid-auto-columns: minmax(248px, 78vw);
    gap: 0;
    padding: 4px 10px 8px;
  }

  .portfolio-slide,
  .portfolio-slide img {
    min-height: 245px;
  }

  .portfolio-slide {
    transform: scale(0.94);
    clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  }

  .slide-copy {
    left: 28px;
    right: 28px;
    bottom: 20px;
  }

  .slide-copy strong {
    font-size: 1.35rem;
  }

  .portfolio-controls {
    margin: 0 10px;
    padding: 7px;
  }

  .project-page main {
    width: calc(100% - 24px);
  }

  .project-hero {
    padding: 50px 0 30px;
  }

  .project-hero h1,
  .stacked-case-copy h1 {
    max-width: 100%;
    font-size: 2.45rem;
    line-height: 1.08;
  }

  .project-lede,
  .stacked-case-copy p {
    font-size: 1rem;
    line-height: 1.58;
  }

  .project-summary {
    padding: 18px;
    border-radius: 16px;
  }

  .project-section {
    padding: 42px 0;
  }

  .stacked-infographic {
    padding: 42px 0;
  }

  .project-section h2 {
    font-size: 2rem;
  }

  .stacked-infographic h2 {
    font-size: 2rem;
  }

  .infographic-heading {
    display: grid;
    gap: 10px;
  }

  .intro-stat-grid,
  .ux-board-grid,
  .build-scope-grid {
    grid-template-columns: 1fr;
  }

  .intro-stat-grid article,
  .ux-board-grid article {
    min-height: 138px;
  }

  .intro-stat-grid article,
  .intro-stat-grid article:first-child {
    min-height: 86px;
    clip-path: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
  }

  .ux-board-main {
    min-height: 280px;
  }

  .ux-board-spine {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 28px;
  }

  .ux-board-spine i {
    width: 1px;
    height: 22px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.04));
  }

  .ux-board-spine span {
    justify-self: start;
  }

  .card-grid article,
  .journey li {
    min-height: 0;
    border-radius: 16px;
  }

  .journey li {
    padding: 16px 16px 16px 58px;
  }

  .deliverables li {
    border-radius: 14px;
  }

  .stacked-case-hero {
    gap: 30px;
  }

  .stacked-logo-lockup {
    width: 100%;
    padding: 12px;
  }

  .stacked-logo-lockup img {
    width: 74px;
  }

  .stacked-meta-row {
    gap: 8px;
  }

  .stacked-meta-row span {
    font-size: 0.78rem;
  }

  .stacked-meta-row a,
  .finished-site-link {
    width: 100%;
  }

  .ux-process-map article {
    grid-template-columns: 1fr;
  }

  .ux-process-map p {
    grid-column: auto;
  }

  .stacked-visual-panel {
    min-height: 320px;
  }

  .stacked-visual-main {
    inset: 0 0 68px 0;
  }

  .stacked-visual-inset {
    width: 58%;
  }

  .stacked-before-after figure,
  .stacked-brand-card,
  .project-showcase {
    border-radius: 16px;
  }

  .about-shell {
    display: flex;
    flex-direction: column;
  }

  .about-main {
    order: 1;
    padding: 0 12px 34px;
  }

  .about-sidebar {
    order: 2;
    position: relative;
    height: auto;
    margin: 0 12px 24px;
    padding: 22px 18px;
    display: grid;
    grid-template-columns: 1fr;
    justify-content: initial;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
  }

  .about-banner {
    min-height: 300px;
    margin-top: 16px;
  }

  .about-stats,
  .about-grid,
  .education-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .about-stats div {
    min-height: 56px;
    padding: 14px 16px;
  }

  .about-grid article,
  .education-grid article,
  .experience-rows article {
    clip-path: none;
    border-radius: 0;
  }

  .about-writing-block {
    margin-top: 10px;
    padding: 20px;
    border-radius: 0;
  }

  .language-card p {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
  }

  .experience-rows article {
    grid-template-columns: 64px 1fr;
    gap: 8px 14px;
  }

  .experience-rows small {
    grid-column: 2;
  }
}

@media (max-width: 420px) {
  .site-header,
  .project-header,
  .about-topbar {
    width: calc(100% - 18px);
    padding: 10px;
  }

  .nav-links {
    gap: 8px;
    font-size: 0.78rem;
  }

  .nav-links a,
  .portfolio-trigger {
    padding: 7px 9px;
  }

  h1,
  .project-hero h1,
  .stacked-case-copy h1 {
    font-size: 2.12rem;
  }

  .portfolio-rail {
    grid-auto-columns: 82vw;
  }

  .portfolio-slide,
  .portfolio-slide img {
    min-height: 218px;
  }

  .slide-copy strong {
    font-size: 1.16rem;
  }

  .project-section h2 {
    font-size: 1.72rem;
  }

  .stacked-infographic h2 {
    font-size: 1.72rem;
  }

  .screen-strip figure,
  .finished-website-panel figure,
  .ux-board-main {
    min-height: 220px;
  }

  .about-banner {
    height: 240px;
    min-height: 240px;
  }

  .experience-rows article {
    grid-template-columns: 1fr;
  }

  .experience-rows small {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .stacked-page-title {
    padding: 42px 0 4px;
  }

  .stacked-page-title h1 {
    font-size: clamp(2.8rem, 10vw, 4.5rem);
  }

  .stacked-case-hero {
    display: block;
    padding: 34px 0 42px;
  }

  .stacked-case-copy h1 {
    max-width: 680px;
    font-size: clamp(2.8rem, 10vw, 4.5rem);
  }

  .stacked-visual-panel {
    min-height: 430px;
  }

  .stacked-website-hero-shot,
  .stacked-website-hero-shot img {
    min-height: 420px;
  }

  .stacked-visual-main {
    inset: 42px 18px 18px 18px;
  }

  .stacked-visual-inset {
    left: 30px;
    bottom: 30px;
    width: min(44%, 280px);
  }
}

@media (max-width: 640px) {
  .stacked-page-title {
    padding-top: 34px;
  }

  .stacked-page-title h1 {
    font-size: 2.45rem;
  }

  .stacked-case-hero {
    display: block;
    padding-top: 28px;
  }

  .stacked-logo-lockup {
    width: auto;
    align-items: center;
    flex-direction: row;
  }

  .stacked-case-copy h1 {
    font-size: 2.35rem;
  }

  .stacked-visual-panel {
    min-height: 300px;
    border-radius: 18px;
  }

  .stacked-website-hero-shot {
    min-height: 280px;
    aspect-ratio: 1518 / 768;
    border-radius: 18px;
  }

  .stacked-website-hero-shot img {
    min-height: 280px;
  }

  .stacked-website-hero-shot::after {
    right: 12px;
    bottom: 12px;
    font-size: 0.68rem;
  }

  .stacked-visual-main {
    inset: 42px 12px 12px 12px;
  }

  .stacked-visual-inset {
    left: 22px;
    bottom: 22px;
    width: 46%;
  }
}

.portfolio-blank-page .portfolio-page-panel {
  position: relative;
  top: auto;
  left: auto;
  width: min(980px, calc(100vw - 72px));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(18px) scale(0.985);
  animation: portfolioShelfIn 480ms cubic-bezier(0.2, 0.78, 0.22, 1) 120ms forwards;
}

.portfolio-blank-stage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 116px 32px 42px;
}

.portfolio-blank-page .portfolio-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
}

.portfolio-blank-page .portfolio-heading strong {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #f3f1ee;
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1;
  font-weight: 500;
}

.portfolio-heading p {
  margin: 0;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: right;
}

.portfolio-blank-page .portfolio-rail {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 430px;
  padding: 8px 4px 24px;
  scroll-padding-inline: 4px;
  mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
}

.portfolio-blank-page .portfolio-slide {
  flex: 0 0 176px;
  height: 250px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  clip-path: none;
  transform: none;
}

.portfolio-blank-page .portfolio-slide.is-selected {
  flex-basis: 286px;
  height: 390px;
  z-index: 2;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}

.portfolio-blank-page .portfolio-slide:hover,
.portfolio-blank-page .portfolio-slide:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.32);
}

.portfolio-blank-page .portfolio-slide img {
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.portfolio-coming-soon {
  display: block;
  cursor: default;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 14px),
    #171615;
}

.portfolio-coming-soon::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.portfolio-coming-soon .slide-copy {
  color: rgba(255, 255, 255, 0.82);
}

.portfolio-blank-page .slide-copy {
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.portfolio-blank-page .portfolio-slide.is-selected .slide-copy {
  left: 28px;
  right: 28px;
  bottom: 26px;
}

.portfolio-blank-page .slide-copy strong {
  font-size: 1.12rem;
  line-height: 1.05;
}

.portfolio-blank-page .portfolio-slide.is-selected .slide-copy strong {
  font-size: 1.85rem;
}

.portfolio-blank-page .slide-copy small {
  margin-top: 6px;
  font-size: 0.76rem;
}

.portfolio-blank-page .portfolio-slide.is-selected .slide-copy small {
  font-size: 0.84rem;
}

.portfolio-blank-page .portfolio-controls {
  display: none;
}

.portfolio-action-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.portfolio-visit {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: #111;
  font-size: 0.92rem;
  font-weight: 900;
}

.portfolio-visit.is-disabled {
  pointer-events: none;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.54);
}

.portfolio-visit::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.portfolio-visit.is-typing::after {
  content: "";
  width: 1px;
  height: 1.1em;
  margin-left: 2px;
  background: currentColor;
  animation: portfolioCaretBlink 420ms steps(1, end) infinite;
}

@keyframes portfolioCaretBlink {
  50% {
    opacity: 0;
  }
}

.portfolio-action-row span {
  display: none;
}

.portfolio-action-row span::before,
.portfolio-action-row span::after {
  content: "";
  grid-area: 1 / 1;
}

.portfolio-action-row span::before {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-right-color: transparent;
  border-radius: 50%;
}

.portfolio-action-row span::after {
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(255, 255, 255, 0.82);
  border-right: 2px solid rgba(255, 255, 255, 0.82);
  transform: translate(8px, -8px) rotate(28deg);
}

@keyframes portfolioShelfIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .portfolio-blank-page .portfolio-page-panel {
    width: calc(100vw - 44px);
    padding: 24px 20px 22px;
  }

  .portfolio-blank-stage {
    padding: 104px 22px 32px;
  }

  .portfolio-blank-page .portfolio-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .portfolio-heading p {
    text-align: left;
  }

  .portfolio-blank-page .portfolio-rail {
    min-height: 340px;
    gap: 12px;
  }

  .portfolio-blank-page .portfolio-slide {
    flex-basis: 148px;
    height: 215px;
  }

.portfolio-blank-page .portfolio-slide.is-selected {
    flex-basis: 250px;
    height: 330px;
  }

  .portfolio-action-row {
    margin-top: 12px;
  }
}

@media (max-width: 560px) {
  .portfolio-blank-page .portfolio-page-panel {
    width: calc(100vw - 24px);
    padding: 22px 14px 18px;
  }

  .portfolio-blank-page .portfolio-rail {
    min-height: 300px;
    gap: 10px;
    padding-bottom: 16px;
  }

  .portfolio-blank-page .portfolio-slide {
    flex-basis: 132px;
    height: 230px;
  }

.portfolio-blank-page .portfolio-slide.is-selected {
    flex-basis: 220px;
    height: 295px;
  }

  .portfolio-blank-page .slide-copy {
    left: 28px;
    right: 24px;
  }

  .portfolio-action-row {
    align-items: stretch;
  }

  .portfolio-visit {
    flex: 1;
    justify-content: center;
  }
}

.portfolio-blank-page {
  width: 100%;
  height: 100svh;
  overflow-x: hidden;
  overflow-y: hidden;
}

.portfolio-blank-stage {
  height: 100svh;
  padding: clamp(86px, 12vh, 104px) 32px clamp(18px, 4vh, 28px);
  box-sizing: border-box;
}

.portfolio-blank-page .portfolio-page-panel {
  width: min(1020px, calc(100vw - 72px));
}

.portfolio-blank-page .portfolio-heading {
  margin-bottom: 10px;
}

.portfolio-blank-page .portfolio-heading strong {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.portfolio-blank-page .portfolio-rail {
  min-height: clamp(280px, 47vh, 354px);
  padding-bottom: clamp(8px, 2vh, 14px);
  justify-content: center;
}

.portfolio-blank-page .portfolio-slide {
  flex-basis: 170px;
  height: clamp(180px, 29vh, 220px);
}

.portfolio-blank-page .portfolio-slide.is-selected {
  flex-basis: 280px;
  height: clamp(260px, 43vh, 335px);
}

.portfolio-blank-page .portfolio-controls {
  display: none;
}

.portfolio-action-row {
  margin-top: 10px;
}

@media (max-width: 980px) {
  .portfolio-blank-stage {
    padding: 92px 22px 26px;
  }

  .portfolio-blank-page .portfolio-rail {
    min-height: 326px;
  }
}

@media (max-width: 560px) {
  .portfolio-blank-stage {
    padding: 86px 12px 22px;
  }

  .portfolio-blank-page .portfolio-rail {
    min-height: 294px;
  }
}

.autenticar-main {
  padding-top: 46px;
}

.autenticar-hero {
  min-height: calc(100svh - 124px);
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: clamp(40px, 5vw, 64px);
  padding: 0 0 44px;
}

.autenticar-copy h1 {
  max-width: none;
  font-size: clamp(3.9rem, 5.65vw, 5.75rem);
  line-height: 0.94;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.autenticar-copy p,
.autenticar-hero-facts {
  max-width: 500px;
}

.autenticar-copy p {
  margin-top: 22px;
}

.autenticar-hero-facts {
  margin-top: 22px;
}

.autenticar-preview {
  width: min(100%, 610px);
}

.autenticar-preview::before {
  display: none;
}

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

  .autenticar-copy h1 {
    white-space: normal;
  }

  .autenticar-preview {
    width: 100%;
    justify-self: stretch;
  }
}

html {
  overflow-x: hidden;
}

html.home-doc,
html.portfolio-doc {
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

body.home-page,
body.portfolio-blank-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
}

body.home-page .hero,
body.portfolio-blank-page .portfolio-blank-stage {
  width: 100%;
  height: 100svh;
}

body.home-page .hero {
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding-block: clamp(14px, 2.4vh, 22px);
}

body.home-page .hero-content {
  min-height: 0;
  padding-block: clamp(14px, 4.4vh, 42px);
}

body.home-page .site-footer {
  padding-block: clamp(12px, 2.4vh, 22px);
}

body.portfolio-blank-page .portfolio-blank-stage {
  min-height: 0;
  box-sizing: border-box;
  display: grid;
  align-content: center;
  padding: clamp(84px, 10vh, 96px) clamp(14px, 3vw, 32px) clamp(12px, 2.4vh, 22px);
}

body.portfolio-blank-page .portfolio-page-panel {
  width: min(960px, calc(100vw - 48px));
  max-height: calc(100svh - 116px);
  overflow: visible;
}

body.portfolio-blank-page .portfolio-rail {
  min-height: clamp(220px, 39vh, 318px);
  padding-bottom: clamp(8px, 1.7vh, 16px);
}

body.portfolio-blank-page .portfolio-slide {
  height: clamp(168px, 25vh, 210px);
}

body.portfolio-blank-page .portfolio-slide.is-selected {
  height: clamp(224px, 35vh, 292px);
}

body.portfolio-blank-page .portfolio-action-row {
  margin-top: clamp(6px, 1.4vh, 12px);
}

.learning-phone-stack {
  overflow: hidden;
}

@media (max-width: 640px) {
  .learning-page .learning-gallery {
    display: none;
  }

  .site-header,
  .project-header,
  .about-topbar {
    justify-items: center;
  }

  .site-header .brand {
    display: none;
  }

  .site-header .nav-links,
  .project-header .nav-links,
  .about-topbar .nav-links {
    justify-content: center;
    overflow-x: visible;
  }

  .learning-phone-stack {
    display: grid;
    justify-items: center;
    min-height: 0;
    gap: 16px;
    overflow: visible;
  }

  .learning-phone-stack img,
  .learning-phone-stack img:nth-child(1),
  .learning-phone-stack img:nth-child(2),
  .learning-phone-stack img:nth-child(3) {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    width: min(100%, 300px);
    max-height: none;
    transform: none;
  }

  body.portfolio-blank-page .portfolio-blank-stage {
    padding: 82px 12px 12px;
  }

  body.portfolio-blank-page .portfolio-heading {
    margin-bottom: 8px;
  }

  body.portfolio-blank-page .portfolio-heading strong {
    font-size: 2rem;
  }

  body.portfolio-blank-page .portfolio-heading p {
    display: none;
  }

  body.portfolio-blank-page .portfolio-rail {
    min-height: 250px;
  }

  body.portfolio-blank-page .portfolio-slide {
    flex-basis: 132px;
    height: 176px;
  }

  body.portfolio-blank-page .portfolio-slide.is-selected {
    flex-basis: 206px;
    height: 230px;
  }

  body.portfolio-blank-page .portfolio-visit {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 0.84rem;
  }
}

body.portfolio-blank-page .portfolio-blank-stage {
  position: fixed;
  inset: 0;
  padding: 0;
  display: block;
}

body.portfolio-blank-page .portfolio-page-panel {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  max-height: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2.2vh, 20px);
  padding: clamp(92px, 11vh, 112px) 0 clamp(18px, 3vh, 28px);
  opacity: 1;
  transform: none;
  animation: none;
}

body.portfolio-blank-page .portfolio-heading {
  width: min(1040px, calc(100vw - 40px));
  margin: 0 auto;
  text-align: left;
  justify-content: flex-start;
}

body.portfolio-blank-page .portfolio-heading strong {
  font-size: clamp(2rem, 4vw, 3.55rem);
}

body.portfolio-blank-page .portfolio-rail {
  width: 100vw;
  min-height: 0;
  height: clamp(260px, 42vh, 360px);
  padding: 0 max(18px, calc((100vw - 1040px) / 2));
  gap: clamp(14px, 2vw, 22px);
  justify-content: center;
  align-self: center;
  overflow-x: hidden;
}

body.portfolio-blank-page .portfolio-slide {
  flex: 0 0 clamp(160px, 15vw, 210px);
  height: clamp(210px, 34vh, 300px);
}

body.portfolio-blank-page .portfolio-slide.is-selected {
  flex-basis: clamp(220px, 21vw, 300px);
  height: clamp(260px, 43vh, 360px);
}

body.portfolio-blank-page .portfolio-action-row {
  width: min(1040px, calc(100vw - 40px));
  margin: 0 auto;
  justify-content: center;
}

@media (max-width: 760px) {
  body.portfolio-blank-page .portfolio-blank-stage {
    padding: 0;
  }

  body.portfolio-blank-page .portfolio-page-panel {
    height: 100svh;
    padding: 124px 0 18px;
    gap: 12px;
  }

  body.portfolio-blank-page .portfolio-heading {
    width: calc(100vw - 32px);
    margin-bottom: 8px;
  }

  body.portfolio-blank-page .portfolio-heading strong {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  body.portfolio-blank-page .portfolio-rail {
    height: clamp(270px, 41vh, 320px);
    padding-inline: calc((100vw - clamp(190px, 57vw, 230px)) / 2);
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-inline: calc((100vw - clamp(190px, 57vw, 230px)) / 2);
    scroll-snap-type: x proximity;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.portfolio-blank-page .portfolio-slide {
    flex-basis: clamp(136px, 38vw, 162px);
    height: clamp(190px, 34vh, 238px);
    scroll-snap-align: center;
  }

  body.portfolio-blank-page .portfolio-slide.is-selected {
    flex-basis: clamp(190px, 57vw, 230px);
    height: clamp(232px, 41vh, 286px);
  }

  body.portfolio-blank-page .portfolio-action-row {
    width: calc(100vw - 32px);
  }
}

@media (max-width: 640px) {
  .intro-stat-grid article,
  .intro-stat-grid article:first-child {
    border-radius: 0;
  }

  .ux-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ux-board-main {
    min-height: 0;
    padding: 22px;
    align-content: start;
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  }

  .ux-board-main h2 {
    max-width: 100%;
    margin-top: 10px;
    font-size: 1.72rem;
    line-height: 1.05;
  }

  .ux-board-spine {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    overflow: hidden;
  }

  .ux-board-spine span {
    padding: 8px 10px;
    font-size: 0.68rem;
  }

  .ux-board-spine i {
    flex: 1 1 18px;
    width: auto;
    height: 1px;
    min-width: 14px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06));
  }

  .ux-board-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ux-board-grid article {
    min-height: 0;
    padding: 18px;
    border-radius: 16px;
    align-content: start;
  }

  .ux-board-grid strong {
    max-width: 100%;
    margin-top: 18px;
    font-size: 1rem;
  }

  .ux-board-grid p {
    margin-top: 10px;
    font-size: 0.84rem;
  }
}
