:root {
  color-scheme: light;
  --ink: #000000;
  --muted: #000000;
  --paper: #ffffff;
  --red: #f2a766;
  --highlight: #d94179;
  --line: #e7e7e7;
  --soft: #f2cd5c;
  --warm: #f2a766;
  --navy: #141259;
  --deep-navy: #010626;
  --page-margin: clamp(28px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
  padding: 50px var(--page-margin) 24px;
  color: var(--ink);
  background: transparent;
  backdrop-filter: blur(12px);
  transition: background 220ms ease, color 220ms ease, padding 220ms ease;
}

.site-header.is-colored {
  color: #ffffff;
  background: var(--red);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.brand span {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 36px);
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  font-weight: 300;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  width: 100%;
}

.hero,
.section,
.footer {
  width: 100%;
  margin: 0;
  padding-left: var(--page-margin);
  padding-right: var(--page-margin);
}

.hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 840px) minmax(220px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-top: 84px;
  padding-bottom: 112px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  width: min(52vw, 720px);
  height: 62%;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(242, 205, 92, 0.26), rgba(242, 205, 92, 0)),
    linear-gradient(90deg, rgba(20, 18, 89, 0.13) 8px, transparent 8px),
    linear-gradient(180deg, rgba(20, 18, 89, 0.13) 8px, transparent 8px);
  background-size: auto, 22px 22px, 22px 22px;
  mask-image: linear-gradient(270deg, #000000 0%, rgba(0, 0, 0, 0.68) 44%, transparent 100%);
  opacity: 0.72;
}

.hero > * {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.no-wrap {
  white-space: nowrap;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-align: left;
}

.hero-text {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 300;
  line-height: 1.42;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.button.primary {
  color: #ffffff;
  background: var(--ink);
}

.button.secondary {
  background: transparent;
}

.button:hover {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.hero-visual {
  min-height: 330px;
  display: grid;
  align-items: center;
  justify-items: end;
}

.hero-project-preview {
  width: min(46vw, 660px);
  padding: 2px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--soft), var(--warm), var(--highlight), var(--navy), var(--deep-navy));
  border: 0;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.12);
}

.hero-project-screen {
  height: clamp(460px, 48vw, 720px);
  padding: clamp(10px, 1.2vw, 16px);
  background: #ffffff;
  overflow: hidden;
}

.hero-project-screen iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.statement-puzzle-wrap {
  display: flex;
  justify-content: flex-start;
  margin: clamp(24px, 3vw, 52px) 0 0;
}

.statement-puzzle-wrap .hero-puzzle {
  width: min(100%, 520px);
}

.hero-puzzle {
  position: relative;
  width: min(38vw, 460px);
  aspect-ratio: 0.754;
  min-height: 360px;
  isolation: isolate;
}

.puzzle-solve {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: clamp(92px, 8.5vw, 124px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: #000000;
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: border-radius 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1), background 220ms ease;
}

.puzzle-solve:hover,
.puzzle-solve:focus-visible {
  background: var(--red);
  border-radius: 0;
  transform: translate(-50%, -50%) rotate(18deg);
}

.puzzle-solve:hover,
.puzzle-solve:focus-visible {
  outline: 0;
}

