:root {
  --paper: #ffffff;
  --ink: #000000;
  --muted: #3d3d3d;
  --blue: #9ddcff;
  --yellow: #ffe68c;
  --pink: #ffc9f0;
  --soft: #fbfbfb;
  --nav-grey: #fbfbfb;
  --rail: 18px;
  --header-offset: 118px; /* 106px nav + 12px rule */
  --case-viewport: calc(100vh - var(--header-offset) - 40px);
  --peach: #ffbd7e;
  --peach-soft: rgba(255, 189, 126, 0.67);
  --peach-cream: #fcf8ec;
  --frame-fill: #fef9f3;
  --content-fill: #fffefe;
  --scrollbar-track: #f2ebe3;
  --grid-line: #000000;

  --max: 1440px;
  --pad: 28px;
  --radius: 16px;
  --shadow: none;
  /* When viewport is wider than 1440px, center the whole framed page */
  --frame-inset: max(0px, calc(50vw - 720px));
}

@font-face {
  font-family: "Generic Classic";
  src: url("./assets/fonts/GenericClassic.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reglisse";
  src: url("./assets/fonts/Reglisse.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reglisse Back";
  src: url("./assets/fonts/Reglisse_Back.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reglisse Outline";
  src: url("./assets/fonts/Reglisse_Outline.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reglisse Fill";
  src: url("./assets/fonts/Reglisse_Fill.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Reglisse Clean";
  src: url("./assets/fonts/Reglisse_Clean.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
img,
video {
  max-width: 100%;
}
html {
  scroll-padding-top: var(--header-offset);
  scroll-behavior: smooth;
  overflow-x: clip;
  scrollbar-color: #ff6647 var(--scrollbar-track);
  scrollbar-width: auto;
}

/* Custom scrollbar — orange thumb, beige track, 3px black stroke on thumb */
::-webkit-scrollbar {
  width: 18px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #ff6647;
  border: 3px solid #000000;
  border-radius: 10px;
  background-clip: padding-box;
  box-shadow: inset 2px 2px 1px 1px #ffad65;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #ffad65;
  border: 3px solid #000000;
  box-shadow: inset 2px 2px 1px 1px #ffc98a;
}

::-webkit-scrollbar-thumb:active {
  background-color: #eb3223;
  border: 3px solid #000000;
  box-shadow: inset 2px 2px 2px 1px #d9542a;
}

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

body {
  margin: 0;
  font-family: Fredoka, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.11) 1px, transparent 1.7px) 0 0 / 22px 22px,
    var(--paper);
  background-attachment: fixed;
  padding-top: var(--header-offset);
}

.v6 {
  background: var(--frame-fill);
  background-attachment: scroll;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.v6 > main {
  flex: 1 1 auto;
}

.v6 .bgfx {
  display: none;
}

.v6-herohead {
  padding-top: 18px;
  padding-bottom: 0;
}

.v6-herohead__wrap {
  width: 100%;
  max-width: calc(var(--max) - 56px);
  margin: 0 auto;
  padding: 0;
  min-height: 752px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.v6-herohead__notepad {
  position: relative;
  width: 765px;
  max-width: 100%;
  height: 440px;
}

.v6-herohead__notepad-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.v6-herohead__sticky {
  position: absolute;
  width: 156px;
  min-height: 151px;
  padding: 42px 23px;
  box-shadow: 3px 4px 1px rgba(0,0,0,0.13);
  font-family: "Patrick Hand", cursive;
  font-size: 16px;
  line-height: 21px;
  letter-spacing: 0.48px;
  color: #33363f;
  text-align: center;
}

.v6-herohead__sticky-age {
  margin: 0 0 4px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v6-herohead__sticky-text {
  margin: 0;
}

.v6-herohead__sticky-emph { font-weight: 400; }

.v6-herohead__sticky--blue {
  left: 140px;
  top: 83px;
  transform: rotate(-1.9deg);
  background: var(--blue);
}

.v6-herohead__sticky--yellow {
  left: 257px;
  top: 197px;
  transform: rotate(2.32deg);
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.v6-herohead__caption {
  position: absolute;
  left: 417px;
  top: 261px;
  width: 172px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: Karla, ui-sans-serif, system-ui;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.42px;
  color: #000;
}

.v6-herohead__caption p { margin: 0; width: 119px; }

.v6-herohead__caption-arrow {
  width: 37px;
  height: auto;
  display: block;
  transform: rotate(59deg) scaleY(-1);
  flex: none;
}

.v6-herohead__profile {
  margin-top: 18px;
  position: relative;
  width: 458px;
  max-width: 100%;
  height: 138px;
  border: 1px solid #3d3d3d;
  border-radius: 4px;
  background: #fff;
  display: grid;
  grid-template-columns: 97px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
}

.v6-herohead__tape {
  position: absolute;
  width: 60px;
  height: 56px;
  object-fit: cover;
  pointer-events: none;
}

.v6-herohead__tape--tl { left: -14px; top: -14px; }
.v6-herohead__tape--br { right: -14px; bottom: -14px; transform: rotate(180deg); }

.v6-herohead__pic {
  width: 97px;
  height: 97px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.v6-herohead__name {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.v6-herohead__role {
  margin: 2px 0 0;
  font-family: Karla, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: 18px;
  color: var(--muted);
}

.v6-herohead__meta {
  margin: 8px 0 0;
  font-family: Karla, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: 16px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.v6-herohead__pin { width: 20px; height: 20px; display: block; }

.v6-herohead__scroll {
  margin-top: 18px;
  font-family: "Patrick Hand SC", cursive;
  font-size: 24px;
  letter-spacing: 0.72px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.v6-herohead__scroll-arrow {
  width: 40px;
  height: auto;
  opacity: 0.9;
  display: block;
}

.v6-herohead__blackbar {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 177px;
  background: #000;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.v6 .skip-link:focus {
  top: 12px;
}

.v6-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--frame-fill);
}

.v6-header__inner {
  width: var(--v6-content-width);
  max-width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  height: 106px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  padding: 0 var(--pad);
  box-sizing: border-box;
}

.v6-header__brand {
  flex: 1 1 0;
  min-width: 0;
  height: 59px;
  padding: 0;
  display: flex;
  align-items: center;
  background: none;
  border-radius: 0;
  font-family: "Reglisse", ui-serif, serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 28px;
  letter-spacing: 0.4px;
  color: #ff7151;
  text-transform: none;
}

.v6-header__links {
  flex: 0 0 auto;
  width: min(616px, 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.v6-header__navlinks {
  display: flex;
  align-items: center;
  gap: 34px;
}

/* Expanding pill on hover — sujinkim.design-style, orange + white text */
.v6-header__navlinks .v6-navlink {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  border-radius: 0;
  color: #ff6647;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
}

.v6-navlink__highlight {
  position: absolute;
  top: 0;
  left: -1px;
  z-index: 0;
  width: 1%;
  height: 100%;
  background: #ff6647;
  transition: width 0.4s cubic-bezier(0.33, 0.83, 0.67, 0.99);
  pointer-events: none;
}

.v6-navlink__label {
  position: relative;
  z-index: 1;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  transition:
    color 0.28s ease,
    font-weight 0.28s ease;
}

.v6-header__navlinks .v6-navlink:hover,
.v6-header__navlinks .v6-navlink:focus-visible {
  color: #ffffff;
}

.v6-header__navlinks .v6-navlink:hover .v6-navlink__highlight,
.v6-header__navlinks .v6-navlink:focus-visible .v6-navlink__highlight {
  width: 101%;
}

.v6-header__navlinks .v6-navlink:hover .v6-navlink__label,
.v6-header__navlinks .v6-navlink:focus-visible .v6-navlink__label {
  font-weight: 500;
}

.v6-header__navlinks .v6-navlink:focus-visible {
  outline: 2px solid #ff6647;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .v6-navlink__highlight {
    transition: none;
  }

  .v6-header__navlinks .v6-navlink:hover .v6-navlink__highlight,
  .v6-header__navlinks .v6-navlink:focus-visible .v6-navlink__highlight {
    width: 101%;
  }

  .v6-navlink__label {
    transition: color 0.15s ease;
  }
}

.v6-header__social {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #ff6647;
  transition: opacity 180ms ease, transform 180ms ease;
}

.v6-header__social:hover,
.v6-header__social:focus-visible {
  opacity: 0.85;
  transform: scale(1.06);
}

.v6-header__social .icon-linkedin {
  width: 20px;
  height: 20px;
  display: block;
}

.v6-header .nav-connect {
  flex: 0 0 auto;
  min-height: 35px;
  padding: 5px 20px 7px;
  border: 2px solid #ff7151;
  border-radius: 40px;
  background: var(--frame-fill);
  color: #ff6647;
  font-family: "Reglisse Clean", "Reglisse", ui-serif, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.v6-header .nav-connect:hover,
.v6-header .nav-connect:focus-visible {
  transform: none;
  background: #ff6647;
  color: var(--frame-fill);
  border-color: #ff6647;
}

.v6-header__menu-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #ff6647;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.v6-header__menu-toggle:hover,
.v6-header__menu-toggle:focus-visible {
  opacity: 0.85;
  transform: scale(1.05);
}

.v6-header__menu-toggle:focus-visible {
  outline: 2px solid #ff6647;
  outline-offset: 3px;
}

.v6-header__menu-close {
  display: none;
}

html.mobile-nav-open,
html.mobile-nav-open body {
  overflow: hidden;
}

.v6-header__rule {
  width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  height: 12px;
  background: var(--content-fill);
  border: 3px solid var(--grid-line);
  box-sizing: border-box;
}

/* Home — AnimatedPreloader-style intro (index only) */
html.home-preloader-active,
html.home-preloader-active body {
  overflow: hidden;
}

.home-preloader {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--frame-fill);
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: transform 0.78s cubic-bezier(0.76, 0, 0.24, 1);
}

.home-preloader.is-exiting {
  transform: translate3d(0, -100%, 0);
  pointer-events: none;
}

.home-preloader__inner {
  width: min(320px, calc(100vw - 48px));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    transform 0.62s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.45s ease;
}

.home-preloader.is-exiting .home-preloader__inner {
  transform: translate3d(0, -48px, 0);
  opacity: 0;
}

.home-preloader__label {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: #ff6647;
}

.home-preloader__percent {
  margin: 0;
  font-family: "Reglisse", ui-serif, serif;
  font-size: clamp(48px, 11vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: #ff6647;
  font-variant-numeric: tabular-nums;
}

html.home-preloader-active body.home-page > .v6-header,
html.home-preloader-active body.home-page > main,
html.home-preloader-active body.home-page > footer {
  transform: translate3d(0, 36px, 0);
  opacity: 0;
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.14s,
    opacity 0.55s ease 0.14s;
}

.home-preloader__track {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.home-preloader__bar-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #ff6647;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .home-preloader {
    display: none;
  }

  html.home-preloader-active,
  html.home-preloader-active body {
    overflow: auto;
  }
}

/* Page transitions — Bennett-style curtains; case-study exit uses dual orange */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  overflow: hidden;
}

.page-transition__panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5vh;
  transform: translate3d(0, 0, 0);
  transition: transform 0.58s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.page-transition__panel--top {
  top: 0;
  transform: translate3d(0, -100%, 0);
  background: var(--pt-panel-top, #fef9f3);
}

.page-transition__panel--bottom {
  bottom: 0;
  transform: translate3d(0, 100%, 0);
  background: var(--pt-panel-bottom, #fffefe);
}

.page-transition[data-variant="default"] {
  --pt-panel-top: #fef9f3;
  --pt-panel-bottom: #fffefe;
}

html.pt-pending--default {
  --pt-panel-top: #fef9f3;
  --pt-panel-bottom: #fffefe;
}

html.pt-pending .page-transition__panel--top,
html.pt-pending .page-transition__panel--bottom,
.page-transition.is-covering .page-transition__panel--top,
.page-transition.is-covering .page-transition__panel--bottom {
  transform: translate3d(0, 0, 0);
}

/* Case study → home: two full-screen sheets sliding horizontally, overlaid */
.page-transition[data-variant="case-study-exit"] .page-transition__panel--top,
.page-transition[data-variant="case-study-exit"] .page-transition__panel--bottom,
html.pt-pending--case-study-exit .page-transition__panel--top,
html.pt-pending--case-study-exit .page-transition__panel--bottom {
  top: 0;
  bottom: auto;
  width: 100%;
  height: 100%;
  transform: translate3d(-100%, 0, 0);
}

.page-transition[data-variant="case-study-exit"] .page-transition__panel--top,
html.pt-pending--case-study-exit .page-transition__panel--top {
  z-index: 1;
  background: #ff6647;
}

.page-transition[data-variant="case-study-exit"] .page-transition__panel--bottom,
html.pt-pending--case-study-exit .page-transition__panel--bottom {
  z-index: 2;
  background: #ff552f;
}

html.pt-pending--case-study-exit .page-transition__panel--top,
html.pt-pending--case-study-exit .page-transition__panel--bottom,
.page-transition[data-variant="case-study-exit"].is-covering .page-transition__panel--top,
.page-transition[data-variant="case-study-exit"].is-covering .page-transition__panel--bottom {
  transform: translate3d(0, 0, 0);
}

.page-transition[data-variant="case-study-exit"].is-covering .page-transition__panel--top {
  transition-delay: 0s;
}

.page-transition[data-variant="case-study-exit"].is-covering .page-transition__panel--bottom {
  transition-delay: 0.1s;
}

body.case-study-page .page-transition[data-variant="case-study-exit"]:not(.is-covering) .page-transition__panel--top,
body.case-study-page .page-transition[data-variant="case-study-exit"]:not(.is-covering) .page-transition__panel--bottom {
  transform: translate3d(-100%, 0, 0);
}

body:not(.case-study-page) .page-transition[data-variant="case-study-exit"]:not(.is-covering) .page-transition__panel--top,
body:not(.case-study-page) .page-transition[data-variant="case-study-exit"]:not(.is-covering) .page-transition__panel--bottom {
  transform: translate3d(100%, 0, 0);
}

body:not(.case-study-page) .page-transition[data-variant="case-study-exit"]:not(.is-covering) .page-transition__panel--bottom {
  transition-delay: 0s;
}

body:not(.case-study-page) .page-transition[data-variant="case-study-exit"]:not(.is-covering) .page-transition__panel--top {
  transition-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    display: none;
  }
}

.v6 {
  --header-offset: 118px;
  --grid-line: #ff6647;
  /* Figma 253:1277 — 1440 frame = 18px rail + 1404px content + 18px rail */
  --v6-content-width: min(
    calc(var(--max) - (var(--rail) * 2)),
    calc(100vw - (var(--frame-inset) * 2) - (var(--rail) * 2))
  );
  --v6-content-margin: calc(50% - 50vw + var(--frame-inset) + var(--rail));
}

/* Sticky-note cards — black notebook strokes (not structural --grid-line) */
body.v6 .featured__info {
  border-color: var(--ink);
}

body.v6 .featured__info::before {
  border-right-color: var(--ink);
}

body.v6 .featured__info::after {
  border-left-color: var(--ink);
}

body.v6 .featured__info .info-rails::before {
  border-bottom-color: var(--ink);
}

body.v6 .featured__info .info-rails::after {
  border-top-color: var(--ink);
}

/* Accordion thumbnails — no colored frame stroke */
body.v6 .v2-accordion-body .featured__image {
  border: none;
}

.v2-accordion-body .featured,
.v2-accordion-body .featured * {
  cursor: default;
}

.bgfx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* Copy the dot-paper layer, blur it, then reveal it gradually to the right. */
  background: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.18) 1px, transparent 1.7px) 0 0 / 22px 22px;
  filter: blur(9.7px);
  opacity: 1;
  /* Start slightly before halfway, ramp to full on the right */
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,1) 62%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,1) 62%, rgba(0,0,0,1) 100%);
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.85);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

/* Top bar (Figma-style) */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--nav-grey);
}
.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 106px;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  position: relative;
}
.topbar__rule {
  height: 12px;
  background: var(--paper);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
  margin-inline: var(--rail);
}

.name-pill {
  justify-self: start;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--pink);
  padding: 4px 8px;
  border-radius: 0;
}

.nav-items {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
}
.nav-links a {
  position: relative;
  z-index: 0;
  padding: 4px;
  border-radius: 2px;
  isolation: isolate;
}
.nav-links a::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.22, 0.85, 0.32, 1);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a::after {
    transition: none;
    transform: scaleX(1);
    opacity: 0;
  }
  .nav-links a:hover::after,
  .nav-links a:focus-visible::after {
    opacity: 1;
  }
}

