@import url("./design-system/tokens.css");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(7, 19, 15, 0.07) 1px, transparent 1px) 0 0 / 7.5vw 100%,
    radial-gradient(circle at 15% 8%, rgba(215, 255, 53, 0.35), transparent 28rem),
    var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.has-open-lightbox {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(7, 19, 15, 0.055) 1px, transparent 1px);
  background-size: 100% 72px;
}

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

img,
canvas {
  display: block;
  max-width: 100%;
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(119, 168, 255, 0.24), transparent 68%);
  translate: -50% -50%;
  pointer-events: none;
  opacity: 0.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.wordmark,
.site-header nav {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(244, 241, 232, 0.78);
}

.wordmark {
  gap: 12px;
  min-height: 46px;
  padding: 5px 16px 5px 5px;
  border-radius: 999px;
}

.wordmark span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.wordmark-photo {
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(7, 19, 15, 0.16) inset;
}

.wordmark-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.wordmark strong {
  font-size: 0.9rem;
}

.site-header nav {
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
}

.site-header nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(7, 19, 15, 0.76);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"] {
  color: var(--paper);
  background: var(--ink);
}

main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

section {
  padding: clamp(72px, 9vw, 150px) 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: start;
}

.hero.section-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1fr);
  gap: clamp(54px, 5.5vw, 104px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.45rem, 5.8vw, 6.65rem);
  line-height: 0.92;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5.4vw, 6.6rem);
  line-height: 0.9;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  line-height: 0.95;
}

.hero {
  min-height: calc(100vh - 72px);
  align-items: center;
  padding-top: 18px;
  padding-bottom: clamp(34px, 4vw, 62px);
  overflow: visible;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 740px;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero-actions .button {
  min-height: 48px;
  padding: 0 22px;
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 0 rgba(7, 19, 15, 0.1);
}

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

.button.ghost {
  background: rgba(255, 250, 241, 0.55);
}

.hero-portrait {
  position: relative;
  display: grid;
  width: min(100%, 760px);
  aspect-ratio: 1.38;
  place-items: center;
  justify-self: center;
  align-self: start;
  margin-top: clamp(8px, 3vw, 42px);
  isolation: isolate;
  overflow: clip;
}

.hero-portrait.portfolio-visual {
  width: min(105%, 960px);
  aspect-ratio: 1.34;
  justify-self: end;
  margin-top: clamp(0px, 1.2vw, 18px);
  overflow: visible;
  transform: translateX(clamp(-34px, -2vw, -12px));
}

.portfolio-visual .portrait-stage {
  display: none;
}

.portrait-stage,
.portrait-wrap,
.orbit,
.axis {
  position: absolute;
  inset: 0;
}

.portrait-stage {
  z-index: -1;
  transform-origin: center;
  overflow: clip;
}

.portrait-stage::before {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 255, 53, 0.2), transparent 64%);
  content: "";
  filter: blur(18px);
}

.portrait-wrap {
  inset: 0;
  z-index: 2;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.portrait-wrap > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.05) contrast(1.06);
}

.portfolio-globe {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.portfolio-globe:active,
.portfolio-globe.is-dragging {
  cursor: grabbing;
}

.portfolio-globe.has-card-hover {
  cursor: pointer;
}

.portfolio-globe-canvas,
.portfolio-globe-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portfolio-globe-canvas {
  z-index: 2;
  display: block;
  opacity: 0;
  transition: opacity 380ms ease;
}

.portfolio-globe.is-ready .portfolio-globe-canvas {
  opacity: 1;
}

.portfolio-globe-fallback {
  z-index: 1;
  object-fit: contain;
  object-position: 50% 50%;
  filter: saturate(1.05) contrast(1.04);
  transition: opacity 380ms ease;
}

.portfolio-globe.is-ready .portfolio-globe-fallback {
  opacity: 0;
}

.portfolio-globe::before,
.portfolio-globe::after {
  display: none;
}

.portfolio-globe::before {
  inset: 0;
  z-index: 4;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 21%, rgba(255, 255, 255, 0.56), transparent 19%),
    radial-gradient(circle at 68% 72%, transparent 48%, rgba(7, 19, 15, 0.2) 100%);
  mix-blend-mode: screen;
}

.portfolio-globe::after {
  inset: 5%;
  z-index: 5;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 250, 241, 0.36) inset,
    -18px -18px 52px rgba(255, 255, 255, 0.2) inset,
    22px 28px 58px rgba(7, 19, 15, 0.18) inset;
}

.hero-belts {
  --belt-radius: clamp(224px, 20.5vw, 315px);
  --card-width: clamp(176px, 15.5vw, 260px);
  --belt-height: calc(var(--card-width) * 0.78);
  inset: -6% -8%;
  display: block;
  perspective: 1220px;
  overflow: visible;
  border-radius: 0;
  cursor: default;
  transform-style: preserve-3d;
}

.portfolio-belt {
  position: absolute;
  inset: 0;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(-5.5deg);
}

.belt-top {
  top: 35%;
}

.belt-bottom {
  top: 70%;
}