.puzzle-piece {
  position: absolute;
  left: var(--home-x, 0);
  top: var(--home-y, 0);
  width: var(--piece-w, 18%);
  height: var(--piece-h, 18%);
  max-width: none;
  object-fit: cover;
  background: #f7f4ea;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
  filter: grayscale(1) brightness(2.18) contrast(0);
  opacity: 1;
  transform: translate(
      calc(var(--scatter-x, 0px) + var(--drag-x, 0px)),
      calc(var(--scatter-y, 0px) + var(--drag-y, 0px))
    )
    rotate(var(--scatter-r, 0deg));
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 420ms ease, filter 520ms ease, opacity 520ms ease;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  cursor: grab;
  z-index: 1;
  animation: puzzle-float 6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.hero-puzzle.is-assembled .puzzle-piece {
  transform: translate(var(--drag-x, 0px), var(--drag-y, 0px)) rotate(0deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.puzzle-piece.is-flipped {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

.puzzle-piece.is-dragging {
  z-index: 5;
  cursor: grabbing;
  transition: none;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
  animation: none;
}

@keyframes puzzle-float {
  0%,
  100% {
    margin-top: 0;
  }

  50% {
    margin-top: -4px;
  }
}

.statement-band {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 66fr) minmax(320px, 34fr);
  align-items: center;
  column-gap: clamp(20px, 3vw, 48px);
  padding: clamp(54px, 8vw, 86px) var(--page-margin) clamp(56px, 7vw, 92px);
  color: #ffffff;
  background: var(--red);
}

.statement-band p {
  max-width: 1110px;
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  font-weight: 300;
  line-height: 1.18;
}

.skill-breakdown-label {
  grid-column: 1 / -1;
  margin: clamp(40px, 6vw, 70px) 0 0;
  color: #000000;
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  font-weight: 600;
}

.statement-dots {
  grid-column: 1 / -1;
  display: flex;
  gap: clamp(28px, 4vw, 48px);
  margin-top: 18px;
}

.statement-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #ffffff;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.statement-shape {
  display: grid;
  place-items: center;
  width: clamp(54px, 6vw, 82px);
  aspect-ratio: 1;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: transparent;
  transition: border-radius 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-ai .statement-shape {
  border-color: var(--highlight);
}

.skill-software .statement-shape {
  border-color: var(--deep-navy);
}

.skill-leadership .statement-shape {
  border-color: var(--navy);
}

.statement-label {
  display: block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 900;
  opacity: 0;
  transform: translateX(-8px);
  transition: max-width 720ms cubic-bezier(0.16, 1, 0.3, 1), opacity 520ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1), margin 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.statement-link:hover .statement-shape,
.statement-link:focus-visible .statement-shape,
.statement-link.is-active .statement-shape {
  border-radius: 0;
  transform: rotate(18deg);
}

.statement-link:hover .statement-label,
.statement-link:focus-visible .statement-label,
.statement-link.is-active .statement-label {
  max-width: 140px;
  margin-left: 32px;
  opacity: 1;
  transform: translateX(0);
}

.skill-panels {
  grid-column: 1 / -1;
  margin-top: clamp(38px, 5vw, 64px);
}

.skill-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.38fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: stretch;
  max-height: 0;
  overflow: hidden;
  padding: 0 clamp(22px, 4vw, 54px);
  opacity: 0;
  transform: translateY(-18px);
  transition: max-height 780ms cubic-bezier(0.16, 1, 0.3, 1), opacity 420ms ease, transform 780ms cubic-bezier(0.16, 1, 0.3, 1), padding 780ms cubic-bezier(0.16, 1, 0.3, 1), margin 780ms cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-panel.is-active {
  max-height: 1120px;
  margin-top: clamp(22px, 3vw, 42px);
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(34px, 5vw, 64px);
  opacity: 1;
  transform: translateY(0);
}

.skill-panel-ai {
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.92fr);
  background: var(--highlight);
}

.skill-panel-software {
  background: var(--deep-navy);
}

.skill-panel-leadership {
  background: var(--navy);
}

.skill-panel-copy {
  max-width: 1050px;
}

.skill-panel h2 {
  margin: 0 0 clamp(22px, 3vw, 38px);
  color: #ffffff;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 700;
}

.skill-panel h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 900;
}

.skill-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-panel li {
  padding: 10px 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.56);
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  font-weight: 500;
}

.skill-list-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
}

.skill-panel-graphic {
  min-height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 52%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 18px);
}