.nav-social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav-social__icon {
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}

.nav-connect,
.btn-connect {
  position: relative;
  overflow: visible;
  transition: transform 220ms cubic-bezier(0.22, 0.85, 0.32, 1);
}
.nav-connect {
  background: var(--ink);
  color: var(--paper);
  border-radius: 40px;
  padding: 8px 20px 9px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  white-space: nowrap;
}
.nav-connect__label,
.btn-connect__label {
  position: relative;
  z-index: 1;
}
.nav-connect__star,
.btn-connect__star {
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: scale(0.35) rotate(180deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 2;
}
.nav-connect__star img,
.btn-connect__star img {
  display: block;
  width: 100%;
  height: 100%;
}
.nav-connect__star--blue,
.btn-connect__star--blue {
  right: 6px;
  top: 2px;
}
.nav-connect__star--pink,
.btn-connect__star--pink {
  left: -2px;
  top: 13px;
}
.nav-connect__star--yellow,
.btn-connect__star--yellow {
  right: 35px;
  bottom: -3px;
}
.nav-connect:hover,
.nav-connect:focus-visible,
.btn-connect:hover,
.btn-connect:focus-visible {
  transform: scale(1.03);
}
.nav-connect:hover .nav-connect__star--blue,
.nav-connect:focus-visible .nav-connect__star--blue,
.btn-connect:hover .btn-connect__star--blue,
.btn-connect:focus-visible .btn-connect__star--blue {
  animation: nav-star-pop 420ms cubic-bezier(0.34, 1.35, 0.64, 1) 0ms forwards;
}
.nav-connect:hover .nav-connect__star--pink,
.nav-connect:focus-visible .nav-connect__star--pink,
.btn-connect:hover .btn-connect__star--pink,
.btn-connect:focus-visible .btn-connect__star--pink {
  animation: nav-star-pop 420ms cubic-bezier(0.34, 1.35, 0.64, 1) 70ms forwards;
}
.nav-connect:hover .nav-connect__star--yellow,
.nav-connect:focus-visible .nav-connect__star--yellow,
.btn-connect:hover .btn-connect__star--yellow,
.btn-connect:focus-visible .btn-connect__star--yellow {
  animation: nav-star-pop 420ms cubic-bezier(0.34, 1.35, 0.64, 1) 140ms forwards;
}
.nav-connect:not(:hover):not(:focus-visible) .nav-connect__star,
.btn-connect:not(:hover):not(:focus-visible) .btn-connect__star {
  animation: none;
}
@keyframes nav-star-pop {
  0% {
    opacity: 0;
    transform: scale(0.35) rotate(180deg);
  }
  65% {
    opacity: 1;
    transform: scale(1.12) rotate(180deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-connect,
  .btn-connect {
    transition: none;
  }
  .nav-connect:hover,
  .nav-connect:focus-visible,
  .btn-connect:hover,
  .btn-connect:focus-visible {
    transform: none;
  }
  .nav-connect:hover .nav-connect__star,
  .nav-connect:focus-visible .nav-connect__star,
  .btn-connect:hover .btn-connect__star,
  .btn-connect:focus-visible .btn-connect__star {
    animation: none;
    opacity: 1;
    transform: scale(1) rotate(180deg);
  }
}

/* Sticky framing rails (left/right) */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: var(--rail);
  background: var(--nav-grey);
  z-index: 40;
  pointer-events: none;
}
body::before { left: var(--frame-inset); border-right: 3px solid var(--ink); }
body::after { right: var(--frame-inset); border-left: 3px solid var(--ink); }

/* V6 — gutters + rails fill to screen edge; ink borders at content column */
body.v6::before,
body.v6::after {
  width: calc(var(--frame-inset) + var(--rail));
  background: var(--frame-fill);
}
body.v6::before {
  left: 0;
  border-right: 3px solid var(--grid-line);
}
body.v6::after {
  right: 0;
  border-left: 3px solid var(--grid-line);
}

/* Paper wrapper + pattern */
.paper {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 110px;
  position: relative;
  z-index: 1;
}

.paper--v2 {
  padding-top: 0;
  padding-bottom: 0;
  background: var(--content-fill);
}

.v2-herohead {
  width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  background: var(--content-fill);
  border-bottom: 3px solid #ff6647;
  box-sizing: border-box;
}

.v2-herohead__inner {
  width: 100%;
  max-width: 1394px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.v2-herohead__panel {
  height: 251px;
  padding: 73px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  box-sizing: border-box;
  min-width: 0;
}

.v2-herohead__panel--left {
  border-right: 3px solid #ff6647;
}

.v2-herohead__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  max-width: 100%;
}

.v2-herohead__panel--right {
  padding: 73px 53px;
}

.v2-herohead__panel--right .v2-herohead__text {
  max-width: none;
  width: 100%;
}

.v2-herohead__panel--right .v2-herohead__copy-block {
  max-width: none;
  width: 100%;
}

@media (min-width: 981px) {
  .v2-herohead__panel--right .v2-herohead__copy-block {
    width: max-content;
  }

  .v2-herohead__panel--right .v2-herohead__copy--lead {
    white-space: nowrap;
  }
}

.v2-herohead__title {
  margin: 0;
  min-height: 59px;
  display: flex;
  align-items: center;
  font-family: "Reglisse", ui-serif, serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 43px;
  letter-spacing: 0.64px;
  color: #ff6647;
  text-transform: none;
}

.v2-herohead__copy {
  margin: 0;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.2px;
  color: #3d3d3d;
}

.v2-herohead__copy-block {
  display: flex;
  flex-direction: column;
}

.v2-herohead__note {
  margin: 0;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.2px;
  color: #ff6647;
  text-decoration: underline;
  text-underline-position: from-font;
}

.v2-projects {
  width: var(--v6-content-width);
  margin-top: 10px;
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  box-sizing: border-box;
  /* Match v2-about__copy right edge: 53px right padding in about column */
  --v6-about-copy-right-inset: 53px;
}

section.v2-projects {
  padding: 0;
}

/* About me — Figma 285:1733 bounce-in cards */
.v2-about {
  margin-top: 0;
}

section.v2-about {
  padding: 0;
}

.v2-about__frame {
  width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  box-sizing: border-box;
  overflow: visible;
  border-left: 3px solid var(--grid-line);
  border-right: 3px solid var(--grid-line);
}

.v2-about__rule {
  box-sizing: border-box;
}

.v2-about__rule--top {
  height: 14px;
  background: #faf7f4;
  border-top: 3px solid var(--grid-line);
  box-sizing: border-box;
}

.v2-about__frame > .v2-about__rule--top {
  width: 100%;
}

.v2-about__cards-stage {
  position: relative;
  width: 100%;
  background: var(--content-fill);
  box-sizing: border-box;
  overflow: visible;
}

.v2-about__cards {
  --v2-about-cards-pad-top: 56px;
  --v2-about-card-width: min(577px, 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1106px;
  margin: 0 auto;
  padding: var(--v2-about-cards-pad-top) 53px 64px;
  box-sizing: border-box;
  overflow: visible;
}

.v2-about-card {
  position: relative;
  width: var(--v2-about-card-width);
  max-width: var(--v2-about-card-width);
  margin: 0 auto -27px;
  padding: 16px 0;
  box-sizing: border-box;
}

.v2-about-card--last {
  margin-bottom: 0;
}

.v2-about-card--tag {
  padding-top: 44px;
  overflow: visible;
}

.v2-about-card__tag-thread {
  position: absolute;
  top: calc(-1 * var(--v2-about-cards-pad-top));
  left: 36px;
  width: 33px;
  height: calc(var(--v2-about-cards-pad-top) + 44px + 88px);
  display: block;
  pointer-events: none;
  z-index: 2;
  transform: rotate(var(--card-tilt, 0deg)) scale(0.88, 0.88);
  transform-origin: center bottom;
  will-change: transform, opacity;
}

.v2-about-card__tag-thread svg {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-about-card__tilt {
  transform: rotate(var(--card-tilt, 0deg));
  transform-origin: center center;
}

.v2-about-card__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 174px;
  padding: 10px 22px;
  border: 2px solid var(--grid-line);
  border-radius: 7px;
  box-sizing: border-box;
}

.v2-about-card__panel--cream {
  background: #feffff;
}

.v2-about-card__panel--white {
  background: #ffffff;
}

.v2-about-card__panel--orange {
  background: #ff6647;
  border-color: #ff6647;
}

.v2-about-card:not(:last-child) .v2-about-card__panel {
  border-bottom: none;
}

.v2-about-card + .v2-about-card .v2-about-card__panel {
  border-top: none;
}

.v2-about-card__outline-title {
  position: relative;
  display: block;
  margin: 0 auto;
  max-width: 531px;
  font-family: "Reglisse Clean", "Reglisse", ui-serif, serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 36px;
  letter-spacing: 0.32px;
  text-align: center;
  color: #ff7151;
}

.v2-about-card__lead {
  margin: 0;
  width: 100%;
  max-width: 549px;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 30px;
  letter-spacing: 0.24px;
  color: #ffffff;
}

.v2-about-card__closing {
  margin: 10px 0 0;
  width: 100%;
  max-width: 540px;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: 20px;
  line-height: 19px;
  letter-spacing: 0.2px;
  color: #ffffff;
}

.v2-about-card__heading {
  margin: 0;
  width: 100%;
  max-width: 535px;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: 20px;
  line-height: 23px;
  letter-spacing: 0.2px;
  color: #ff6647;
}

.v2-about-card__panel--white {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 13px;
}

.v2-about-card__panel--orange:has(.v2-about-card__closing) {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.v2-about-card__body {
  margin: 0;
  width: 100%;
  max-width: 535px;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 15px;
  line-height: 21px;
  letter-spacing: 0.15px;
  color: #3d3d3d;
}

@keyframes about-card-bounce {
  0% {
    opacity: 0;
    transform: rotate(var(--card-tilt, 0deg)) scale(0.88, 0.88);
  }
  18% {
    opacity: 1;
    transform: rotate(var(--card-tilt, 0deg)) scale(1.1, 0.9);
  }
  36% {
    transform: rotate(var(--card-tilt, 0deg)) scale(0.9, 1.1);
  }
  54% {
    transform: rotate(var(--card-tilt, 0deg)) scale(1.05, 0.95);
  }
  72% {
    transform: rotate(var(--card-tilt, 0deg)) scale(0.97, 1.03);
  }
  100% {
    opacity: 1;
    transform: rotate(var(--card-tilt, 0deg)) scale(1, 1);
  }
}

.reveal-bounce {
  opacity: 0;
}

.reveal-bounce .v2-about-card__tag-thread,
.reveal-bounce .v2-about-card__tilt {
  transform: rotate(var(--card-tilt, 0deg)) scale(0.88, 0.88);
  transform-origin: center center;
  will-change: transform, opacity;
}

.v2-about-card--tag.reveal-bounce .v2-about-card__tag-thread {
  transform-origin: center bottom;
}

.reveal-bounce.is-visible {
  opacity: 1;
}

.reveal-bounce.is-visible .v2-about-card__tag-thread,
.reveal-bounce.is-visible .v2-about-card__tilt {
  animation: about-card-bounce 0.72s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-bounce,
  .reveal-bounce .v2-about-card__tag-thread,
  .reveal-bounce .v2-about-card__tilt {
    opacity: 1;
    transform: rotate(var(--card-tilt, 0deg));
    animation: none;
  }
}

/* Previously / Currently — Figma 296:309 */
.v2-status {
  margin-top: 0;
}

section.v2-status {
  padding: 0;
}

.v2-status__frame {
  width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  box-sizing: border-box;
  background: var(--content-fill);
  border-left: 3px solid var(--grid-line);
  border-right: 3px solid var(--grid-line);
}

.v2-status__rule {
  box-sizing: border-box;
}

.v2-about__frame > .v2-status__rule--top {
  width: 100%;
}

.v2-status__rule--top {
  height: 14px;
  background: #faf7f4;
  border-top: 3px solid var(--grid-line);
}

.v2-status__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  width: 100%;
  background: var(--content-fill);
  box-sizing: border-box;
}

.v2-status__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  min-height: 251px;
  padding: 73px 42px;
  background: var(--content-fill);
  box-sizing: border-box;
}

.v2-status__col--prev {
  border-right: 3px solid var(--grid-line);
}

.v2-status__col--current {
  padding-left: 53px;
  padding-right: 53px;
}

.v2-status__title {
  margin: 0;
  font-family: "Reglisse", ui-serif, serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 43px;
  letter-spacing: 0.64px;
  color: #ff6647;
}

.v2-status__detail {
  margin: 0;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.2px;
  color: #3d3d3d;
  word-break: break-word;
}

/* Footer — Figma 285:1691 */
.v6-footer {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.v6-footer__frame {
  width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  box-sizing: border-box;
}

.v6-footer__rule {
  box-sizing: border-box;
}

.v2-status__frame > .v6-footer__rule--top {
  width: 100%;
  border-left: 3px solid var(--grid-line);
  border-right: 3px solid var(--grid-line);
}

.v6-footer__rule--top {
  height: 17px;
  background: #faf7f4;
  border-top: 3px solid var(--grid-line);
  border-bottom: 3px solid var(--grid-line);
}

.v6-footer__rule--bottom {
  height: 12px;
  margin-bottom: 0;
  background: #ffffff;
  border-top: 3px solid var(--grid-line);
}

body.v6 main > .section:last-of-type {
  padding-bottom: 0;
}

.v6-footer__body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: auto;
  padding: 48px 42px;
  background: #ff6647;
  border-right: 3px solid var(--grid-line);
  box-sizing: border-box;
}

.v6-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.v6-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 43px;
}

.v6-footer__nav a {
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.16px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.v6-footer__nav a:hover,
.v6-footer__nav a:focus-visible {
  opacity: 0.85;
}

.v6-footer__social {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  color: #ffffff;
  transition: opacity 180ms ease, transform 180ms ease;
}

.v6-footer__social:hover,
.v6-footer__social:focus-visible {
  opacity: 0.85;
  transform: scale(1.06);
}

.v6-footer__social .icon-linkedin {
  width: 25px;
  height: 25px;
  display: block;
}

.v6-footer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 190px;
  padding: 21px 0;
  text-align: center;
  box-sizing: border-box;
}

.v6-footer__cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin-bottom: 0;
}