.orbit-card {
  position: absolute;
  left: calc(var(--card-width) / -2);
  top: calc(var(--belt-height) / -2);
  z-index: var(--depth, 1);
  width: var(--card-width);
  aspect-ratio: 872 / 677;
  outline: none;
  transform:
    rotateY(calc(var(--angle) + var(--rotation, 0deg)))
    translateZ(var(--belt-radius));
  transform-style: preserve-3d;
  transition: filter 220ms ease, opacity 220ms ease;
  will-change: transform;
}

.orbit-card-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.82);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 250, 241, 0.08) 44%, rgba(7, 19, 15, 0.12)),
    rgba(255, 250, 241, 0.62);
  box-shadow:
    0 26px 46px rgba(7, 19, 15, 0.17),
    0 8px 0 rgba(255, 255, 255, 0.28) inset,
    0 -8px 0 rgba(7, 19, 15, 0.16) inset,
    0 0 0 1px rgba(7, 19, 15, 0.05);
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease, box-shadow 220ms ease;
  backface-visibility: visible;
  contain: paint;
  isolation: isolate;
  transform: translateZ(0);
}

.orbit-card-media::after {
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.18));
  content: "";
  pointer-events: none;
  mix-blend-mode: screen;
}

.orbit-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 250, 241, 0.72);
  backface-visibility: hidden;
  transform: translateZ(0.1px);
  will-change: transform;
}

.orbit-card.is-front:hover .orbit-card-media,
.orbit-card:focus-visible .orbit-card-media {
  transform: translateY(-4px) scale(1.025);
  box-shadow:
    0 30px 52px rgba(7, 19, 15, 0.2),
    0 8px 0 rgba(255, 255, 255, 0.3) inset,
    0 -8px 0 rgba(7, 19, 15, 0.18) inset,
    0 0 0 2px rgba(0, 127, 104, 0.48);
}

.orbit-card.is-back {
  pointer-events: none;
}

.orbit-card.is-back .orbit-card-media {
  opacity: 0.2;
  filter: blur(2px) saturate(0.32) contrast(0.78);
  background: rgba(255, 250, 241, 0.38);
  box-shadow:
    0 18px 46px rgba(7, 19, 15, 0.08),
    0 0 0 1px rgba(255, 250, 241, 0.5) inset;
}

.orbit-card.is-back img {
  opacity: 0.72;
}

.orbit {
  border: 1px solid rgba(7, 19, 15, 0.24);
  border-radius: 50%;
  animation: portraitOrbit 18s linear infinite;
}

.orbit-one {
  inset: 3%;
  transform: rotate(-12deg);
}

.orbit-two {
  inset: 15%;
  border-color: rgba(0, 127, 104, 0.3);
  animation-duration: 24s;
  animation-direction: reverse;
  transform: rotate(22deg);
}

.orbit-dot {
  position: absolute;
  z-index: 3;
  display: block;
  width: clamp(10px, 1.2vw, 16px);
  height: clamp(10px, 1.2vw, 16px);
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(0, 127, 104, 0.12);
}

.dot-one {
  top: 19%;
  right: 12%;
  animation: floatDot 5.5s ease-in-out infinite;
}

.dot-two {
  bottom: 18%;
  left: 12%;
  background: var(--acid);
  box-shadow: 0 0 0 8px rgba(215, 255, 53, 0.16);
  animation: floatDot 6.5s ease-in-out infinite reverse;
}

.axis {
  margin: auto;
  background: rgba(7, 19, 15, 0.12);
  transform-origin: center;
}

.axis-x {
  width: 100%;
  height: 1px;
  transform: rotate(-18deg);
}

.axis-y {
  width: 1px;
  height: 100%;
  transform: rotate(-18deg);
}

@keyframes portraitOrbit {
  to {
    rotate: 360deg;
  }
}

@keyframes floatDot {
  50% {
    transform: translate3d(0, -12px, 0) scale(1.08);
  }
}

.section-heading {
  max-width: 980px;
  margin-bottom: 44px;
}

.feedback-showcase {
  padding-top: clamp(40px, 5vw, 84px);
  overflow: visible;
}

.video-showcase {
  padding-top: clamp(72px, 9vw, 140px);
  overflow: visible;
}

.video-showcase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.video-showcase-header h2 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.94;
}

.video-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.video-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding-bottom: 10px;
}

.video-controls button {
  min-width: 72px;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.66);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.video-controls button:hover,
.video-controls button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.video-strip {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  width: 100%;
  padding: 0 4px 18px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 10px;
  -webkit-overflow-scrolling: touch;
}

.video-strip:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
}

.video-strip::-webkit-scrollbar {
  height: 12px;
}

.video-strip::-webkit-scrollbar-track {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.5);
}

.video-strip::-webkit-scrollbar-thumb {
  border: 3px solid rgba(255, 250, 241, 0.5);
  border-radius: 999px;
  background: var(--ink);
}

.video-card {
  flex: 0 0 min(72vw, 820px);
  width: min(72vw, 820px);
  scroll-snap-align: start;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--ink);
  border-radius: 28px;
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--green);
}