.leadership-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.leadership-node {
  position: absolute;
  width: clamp(58px, 7vw, 96px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.node-one {
  left: 8%;
  top: 16%;
}

.node-two {
  right: 12%;
  top: 8%;
  border-radius: 34% 66% 42% 58%;
}

.node-three {
  left: 34%;
  bottom: 12%;
  border-radius: 28% 72% 66% 34%;
}

.node-four {
  right: 22%;
  bottom: 26%;
}

.leadership-path {
  position: absolute;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
  transform-origin: left center;
}

.path-one {
  left: 23%;
  top: 32%;
  width: 44%;
  transform: rotate(-9deg);
}

.path-two {
  left: 48%;
  top: 34%;
  width: 34%;
  transform: rotate(42deg);
}

.path-three {
  left: 24%;
  bottom: 30%;
  width: 43%;
  transform: rotate(-18deg);
}

.skill-panel-portal {
  height: clamp(460px, 40vw, 660px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.skill-panel-portal iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.pixel-tool {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.16);
}

.pixel-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pixel-swatch {
  width: 32px;
  aspect-ratio: 1;
  padding: 0;
  background: var(--swatch);
  border: 1px solid rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.pixel-swatch.is-active {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.pixel-grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  aspect-ratio: 1;
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.pixel-cell {
  aspect-ratio: 1;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(1, 6, 38, 0.12);
  cursor: crosshair;
}

@media (min-width: 1500px) {
  .statement-band {
    grid-template-columns: minmax(0, 66fr) minmax(360px, 34fr);
    justify-content: start;
  }
}

.case-study-tabs {
  padding: clamp(42px, 6vw, 82px) var(--page-margin) clamp(96px, 12vw, 170px);
}

.client-menu-title {
  margin: 0 0 24px;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  font-weight: 300;
}

.logo-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.logo-tab {
  position: relative;
  min-height: auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.client-logo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -21px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid var(--highlight);
  border-bottom: 0;
  opacity: 0;
  transform: translateX(-50%) translateY(-4px);
  transition: opacity 320ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-tab.is-active,
.logo-tab:hover {
  color: var(--ink);
}

.logo-tab.is-active .client-logo::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.logo-shape {
  width: clamp(72px, 8vw, 108px);
  height: clamp(72px, 8vw, 108px);
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.client-logo {
  position: relative;
  width: clamp(64px, 6vw, 88px);
  height: clamp(64px, 6vw, 88px);
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
}

.client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.client-logo-hl img {
  width: 78%;
  height: 78%;
}

.client-logo-wl img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.client-logo-hbb img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.client-logo-more span {
  width: 78%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #000000;
  border: 0;
  border-radius: 50%;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 900;
  line-height: 1;
  opacity: 1;
  filter: grayscale(1);
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.client-name {
  display: block;
  max-width: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: max-width 900ms cubic-bezier(0.16, 1, 0.3, 1), margin 900ms cubic-bezier(0.16, 1, 0.3, 1), opacity 620ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-tab:hover .client-logo img,
.logo-tab:focus-visible .client-logo img,
.logo-tab.is-active .client-logo img {
  filter: grayscale(0);
  transform: translateY(-4px);
}

.logo-tab:hover .client-logo-more span,
.logo-tab:focus-visible .client-logo-more span,
.logo-tab.is-active .client-logo-more span {
  filter: grayscale(0);
  transform: translateY(-4px);
}

.logo-tab:hover .client-name,
.logo-tab:focus-visible .client-name,
.logo-tab.is-active .client-name {
  max-width: 210px;
  margin-left: 18px;
  opacity: 1;
  transform: translateX(0);
}
.case-panel {
  padding-top: clamp(72px, 10vw, 132px);
}

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

.case-hero {
  min-height: clamp(320px, 38vw, 500px);
  display: grid;
  align-content: start;
  row-gap: clamp(18px, 2.4vw, 34px);
}

.case-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 300;
}

.case-brand-mark {
  display: inline-grid;
  width: clamp(70px, 8vw, 108px);
  height: clamp(70px, 8vw, 108px);
  place-items: center;
  color: #ffffff;
  background: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1;
}

.case-brand-logo {
  width: auto;
  height: 1.42em;
  max-width: 118px;
  object-fit: contain;
}

.wanderluxe-brand-logo {
  height: clamp(52px, 5.5vw, 78px);
  max-width: 96px;
}

.handbrewed-brand-logo {
  height: clamp(52px, 5.5vw, 82px);
  max-width: 96px;
}

.wanderluxe-mark {
  background: var(--red);
  border-radius: 50%;
}

.handbrewed-mark {
  color: var(--ink);
  background: #f2a766;
  border-radius: 999px 999px 0 0;
}

.case-hero h2 {
  max-width: none;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  font-weight: 700;
  line-height: 1.08;
}

.case-hero .wanderluxe-title {
  font-size: clamp(2.1rem, 4.35vw, 4.25rem);
}

.case-hero p {
  max-width: none;
  margin: clamp(8px, 1.5vw, 20px) 0 0;
  font-size: clamp(1.15rem, 2.1vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
}

.case-gallery {
  display: grid;
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0 calc(var(--page-margin) * -1) clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.gallery-note {
  max-width: 820px;
  margin: 0 0 clamp(18px, 2.5vw, 32px);
  color: var(--muted);
  font-size: clamp(0.92rem, 1.15vw, 1.08rem);
  font-weight: 300;
  line-height: 1.5;
}

.case-gallery-track {
  display: flex;
  width: max-content;
  gap: clamp(12px, 1.8vw, 24px);
  padding: 0 var(--page-margin);
  animation: slide-gallery 90s linear infinite;
}

.gallery-row-two {
  animation-duration: 104s;
  transform: translateX(-12%);
}

.case-gallery-slide {
  display: block;
  flex: 0 0 clamp(220px, 24vw, 400px);
  width: clamp(220px, 24vw, 400px);
  height: clamp(124px, 13.5vw, 225px);
  background: #f2cd5c;
  border: 1px solid rgba(0, 0, 0, 0.08);
  object-fit: cover;
  padding: 0;
  transform: none;
}

.case-visual {
  margin: 0 0 clamp(56px, 8vw, 96px);
}

.website-portal {
  display: block;
  margin: 0 0 clamp(56px, 8vw, 96px);
  border: 1px solid var(--ink);
  background: #ffffff;
}

.portal-topbar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--ink);
}

.portal-topbar span {
  width: 13px;
  height: 13px;
  display: block;
  background: var(--red);
  border-radius: 50%;
}

.portal-topbar a {
  margin: 0 0 0 16px;
  color: var(--muted);
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  font-weight: 300;
  text-decoration: none;
}

.portal-topbar a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.portal-screen {
  position: relative;
  height: clamp(420px, 52vw, 760px);
  overflow: hidden;
  background: var(--deep-navy);
}

.portal-fallback,
.portal-live-site {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portal-fallback {
  object-fit: cover;
}

.portal-live-site {
  background: #ffffff;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.website-portal.is-live .portal-live-site {
  opacity: 1;
  pointer-events: auto;
}

.travel-visual {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  grid-auto-rows: clamp(220px, 18vw, 320px);
  gap: clamp(14px, 2vw, 28px);
}

.travel-visual > *,
.hl-visual > *,
.beer-visual > * {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  overflow: hidden;
}

.hl-visual {
  min-height: clamp(560px, 62vw, 760px);
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr;
  grid-template-rows: 0.85fr 1fr;
  gap: clamp(14px, 2vw, 28px);
  margin-top: clamp(56px, 8vw, 96px);
}

.hl-review {
  grid-column: 1;
  grid-row: 1 / span 2;
  background:
    linear-gradient(180deg, transparent 0 18%, rgba(255, 255, 255, 0.18) 18% 20%, transparent 20% 38%, rgba(255, 255, 255, 0.18) 38% 40%, transparent 40%),
    var(--red) !important;
}

.hl-slide {
  grid-column: 2 / span 2;
  grid-row: 1;
}

.hl-dashboard {
  grid-column: 2;
  grid-row: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 24%, transparent 24%),
    var(--red) !important;
}

.hl-system {
  grid-column: 3;
  grid-row: 2;
  background: #f2a766 !important;
}

.hl-notes {
  display: none !important;
}

#panel-wanderluxe .travel-visual {
  margin-top: clamp(56px, 8vw, 96px);
}

.travel-collage-large {
  grid-row: span 2;
}

.travel-collage-contain {
  object-fit: contain;
  background: #f2cd5c;
}

.beer-feature {
  display: flex;
  justify-content: center;
  margin: 0 0 clamp(24px, 3vw, 42px);
  background: transparent;
}

.beer-feature img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.beer-visual {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  grid-auto-rows: clamp(220px, 18vw, 320px);
  gap: clamp(14px, 2vw, 28px);
}

.beer-collage-large {
  grid-column: span 2;
}

.beer-position-top-right {
  object-position: right top;
}

.bonus-project {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: start;
  margin: clamp(12px, 2vw, 28px) 0 clamp(64px, 9vw, 110px);
  padding-top: clamp(24px, 4vw, 46px);
  border-top: 1px solid var(--line);
}

.bonus-project-copy {
  display: grid;
  gap: 12px;
}

.bonus-project h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.02;
}

.bonus-project p:not(.project-portal-kicker) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 300;
  line-height: 1.45;
}

.bonus-project a {
  width: fit-content;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.bonus-project a:hover {
  color: var(--highlight);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.bonus-project-preview {
  width: 100%;
  height: clamp(340px, 36vw, 520px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 18px;
  background: #f2cd5c;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.12);
}

.bonus-project-preview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.freelance-work-list {
  display: grid;
  gap: clamp(72px, 10vw, 132px);
}

.freelance-project {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: start;
  padding-top: clamp(32px, 5vw, 62px);
  border-top: 1px solid var(--line);
}

.freelance-project-copy {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 14px;
}

.freelance-project h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.freelance-project p:not(.project-portal-kicker) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 300;
  line-height: 1.48;
}

.freelance-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 16vw, 280px);
  gap: clamp(12px, 1.6vw, 22px);
}

.freelance-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
  background: #f2cd5c;
}

.image-can-view {
  cursor: zoom-in;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: clamp(18px, 3vw, 42px);
  background: rgba(0, 0, 0, 0.82);
}

.image-viewer.is-active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

.image-viewer-close {
  justify-self: end;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  padding: 0 16px;
  color: #ffffff;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.image-viewer-close:hover,
.image-viewer-close:focus-visible {
  color: #000000;
  background: #ffffff;
  outline: 0;
}

.image-viewer-frame {
  overflow: auto;
  display: grid;
  place-items: start center;
  width: 100%;
  height: 100%;
}

.image-viewer-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  background: #ffffff;
}

body.viewer-open {
  overflow: hidden;
}

.freelance-gallery-large {
  grid-column: span 2;
  grid-row: span 2;
}

@keyframes slide-gallery {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - clamp(9px, 1.2vw, 17px)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-gallery-track {
    animation: none;
  }
}

.case-detail-tabs {
  border-top: 1px solid var(--line);
}

.case-detail-menu {
  display: flex;
  gap: clamp(22px, 4vw, 56px);
  overflow-x: auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.case-detail-tab {
  flex: 0 0 auto;
  padding: 0 0 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  font: inherit;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  font-weight: 900;
  cursor: pointer;
}

.case-detail-tab.is-active,
.case-detail-tab:hover {
  color: var(--ink);
  border-bottom-color: var(--highlight);
}

.case-detail-panel {
  min-height: clamp(420px, 48vw, 620px);
  padding: clamp(56px, 8vw, 98px) 0;
}

.case-detail-panel[hidden] {
  display: none;
}

.case-detail-panel h3 {
  max-width: 900px;
  margin: 0 0 clamp(42px, 7vw, 76px);
  font-size: clamp(1.8rem, 3.4vw, 3.6rem);
  line-height: 1.04;
}

.case-detail-panel p {
  max-width: 1040px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.7rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.16;
}

.project-portals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 34px);
  margin: clamp(8px, 2vw, 28px) 0 clamp(64px, 9vw, 110px);
}

.project-portal-card {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.project-portal-copy {
  display: grid;
  gap: 10px;
}

.project-portal-kicker {
  margin: 0;
  color: var(--highlight);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-portal-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.8rem);
  line-height: 1.02;
}

.project-portal-copy a,
.project-portal-copy span {
  width: fit-content;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 700;
  text-decoration: none;
}

.project-portal-copy p:not(.project-portal-kicker) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 300;
  line-height: 1.45;
}

.project-portal-copy a:hover {
  color: var(--highlight);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.embedded-project {
  height: clamp(360px, 38vw, 580px);
  overflow: hidden;
  background: #f2cd5c;
  border: 1px solid var(--ink);
}

.embedded-project iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.placeholder-preview {
  display: grid;
  place-items: center;
  background: #f2cd5c;
}

.placeholder-preview span {
  width: 44%;
  aspect-ratio: 16 / 10;
  display: block;
  border: 1px solid var(--ink);
}

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

.section {
  padding-top: clamp(96px, 12vw, 170px);
  padding-bottom: clamp(96px, 12vw, 170px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: 64px;
  margin-bottom: clamp(56px, 8vw, 96px);
}

.eyebrow,
.project-type {
  margin: 0 0 18px;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading > p,
.about-copy p,
.resume-grid p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 300;
  line-height: 1.45;
}

.project-grid {
  display: grid;
  gap: 0;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr) auto;
  align-items: start;
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(34px, 6vw, 68px) 0;
  border-top: 1px solid var(--line);
}

.project-card:last-child {
  border-bottom: 1px solid var(--line);
}

.project-card.feature {
  grid-column: auto;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
}

.project-card p:not(.project-type) {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 300;
  line-height: 1.5;
}

.project-card a {
  align-self: end;
  white-space: nowrap;
  font-weight: 900;
  text-decoration: none;
}

.project-card a:hover {
  color: var(--highlight);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 24px;
}

.strength-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.strength-list span {
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: 300;
}

.strength-list span::after {
  content: " |";
  font-weight: 900;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 7vw, 88px);
}

.resume-grid article {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.resume-grid h3 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.08;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.contact p {
  max-width: 760px;
  margin-top: 24px;
}

.footer {
  padding-top: 42px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
}

.dark-bottom {
  color: #ffffff;
  background: #000000;
}

.about-section {
  padding: clamp(88px, 12vw, 160px) var(--page-margin);
  color: var(--deep-navy);
  background: #ffffff;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(44px, 8vw, 120px);
}

.section-kicker,
.dark-eyebrow {
  margin: 0 0 20px;
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--deep-navy);
}

.dark-eyebrow {
  color: rgba(255, 255, 255, 0.62);
}

.about-section h2,
.dark-bottom h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 700;
  line-height: 1.04;
}

.about-section h2 {
  color: var(--deep-navy);
}

.dark-bottom h2 {
  color: #ffffff;
}

.about-copy-modern {
  display: grid;
  gap: 24px;
  align-content: end;
}

.about-copy-modern p {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.1rem, 1.75vw, 1.45rem);
  font-weight: 300;
  line-height: 1.5;
}