.v6-footer__title {
  margin: 0;
  font-family: "Reglisse", ui-serif, serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 43px;
  letter-spacing: 0.48px;
  color: #ffffff;
}

.v6-footer__subtitle {
  margin: 0;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.24px;
  color: #ffffff;
}

.v6-footer__connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  margin-top: 0;
  padding: 5px 20px 7px;
  border: 2px solid #fcf8ec;
  border-radius: 40px;
  background: #ff6647;
  color: #ffffff;
  font-family: "Reglisse Clean", "Reglisse", ui-serif, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 220ms cubic-bezier(0.22, 0.85, 0.32, 1);
}

.v6-footer__connect:hover,
.v6-footer__connect:focus-visible {
  background: #ffffff;
  color: #ff6647;
  border-color: #fcf8ec;
  transform: scale(1.05);
}

.v6-footer__copy {
  margin: 0;
  width: 100%;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.13px;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.v6-footer a:focus-visible,
.v6-footer__connect:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .v6-footer__connect {
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  }

  .v6-footer__connect:hover,
  .v6-footer__connect:focus-visible {
    transform: none;
  }
}

.v2-project-selector {
  --tab-chrome-border: #ffad65;
  --tab-chrome-gap: #ffbd7e;
}

.v2-project-selector__bar {
  position: relative;
  width: 100%;
  background: transparent;
  border-top: 3px solid var(--tab-chrome-border, #ffad65);
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.v2-project-selector__inner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: stretch;
  gap: 3px;
  min-height: 63px;
  background: var(--tab-chrome-gap, #ffbd7e);
  transition: background-color 0.2s ease;
}

.v2-project-selector__slot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 464px;
  height: 63px;
  background: #ffffff;
  flex: 0 0 auto;
  border: none;
  padding: 14px 111px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.v2-project-selector__slot:focus-visible {
  outline: 2px solid #fffefe;
  outline-offset: -2px;
}

.v2-project-selector__slot--active {
  background: var(--tab-active-bg, #ffad65);
}

.v2-project-selector__slot:hover:not(.v2-project-selector__slot--active) {
  background: var(--tab-hover-bg, #ffad65);
}

.v2-project-selector__logos {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.v2-project-selector__thumb {
  display: none;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  transition:
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.2s ease;
}

.v2-project-selector__thumb--grey {
  display: block;
}

/* Idle (inactive) logo sizes — grow on hover/active */
.v2-project-selector__thumb--redbull {
  width: 55px;
  height: 35px;
  filter: grayscale(1) brightness(0.72);
}

.v2-project-selector__thumb--love-island {
  width: 72px;
  height: 28px;
  object-fit: contain;
  object-position: center;
}

/* TMDB wordmark SVG — inactive: 50% grey, 50% opacity */
.v2-project-selector__thumb--grey.v2-project-selector__thumb--love-island {
  opacity: 0.5;
  filter: brightness(0) saturate(0%);
}

/* Active / hover: white */
.v2-project-selector__thumb--color.v2-project-selector__thumb--love-island {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.v2-project-selector__thumb--naraka {
  width: 58px;
  height: 37px;
}

.v2-project-selector__thumb--color {
  display: none;
}

/* Active / hover — full Figma logo sizes */
.v2-project-selector__slot--active .v2-project-selector__thumb--redbull,
.v2-project-selector__slot:hover .v2-project-selector__thumb--redbull {
  width: 76px;
  height: 49px;
}

.v2-project-selector__slot--active .v2-project-selector__thumb--love-island,
.v2-project-selector__slot:hover .v2-project-selector__thumb--love-island {
  width: 96px;
  height: 36px;
}

.v2-project-selector__slot--active .v2-project-selector__thumb--love-island.v2-project-selector__thumb--color,
.v2-project-selector__slot:hover .v2-project-selector__thumb--love-island.v2-project-selector__thumb--color {
  opacity: 1;
  filter: brightness(0) invert(1);
}

.v2-project-selector__slot--active .v2-project-selector__thumb--naraka,
.v2-project-selector__slot:hover .v2-project-selector__thumb--naraka {
  width: 74px;
  height: 47px;
}

.v2-project-selector__slot--active .v2-project-selector__thumb--redbull,
.v2-project-selector__slot:hover .v2-project-selector__thumb--redbull.v2-project-selector__thumb--color {
  filter: none;
}

.v2-project-selector__slot--active .v2-project-selector__thumb--grey,
.v2-project-selector__slot:hover .v2-project-selector__thumb--grey {
  display: none;
}

.v2-project-selector__slot--active .v2-project-selector__thumb--color,
.v2-project-selector__slot:hover .v2-project-selector__thumb--color {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .v2-project-selector__thumb {
    transition: filter 0.2s ease;
  }

  .v2-project-selector__slot:not(.v2-project-selector__slot--active):not(:hover) .v2-project-selector__thumb--redbull {
    width: 55px;
    height: 35px;
  }

  .v2-project-selector__slot:not(.v2-project-selector__slot--active):not(:hover) .v2-project-selector__thumb--love-island {
    width: 72px;
    height: 28px;
  }

  .v2-project-selector__slot:not(.v2-project-selector__slot--active):not(:hover) .v2-project-selector__thumb--naraka {
    width: 58px;
    height: 37px;
  }
}

.v2-accordion-panels {
  width: 100%;
  margin-top: 0;
}

.v2-accordion-panel[hidden] {
  display: none;
}

.v2-accordion-body {
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.v2-accordion-body__base {
  background: var(--content-fill);
  padding: 19px;
  box-sizing: border-box;
}

/* Thumbnail surround — matches active tab header color */
.v2-accordion-panel--active .v2-accordion-body__base {
  background: var(--panel-tab-bg, var(--content-fill));
}

.v2-accordion-panel--active .v2-accordion-body .featured__image {
  background: var(--panel-tab-bg, var(--content-fill));
}

.v2-accordion-body .featured {
  --v2-accordion-height: 588px;
  --v2-note-width: 408px;
  --case-info-right: calc(var(--v6-about-copy-right-inset) - 19px);
  --case-blur-full: calc(100% - var(--case-info-right) - min(var(--v2-note-width), calc(100% - 36px)));
}

.v2-accordion-body .featured__image {
  height: var(--v2-accordion-height);
  min-height: 588px;
  max-height: 588px;
  border: none;
  border-radius: 5px;
  box-shadow: none;
}

.v2-accordion-body .featured__info--v2 {
  right: var(--case-info-right);
  width: min(var(--v2-note-width), calc(100% - 36px));
  min-height: 326px;
  background: rgba(255, 255, 255, 0.95);
}

/* Figma 229:819 sticky note */
.v2-accordion-body .featured__info--v2::before,
.v2-accordion-body .featured__info--v2::after {
  width: 6px;
  background: #ffffff;
}

.v2-accordion-body .featured__info--v2 .info-rails::before,
.v2-accordion-body .featured__info--v2 .info-rails::after {
  left: 6px;
  right: 6px;
  width: auto;
  height: 7px;
  background: #ffffff;
}

.v2-accordion-body .featured__info--v2 .info-content {
  padding: 30px 28px 28px;
  padding-left: calc(28px + 6px);
  padding-right: calc(28px + 6px);
}

.v2-accordion-body .featured__info--v2 .info-tape {
  width: 93px;
  top: 0;
}

.v2-accordion-body .featured__info--v2 .featured__name {
  font-size: 36px;
  line-height: 45px;
  letter-spacing: 0.36px;
  font-weight: 400;
  margin: 0 0 6px;
}

.v2-accordion-body .featured__info--v2 .tagrow {
  margin: 4px 0 10px;
  gap: 6px;
}

.v2-accordion-body .featured__info--v2 .tag {
  font-size: 10px;
  line-height: 22px;
  letter-spacing: 0.1px;
  padding: 0 5px;
  border-radius: 7px;
  border-color: var(--peach-soft);
  color: #3d3d3d;
  background: rgba(255, 255, 255, 0.6);
}

.v2-accordion-body .featured__info--v2 .quote {
  grid-template-columns: 30px 1fr 30px;
  column-gap: 6px;
  padding: 8px 0 12px;
}

.v2-accordion-body .featured__info--v2 .quote__mark {
  font-size: 64px;
  line-height: 1;
  font-weight: 500;
  color: var(--peach-soft);
}

.v2-accordion-body .featured__info--v2 .quote--peach .quote__mark--end {
  line-height: 1.1;
  align-self: end;
}

.v2-accordion-body .featured__info--v2 .quote__text,
.v2-accordion-body .featured__info--v2 .quote__text p,
.v2-accordion-body .featured__info--v2 .quote--peach .quote__text,
.v2-accordion-body .featured__info--v2 .quote--peach .quote__text p {
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.16px;
}

.v2-accordion-body .featured__info--v2 .quote__text p {
  margin: 0 0 8px;
}

.v2-accordion-body .featured__info--v2 .quote__text--bold,
.v2-accordion-body .featured__info--v2 .quote__text p.quote__text--bold {
  font-weight: 600;
  margin-bottom: 0;
}

.v2-accordion-body .featured__info--v2 .emph-performative {
  background: var(--yellow);
  padding: 0 6px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.v2-accordion-body .featured__info--v2 .quote:not(.quote--peach) .quote__mark {
  color: rgba(157, 220, 255, 0.85);
}

.v2-accordion-body .featured__info--v2 .quote:not(.quote--peach) .tag {
  border-color: rgba(157, 220, 255, 0.55);
}

.v2-accordion-body .featured__info--v2 .quote__text mark {
  background: var(--yellow);
  padding: 0 4px;
  font-weight: 600;
}

.v2-accordion-body .featured__info--v2 .btn-connect,
.v2-accordion-body .featured__info--v2 .btn--soon {
  margin-top: 12px;
}

/* Figma 267:1497 — Red Bull sticky note */
.v2-accordion-body .featured__info--redbull {
  display: flex;
  flex-direction: column;
  min-height: 326px;
}

.v2-accordion-body .featured__info--redbull .info-tape {
  display: block;
  width: 93px;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 6;
}

.v2-accordion-body .featured__info--redbull .info-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.v2-accordion-body .featured__info--redbull .featured__note-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 28px;
  width: 100%;
}

.v2-accordion-body .featured__info--redbull .featured__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.v2-accordion-body .featured__info--redbull .featured__name {
  margin: 0;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: 36px;
  line-height: 45px;
  letter-spacing: 0.36px;
  color: var(--ink);
}

.v2-accordion-body .featured__info--redbull .tagrow {
  margin: 0;
  gap: 10px;
}

.v2-accordion-body .featured__info--redbull .quote--redbull {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 0;
  grid-template-columns: none;
}

.v2-accordion-body .featured__info--redbull .quote--redbull .quote__mark {
  flex: 0 0 auto;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: 64px;
  line-height: 45px;
  letter-spacing: 0.64px;
  color: var(--peach-soft);
}

.v2-accordion-body .featured__info--redbull .quote--redbull .quote__mark--end {
  width: 30px;
  line-height: 1;
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: rotate(180deg);
}

.v2-accordion-body .featured__info--redbull .quote--redbull .quote__text {
  flex: 1 1 0;
  min-width: 0;
  max-width: 262px;
}

.v2-accordion-body .featured__info--redbull .quote--redbull .quote__text p {
  margin: 0 0 8px;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0.42px;
  color: #3d3d3d;
}

.v2-accordion-body .featured__info--redbull .quote--redbull .quote__text p.quote__text--bold {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.48px;
  color: var(--ink);
}

.v2-accordion-body .featured__info--redbull .emph-performative {
  background: var(--yellow);
  padding: 0 6px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.v2-accordion-body .featured__info--redbull .btn-view-case {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 9px 24px;
  border: none;
  border-radius: 19px;
  background: var(--ink);
  color: #ffffff;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: 15px;
  line-height: 18px;
  letter-spacing: 0.15px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.v2-accordion-body .featured__info--redbull .btn-view-case:hover,
.v2-accordion-body .featured__info--redbull .btn-view-case:focus-visible {
  background: #3d3d3d;
}

.v2-accordion-body .featured__info--redbull .btn-view-case--soon {
  cursor: default;
  pointer-events: none;
}

.v2-accordion-body .featured__info--redbull .btn-view-case--soon:hover,
.v2-accordion-body .featured__info--redbull .btn-view-case--soon:focus-visible {
  background: var(--ink);
}

/* Love Island USA — Red Bull sticky layout, no quote/tags */
.v2-accordion-body .featured__info--love-island .featured__note-body {
  gap: 0;
  margin-top: auto;
}

@media (max-width: 980px) {
  :root {
    --pad: 24px;
    --v6-mobile-menu-btn-top: 22px;
    --v6-mobile-menu-btn-size: 44px;
  }

  body.v6 {
    --v6-side-gutter: calc(var(--frame-inset) + var(--rail) + 3px);
    --v6-content-width: 100%;
    --v6-content-margin: 0;
  }

  .paper--v2 {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--v6-side-gutter);
    padding-right: var(--v6-side-gutter);
    box-sizing: border-box;
    overflow-x: clip;
  }

  .v6-header__inner,
  .v6-header__rule {
    width: calc(100% - (2 * var(--v6-side-gutter)));
    max-width: calc(100vw - (2 * var(--v6-side-gutter)));
    margin-left: var(--v6-side-gutter);
    margin-right: var(--v6-side-gutter);
    box-sizing: border-box;
  }

  .v2-herohead,
  .v2-projects,
  .v2-about__frame,
  .v2-status__frame,
  .v6-footer__frame {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .v6-header__inner {
    padding-left: var(--pad);
    padding-right: var(--pad);
    flex-wrap: nowrap;
    height: 88px;
    min-height: 88px;
  }

  .v6-header__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .v6-header__menu-toggle {
    display: flex;
    position: relative;
    z-index: 80;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .v6-header.is-menu-open .v6-header__menu-toggle {
    visibility: hidden;
    pointer-events: none;
  }

  .v6-header__menu-close {
    display: none;
    position: fixed;
    top: var(--v6-mobile-menu-btn-top);
    right: calc(var(--v6-side-gutter) + var(--pad));
    z-index: 75;
    align-items: center;
    justify-content: center;
    width: var(--v6-mobile-menu-btn-size);
    height: var(--v6-mobile-menu-btn-size);
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #fffefe;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
  }

  .v6-header.is-menu-open .v6-header__menu-close {
    display: flex;
  }

  .v6-header__menu-close:hover,
  .v6-header__menu-close:focus-visible {
    opacity: 0.9;
  }

  .v6-header__menu-close:focus-visible {
    outline: 2px solid #fffefe;
    outline-offset: 3px;
  }

  .v6-header__links {
    position: fixed;
    inset: 0;
    z-index: 70;
    width: 100%;
    max-width: none;
    height: 100%;
    flex: none;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    padding: calc(var(--header-offset) + 24px) var(--pad) 48px;
    background: #ff6647;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }

  .v6-header.is-menu-open .v6-header__links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .v6-header__navlinks {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    padding-left: var(--pad);
    padding-right: var(--pad);
    box-sizing: border-box;
  }

  .v6-header__navlinks .v6-navlink {
    color: #fffefe;
    padding: 4px 0;
  }

  .v6-header__navlinks .v6-navlink:hover,
  .v6-header__navlinks .v6-navlink:focus-visible {
    color: #fffefe;
  }

  .v6-header__navlinks .v6-navlink .v6-navlink__highlight {
    display: none;
  }

  .v6-header__navlinks .v6-navlink .v6-navlink__label {
    font-size: clamp(28px, 7vw, 36px);
    line-height: 1.2;
    font-weight: 500;
    color: inherit;
  }

  .v6-header__navlinks .v6-navlink:focus-visible {
    outline: 2px solid #fffefe;
    outline-offset: 4px;
  }

  .v6-header__social {
    width: auto;
    height: auto;
    align-self: flex-start;
    margin-left: var(--pad);
    margin-right: var(--pad);
    color: #fffefe;
  }

  .v6-header__social .icon-linkedin {
    width: 22px;
    height: 22px;
    display: block;
  }

  .v6-header .nav-connect {
    align-self: flex-start;
    margin-left: var(--pad);
    margin-right: var(--pad);
    width: calc(100% - (var(--pad) * 2));
    max-width: none;
    min-height: 44px;
    padding: 8px 28px 10px;
    border: 2px solid #fffefe;
    border-radius: 40px;
    background: transparent;
    color: #fffefe;
    font-size: clamp(18px, 4.5vw, 22px);
    line-height: 1.2;
  }

  .v6-header .nav-connect:hover,
  .v6-header .nav-connect:focus-visible {
    background: #fffefe;
    color: #ff6647;
    border-color: #fffefe;
  }

  .v2-status__frame {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .v2-status__grid {
    grid-template-columns: 1fr;
  }

  .v2-status__col {
    flex: 1 1 auto;
    min-height: auto;
    padding: 40px var(--pad);
  }

  .v2-status__col--prev {
    border-right: none;
    border-bottom: 3px solid var(--grid-line);
  }

  .v2-status__col--current {
    padding: 40px var(--pad);
  }

  .v2-herohead__inner {
    max-width: 100%;
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
  }

  .v2-herohead__panel,
  .v2-herohead__panel--right {
    height: auto;
    padding: 36px var(--pad);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .v2-herohead__panel--left {
    border-right: none;
    border-bottom: 3px solid #ff6647;
  }

  .v2-herohead__text,
  .v2-herohead__panel--right .v2-herohead__text,
  .v2-herohead__panel--right .v2-herohead__copy-block {
    max-width: 100%;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .v2-herohead__panel--right .v2-herohead__copy-block {
    width: 100%;
    max-width: 100%;
  }

  .v2-herohead__title {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    font-size: clamp(28px, 8vw, 48px);
    line-height: 1.1;
    min-height: 0;
    letter-spacing: 0.02em;
    padding-inline: 2px;
    box-sizing: border-box;
  }

  .v2-herohead__copy,
  .v2-herohead__note,
  .v2-status__detail {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.45;
    letter-spacing: 0.2px;
    box-sizing: border-box;
  }

  .v2-herohead__copy--lead {
    white-space: normal;
  }

  .v2-project-selector__bar {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .v2-project-selector__inner {
    width: 100%;
    min-height: 56px;
  }
  .v2-project-selector__slot {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 10px 6px;
  }
  .v2-accordion-panels {
    padding: 0;
    box-sizing: border-box;
  }
  .v2-accordion-body__base {
    padding: 12px var(--pad);
  }
  .v2-accordion-body .featured {
    display: flex;
    flex-direction: column;
    --v2-accordion-height: auto;
  }
  .v2-accordion-body .featured__image {
    width: 100%;
    height: auto;
    min-height: clamp(220px, 52vw, 400px);
    max-height: none;
    aspect-ratio: 16 / 10;
  }
  .v2-accordion-body .featured__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .v2-accordion-body .featured__info--v2,
  .v2-accordion-body .featured__info--redbull {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    margin: 12px 0 0;
    box-sizing: border-box;
  }

  .v2-accordion-body .featured__info--redbull .quote--redbull .quote__text {
    max-width: 100%;
    flex: 1 1 auto;
  }

  .v2-accordion-body .featured__info--redbull .featured__name,
  .v2-accordion-body .featured__info--v2 .featured__name {
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .v2-about__cards-stage {
    max-width: 100%;
    overflow: hidden;
  }

  .v2-about__cards {
    padding: 40px var(--pad) 48px;
    box-sizing: border-box;
  }

  .v2-about-card {
    max-width: 100%;
    margin-bottom: -20px;
    padding: 12px 0;
    box-sizing: border-box;
  }

  .v2-about-card--tag {
    padding-top: 36px;
  }

  .v2-about-card__tag-thread {
    left: 20px;
    width: 26px;
    height: calc(var(--v2-about-cards-pad-top) + 36px + 72px);
  }

  .v2-about-card__panel {
    min-height: auto;
    padding: 16px 18px;
  }

  .v6-footer__body {
    min-height: auto;
    padding: 36px var(--pad);
  }

  .v6-footer__nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: clamp(12px, 3.5vw, 28px);
    min-width: 0;
  }

  .v6-footer__nav a {
    font-size: clamp(13px, 3.2vw, 16px);
    white-space: nowrap;
  }

  .v6-footer__top {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
  }

  .v6-footer__social {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .v6-footer__social .icon-linkedin {
    width: 18px;
    height: 18px;
  }

  .v6-footer__cta {
    padding: 16px 0;
  }

  .v2-status__col,
  .v6-footer__body,
  .v2-about-card__panel {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .paper--v2 > section {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --pad: 20px;
    --v6-mobile-menu-btn-top: 18px;
    --v6-mobile-menu-btn-size: 40px;
  }

  body.v6 {
    --rail: 10px;
    --header-offset: 96px;
    --v6-side-gutter: calc(var(--frame-inset) + var(--rail) + 3px);
  }

  .v6-header__inner {
    height: 80px;
    min-height: 80px;
    padding: 10px var(--pad);
  }

  .v6-header__menu-toggle,
  .v6-header__menu-close {
    width: var(--v6-mobile-menu-btn-size);
    height: var(--v6-mobile-menu-btn-size);
    font-size: 24px;
  }

  .v6-header__menu-close {
    right: calc(var(--v6-side-gutter) + var(--pad));
  }

  .v6-header__brand {
    font-size: clamp(26px, 7.5vw, 36px);
    height: auto;
    line-height: 1.1;
  }

  .v2-herohead__panel,
  .v2-herohead__panel--right {
    padding: 32px var(--pad);
  }

  .v2-herohead__title {
    font-size: clamp(26px, 9vw, 40px);
  }

  .v2-herohead__copy,
  .v2-herohead__note,
  .v2-status__detail {
    font-size: clamp(14px, 4vw, 17px);
  }

  .v2-project-selector__inner {
    min-height: 52px;
  }

  .v2-project-selector__slot {
    padding: 8px 4px;
  }

  .v6-footer__nav {
    gap: 10px;
  }

  .v6-footer__nav a {
    font-size: 13px;
  }

  .v6-footer__social,
  .v6-footer__social .icon-linkedin {
    width: 16px;
    height: 16px;
  }

  .v2-accordion-body__base {
    padding: 10px var(--pad);
  }

  .v2-accordion-body .featured__image {
    min-height: clamp(200px, 48vw, 320px);
    aspect-ratio: 4 / 3;
  }

  .v2-accordion-body .featured__info--v2 .info-content,
  .v2-accordion-body .featured__info--redbull .info-content {
    padding: 24px 18px 20px;
    padding-left: calc(18px + 6px);
    padding-right: calc(18px + 6px);
  }

  .v2-about__cards {
    padding: 32px var(--pad) 40px;
  }

  .v2-status__col {
    padding: 32px var(--pad);
  }

  .v6-footer__body {
    padding: 32px var(--pad);
  }
}

.paper__pattern {
  display: none;
}
.paper > * { position: relative; z-index: 1; }

.section { padding: 44px 0; }
main > .section:last-of-type {
  padding-bottom: 16px;
}
.section--tight { padding-top: 8px; }
.section--after-tagline {
  padding-top: clamp(88px, 14vh, 160px);
}
.section--last { padding-bottom: 110px; }

/* Hero */
.hero {
  padding-top: 18px;
  padding-bottom: 0;
}
.hero.hero--viewport.section {
  padding-bottom: 0;
}
.hero--viewport {
  min-height: calc(100svh - var(--header-offset));
  display: flex;
  flex-direction: column;
}
.hero__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 0;
}
.hero__notepad {
  position: relative;
  width: min(765px, 100%);
  aspect-ratio: 765 / 440;
  max-height: min(440px, 52vh);
  margin-top: 10px;
}

.hero__notepad__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.hero__note {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(156px, 20.4vw);
  min-height: 151px;
  padding: 41px 23px;
  box-sizing: border-box;
  box-shadow: 3px 4px 2px rgba(0, 0, 0, 0.13);
  font-family: "Patrick Hand", cursive;
  font-size: clamp(14px, 1.65vw, 16px);
  line-height: 1.3125;
  letter-spacing: 0.03em;
  color: #33363f;
  text-align: center;
}

.hero__note-age {
  margin: 0 0 0.25em;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero__note-text {
  margin: 0;
}

.hero__note-emph {
  font-weight: 400;
}

.hero__note--blue {
  left: 18.6%;
  top: 19.4%;
  transform: rotate(-1.9deg);
  background: var(--blue);
}

.hero__note-cluster {
  position: absolute;
  left: 34%;
  top: 45.5%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 8px;
  max-width: 58%;
}

.hero__note--yellow {
  position: relative;
  flex: 0 0 auto;
  margin-right: -15px;
  transform: rotate(2.32deg);
  background: var(--yellow);
}

.hero__note-caption {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 172px;
  font-family: Karla, ui-sans-serif, system-ui;
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.285;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.hero__note-caption p {
  margin: 0 0 0 8px;
}

.hero__note-caption__arrow {
  flex: none;
  width: 37px;
  height: auto;
  margin-top: 2px;
  transform: rotate(59deg) scaleY(-1);
}

@media (max-width: 720px) {
  .hero__note-cluster {
    left: 28%;
    top: 48%;
    max-width: 68%;
  }

  .hero__note--blue {
    left: 8%;
    top: 16%;
  }

  .hero__note {
    width: min(140px, 38vw);
    min-height: 130px;
    padding: 32px 16px;
  }
}

.hero__blurb {
  width: min(680px, 100%);
  display: grid;
  justify-items: center;
  margin-top: 16px;
}
.blurb {
  display: grid;
  grid-template-columns: 97px 1fr;
  gap: 18px;
  align-items: center;
  justify-content: center;
  width: min(458px, 100%);
  height: 138px;
  padding: 16px 18px;
  border: 1px solid var(--muted);
  background: #ffffff;
  border-radius: 4px;
  position: relative;
}
.blurb__pic {
  width: 97px;
  height: 97px;
  border-radius: 8px;
  object-fit: cover;
}
.blurb__tape {
  position: absolute;
  width: 60px;
  height: 56px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}
.blurb__tape--tl { left: -14px; top: -14px; }
.blurb__tape--br { right: -14px; bottom: -14px; transform: rotate(180deg); }
.blurb__name {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.blurb__role {
  margin: 2px 0 0 0;
  font-weight: 500;
  font-size: 18px;
  color: var(--muted);
}
.blurb__meta {
  margin: 8px 0 0 0;
  font-weight: 500;
  font-size: 16px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pin-fa {
  width: 20px;
  height: 20px;
  color: #33363f;
  flex: none;
}

.scrollhint {
  font-family: "Patrick Hand SC", cursive;
  font-size: 24px;
  letter-spacing: 0.03em;
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  padding-bottom: 14px;
}
.scrollhint__arrow {
  width: 30px;
  height: auto;
  opacity: 0.9;
  display: block;
}

/* Tagline banner (Figma 127:191 — pinned to bottom of hero viewport) */
.tagline-banner {
  flex: 0 0 auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  background: #000000;
  color: #ffffff;
  box-sizing: border-box;
}
.tagline-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 65px 10px;
}
.tagline-banner__headline {
  margin: 0;
  max-width: 1231px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 45px;
  letter-spacing: 0.32px;
  text-align: center;
  color: #ffffff;
}
@media (max-width: 720px) {
  .tagline-banner__inner {
    padding-block: clamp(40px, 10vw, 65px);
  }
  .tagline-banner__headline {
    line-height: 1.35;
  }
}

/* Section title */
.section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 18px;
}
.section-title__label {
  background: var(--yellow);
  padding: 6px 8px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}
.section-title__arrow {
  width: 36px;
  height: auto;
  opacity: 0.9;
  display: block;
}

/* Featured — static cards, spaced in the flow */
.stack {
  display: grid;
  gap: clamp(56px, 8vw, 96px);
}

.v6-carousel {
  position: relative;
}

.v6-carousel__stage {
  position: sticky;
  top: calc(var(--header-offset) + 24px);
  height: calc(100svh - var(--header-offset) - 48px);
  display: grid;
  place-items: center;
  width: 100%;
}

.v6-carousel__card {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(1280px, 100%);
  transform-origin: center;
  will-change: transform, opacity, filter;
  transition:
    transform 520ms cubic-bezier(0.22, 0.9, 0.22, 1),
    opacity 520ms ease;
}

.v6-carousel__card[data-card-state="active"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 3;
}

.v6-carousel__card[data-card-state="prev"] {
  opacity: 0.28;
  transform: translateY(-120px) scale(0.86);
  z-index: 2;
}

.v6-carousel__card[data-card-state="next"] {
  opacity: 0.28;
  transform: translateY(120px) scale(0.86);
  z-index: 2;
}

.v6-carousel__card[data-card-state="far"] {
  opacity: 0.14;
  transform: translateY(220px) scale(0.78);
  z-index: 1;
}

.v6-carousel__steps {
  position: relative;
  width: 100%;
}

.v6-carousel__step {
  height: 92svh;
}

@media (max-width: 720px) {
  .v6-carousel__stage {
    top: calc(var(--header-offset) + 12px);
    height: calc(100svh - var(--header-offset) - 24px);
  }
  .v6-carousel__card[data-card-state="prev"] { transform: translateY(-90px) scale(0.9); }
  .v6-carousel__card[data-card-state="next"] { transform: translateY(90px) scale(0.9); }
  .v6-carousel__card[data-card-state="far"] { transform: translateY(170px) scale(0.84); }
}

.case {
  position: relative;
}

.featured {
  position: relative;
  display: block;
  --case-info-right: 18px;
  --case-blur-full: calc(100% - var(--case-info-right) - min(420px, calc(100% - 36px)));
}
.featured__image {
  position: relative;
  border: 8px solid var(--blue);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  background: #c4c4c4;
  height: var(--case-viewport);
  min-height: 520px;
  max-height: 900px;
}
.featured__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--case-img);
  background-size: cover;
  background-position: center;
  filter: blur(11px);
  clip-path: inset(0 0 0 50%);
  mask-image: linear-gradient(to right, transparent 50%, #000 var(--case-blur-full));
  -webkit-mask-image: linear-gradient(to right, transparent 50%, #000 var(--case-blur-full));
  z-index: 2;
  pointer-events: none;
}
.featured__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  clip-path: inset(0 0 0 50%);
  mask-image: linear-gradient(to right, transparent 50%, #000 var(--case-blur-full));
  -webkit-mask-image: linear-gradient(to right, transparent 50%, #000 var(--case-blur-full));
  z-index: 3;
  pointer-events: none;
}
.featured__image--yellow {
  border-color: var(--yellow);
}

.featured__image--empty {
  background: #e8e8e8;
}

.featured__image--empty::before,
.featured__image--empty::after {
  content: none;
  display: none;
}

.featured__image img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.featured__info {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  isolation: isolate;
  width: min(420px, calc(100% - 36px));
  background: #ffffff;
  border-radius: 5px;
  border: 1px solid var(--ink);
  padding: 0;
  /* allow tape to overflow outside the card */
  overflow: visible;
}
.featured__info::before,
.featured__info::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  background: var(--nav-grey);
  z-index: 3; /* above the top/bottom strips */
}
.featured__info::before {
  left: 0;
  border-right: 1px solid var(--ink);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.featured__info::after {
  right: 0;
  border-left: 1px solid var(--ink);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Top/bottom horizontal strips (under the left/right strips) */
.featured__info .info-rails {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.featured__info .info-rails::before,
.featured__info .info-rails::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: var(--paper);
  z-index: 2;
}
.featured__info .info-rails::before {
  top: 0;
  border-bottom: 1px solid var(--ink);
}
.featured__info .info-rails::after {
  bottom: 0;
  border-top: 1px solid var(--ink);
}

/* Ensure card content sits above rails */
.featured__info > *:not(.info-rails) {
  position: relative;
  z-index: 4;
}

.info-content {
  padding: 18px 40px 40px;
  padding-left: calc(40px + 10px);
  padding-right: calc(40px + 10px);
}

.info-tape {
  position: absolute;
  left: 50%;
  /* Center the tape on the top horizontal strip (10px tall) */
  top: 5px;
  transform: translate(-50%, -50%);
  width: 96px;
  height: auto;
  z-index: 5;
  pointer-events: none;
}
.featured__name {
  margin: 0 0 10px 0;
  font-family: "Generic Classic", ui-serif, serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.01em;
}
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.tag {
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid rgba(157, 220, 255, 0.55);
  padding: 2px 8px;
  border-radius: 7px;
  background: rgba(255,255,255,0.6);
}
.quote { position: relative; padding: 8px 0 0; }
.quote {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: stretch;
  column-gap: 10px;
  padding: 20px 0;
}
.quote__mark {
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  margin: 0;
  color: rgba(157, 220, 255, 0.7);
}
.quote__mark {
  display: flex;
  height: 100%;
}
.quote__mark:first-child { align-items: flex-start; justify-content: flex-start; align-self: stretch; }
.quote__mark--end { align-items: flex-end; justify-content: flex-end; align-self: stretch; transform: rotate(180deg); }
.quote__text {
  margin: 0;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
  align-self: stretch;
}
.quote--peach {
  align-items: start;
}

.quote--peach .quote__mark {
  color: var(--peach);
  font-weight: 500;
}

.quote--peach .quote__mark:first-child {
  align-self: start;
}

.quote--peach .quote__mark--end {
  align-self: end;
  height: auto;
  margin-top: auto;
}

.quote__text p {
  margin: 0 0 10px;
}

.quote__text p:last-child {
  margin-bottom: 0;
}

.quote__text--bold,
.quote__text p.quote__text--bold {
  font-weight: 700;
}

.emph-performative {
  background: var(--yellow);
  padding: 0 6px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.emph-yellow {
  background: var(--yellow);
  padding: 0 6px;
  font-weight: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.quote--peach .quote__text,
.quote--peach .quote__text p,
.quote--peach .quote__text--bold {
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-size: 14px;
  line-height: 1.3;
}

.quote--peach .quote__text p.quote__text--bold {
  line-height: 1.25;
}

.quote--peach .emph-performative {
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  vertical-align: baseline;
}

.cs-hero__question .emph-performative {
  font-size: clamp(36px, 8vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.section-title--case .emph-performative {
  font-size: clamp(38px, 8vw, 58px);
  line-height: 1;
  background: transparent;
  padding: 0;
}

.quote__text mark {
  background: var(--yellow);
  padding: 0 4px;
}
.muted { color: var(--muted); margin: 10px 0 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 600;
  border: 2px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.btn--black { background: var(--ink); color: var(--paper); }
.btn--outline { background: transparent; }
.btn--soon {
  background: #ffffff;
  color: var(--ink);
  border: 2px solid var(--ink);
  cursor: default;
  pointer-events: none;
}
.featured__info .btn--black,
.featured__info .btn--soon,
.featured__info .btn-connect {
  width: 100%;
  margin-top: 20px;
  font-family: Fredoka, ui-sans-serif, system-ui;
}

.featured--placeholder .featured__info .info-content {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.featured--placeholder .featured__info .quote--spacer {
  flex: 1;
  min-height: 140px;
  margin: 0;
  padding: 20px 0;
  visibility: hidden;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 18px 72px;
  align-items: center;
}
.about__photos {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  overflow: visible;
}
.about__copy {
  padding-left: 24px;
}
.photo {
  --drag-x: 0px;
  --drag-y: 0px;
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid var(--ink);
  box-shadow: none;
  opacity: 0;
  transform: translate(var(--drag-x), var(--drag-y)) scale(0.9);
  transform-origin: center;
  transition:
    opacity 900ms cubic-bezier(0.2, 0.85, 0.25, 1),
    transform 900ms cubic-bezier(0.2, 0.85, 0.25, 1);
  will-change: opacity, transform;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.photo.is-dragging {
  cursor: grabbing;
  transition: opacity 900ms cubic-bezier(0.2, 0.85, 0.25, 1);
  z-index: 10;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--ink);
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}
.photo--blue {
  z-index: 1;
  background: var(--blue);
  transform: translate(var(--drag-x), var(--drag-y)) scale(0.9) rotate(-15deg);
}
.photo--yellow {
  z-index: 2;
  background: var(--yellow);
  transform: translate(var(--drag-x), var(--drag-y)) scale(0.9) rotate(15deg);
  transition-delay: 320ms;
}
.photo--pink {
  z-index: 3;
  background: var(--pink);
  inset: 9%;
  transform: translate(var(--drag-x), var(--drag-y)) scale(0.9);
  transition-delay: 640ms;
}
.photo--blue.is-visible {
  opacity: 1;
  transform: translate(var(--drag-x), var(--drag-y)) rotate(-15deg) scale(0.83);
}
.photo--yellow.is-visible {
  opacity: 1;
  transform: translate(var(--drag-x), var(--drag-y)) rotate(15deg) scale(0.83);
}
.photo--pink.is-visible {
  opacity: 1;
  transform: translate(var(--drag-x), var(--drag-y)) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .photo {
    opacity: 1;
    transition: none;
  }
  .photo--blue { transform: translate(var(--drag-x), var(--drag-y)) rotate(-15deg) scale(0.83); }
  .photo--yellow { transform: translate(var(--drag-x), var(--drag-y)) rotate(15deg) scale(0.83); }
  .photo--pink { transform: translate(var(--drag-x), var(--drag-y)) scale(1); }
}

.lead { font-size: 18px; line-height: 1.55; margin: 0; }
.about__copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}
.about__copy p + p {
  margin-top: 14px;
}

/* Outside of Design cards (match sujinkim.design) */
.od-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  justify-content: stretch;
}
.od-card {
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: 12px;
  box-shadow: none;
  --od-rot-base: -3deg;
  --od-rot: var(--od-rot-base);
  --od-scale: 1;
  transform: rotate(var(--od-rot)) scale(var(--od-scale));
  transform-origin: center;
  transition: transform 220ms ease;
  will-change: transform;
}
.od-card:nth-child(2) { --od-rot-base: 3deg; }
.od-card__image {
  border: 1px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255,255,255,0.45);
}
.od-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.od-card__title {
  margin: 12px 0 0 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  color: #383838;
}
.od-card__text {
  margin: 8px 0 0 0;
  color: #383838;
  line-height: 1.5;
  padding: 0 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition: max-height 260ms ease, opacity 200ms ease, transform 200ms ease;
}
.od-card--pink { background: var(--pink); }
.od-card--blue { background: var(--blue); }
.od-card--yellow { background: var(--yellow); }

/* Figma-style: each card is its own closed/open variant on :hover */
@media (hover: hover) and (pointer: fine) {
  .od-card:hover {
    --od-scale: 1.06;
    --od-rot: 0deg;
    z-index: 5;
  }

  .od-card:hover .od-card__text {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Clickable Resume (Figma "Clickable Resume" auto-layout) */
.clickable-resume {
  display: grid;
  gap: 16px;
  justify-items: center;
}
.cr__heading {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 32px;
  line-height: 44.8px;
  text-align: center;
}
.cr__list {
  width: min(752px, 100%);
  display: grid;
  gap: 12px;
}
.cr__row {
  width: 100%;
  background: var(--blue);
  border: 1px solid var(--ink);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 24px;
  line-height: 26.4px;
  color: var(--ink);
  cursor: pointer;
}
.cr__plus {
  font-size: 26px;
  line-height: 1;
}
.cr__note {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 24px;
  line-height: 26.4px;
  text-align: center;
}
.cr__cta {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 40px;
  padding: 11px 20px 13px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  cursor: pointer;
}

/* Resume CTA */
.resume-cta {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  max-width: 560px;
}
.resume-cta .btn { width: fit-content; }
.resume-cta__hint { margin: 0; min-height: 22px; color: var(--muted); }

/* Section title gelatine (https://codepen.io/nelledejones/pen/gOOPWrK) — play once on reveal */
@keyframes section-title-gelatine {
  0% {
    opacity: 0;
    transform: scale(0.88, 0.88);
  }
  18% {
    opacity: 1;
    transform: scale(1.1, 0.9);
  }
  36% {
    transform: scale(0.9, 1.1);
  }
  54% {
    transform: scale(1.05, 0.95);
  }
  72% {
    transform: scale(0.97, 1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}
/* Scroll reveal (fade up) — home + case study content */
.reveal:not(.section-title),
.cs-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s ease,
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--scroll-reveal-delay, 0ms);
}
.reveal:not(.section-title).is-visible,
.cs-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.section-title.reveal {
  opacity: 0;
  transform: scale(0.88, 0.88);
  transform-origin: left center;
  transition: none;
  will-change: opacity, transform;
}
.section-title.reveal.is-visible {
  animation: section-title-gelatine 0.72s ease-out both;
}
.stack .case.reveal:nth-child(2) { --scroll-reveal-delay: 90ms; }
.stack .case.reveal:nth-child(3) { --scroll-reveal-delay: 180ms; }
.od-cards .od-card.reveal:nth-child(2) { --scroll-reveal-delay: 90ms; }
.od-cards .od-card.reveal:nth-child(3) { --scroll-reveal-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal:not(.section-title),
  .section-title.reveal,
  .cs-reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .reveal-bounce {
    opacity: 1;
  }

  .reveal-bounce .v2-about-card__tilt,
  .reveal-bounce .v2-about-card__tag-thread {
    opacity: 1;
    transform: rotate(var(--card-tilt, 0deg));
    animation: none;
  }
}

/* —— Case study pages —— */
.case-study.paper {
  padding-top: 8px;
  padding-bottom: 120px;
}

/* Figma 255:1278 — hero + meta bar + challenge stack */
.case-study--stack.paper {
  padding-top: 0;
  padding-bottom: 0;
  background: var(--frame-fill);
}

.case-study--stack .cs-stack {
  width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  display: flex;
  flex-direction: column;
  gap: 49px;
  box-sizing: border-box;
}

.cs-stack__intro {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.cs-stack__hero {
  margin: 0;
  height: clamp(280px, 35.6vw, 498px);
  overflow: hidden;
  border-bottom: 3px solid var(--grid-line);
  background: var(--content-fill);
}

.cs-stack__hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 21%;
}

/* Hero enter — fullscreen cover fill, then shrink to cropped hero */
.cs-hero-enter {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
  background: var(--frame-fill);
  transition:
    top 1.75s cubic-bezier(0.76, 0, 0.24, 1),
    left 1.75s cubic-bezier(0.76, 0, 0.24, 1),
    width 1.75s cubic-bezier(0.76, 0, 0.24, 1),
    height 1.75s cubic-bezier(0.76, 0, 0.24, 1);
}

.cs-hero-enter img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: object-position 1.75s cubic-bezier(0.76, 0, 0.24, 1);
}

.cs-hero-enter--landed img {
  object-position: center 21%;
}

html.cs-enter-active .cs-stack__hero img {
  visibility: hidden;
}

html.cs-enter-active .cs-stack__reveal {
  opacity: 0;
}

html.cs-enter-done .cs-stack__reveal {
  opacity: 1;
  transition: opacity 0.75s ease 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  .cs-hero-enter {
    display: none;
  }

  html.cs-enter-active .cs-stack__hero img {
    visibility: visible;
  }
}

.cs-meta-bar {
  display: flex;
  gap: 3px;
  border: 3px solid var(--grid-line);
  box-sizing: border-box;
  background: var(--grid-line);
}

.cs-meta-bar__cell {
  flex: 1 1 0;
  min-width: 0;
  min-height: 81px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 11px 24px;
  background: var(--content-fill);
  text-align: center;
  box-sizing: border-box;
}

.cs-meta-bar__label {
  margin: 0 0 -5px;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
}

.cs-meta-bar__value {
  margin: 0;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0.24px;
  color: var(--muted);
}

.cs-challenge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 45px;
  padding: 48px 0 80px;
  max-width: 1299px;
  margin: 0 auto;
  width: 100%;
}

.cs-quote--challenge {
  margin: 0;
  max-width: 991px;
  align-items: flex-start;
}

.cs-quote--challenge .cs-quote__text {
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 24px;
  line-height: 31px;
  letter-spacing: 0.72px;
  text-align: center;
}

.cs-challenge__arrow img {
  display: block;
  width: 29px;
  height: auto;
  transform: rotate(90deg);
}

.cs-challenge__question {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1px;
  max-width: 100%;
  font-family: Fredoka, ui-sans-serif, system-ui;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 38px;
  letter-spacing: 0.96px;
  color: var(--ink);
  text-align: center;
}

.cs-challenge__lead {
  flex: 0 1 auto;
}

.case-study--stack .v6-footer {
  width: var(--v6-content-width);
  max-width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
}

@media (max-width: 980px) {
  .case-study.paper,
  .case-study--stack.paper {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: var(--v6-side-gutter);
    padding-right: var(--v6-side-gutter);
    box-sizing: border-box;
    overflow-x: clip;
  }

  .case-study__layout {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .case-study--stack .cs-stack,
  .case-study--stack .v6-footer {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .cs-meta-bar__value,
  .cs-meta-bar__label,
  .cs-challenge__text,
  .cs-challenge__question p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .cs-meta-bar {
    flex-direction: column;
  }

  .cs-meta-bar__cell {
    min-height: 72px;
  }

  .cs-challenge {
    padding-inline: var(--pad);
    gap: 32px;
  }

  .cs-challenge__question {
    flex-direction: column;
  }
}

.case-study__layout {
  display: grid;
  grid-template-columns: minmax(0, 316px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  width: var(--v6-content-width);
  max-width: var(--v6-content-width);
  margin-left: var(--v6-content-margin);
  margin-right: var(--v6-content-margin);
  box-sizing: border-box;
}

.case-study__sidebar {
  position: sticky;
  top: calc(var(--header-offset) + 20px);
  z-index: 5;
}

.case-study-page .case-study__info-card {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  width: 100%;
  max-width: 316px;
}

/* Thinner notebook rails on case study sticky (half of featured card) */
.case-study-page .case-study__info-card::before,
.case-study-page .case-study__info-card::after {
  width: 5px;
}

.case-study-page .case-study__info-card .info-rails::before,
.case-study-page .case-study__info-card .info-rails::after {
  height: 5px;
}

.case-study-page .case-study__info-card .info-tape {
  top: 2.5px;
}

.case-study__meta {
  padding: 20px 22px 26px;
  padding-left: calc(22px + 5px);
  padding-right: calc(22px + 5px);
}

.case-study-page .section-title--case {
  margin: 0 0 18px;
}

.case-study-page .section-title--case .section-title__label {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 1.08px;
  padding: 6px 10px;
}

.case-study-page .section-title__label--yellow {
  background: var(--yellow);
}

/* Softer gelatine on case study section headers only */
@keyframes section-title-gelatine-case {
  0% {
    opacity: 0;
    transform: scale(0.94, 0.94);
  }
  28% {
    opacity: 1;
    transform: scale(1.03, 0.98);
  }
  52% {
    transform: scale(0.98, 1.02);
  }
  76% {
    transform: scale(1.01, 0.99);
  }
  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}

.case-study-page .section-title.reveal {
  transform: scale(0.94, 0.94);
}

.case-study-page .section-title.reveal.is-visible {
  animation: section-title-gelatine-case 0.62s ease-out both;
}

.case-study__meta-block { margin: 0; }

.case-study__meta-label {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.14px;
  color: #383838;
  text-transform: uppercase;
}

.case-study__meta-value {
  margin: 6px 0 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.2px;
  color: var(--ink);
}

.case-study__meta-rule {
  margin: 11px 0;
  border: 0;
  border-top: 1px solid var(--ink);
}

.case-study__main {
  max-width: 949px;
  width: 100%;
  justify-self: center;
}

.cs-hero__image {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

.cs-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 949 / 533;
  object-fit: cover;
}

.cs-quote {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 24px 0 0;
  padding: 0;
  border: none;
  max-width: 843px;
  margin-inline: auto;
}

.cs-quote__mark {
  margin: 0;
  flex-shrink: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500;
  line-height: 45px;
  color: var(--peach);
  letter-spacing: 0.64px;
}

.cs-quote__mark--end {
  align-self: flex-end;
  transform: rotate(180deg);
}

.cs-quote__text {
  margin: 0;
  flex: 1;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 24px;
  line-height: 38px;
  letter-spacing: 0.72px;
  color: var(--ink);
}

.cs-hero__prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 0;
  text-align: center;
}

.cs-hero__arrow {
  width: 37px;
  height: auto;
  display: block;
}

.cs-hero__question {
  margin: 0;
  max-width: 896px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 24px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 0.72px;
}

.cs-highlight {
  display: inline;
  background: var(--peach-soft);
  padding: 0 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Vertical section dividers — Figma: #C4C4C4, 2px, dash 11 */
.cs-vrule {
  display: block;
  width: 2px;
  margin-inline: auto;
  border: none;
  background: repeating-linear-gradient(
    to bottom,
    #c4c4c4 0,
    #c4c4c4 11px,
    transparent 11px,
    transparent 22px
  );
}

.cs-hero-wrap {
  margin-bottom: 0;
}

.cs-vrule--intro {
  height: 213px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.cs-vrule--tall {
  height: 213px;
  margin-block: 48px;
}

.cs-vrule--short {
  height: 114px;
  margin-block: 13px 24px;
}

/* Case study stagger (uses shared scroll-reveal rules above) */
.case-study-page .case-study__info-card.cs-reveal { --scroll-reveal-delay: 0ms; }
.case-study-page .cs-hero__image.cs-reveal { --scroll-reveal-delay: 90ms; }
.case-study-page .cs-quote.cs-reveal,
.case-study-page .cs-hero__prompt.cs-reveal { --scroll-reveal-delay: 180ms; }
.case-study-page .cs-approach-row.cs-reveal:nth-child(2) { --scroll-reveal-delay: 90ms; }
.case-study-page .cs-approach-row.cs-reveal:nth-child(3) { --scroll-reveal-delay: 180ms; }
.case-study-page .cs-outcome.cs-reveal:nth-child(2) { --scroll-reveal-delay: 90ms; }
.case-study-page .cs-outcome.cs-reveal:nth-child(3) { --scroll-reveal-delay: 180ms; }

.cs-section { padding: 0; }

.cs-section--why-not {
  margin-bottom: 0;
}

.cs-why-not__figure {
  margin: 19px auto 5px;
  width: min(420px, 100%);
  max-width: 100%;
  overflow: visible;
}

.cs-can-notes {
  position: relative;
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.cs-can-notes__can {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cs-can-notes__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.cs-can-note {
  background: var(--peach-soft);
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 69px;
  padding: 12px 23px;
  width: 150px;
  box-sizing: border-box;
  font-family: "Patrick Hand", cursive;
  font-size: 15px;
  line-height: 15px;
  letter-spacing: 0.45px;
  color: #000;
  text-align: center;
}

.cs-can-note p {
  margin: 0;
}

.cs-can-notes__left {
  position: absolute;
  left: -18%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 34px;
  width: 150px;
  z-index: 3;
}

.cs-can-notes__connector {
  position: absolute;
  display: block;
  pointer-events: none;
}

.cs-can-notes__connector--branch {
  left: 22%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  height: auto;
  z-index: 2;
}

.cs-can-notes__connector--line {
  left: 24%;
  top: 20%;
  width: 48%;
  height: auto;
  z-index: 2;
}

.cs-can-note--solo {
  position: absolute;
  right: -16%;
  top: 12%;
  width: 170px;
  z-index: 3;
}

.cs-why-not__bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.cs-why-not__closing {
  max-width: 947px;
  margin: 0 auto;
  text-align: center;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 20px;
  line-height: 33px;
  letter-spacing: 0.72px;
}

.cs-why-not__closing p {
  margin: 0;
}

.cs-why-not__closing p + p {
  margin-top: 0.5em;
}

.cs-why-not__emph {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cs-lead {
  margin: 0 0 11px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 24px;
  line-height: 38px;
  letter-spacing: 0.72px;
}

.cs-lead--underline { text-decoration: underline; text-underline-offset: 3px; }

.cs-body {
  margin: 0 0 67px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.48px;
  color: var(--ink);
  max-width: 947px;
}

.cs-research {
  display: grid;
  grid-template-columns: minmax(0, 148px) minmax(0, 1fr) minmax(0, 150px);
  gap: 27px;
  align-items: center;
  margin-bottom: 13px;
}

.cs-sticky {
  background: var(--peach-soft);
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.17);
  padding: 20px 18px;
  min-height: 134px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cs-sticky p {
  margin: 0;
  font-family: "Patrick Hand", cursive;
  font-size: 15px;
  line-height: 15px;
  letter-spacing: 0.45px;
  max-width: 88px;
}

.cs-sticky--tilt-l { transform: rotate(-6.32deg); }
.cs-sticky--tilt-r { transform: rotate(7.52deg); }
.cs-sticky--tilt-l2 { transform: rotate(-5.87deg); }
.cs-sticky--tilt-r2 { transform: rotate(6.45deg); }

.cs-sticky--flat {
  width: 167px;
  min-height: 151px;
  flex-shrink: 0;
  transform: none;
}

.cs-sticky--flat p {
  max-width: none;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0.48px;
}

.cs-research__article {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  background: var(--paper);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  padding: 11px 14px;
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease;
}

.cs-research__article:hover,
.cs-research__article:focus-visible {
  border-color: rgba(0, 0, 0, 0.45);
}

.cs-research__article img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-research__article-caption {
  display: inline-block;
  position: relative;
  z-index: 0;
  margin-top: 9px;
  margin-inline: auto;
  padding: 2px 6px;
  border-radius: 2px;
  isolation: isolate;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 16px;
  line-height: 38px;
  letter-spacing: 0.48px;
  text-decoration: none;
}

.cs-research__article-caption::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.22, 0.85, 0.32, 1);
}

.cs-research__article:hover .cs-research__article-caption::after,
.cs-research__article:focus-visible .cs-research__article-caption::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .cs-research__article-caption::after {
    transition: none;
    transform: scaleX(1);
    opacity: 0;
  }
  .cs-research__article:hover .cs-research__article-caption::after,
  .cs-research__article:focus-visible .cs-research__article-caption::after {
    opacity: 1;
  }
}

.cs-research .cs-sticky:nth-child(1) { grid-column: 1; grid-row: 1; }
.cs-research .cs-sticky:nth-child(2) { grid-column: 1; grid-row: 2; }
.cs-research__article { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.cs-research .cs-sticky:nth-child(4) { grid-column: 3; grid-row: 1; }
.cs-research .cs-sticky:nth-child(5) { grid-column: 3; grid-row: 2; }

.cs-closing {
  text-align: center;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 24px;
  line-height: 38px;
  letter-spacing: 0.72px;
}

.cs-closing p { margin: 0; }

.cs-closing__emph {
  font-weight: 700;
}

.cs-approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
}

.cs-approach-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 57px;
}

.cs-approach-row__arrow {
  width: 45px;
  height: auto;
  flex-shrink: 0;
}

.cs-approach-row__text {
  margin: 0;
  width: min(317px, 100%);
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 24px;
  line-height: 38px;
  letter-spacing: 0.72px;
}

.cs-gallery {
  display: grid;
  gap: 0;
}

.cs-gallery__row--ads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.cs-gallery__row--ads img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 474.5 / 490;
  object-fit: cover;
}

.cs-styleguide {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 12vw, 157px);
  padding: 56px 76px 36px;
  background: var(--peach-cream);
}

.cs-styleguide__type {
  text-align: center;
  width: min(327px, 100%);
}

.cs-styleguide__sample {
  margin: 0;
  font-family: "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 1.92px;
  color: #ffad65;
}

.cs-styleguide__name {
  margin: 12px 0 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 24px;
  line-height: 38px;
  letter-spacing: 0.72px;
  color: var(--peach-soft);
}

.cs-styleguide__swatches {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(313px, 100%);
  display: grid;
  gap: 3px;
}

.cs-swatch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 53px;
  padding: 8px 18px;
  border: 1px solid var(--peach-soft);
  font-family: "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 1.6px;
  text-align: right;
}

.cs-swatch span { display: block; }

.cs-swatch--white { background: #fff; color: #ffc387; }
.cs-swatch--cream { background: var(--peach-cream); color: #ffc387; }
.cs-swatch--peach { background: #ffc387; color: var(--peach-cream); }
.cs-swatch--orange { background: #ffad65; color: var(--peach-cream); }
.cs-swatch--red { background: #d44839; color: var(--peach-cream); }

.cs-gallery__full {
  margin: 0;
  overflow: hidden;
}

.cs-gallery__full img {
  display: block;
  width: 100%;
  height: auto;
}

.cs-section--outcomes { padding-top: 14px; }

.cs-outcomes {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 21px;
}

.cs-outcome {
  border: 2px solid var(--peach);
  border-radius: 5px;
  background: var(--paper);
  padding: 28px 26px 27px;
}

.cs-outcome__title {
  margin: 0 0 4px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 24px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 0.72px;
}

.cs-outcome__body {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.48px;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .case-study__layout {
    grid-template-columns: 1fr;
  }
  .case-study__sidebar {
    position: static;
  }
  .case-study-page .case-study__info-card {
    max-width: none;
  }
  .cs-research {
    grid-template-columns: 1fr 1fr;
  }
  .cs-research__article {
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
  }
  .cs-research .cs-sticky:nth-child(1),
  .cs-research .cs-sticky:nth-child(2),
  .cs-research .cs-sticky:nth-child(4),
  .cs-research .cs-sticky:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .cs-gallery__row--ads { grid-template-columns: 1fr; }
  .cs-approach-row { gap: 24px; }
  .cs-styleguide { padding: 40px 24px 28px; }
  .cs-research { grid-template-columns: 1fr; }
  .cs-can-notes {
    width: min(280px, 88vw);
  }
  .cs-can-notes__left {
    left: -12%;
    width: min(130px, 38vw);
    gap: 20px;
  }
  .cs-can-note,
  .cs-can-notes__left .cs-can-note {
    width: min(130px, 38vw);
    min-height: 58px;
    font-size: 13px;
    padding: 10px 14px;
  }
  .cs-can-notes__connector--branch {
    left: 26%;
    width: 46%;
  }
  .cs-can-notes__connector--line {
    left: 28%;
    top: 22%;
    width: 42%;
  }
  .cs-can-note--solo {
    right: -10%;
    top: 14%;
    width: min(150px, 42vw);
  }
}

/* Site footer (V2 — “You've made it this far”) */
.site-footer {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(8px, 1.5vw, 16px);
  background: #000000;
  color: #ffffff;
  border-radius: 16px 16px 0 0;
}
.site-footer a:focus-visible,
.site-footer .footer-connect:focus-visible {
  outline-color: rgba(255, 255, 255, 0.92);
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: calc(var(--max) - 64px);
  margin: 0 auto;
  padding: 24px 32px;
  box-sizing: border-box;
}
.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
}
.site-footer__nav a {
  padding: 4px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: #ffffff;
  transition: opacity 180ms ease;
}
.site-footer__nav a:hover {
  opacity: 0.75;
}
.site-footer__social {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: opacity 180ms ease, transform 180ms ease;
}
.site-footer__social:hover {
  opacity: 0.85;
  transform: scale(1.06);
}
.site-footer__social img {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
.site-footer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  text-align: center;
}
.site-footer__cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.site-footer__title {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: clamp(28px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0;
  color: #ffffff;
}
.site-footer__subtitle {
  margin: 0;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  opacity: 0.8;
}
.footer-connect {
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #000000;
  border-radius: 40px;
  padding: 11px 20px 13px;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  white-space: nowrap;
  transition: transform 220ms cubic-bezier(0.22, 0.85, 0.32, 1);
}
.footer-connect__label {
  position: relative;
  z-index: 1;
}
.footer-connect__star {
  position: absolute;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: scale(0.35) rotate(180deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 2;
}
.footer-connect__star img {
  display: block;
  width: 100%;
  height: 100%;
}
.footer-connect__star--blue {
  right: 6px;
  top: 2px;
}
.footer-connect__star--pink {
  left: -2px;
  top: 13px;
}
.footer-connect__star--yellow {
  right: 35px;
  bottom: -3px;
}
.footer-connect:hover,
.footer-connect:focus-visible {
  transform: scale(1.03);
}
.footer-connect:hover .footer-connect__star--blue,
.footer-connect:focus-visible .footer-connect__star--blue {
  animation: nav-star-pop 420ms cubic-bezier(0.34, 1.35, 0.64, 1) 0ms forwards;
}
.footer-connect:hover .footer-connect__star--pink,
.footer-connect:focus-visible .footer-connect__star--pink {
  animation: nav-star-pop 420ms cubic-bezier(0.34, 1.35, 0.64, 1) 70ms forwards;
}
.footer-connect:hover .footer-connect__star--yellow,
.footer-connect:focus-visible .footer-connect__star--yellow {
  animation: nav-star-pop 420ms cubic-bezier(0.34, 1.35, 0.64, 1) 140ms forwards;
}
.footer-connect:not(:hover):not(:focus-visible) .footer-connect__star {
  animation: none;
}
.site-footer__copy {
  margin: 0;
  width: 100%;
  text-align: left;
  font-family: Outfit, ui-sans-serif, system-ui;
  font-size: 20px;
  line-height: 28px;
}
.site-footer__copy-name {
  color: #ffffff;
}
.site-footer__copy-muted {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 720px) {
  .site-footer__inner {
    gap: 48px;
    padding: 32px 20px;
  }
  .site-footer__top {
    flex-direction: column;
    align-items: center;
  }
  .site-footer__nav {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .site-footer__title {
    line-height: 1.15;
    max-width: 16ch;
  }
  .site-footer__subtitle {
    line-height: 1.2;
  }
  .site-footer__copy {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-connect {
    transition: none;
  }
  .footer-connect:hover,
  .footer-connect:focus-visible {
    transform: none;
  }
  .footer-connect:hover .footer-connect__star,
  .footer-connect:focus-visible .footer-connect__star {
    animation: none;
  }
}

/* Responsive */
@media (min-width: 860px) {
  .topbar__inner { grid-template-columns: minmax(0, max-content) 1fr auto; }
}

@media (max-width: 980px) {
  .stack {
    gap: clamp(40px, 10vw, 64px);
  }
  .featured__image { height: min(70vh, 560px); min-height: 420px; max-height: 560px; }
  .featured__info {
    position: static;
    width: auto;
    margin-top: 14px;
    transform: none;
  }
  .about { grid-template-columns: 1fr; }
  .about__copy { padding-left: 0; margin-top: 8px; }
  .od-cards { grid-template-columns: 1fr; }
}