.video-frame iframe,
.video-frame > img {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame > img {
  display: block;
  object-fit: cover;
  opacity: 0.86;
  transition: opacity 180ms ease, transform 500ms ease;
}

.video-frame:hover > img {
  opacity: 0.68;
  transform: scale(1.015);
}

.video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid var(--paper);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(10, 12, 11, 0.88);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.video-play:hover,
.video-play:focus-visible {
  color: var(--ink);
  background: var(--green);
  transform: translate(-50%, -50%) scale(1.04);
}

.video-play span {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.video-fallback {
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.video-playlist-link {
  margin-top: 24px;
}

.feedback-showcase-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.feedback-showcase-header h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.feedback-controls,
.portfolio-controls,
.community-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  padding-bottom: 10px;
}

.feedback-controls button,
.portfolio-controls button,
.community-controls button {
  min-width: 72px;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.66);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feedback-controls button:hover,
.feedback-controls button:focus-visible,
.portfolio-controls button:hover,
.portfolio-controls button:focus-visible,
.community-controls button:hover,
.community-controls button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.community-controls button:disabled {
  cursor: default;
  opacity: 0.36;
  transform: none;
}

.community-controls button:disabled:hover,
.community-controls button:disabled:focus-visible {
  color: var(--ink);
  background: rgba(255, 250, 241, 0.66);
}

.feedback-strip,
.portfolio-strip {
  display: flex;
  gap: clamp(14px, 1.65vw, 24px);
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.feedback-strip {
  padding: 0 8px 18px 0;
}

.feedback-archive-link {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.feedback-strip:focus-visible,
.portfolio-strip:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
}

.feedback-strip::-webkit-scrollbar,
.portfolio-strip::-webkit-scrollbar {
  height: 12px;
}

.feedback-strip::-webkit-scrollbar-track,
.portfolio-strip::-webkit-scrollbar-track {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.5);
}

.feedback-strip::-webkit-scrollbar-thumb,
.portfolio-strip::-webkit-scrollbar-thumb {
  border: 3px solid rgba(255, 250, 241, 0.5);
  border-radius: 999px;
  background: var(--ink);
}

.feedback-card-shell {
  flex: 0 0 min(78vw, 660px);
  width: min(78vw, 660px);
  scroll-snap-align: start;
}

.feedback-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  min-height: 620px;
  height: 100%;
  padding: 32px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.feedback-card-shell:hover,
.feedback-card-shell:focus-within {
  background: var(--white);
  box-shadow: 0 18px 0 rgba(7, 19, 15, 0.1);
  transform: translateY(-5px);
}

.feedback-profile-link {
  display: block;
  color: inherit;
  border-radius: calc(var(--radius) - 6px);
}

.feedback-profile-link:focus-visible,
.feedback-project-media:focus-visible,
.feedback-project-button:focus-visible,
.feedback-full-trigger:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

.feedback-proof {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 329px;
}

.feedback-avatar {
  width: 180px;
  height: 180px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--paper);
}

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

.feedback-avatar-initials {
  display: grid;
  place-items: center;
  color: var(--paper);
  background:
    radial-gradient(circle at 38% 32%, rgba(215, 255, 53, 0.28), transparent 30%),
    linear-gradient(135deg, var(--green), var(--ink));
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 4rem;
  font-weight: 800;
}

.feedback-source {
  display: grid;
  min-height: 121px;
  align-content: end;
  justify-items: center;
  gap: 18px;
  border-top: 1px solid rgba(7, 19, 15, 0.18);
  color: #555;
  text-align: center;
}

.feedback-source span {
  font-size: 1rem;
}

.feedback-source img {
  width: auto;
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
}

.feedback-logo.forbes {
  max-width: 150px;
}

.feedback-logo.linkedin {
  width: 54px;
  height: 54px;
}

.feedback-logo.omnitrust {
  max-width: 150px;
  max-height: 54px;
}

.feedback-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  color: #555;
}

.feedback-copy p {
  margin: 0;
  color: #000;
  font-size: clamp(1.45rem, 1.85vw, 1.75rem);
  line-height: 1.16;
}

.feedback-copy strong,
.feedback-copy span {
  display: block;
  font-size: clamp(1.2rem, 1.55vw, 1.5rem);
  line-height: 1.2;
}

.feedback-copy strong {
  margin-bottom: 8px;
  font-weight: 800;
}

.feedback-full-trigger {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: var(--green);
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.feedback-full-trigger::after {
  content: "↗";
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(0, 136, 102, 0.42);
  border-radius: 50%;
  font-size: 0.78rem;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feedback-full-trigger:hover::after,
.feedback-full-trigger:focus-visible::after {
  color: var(--paper);
  background: var(--green);
  transform: translate(2px, -2px);
}

.feedback-project {
  display: flex;
  grid-column: 1 / -1;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 4px;
}

.feedback-project-media {
  display: block;
  width: min(100%, 360px);
  aspect-ratio: 872 / 677;
  overflow: hidden;
  border: 1px solid rgba(7, 19, 15, 0.2);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.76);
  box-shadow: 0 18px 34px rgba(7, 19, 15, 0.12);
  contain: paint;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feedback-project-media:hover,
.feedback-project-media:focus-visible {
  box-shadow: 0 22px 44px rgba(7, 19, 15, 0.16);
  transform: translateY(-3px);
}

.feedback-project-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  transform: translateZ(0.1px);
  will-change: transform;
}

.feedback-project-media-logo {
  display: grid;
  place-items: center;
  background: rgba(255, 250, 241, 0.78);
}

.feedback-project-media-logo img {
  width: 58%;
  height: auto;
  max-height: 48%;
  object-fit: contain;
}

.feedback-project-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.feedback-project-button:hover,
.feedback-project-button:focus-visible {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-2px);
}