.dark-copy p,
.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.1rem, 1.75vw, 1.45rem);
  font-weight: 300;
  line-height: 1.5;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  padding: clamp(88px, 12vw, 160px) var(--page-margin);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.contact-links a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 0 18px;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.contact-links a:hover {
  color: #000000;
  background: #ffffff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px var(--page-margin) 42px;
  color: #ffffff;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.site-footer p {
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  :root {
    --page-margin: 28px;
  }

  .site-header {
    padding-top: 28px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    padding: 26px 0 8px;
    font-size: clamp(2rem, 10vw, 4rem);
    line-height: 1;
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .hero,
  .section-heading,
  .about-grid,
  .contact,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-visual {
    display: none;
  }

  .hero-project-preview {
    width: min(100%, 520px);
  }

  .statement-puzzle-wrap {
    display: none;
    margin: 0;
  }

  .statement-band {
    display: block;
  }

  .statement-band p {
    max-width: 1280px;
  }

  .statement-dots {
    justify-content: flex-start;
  }

  .statement-link {
    flex: 0 0 auto;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .project-card a {
    align-self: start;
  }

  .skill-panel,
  .skill-list-groups {
    grid-template-columns: 1fr;
  }

  .skill-panel-ai {
    grid-template-columns: 1fr;
  }

  .skill-panel-portal {
    height: 680px;
  }

  .pixel-grid {
    width: min(100%, 360px);
  }

  .skill-panel.is-active {
    max-height: 1480px;
  }

  .logo-tabs {
    overflow-x: auto;
  }

  .logo-tab {
    flex: 0 0 auto;
  }

  .case-hero {
    min-height: auto;
    gap: 140px;
  }

  .case-detail-panel {
    min-height: auto;
  }

  .project-portals {
    grid-template-columns: 1fr;
  }

  .travel-visual,
  .hl-visual,
  .beer-visual {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .travel-visual > *,
  .hl-visual > *,
  .beer-visual > * {
    min-height: 260px;
  }

  .travel-collage-large,
  .beer-collage-large,
  .hl-review,
  .hl-slide,
  .hl-dashboard,
  .hl-system,
  .beer-visual > * {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    justify-self: stretch;
  }

  .portal-screen {
    height: clamp(360px, 58vw, 620px);
  }

  .about-contact-grid,
  .contact-panel,
  .bonus-project,
  .freelance-project {
    grid-template-columns: 1fr;
  }

  .bonus-project-preview {
    justify-self: start;
  }

  .freelance-project-copy {
    position: static;
  }

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

  .contact-links {
    justify-content: flex-start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  :root {
    --page-margin: 18px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(4.15rem, 18vw, 5.8rem);
    line-height: 0.96;
    font-weight: 800;
  }

  .hero::before {
    display: none;
  }

  .hero {
    padding-top: 78px;
    padding-bottom: 92px;
  }

  .hero-text {
    max-width: 34ch;
    margin-top: 28px;
    font-size: 1.08rem;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 38px;
  }

  .skill-panel-portal {
    height: 720px;
  }

  .hero-puzzle {
    min-height: 260px;
  }

  .statement-dots span {
    border-width: 2px;
  }

  .case-study-tabs {
    padding-left: var(--page-margin);
    padding-right: var(--page-margin);
  }

  .logo-tabs {
    overflow-x: auto;
  }

  .logo-tab {
    min-height: auto;
  }

  .logo-shape {
    width: 58px;
    height: 58px;
    font-size: 1.25rem;
  }

  .client-logo {
    width: 62px;
    height: 62px;
  }

  .logo-tab:hover .client-name,
  .logo-tab:focus-visible .client-name,
  .logo-tab.is-active .client-name {
    max-width: 180px;
    margin-left: 14px;
  }

  .case-hero {
    gap: 90px;
  }

  .case-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-gallery-slide {
    flex-basis: 300px;
    width: 300px;
    height: 169px;
  }

  .case-detail-menu {
    gap: 28px;
  }

  .travel-visual,
  .hl-visual,
  .beer-visual,
  .freelance-gallery {
    grid-template-columns: 1fr;
  }

  .travel-visual > *,
  .hl-visual > *,
  .beer-visual > *,
  .freelance-gallery > * {
    min-height: 210px;
  }

  .freelance-gallery-large {
    grid-column: auto;
    grid-row: auto;
  }

  .portal-screen {
    height: 300px;
  }

}