.feedback-lightbox-panel {
  min-height: auto;
}

.feedback-lightbox-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feedback-lightbox-panel h3 {
  margin: 0 0 18px;
}

.feedback-lightbox-panel p[data-feedback-lightbox-copy] {
  margin: 0;
  color: #333;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.reviews-page {
  padding-top: clamp(32px, 5vw, 72px);
}

.reviews-hero {
  max-width: 1120px;
  padding-bottom: clamp(42px, 5vw, 82px);
}

.reviews-hero h1 {
  max-width: 1080px;
  font-size: clamp(4rem, 9vw, 9.5rem);
  line-height: 0.88;
}

.reviews-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  font-weight: 700;
  line-height: 1.35;
}

.reviews-list {
  display: grid;
  gap: 18px;
  padding-top: 0;
}

.review-detail-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.64fr) minmax(0, 1.22fr) minmax(260px, 0.82fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
  min-height: 360px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 0 rgba(7, 19, 15, 0.06);
}

.review-detail-profile {
  display: grid;
  gap: 20px;
  align-content: start;
}

.review-detail-profile strong,
.review-detail-profile span {
  display: block;
  line-height: 1.18;
}

.review-detail-profile strong {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
}

.review-detail-profile span {
  color: #555;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 700;
}

.review-detail-proof {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 8px 10px 8px 0;
  color: #555;
  font-size: 0.88rem;
  font-weight: 800;
  transition: color 180ms ease, transform 180ms ease;
}

.review-detail-proof:hover,
.review-detail-proof:focus-visible {
  color: var(--green);
  transform: translateY(-2px);
}

.review-detail-proof .feedback-logo.linkedin {
  width: 34px;
  height: 34px;
}

.review-detail-proof .feedback-logo.forbes {
  max-width: 118px;
  max-height: 38px;
}

.review-detail-proof .feedback-logo.omnitrust {
  max-width: 118px;
  max-height: 38px;
}

.review-detail-copy {
  display: grid;
  gap: 22px;
}

.review-detail-copy p {
  margin-bottom: 0;
  color: #1a1a1a;
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  line-height: 1.42;
}

.review-detail-project {
  display: block;
  aspect-ratio: 872 / 677;
  overflow: hidden;
  border: 1px solid rgba(7, 19, 15, 0.18);
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.78);
  box-shadow: 0 18px 34px rgba(7, 19, 15, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.review-detail-project:hover,
.review-detail-project:focus-visible {
  box-shadow: 0 22px 44px rgba(7, 19, 15, 0.16);
  transform: translateY(-3px);
}

.review-detail-project img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-detail-project-logo {
  display: grid;
  place-items: center;
}

.review-detail-project-logo img {
  width: 58%;
  height: auto;
  max-height: 48%;
}

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

.metric {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.58);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.metric.large {
  grid-column: span 2;
  color: var(--paper);
  background: var(--green);
}

.metric:hover {
  transform: translateY(-8px);
  color: var(--paper);
  background: var(--ink);
}

.metric strong {
  display: block;
  margin-bottom: 22px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(3rem, 7vw, 8rem);
  line-height: 0.82;
}

.metric span {
  display: block;
  max-width: 320px;
  color: currentColor;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.certifications {
  padding-top: 0;
}

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

.certification-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(255, 250, 241, 0.24)),
    rgba(255, 250, 241, 0.66);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.certification-card.featured {
  color: var(--paper);
  background:
    radial-gradient(circle at 82% 10%, rgba(215, 255, 53, 0.34), transparent 34%),
    linear-gradient(135deg, var(--green), var(--ink));
}

.certification-card:hover {
  background: var(--white);
  box-shadow: 0 16px 0 rgba(7, 19, 15, 0.09);
  transform: translateY(-5px);
}

.certification-card.featured:hover {
  background:
    radial-gradient(circle at 82% 10%, rgba(215, 255, 53, 0.38), transparent 34%),
    linear-gradient(135deg, var(--green), var(--ink));
}

.certification-card span {
  color: currentColor;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0.72;
}

.certification-card h3 {
  max-width: 290px;
  margin: auto 0 24px;
  font-size: clamp(1.28rem, 1.7vw, 1.9rem);
}

.certification-card p,
.certification-card small {
  margin: 0;
  color: currentColor;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0.7;
}

.certification-card small {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
}

.sticky-intro {
  position: sticky;
  top: 120px;
}

.sticky-intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.work-list {
  display: grid;
  gap: 14px;
}

.work-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.work-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}

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

.project-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.project-card::before {
  position: absolute;
  top: -92px;
  right: -42px;
  display: block;
  width: 18rem;
  height: 18rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.28;
  animation: projectCircleDrift 16s ease-in-out infinite;
}

.project-card::after {
  position: absolute;
  top: 42%;
  right: 24%;
  width: 7.4rem;
  height: 7.4rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.16;
  animation: projectCircleDriftSmall 13s ease-in-out infinite;
}

.project-card:nth-child(2)::before {
  animation-delay: -4s;
}

.project-card:nth-child(2)::after {
  animation-delay: -7s;
}

.project-card:nth-child(3)::before {
  animation-delay: -8s;
}

.project-card:nth-child(3)::after {
  animation-delay: -2s;
}

.project-card p {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.project-card h3,
.project-card span {
  position: relative;
  z-index: 1;
}

.project-card span {
  color: rgba(244, 241, 232, 0.78);
  font-size: 1.05rem;
  line-height: 1.45;
}

.project-card.ecommerce {
  background: var(--ink);
}

.project-card.fintech {
  color: var(--ink);
  background: var(--acid);
}

.project-card.fintech span {
  color: rgba(7, 19, 15, 0.72);
}

.project-card.saas {
  background: var(--green);
}

.portfolio-cards {
  padding-top: 0;
  overflow: visible;
}

.portfolio-cards-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.portfolio-cards-header h2 {
  max-width: 920px;
}

.portfolio-strip {
  padding: 10px 10px 18px;
}

.portfolio-cards .portfolio-strip.is-visible .portfolio-card-image {
  animation: behanceScrollHint 10s ease-in-out infinite;
}

.portfolio-cards .portfolio-strip:hover .portfolio-card-image,
.portfolio-cards .portfolio-strip:focus-within .portfolio-card-image {
  animation-play-state: paused;
}

.portfolio-card-image {
  flex: 0 0 min(72vw, 868px);
  width: min(72vw, 868px);
  margin: 0;
  aspect-ratio: 868 / 678;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.7);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 24px 60px rgba(7, 19, 15, 0.08);
  transition: box-shadow 180ms ease, transform 180ms ease;
  contain: paint;
  isolation: isolate;
  transform: translateZ(0);
}

.portfolio-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  transform: translateZ(0.1px);
  will-change: transform;
}

a.portfolio-card-image:hover,
a.portfolio-card-image:focus-visible {
  box-shadow: 0 26px 0 rgba(7, 19, 15, 0.1);
  outline: none;
  transform: translateY(-5px);
}

@keyframes projectCircleDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-18px, 24px, 0) scale(1.08);
  }
}

@keyframes projectCircleDriftSmall {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -16px, 0) scale(0.92);
  }
}

@keyframes behanceScrollHint {
  0%,
  18%,
  100% {
    translate: 0 0;
  }

  8% {
    translate: -18px 0;
  }

  13% {
    translate: 8px 0;
  }
}

.value {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.value-list {
  display: grid;
  gap: 0;
}

.value-list p {
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.22;
}

.profile-band {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.expertise,
.details {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.expertise {
  background: var(--white);
}

.details {
  background: var(--blue);
}

.profile-band h2 {
  margin-bottom: 26px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(7, 19, 15, 0.76);
  background: rgba(255, 255, 255, 0.4);
  font-size: 0.92rem;
  font-weight: 800;
}

.details p {
  color: rgba(7, 19, 15, 0.72);
  font-weight: 700;
  line-height: 1.45;
}

.details h2:not(:first-child) {
  margin-top: 36px;
}

.recommendations {
  padding-top: 0;
}

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

.recommendation-link {
  display: block;
  color: inherit;
}

.recommendation-link .recommendation-card {
  height: 100%;
}

.recommendation-card {
  display: flex;
  min-height: 380px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.68);
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.recommendation-card:hover {
  transform: translateY(-8px);
  background: var(--white);
}

.recommendation-card.featured {
  color: var(--paper);
  background: var(--ink);
}

.recommendation-card.featured span {
  color: rgba(244, 241, 232, 0.7);
}

.recommendation-card p {
  margin-bottom: 34px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.45rem, 2.3vw, 2.55rem);
  font-weight: 700;
  line-height: 1.02;
}

.recommendation-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.2vw, 2.4rem);
}

.recommendation-card span {
  display: block;
  color: rgba(7, 19, 15, 0.68);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.community-leadership {
  padding-top: clamp(48px, 7vw, 112px);
}

.community-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 28px;
}

.community-header > div:first-child {
  max-width: 1050px;
}

.community-header h2 {
  max-width: 980px;
  margin-bottom: 24px;
}

.community-intro {
  max-width: 860px;
  color: rgba(7, 19, 15, 0.68);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 650;
  line-height: 1.45;
}

.community-carousel-meta {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 16px;
}

.community-progress {
  min-width: 76px;
  padding-bottom: 10px;
  color: rgba(7, 19, 15, 0.66);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
}

.community-carousel {
  overflow: hidden;
}

.community-track {
  display: flex;
  gap: clamp(14px, 1.65vw, 24px);
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.community-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.community-track:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
}

.community-track::-webkit-scrollbar {
  display: none;
}

.community-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 1.05fr);
  flex: 0 0 min(88vw, 1120px);
  width: min(88vw, 1120px);
  height: min(70vw, 868px);
  min-height: 560px;
  gap: clamp(24px, 3vw, 44px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  scroll-snap-align: start;
}

.community-card-collage {
  grid-template-columns: minmax(520px, 1.42fr) minmax(340px, 0.98fr);
}

.community-card-reflection {
  grid-template-columns: minmax(440px, 1.06fr) minmax(420px, 0.94fr);
}

.community-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(7, 19, 15, 0.2);
  border-radius: calc(var(--radius) - 4px);
  background: var(--ink);
  contain: paint;
  isolation: isolate;
  transform: translateZ(0);
}

.community-media-static {
  background-image: var(--community-media-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.community-media-static > img {
  opacity: 0;
}

.community-media-split {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.community-media-split > span {
  min-height: 0;
  background-image: var(--community-media-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.community-media img,
.community-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
  transform: translateZ(0.1px);
  will-change: transform;
}

.community-inline-video {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 37% !important;
  background-color: var(--ink);
  background-image: url("assets/ixdf/community-meetup-video-poster.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
}

.community-photo-placeholder {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  place-items: end start;
  padding: 26px;
  border: 1px solid rgba(7, 19, 15, 0.2);
  border-radius: calc(var(--radius) - 4px);
  background:
    radial-gradient(circle at 26% 22%, rgba(0, 128, 104, 0.26), transparent 28%),
    radial-gradient(circle at 78% 74%, rgba(215, 255, 53, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(7, 19, 15, 0.88), rgba(0, 128, 104, 0.72));
  color: var(--paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.community-photo-placeholder::before,
.community-photo-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(244, 241, 232, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.community-photo-placeholder::before {
  width: 72%;
  aspect-ratio: 1;
  top: -18%;
  right: -18%;
}

.community-photo-placeholder::after {
  width: 44%;
  aspect-ratio: 1;
  bottom: -12%;
  left: -12%;
}

.community-photo-placeholder-alt {
  background:
    radial-gradient(circle at 76% 24%, rgba(119, 168, 255, 0.32), transparent 30%),
    radial-gradient(circle at 24% 78%, rgba(215, 255, 53, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(244, 241, 232, 0.84), rgba(7, 19, 15, 0.78));
  color: var(--ink);
}

.community-photo-placeholder-warm {
  min-height: 100%;
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 111, 78, 0.3), transparent 30%),
    radial-gradient(circle at 74% 74%, rgba(215, 255, 53, 0.26), transparent 32%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(0, 128, 104, 0.74));
  color: var(--ink);
}

.community-photo-placeholder span {
  position: relative;
  z-index: 1;
  max-width: 260px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 800;
  line-height: 1.02;
}

.community-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.community-card-number,
.community-label {
  color: var(--green);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.community-card-number {
  margin-bottom: 18px;
}

.community-label {
  margin-bottom: 16px;
}

.community-card h3 {
  max-width: 640px;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 3.8vw, 4.6rem);
  line-height: 0.96;
}

.community-card p:not(.community-label) {
  max-width: 720px;
  color: rgba(7, 19, 15, 0.68);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  font-weight: 650;
  line-height: 1.5;
}

.community-card p + p {
  margin-top: 16px;
}

.community-quote {
  margin: clamp(24px, 3vw, 36px) 0 0;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid rgba(7, 19, 15, 0.18);
}

.community-quote p {
  max-width: 760px;
  color: var(--ink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.8rem, 3.3vw, 4.2rem);
  font-weight: 800;
  line-height: 0.98;
}

.community-end-indicator {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  margin-top: 22px;
  padding: 0 14px;
  border: 1px solid rgba(7, 19, 15, 0.18);
  border-radius: 999px;
  color: rgba(7, 19, 15, 0.68);
  background: rgba(255, 250, 241, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.community-stats div {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(7, 19, 15, 0.16);
  border-radius: calc(var(--radius) - 6px);
  background: rgba(255, 250, 241, 0.62);
}

.community-stats dt {
  margin-bottom: 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2rem, 3.4vw, 4rem);
  font-weight: 800;
  line-height: 0.9;
}

.community-stats dd {
  margin: 0;
  color: rgba(7, 19, 15, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.22;
}

.community-collage {
  display: grid;
  min-height: 100%;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(10, minmax(28px, 1fr));
  gap: 12px;
}

.community-collage-item {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(7, 19, 15, 0.2);
  border-radius: calc(var(--radius) - 4px);
  color: var(--paper);
  background:
    radial-gradient(circle at 26% 24%, rgba(215, 255, 53, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(7, 19, 15, 0.9), rgba(0, 128, 104, 0.72));
  box-shadow: 0 18px 38px rgba(7, 19, 15, 0.1);
  cursor: pointer;
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.community-collage-item:nth-child(2n) {
  background:
    radial-gradient(circle at 74% 28%, rgba(119, 168, 255, 0.32), transparent 28%),
    linear-gradient(135deg, rgba(244, 241, 232, 0.88), rgba(7, 19, 15, 0.68));
  color: var(--ink);
}

.community-collage-item:nth-child(3n) {
  background:
    radial-gradient(circle at 74% 76%, rgba(0, 128, 104, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(215, 255, 53, 0.28), rgba(255, 250, 241, 0.92));
  color: var(--ink);
}

.community-collage-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px);
  opacity: 0.7;
}

.community-collage-item span {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 160px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
}

.community-collage-item:hover,
.community-collage-item:focus-visible {
  box-shadow: 0 24px 48px rgba(7, 19, 15, 0.16);
  filter: saturate(1.08);
  transform: translateY(-4px);
}

.community-collage-item:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

.collage-large {
  grid-column: 1 / span 7;
  grid-row: 1 / span 5;
}

.collage-tall {
  grid-column: 8 / span 5;
  grid-row: 1 / span 6;
}

.collage-small {
  grid-column: 2 / span 4;
  grid-row: 6 / span 3;
}

.collage-wide {
  grid-column: 6 / span 7;
  grid-row: 7 / span 4;
}

.collage-medium {
  grid-column: 1 / span 5;
  grid-row: 9 / span 2;
}

.collage-offset {
  grid-column: 5 / span 4;
  grid-row: 5 / span 3;
  transform: translateY(8px);
}

.collage-offset:hover,
.collage-offset:focus-visible {
  transform: translateY(4px);
}

.community-lightbox[hidden] {
  display: none;
}

.community-lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.community-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 19, 15, 0.5);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.community-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 860px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 250, 241, 0.94);
  box-shadow: 0 28px 80px rgba(7, 19, 15, 0.24);
}

.community-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.74);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.community-lightbox-image {
  min-height: min(56vh, 500px);
  margin-bottom: 22px;
  border: 1px solid rgba(7, 19, 15, 0.18);
  border-radius: calc(var(--radius) - 4px);
  background:
    radial-gradient(circle at 28% 24%, rgba(215, 255, 53, 0.24), transparent 28%),
    radial-gradient(circle at 72% 74%, rgba(119, 168, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(7, 19, 15, 0.86), rgba(0, 128, 104, 0.72));
}

.community-lightbox-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
}

.community-lightbox-panel p {
  max-width: 560px;
  color: rgba(7, 19, 15, 0.68);
  font-weight: 700;
  line-height: 1.4;
}

.contact {
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact h2 {
  max-width: 1100px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-links a {
  padding: 12px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.55);
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  color: var(--paper);
  background: var(--green);
  transform: translateY(-2px);
}

[data-reveal] {
  transform: translateY(22px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1040px) {
  .section-grid,
  .profile-band {
    grid-template-columns: 1fr;
  }

  .hero.section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero {
    align-items: start;
  }

  .hero-portrait {
    width: min(92vw, 700px);
    margin-top: 8px;
  }

  .hero-portrait.portfolio-visual {
    width: min(96vw, 760px);
    aspect-ratio: 1.34;
    justify-self: center;
    overflow: visible;
    transform: none;
  }

  .sticky-intro {
    position: static;
  }

  .metric-grid,
  .certification-grid,
  .project-grid,
  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-cards-header {
    align-items: start;
    flex-direction: column;
  }

  .feedback-showcase-header {
    align-items: start;
    flex-direction: column;
  }

  .video-showcase-header {
    align-items: start;
    flex-direction: column;
  }

  .community-header {
    align-items: start;
    flex-direction: column;
  }

  .community-carousel-meta {
    width: 100%;
    justify-content: space-between;
  }

  .community-card {
    grid-template-columns: 1fr;
    flex-basis: min(90vw, 820px);
    width: min(90vw, 820px);
    height: auto;
  }

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

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

  .community-card-reflection .community-photo-placeholder {
    order: -1;
  }

  .community-card-reflection .community-media,
  .community-card-reverse .community-media {
    order: -1;
  }

  .review-detail-card {
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr);
  }

  .review-detail-project {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 520px);
  }

  .community-card-reverse .community-photo-placeholder {
    order: -1;
  }

  .community-collage {
    min-height: 520px;
  }

  .community-photo-placeholder {
    min-height: 340px;
  }

  .community-media {
    min-height: 520px;
  }

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

  .feedback-card-shell {
    flex-basis: min(86vw, 660px);
    width: min(86vw, 660px);
  }

  .feedback-card {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 24px;
  }

  .feedback-avatar {
    width: 150px;
    height: 150px;
  }

  .portfolio-controls {
    padding-bottom: 0;
  }

  .portfolio-card-image {
    flex-basis: min(84vw, 760px);
    width: min(84vw, 760px);
  }
}

@media (max-width: 760px) {
  body {
    background-size: 20vw 100%, auto, auto;
  }

  .cursor-glow {
    display: none;
  }

  .site-header {
    position: static;
    width: min(100% - 24px, var(--max));
    flex-direction: column;
    align-items: stretch;
  }

  .wordmark,
  .site-header nav {
    justify-content: center;
  }

  .site-header nav {
    overflow-x: auto;
  }

  main {
    width: min(100% - 24px, var(--max));
  }

  section {
    padding: 58px 0;
  }

  h1 {
    font-size: clamp(3.35rem, 15.5vw, 5.5rem);
  }

  h2 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

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

  .hero-portrait {
    width: min(98vw, 520px);
    margin-top: 6px;
  }

  .hero-portrait.portfolio-visual {
    width: min(100vw, 560px);
    aspect-ratio: 1.28;
  }

  .hero-belts {
    --belt-radius: clamp(156px, 40vw, 220px);
    --card-width: clamp(108px, 29vw, 146px);
    inset: -4% -10%;
  }

  .metric-grid,
  .certification-grid,
  .project-grid,
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .metric,
  .certification-card,
  .project-card,
  .recommendation-card {
    min-height: 260px;
  }

  .metric.large {
    grid-column: span 1;
  }

  .project-card::before {
    width: 12rem;
    height: 12rem;
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .contact-links a {
    width: 100%;
  }

  .feedback-controls,
  .portfolio-controls,
  .community-controls,
  .video-controls {
    width: 100%;
  }

  .feedback-controls button,
  .portfolio-controls button,
  .community-controls button,
  .video-controls button {
    flex: 1;
  }

  .video-strip {
    width: calc(100% + 24px);
    margin-inline: -12px;
    padding-inline: 12px;
  }

  .video-card {
    flex-basis: 88vw;
    width: 88vw;
  }

  .video-frame {
    border-radius: 18px;
    box-shadow: 5px 5px 0 var(--green);
  }

  .video-playlist-link {
    width: 100%;
  }

  .community-carousel-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .community-progress {
    padding-bottom: 0;
  }

  .community-carousel {
    margin-inline: -12px;
    width: calc(100% + 24px);
  }

  .community-track {
    padding-inline: 12px;
    scroll-padding-inline: 12px;
  }

  .community-card {
    flex-basis: calc(100vw - 24px);
    width: calc(100vw - 24px);
    min-height: 0;
    padding: 22px;
  }

  .community-media {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .community-photo-placeholder {
    min-height: 260px;
    padding: 20px;
  }

  .community-photo-placeholder-warm {
    min-height: 320px;
  }

  .community-photo-placeholder span {
    max-width: 220px;
  }

  .community-quote p {
    font-size: clamp(1.65rem, 9vw, 2.8rem);
  }

  .community-collage {
    min-height: 620px;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(12, minmax(34px, 1fr));
  }

  .collage-large {
    grid-column: 1 / span 6;
    grid-row: 1 / span 3;
  }

  .collage-tall {
    grid-column: 1 / span 3;
    grid-row: 4 / span 4;
  }

  .collage-small {
    grid-column: 4 / span 3;
    grid-row: 4 / span 2;
  }

  .collage-wide {
    grid-column: 3 / span 4;
    grid-row: 8 / span 3;
  }

  .collage-medium {
    grid-column: 1 / span 3;
    grid-row: 10 / span 3;
  }

  .collage-offset {
    grid-column: 4 / span 3;
    grid-row: 6 / span 2;
    transform: none;
  }

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

  .community-stats div {
    min-height: 112px;
  }

  .feedback-strip,
  .portfolio-strip {
    margin-inline: -12px;
    width: calc(100% + 24px);
    padding-inline: 12px;
  }

  .feedback-card-shell {
    flex-basis: 88vw;
    width: 88vw;
  }

  .feedback-archive-link {
    justify-content: stretch;
  }

  .reviews-page {
    padding-top: 24px;
  }

  .reviews-hero h1 {
    font-size: clamp(3.2rem, 14vw, 5.6rem);
  }

  .review-detail-card {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 22px;
  }

  .review-detail-profile {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
  }

  .review-detail-profile .feedback-avatar {
    width: 96px;
    height: 96px;
  }

  .review-detail-copy .feedback-project-button {
    width: 100%;
  }

  .review-detail-project {
    width: 100%;
  }

  .feedback-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feedback-proof {
    min-height: 0;
    align-items: start;
    flex-direction: row;
    gap: 20px;
  }

  .feedback-avatar {
    width: 96px;
    height: 96px;
  }

  .feedback-source {
    min-height: 96px;
    align-content: center;
    justify-items: start;
    text-align: left;
    flex: 1;
  }

  .feedback-source img {
    max-width: 120px;
    max-height: 42px;
  }

  .feedback-logo.linkedin {
    width: 42px;
    height: 42px;
  }

  .feedback-copy {
    gap: 34px;
  }

  .feedback-project {
    align-items: stretch;
  }

  .feedback-project-media {
    width: 100%;
  }

  .feedback-project-button {
    align-self: center;
  }

  .portfolio-card-image {
    flex-basis: 86vw;
    width: 86vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}

/* Isolated layout used when transferring the IxDF section into Figma. */
body.capture-ixdf .site-header,
body.capture-ixdf .cursor-glow,
body.capture-ixdf main > :not(.community-leadership) {
  display: none !important;
}

body.capture-ixdf main {
  width: min(100% - 48px, var(--max));
}

body.capture-ixdf .community-leadership {
  padding-top: 48px;
}

body.capture-ixdf [data-reveal] {
  transform: none;
  opacity: 1;
}
