:root {
  color-scheme: dark;
  scrollbar-gutter: stable;
  --font-sans: "Geist Sans", Geist, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", GeistMono, "SFMono-Regular", Consolas, "Liberation Mono",
    monospace;
  font-family:
    var(--font-sans);
  background: #000;
  color: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #000;
  overflow-x: hidden;
}

body {
  min-width: 320px;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100vw;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(10px, 1.2vw, 16px) clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 220%;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1.000)  0%,
    rgba(255,255,255,1.000) 28%,
    rgba(255,255,255,0.997) 32%,
    rgba(255,255,255,0.988) 36%,
    rgba(255,255,255,0.972) 40%,
    rgba(255,255,255,0.950) 44%,
    rgba(255,255,255,0.921) 48%,
    rgba(255,255,255,0.885) 52%,
    rgba(255,255,255,0.843) 56%,
    rgba(255,255,255,0.795) 60%,
    rgba(255,255,255,0.683) 65%,
    rgba(255,255,255,0.560) 70%,
    rgba(255,255,255,0.427) 75%,
    rgba(255,255,255,0.293) 81%,
    rgba(255,255,255,0.168) 86%,
    rgba(255,255,255,0.079) 90%,
    rgba(255,255,255,0.026) 94%,
    rgba(255,255,255,0.005) 97%,
    transparent             100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  pointer-events: none;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

/* Dark background overlay for black sections */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  height: 220%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,1.000)  0%,
    rgba(0,0,0,1.000) 28%,
    rgba(0,0,0,0.997) 32%,
    rgba(0,0,0,0.988) 36%,
    rgba(0,0,0,0.972) 40%,
    rgba(0,0,0,0.950) 44%,
    rgba(0,0,0,0.921) 48%,
    rgba(0,0,0,0.885) 52%,
    rgba(0,0,0,0.843) 56%,
    rgba(0,0,0,0.795) 60%,
    rgba(0,0,0,0.683) 65%,
    rgba(0,0,0,0.560) 70%,
    rgba(0,0,0,0.427) 75%,
    rgba(0,0,0,0.293) 81%,
    rgba(0,0,0,0.168) 86%,
    rgba(0,0,0,0.079) 90%,
    rgba(0,0,0,0.026) 94%,
    rgba(0,0,0,0.005) 97%,
    transparent       100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  pointer-events: none;
}

.site-header.is-dark::after {
  opacity: 1;
}

.site-header.is-dark.is-scrolled::before {
  opacity: 0;
}


.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
}

@media (max-width: 980px) {
  .site-header {
    transition: opacity 0.55s cubic-bezier(0.625, 0.05, 0, 1), transform 0.65s cubic-bezier(0.625, 0.05, 0, 1);
  }
  .site-header::before {
    height: 180%;
  }
  .site-header.is-hidden {
    opacity: 0;
    transform: translateY(-100%);
  }
}

.brand-logo {
  display: inline-flex;
  width: 177px;
  max-width: calc(100vw - 48px);
  color: #fff;
  transition: color 0.4s ease;
}

.brand-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 3.5vw, 56px);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav a {
  display: inline-block;
  min-width: var(--link-width, auto);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 180ms ease, opacity 180ms ease;
  will-change: contents;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-header.is-scrolled .site-nav a {
  color: rgba(0, 0, 0, 0.45);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  color: #000;
}

.site-header.is-scrolled .brand-logo {
  color: #000;
}

.contact-button {
  --clip-height: 1.4em;
  justify-self: end;
  display: inline-flex;
  min-width: 158px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.625, 0.05, 0, 1), background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: scale(0.95);
}

.site-header.is-scrolled .contact-button {
  background: #111;
  color: #fff;
}

/* is-dark overrides — must come after is-scrolled rules to win specificity */
.site-header.is-dark .brand-logo,
.site-header.is-dark.is-scrolled .brand-logo {
  color: #fff;
}

.site-header.is-dark .site-nav a,
.site-header.is-dark.is-scrolled .site-nav a {
  color: rgba(255,255,255,0.65);
}

.site-header.is-dark .site-nav a:hover,
.site-header.is-dark .site-nav a:focus-visible,
.site-header.is-dark.is-scrolled .site-nav a:hover,
.site-header.is-dark.is-scrolled .site-nav a:focus-visible {
  color: #fff;
}

.site-header.is-dark .contact-button,
.site-header.is-dark.is-scrolled .contact-button {
  background: #fff;
  color: #000;
  border-color: transparent;
}

.contact-label {
  display: inline-flex;
}

.contact-letter {
  position: relative;
  display: inline-block;
  height: var(--clip-height);
  line-height: var(--clip-height);
  overflow: hidden;
  vertical-align: top;
}

.contact-letter-space {
  width: 0.35em;
}

.contact-letter-inner {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--clip-height);
  line-height: var(--clip-height);
  transform: translateY(0);
  transition: transform 0.8s cubic-bezier(0.625, 0.05, 0, 1);
}

.contact-letter-inner-primary {
  top: 0;
}

.contact-letter-inner-secondary {
  top: var(--clip-height);
}

.contact-letter-sizer {
  visibility: hidden;
}

.contact-arrow {
  position: relative;
  display: inline-flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.625, 0.05, 0, 1);
}

.contact-arrow-icon {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.8s cubic-bezier(0.625, 0.05, 0, 1);
}

.contact-arrow-icon-secondary {
  transform: translateX(-120%);
}

.contact-button:hover .contact-arrow,
.contact-button:focus-visible .contact-arrow {
  transform: translateX(2px);
}

.contact-button:hover .contact-arrow-icon-primary,
.contact-button:focus-visible .contact-arrow-icon-primary {
  transform: translateX(120%);
}

.contact-button:hover .contact-arrow-icon-secondary,
.contact-button:focus-visible .contact-arrow-icon-secondary {
  transform: translateX(0);
}

.contact-button:hover .contact-letter-inner,
.contact-button:focus-visible .contact-letter-inner {
  transform: translateY(calc(-1 * var(--clip-height)));
}

.hero {
  --hero-shift: clamp(-19rem, -21vh, -10rem);
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  height: 100vh;
  height: 100svh;
  min-height: clamp(42.5rem, 100svh, 61.25rem);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  padding: 8rem 1.5rem 2.5rem;
  text-align: center;
  background: #292a22;
  color: #fff;
  isolation: isolate;
}

.hero-webgl {
  position: absolute;
  inset: -8%;
  z-index: 0;
  width: auto;
  height: auto;
  background: #292a22;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(6%) scale(1.12);
  transform-origin: center center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-webgl.is-ready {
  opacity: 1;
}

.hero-webgl iframe,
.hero-webgl canvas,
.hero-webgl > div,
.hero-webgl > div > * {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background: #292a22 !important;
}

.hero::after {
  content: none;
}

@media (min-width: 1200px) {
  .hero-webgl {
    inset: -14%;
    transform: translateY(9%) scale(1.22);
  }
}

@media (min-width: 1800px) {
  .hero-webgl {
    inset: -28%;
    transform: translateY(10%) scale(1.42);
  }
}

@media (min-width: 2600px) {
  .hero-webgl {
    inset: -38%;
    transform: translateY(8%) scale(1.58);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  transform: translateY(var(--hero-shift));
}

.hero-badge {
  position: relative;
  width: clamp(7rem, 9vw, 11rem);
  aspect-ratio: 115 / 72;
  height: auto;
  margin: 0 auto clamp(1.5rem, 4vh, 3rem);
}

.hero-mark {
  display: block;
  width: 100%;
  height: auto;
}

.badge-scramble {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.74);
  font-family: var(--font-mono);
  font-size: clamp(0.18rem, 0.24vw, 0.28rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 0 0.55rem rgba(255, 255, 255, 0.12);
}

.badge-scramble-crafted {
  top: 30.5%;
}

.badge-scramble-intent {
  top: 66%;
  font-size: clamp(0.13rem, 0.19vw, 0.22rem);
}

.badge-scramble-care {
  top: 74%;
  font-size: clamp(0.13rem, 0.19vw, 0.22rem);
}

[data-split="heading"],
.hero-badge {
  opacity: 0;
}

h1 {
  margin: 0;
  max-width: 1100px;
  font-family: var(--font-sans);
  font-size: clamp(3.75rem, 8.5vw, 9rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
  padding-bottom: 0.12em;
}

h1 span {
  display: block;
}

.hero-title-muted {
  color: rgba(255, 255, 255, 0.5);
}

.hero-body {
  position: relative;
  z-index: 3;
  margin: 1.25rem auto 0;
  max-width: 36rem;
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.4vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .hero-body {
    font-size: clamp(0.8rem, 3.5vw, 0.95rem);
    letter-spacing: -0.03em;
  }
}

@media (max-width: 980px) {
  .hero {
    --hero-shift: clamp(-14rem, -20vh, -8rem);
    min-height: 47.5rem;
  }

  .hero-webgl {
    height: 124%;
    transform: translateY(9%) scale(1.14);
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .site-nav {
    display: none;
  }

}


@media (max-width: 520px) {
  .hero {
    --hero-shift: clamp(-12.5rem, -18vh, -7.75rem);
    min-height: 45rem;
    padding-inline: 1.25rem;
  }

  .hero-badge {
    width: clamp(6.5rem, 30vw, 7.5rem);
  }

  .badge-scramble {
    font-size: clamp(0.2rem, 0.75vw, 0.3rem);
  }

  .badge-scramble-intent,
  .badge-scramble-care {
    font-size: clamp(0.15rem, 0.56vw, 0.23rem);
  }

  .hero-webgl {
    inset: -22%;
    height: auto;
    transform: translateY(1%) scale(1.18);
  }

  .site-header {
    gap: 16px;
  }

  .brand-logo {
    width: 150px;
  }

  .contact-button {
    min-width: 118px;
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.875rem;
  }
}

.pixelated-scroll-transition {
  z-index: 10;
  pointer-events: none;
  color: #fff;
  position: absolute;
  inset: auto 0% 0%;
}

[data-pixelated-scroll-panel] {
  display: flex;
  flex-direction: row;
  width: 100%;
}

[data-pixelated-scroll-column] {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  flex: 1 1 0%;
  min-width: 0;
}

[data-pixelated-scroll-pixel] {
  aspect-ratio: 1;
  width: 100%;
  background-color: currentColor;
  backface-visibility: hidden;
  will-change: opacity;
  opacity: 0;
}

.work-section {
  background: #fff;
  color: #1a1a18;
  padding: clamp(8rem, 16vw, 14rem) clamp(1.5rem, 5vw, 6rem) clamp(8rem, 16vw, 14rem);
}

@media (max-width: 640px) {
  .work-section {
    padding-left: clamp(6px, 0.6vw, 10px);
    padding-right: clamp(6px, 0.6vw, 10px);
  }
}

.work-intro {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.5rem 0 clamp(18rem, 32vw, 28rem);
  text-align: center;
}

.work-heading {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: #1a1a18;
}

.page-work .work-section {
  background: #000;
  color: #fff;
}

.page-work .work-heading {
  color: #fff;
}

.page-work .caps-header,
.page-work .caps-intro {
  padding-left: clamp(20px, 8vw, 160px);
  padding-right: clamp(20px, 8vw, 160px);
}

@media (max-width: 640px) {
  .work-heading {
    opacity: 0.75;
  }
}

@media (min-width: 981px) {
  .work-heading {
    line-height: 1.35;
  }
}

.work-heading strong {
  font-weight: 400;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(6px, 0.6vw, 10px);
  align-items: start;
}

.work-col {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.6vw, 10px);
}

.work-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 4px;
  background: #d4d2ce;
  background-size: cover;
  background-position: center;
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* ============= Case study modal ============= */

.work-img {
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.625, 0.05, 0, 1);
}

.work-img-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(14px, 2vw, 20px);
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 45%, transparent 100%);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.work-img:active .work-img-label,
.work-img:focus-visible .work-img-label {
  opacity: 1;
}

@media (hover: hover) {
  .work-img:hover .work-img-label {
    opacity: 1;
  }
}

/* Always visible on mobile (no hover) */
@media (hover: none) {
  .work-img-label {
    opacity: 1;
  }

  .work-img-label-cta {
    width: 100%;
    justify-content: center;
  }
}

.work-img-label-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
}


.case-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.case-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 11, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.case-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(70vw, 1280px);
  background: #fff;
  color: #1a1a18;
  border-radius: 0;
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.case-handle,
.case-drag-zone {
  display: none;
}

.case-close {
  position: fixed;
  z-index: 61;
  top: 24px;
  right: calc(min(70vw, 1280px) + 20px);
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  background: rgba(18, 18, 16, 0.96);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.625, 0.05, 0, 1), opacity 0.3s ease;
}

.case-close {
  isolation: isolate;
}

.case-close::before,
.case-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  inset: 0;
  margin: auto;
  background:
    linear-gradient(45deg, transparent calc(50% - 0.75px), #fff calc(50% - 0.75px), #fff calc(50% + 0.75px), transparent calc(50% + 0.75px)),
    linear-gradient(-45deg, transparent calc(50% - 0.75px), #fff calc(50% - 0.75px), #fff calc(50% + 0.75px), transparent calc(50% + 0.75px));
}

.case-close::after {
  content: none;
}

@media (hover: hover) {
  .case-close:hover {
    transform: scale(0.94);
  }
}

.case-count {
  display: none;
}

/* Single scrollable column */
.case-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overflow-anchor: none;
}

.case-scroll::-webkit-scrollbar { display: none; }

.case-content {
  will-change: transform, opacity;
}

.case-slide-scroll {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(80px, 10vh, 120px) 0 0;
}

.case-info {
  padding-left: clamp(24px, 2.5vw, 40px);
  padding-right: clamp(24px, 2.5vw, 40px);
}

.case-info {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 36px);
}

.case-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 0.95;
  padding-bottom: 0.15em;
  overflow: hidden;
}

.case-tags {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(26, 26, 24, 0.45);
  text-transform: uppercase;
  overflow: hidden;
}

.case-tag {
  display: inline;
}

.case-tag + .case-tag::before {
  content: " – ";
}

.case-desc {
  margin: 0;
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: rgba(26, 26, 24, 0.8);
  max-width: 42ch;
  overflow: hidden;
}

.case-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: clamp(0.5rem, 2vh, 1.5rem);
}

.case-cta-label {
  font-size: 0.875rem;
  color: rgba(26, 26, 24, 0.45);
}

.case-cta {
  align-self: flex-start;
  padding: 12px 20px;
  border-radius: 999px;
  background: #1a1a18;
  color: #fff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

@media (hover: hover) {
  .case-cta:hover { background: #333; }
}

.case-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.case-media-item {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #f3f2ee;
  margin: 0;
}

.case-media-item--landscape {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.case-media-item--portrait {
  aspect-ratio: 8 / 9;
}

.case-media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Scroll-to-next zone ─────────────────────────────────── */

.case-next-zone {
  height: clamp(900px, 220vh, 2000px);
  background: #fff;
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .case-next-zone {
    height: clamp(800px, 200vh, 1800px);
  }
}

.case-zone-sticky-frame {
  position: sticky;
  top: 0;
  height: var(--case-scroll-h, 100dvh);
  display: flex;
  flex-direction: column;
  background: #fff;
}

.case-zone-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.case-progress-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.case-progress-svg {
  width: 140px;
  height: 140px;
}

.case-progress-track {
  stroke: rgba(26, 26, 24, 0.1);
  stroke-width: 1.5;
  fill: none;
}

.case-progress-fill {
  fill: none;
  stroke: #1a1a18;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 213.6;
  transform-origin: 40px 40px;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 0.08s linear;
}

.case-next-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 24, 0.5);
}

.case-scroll-hint {
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.04em;
  color: #1a1a18;
  text-align: center;
  max-width: 480px;
}

/* ── Mobile overrides ────────────────────────────────────── */

@media (max-width: 980px) {
  .case-panel {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 92dvh;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -16px 60px rgba(0, 0, 0, 0.35);
  }

  .case-handle {
    display: block;
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 5px;
    border-radius: 999px;
    background: rgba(26, 26, 24, 0.15);
    pointer-events: none;
  }

  .case-drag-zone {
    display: block;
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
  }

  .case-close { display: none; }

  .case-count {
    top: 26px;
    left: 18px;
  }

  .case-slide-scroll {
    padding: 52px 0 0;
    gap: 0;
  }

  .case-info {
    padding: 0 20px 24px;
  }

  .case-media {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .case-media-item--landscape {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .case-zone-img {
    aspect-ratio: 16 / 9;
  }

  .case-info { position: static; }
}

/* ============= Bottom dock ============= */

.dock-blur {
  position: fixed;
  z-index: 40;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.dock-blur.is-visible {
  opacity: 1;
}

.dock-blur.is-visible.is--cta-hidden {
  opacity: 0;
  pointer-events: none;
}

.dock.is-visible.is--cta-hidden {
  transform: translate(-50%, calc(100% + clamp(18px, 3vh, 32px) + 20px));
  pointer-events: none;
}

.dock-blur-layer {
  position: absolute;
  inset: 0;
}

.dock-blur-layer:nth-child(1) {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 60%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 60%, transparent 90%);
}

.dock-blur-layer:nth-child(2) {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  mask-image: linear-gradient(to bottom, transparent 30%, black 60%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, black 60%, black 80%, transparent 100%);
}

.dock-blur-layer:nth-child(3) {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, transparent 50%, black 80%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 50%, black 80%, black 100%);
}

.dock-blur-layer:nth-child(4) {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  mask-image: linear-gradient(to bottom, transparent 70%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 70%, black 100%);
}

.dock {
  position: fixed;
  z-index: 41;
  left: 50%;
  bottom: clamp(18px, 3vh, 32px);
  transform: translate(-50%, calc(100% + clamp(18px, 3vh, 32px) + 20px));
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.7s cubic-bezier(0.625, 0.05, 0, 1), margin-bottom 0.25s ease-out;
}

.dock.is-visible {
  transform: translate(-50%, 0);
}

.dock-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 8px;
  min-width: 148px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(24, 24, 22, 0.55);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.625, 0.05, 0, 1), opacity 0.3s ease;
}

.dock-pill:hover {
  transform: scale(1.04);
}

.dock-pill-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.dock-pill-mark,
.dock-pill-x {
  grid-area: 1 / 1;
  display: block;
  width: 34px;
  height: 34px;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.625, 0.05, 0, 1);
}

.dock-pill-x {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.dock-pill-labels {
  display: inline-grid;
  flex: 1;
  text-align: center;
}

.dock-pill-label {
  grid-area: 1 / 1;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.625, 0.05, 0, 1);
  white-space: nowrap;
}

/* Default: hide ask (repurposed per viewport) */
.dock-pill-label--ask { opacity: 0; pointer-events: none; }
.dock-pill-label--close { opacity: 0; transform: translateY(8px); }

/* Desktop: show Book a call */
.dock-pill-label--book { opacity: 1; }
.dock-pill-label--menu { opacity: 0; pointer-events: none; }

/* Mobile: keep the CTA visible until close mode swaps in Close */
@media (max-width: 980px) {
  .dock-pill-label--book { opacity: 1; pointer-events: auto; }
  .dock-pill-label--menu { opacity: 0; pointer-events: none; }

  .dock-pill {
    padding: 8px 22px 8px 8px;
    font-size: 1.0625rem;
    min-width: 148px;
  }


  .dock-pill-icon {
    width: 36px;
    height: 36px;
  }

  .dock-pill-mark,
  .dock-pill-x {
    width: 36px;
    height: 36px;
  }

  .dock.is-close-mode .dock-pill-icon { display: inline-grid; }
}

/* Close mode: hide book/menu, show close */
.dock.is-close-mode {
  z-index: 70;
}

.dock.is-close-mode .dock-pill-mark {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.dock.is-close-mode .dock-pill-x {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.dock.is-close-mode .dock-pill-label--ask,
.dock.is-close-mode .dock-pill-label--book,
.dock.is-close-mode .dock-pill-label--menu {
  opacity: 0;
  transform: translateY(-8px);
}

.dock.is-close-mode .dock-pill-label--close {
  opacity: 1;
  transform: translateY(0);
}

.dock.is-open .dock-pill {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  bottom: 0;
}

.dock-panel {
  width: min(400px, calc(100vw - 32px));
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(36, 36, 33, 0.6), rgba(18, 18, 16, 0.72));
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 14px;
  transform-origin: bottom center;
}

.dock.is-open .dock-panel {
  display: flex;
  animation: dock-panel-in 0.45s cubic-bezier(0.625, 0.05, 0, 1);
}

@keyframes dock-panel-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dock-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dock-panel-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.dock-panel-close {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dock-panel-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.dock-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: none;
}

.dock-messages::-webkit-scrollbar {
  display: none;
}

.dock-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  animation: dock-msg-in 0.35s cubic-bezier(0.625, 0.05, 0, 1);
}

@keyframes dock-msg-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dock-msg p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.dock-msg--assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
  border-bottom-left-radius: 6px;
}

.dock-msg--user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a18;
  border-bottom-right-radius: 6px;
}

.dock-msg--typing p::after {
  content: "…";
  animation: dock-typing 1.2s infinite;
}

@keyframes dock-typing {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.dock-calendly {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  animation: dock-msg-in 0.35s cubic-bezier(0.625, 0.05, 0, 1);
}

.dock-scheduler {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dock-scheduler-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.dock-scheduler-days {
  display: flex;
  gap: 6px;
}

.dock-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dock-day span {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.dock-day strong {
  font-size: 0.9375rem;
  font-weight: 500;
}

.dock-day:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.dock-day.is-active {
  background: #fff;
  border-color: #fff;
  color: #1a1a18;
}

.dock-scheduler-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.dock-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dock-slot:hover {
  background: #fff;
  border-color: #fff;
  color: #1a1a18;
}

.dock-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dock-input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dock-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.dock-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.dock-send {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #1a1a18;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.625, 0.05, 0, 1);
}

.dock-send:hover {
  transform: scale(1.08);
}

.dock-panel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dock-chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dock-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.dock-chip.is-active {
  background: #fff;
  color: #1a1a18;
  border-color: #fff;
}

/* ============= Loader ============= */

.loader {
  z-index: 100;
  color: #fff;
  width: 100%;
  height: 100dvh;
  position: fixed;
  inset: 0% 0% auto;
}

.loader__bg {
  background-color: #0a0a0a;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.loader__container {
  z-index: 2;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.loader__bg-bar {
  z-index: 1;
  transform-origin: 0%;
  transform-style: preserve-3d;
  background-color: #fff;
  width: 100%;
  height: .5em;
  position: absolute;
  inset: auto 0% 0%;
  transform: scale3d(0, 1, 1);
}

.loader__logo-wrap {
  justify-content: center;
  align-items: center;
  width: 14em;
  height: 2em;
  display: flex;
  position: relative;
}

.loader__logo-item {
  width: 100%;
  position: absolute;
}

.loader__logo-item.is--base {
  opacity: .2;
}

.loader__logo-item.is--top {
  -webkit-clip-path: inset(0% 100% 0% 0%);
  clip-path: inset(0% 100% 0% 0%);
}

.loader__logo-img {
  width: 100%;
  display: block;
}

.loader__text-wrap {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  bottom: 3.5em;
}

.loader__text-el {
  text-transform: uppercase;
  white-space: nowrap;
  margin-bottom: -.25em;
  padding-bottom: .25em;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  position: absolute;
}

[data-load-reset] { opacity: 0; }


/* ============= Header auto light/dark theming ============= */

.site-header {
  transition: background 0.4s ease;
}



/* Smooth transitions on logo / button */
.brand-logo svg {
  transition: filter 0.4s ease;
}

.contact-button {
  transition:
    transform 0.8s cubic-bezier(0.625, 0.05, 0, 1),
    background 0.4s ease,
    color 0.4s ease;
}

.site-nav a {
  transition: color 0.3s ease, opacity 0.18s ease;
}


/* ============= Mobile menu overlay ============= */

.mobile-menu {
  display: none;
}

@media (max-width: 980px) {
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    inset: 0;
    z-index: 140;
    background: #1a1a18;
    padding: 1.5rem 1.5rem 2.5rem;
    transform: translateY(100%);
    transition: transform 0.55s cubic-bezier(0.625, 0.05, 0, 1);
    overflow-y: auto;
  }

  .mobile-menu.is-open {
    transform: translateY(0);
  }

  .mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: center;
    margin-top: 1.5rem;
    flex-shrink: 0;
  }

  .mobile-menu-close:active {
    background: rgba(255, 255, 255, 0.2);
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.25rem;
    padding-bottom: 2rem;
  }

  .mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
  }

  .mobile-menu-link-wrap {
    overflow: hidden;
  }

  .mobile-menu-link {
    display: block;
    font-family: var(--font-sans);
    font-size: clamp(2.75rem, 13vw, 4.5rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    letter-spacing: -0.05em;
    line-height: 1.05;
    transition: color 0.2s ease;
  }

  .mobile-menu-link:active {
    color: #fff;
  }

  .mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.125rem 2rem;
    background: #fff;
    color: #1a1a18;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    align-self: center;
    transition: opacity 0.2s ease;
  }

  .mobile-menu-cta:active {
    opacity: 0.85;
  }
}

/* ── Capabilities section ─────────────────────────────────── */

.caps-section {
  background: #000;
  color: #fff;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(80px, 10vw, 130px);
  padding-bottom: clamp(60px, 7vw, 100px);
}

.caps-heading {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7.5vw, 8.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 0;
  color: #fff;
}

.caps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
  padding: 0 clamp(20px, 5vw, 80px);
  margin-bottom: clamp(48px, 8vw, 100px);
}

.caps-video-wrap {
  width: clamp(220px, 28vw, 400px);
  flex-shrink: 0;
  overflow: hidden;
  align-self: flex-end;
}

.caps-video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 860px) {
  .caps-video-wrap {
    width: clamp(100px, 28vw, 140px);
  }
}

.caps-intro {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  max-width: 38em;
  margin: 0 0 clamp(32px, 5vw, 64px);
  padding: 0 clamp(20px, 5vw, 80px);
}

.caps-list {
  border-top: 1px solid rgba(255,255,255,0.12);
}

.caps-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.caps-hover-tile {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  z-index: 0;
}

[data-directional-hover-tile] {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(-100%);
  will-change: transform;
}

.caps-row {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 2fr 120px;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 80px);
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.caps-name,
.caps-desc,
.caps-icon {
  position: relative;
  z-index: 1;
}

.caps-name {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  align-self: center;
}

.caps-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
  align-self: center;
}

.caps-icon {
  width: 32px;
  height: 32px;
  position: relative;
  flex-shrink: 0;
  margin-top: 0.15em;
  justify-self: end;
}

.caps-icon::before,
.caps-icon::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.caps-icon::before {
  width: 1px;
  height: 20px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.caps-icon::after {
  width: 20px;
  height: 1px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.caps-row[aria-expanded="true"] .caps-icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.caps-body {
  overflow: hidden;
  height: 0;
}

/* Same 3-col grid as the row so list lines up under description */
.caps-body-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 120px;
  align-items: end;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(24px, 4vw, 48px) clamp(20px, 5vw, 80px) clamp(48px, 6vw, 80px);
  min-height: clamp(240px, 28vw, 360px);
}

.caps-services {
  grid-column: 2;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.caps-services li {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.caps-services-heading {
  color: rgba(255,255,255,1) !important;
  margin-top: clamp(18px, 2.5vw, 28px);
  break-after: avoid;
}

.caps-services-heading:first-child {
  margin-top: 0;
}

.caps-services--cols {
  display: block;
  column-count: 2;
  column-gap: clamp(24px, 4vw, 48px);
}

.caps-cta {
  --clip-height: 1.4em;
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  min-height: 46px;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  align-self: end;
  justify-self: end;
  border: 1px solid transparent;
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.625, 0.05, 0, 1);
}

.caps-cta:hover {
  transform: scale(0.95);
}

.caps-cta:hover .contact-letter-inner,
.caps-cta:focus-visible .contact-letter-inner {
  transform: translateY(calc(-1 * var(--clip-height)));
}

.caps-cta:hover .contact-arrow,
.caps-cta:focus-visible .contact-arrow {
  transform: translateX(2px);
}

.caps-cta:hover .contact-arrow-icon-primary,
.caps-cta:focus-visible .contact-arrow-icon-primary {
  transform: translateX(120%);
}

.caps-cta:hover .contact-arrow-icon-secondary,
.caps-cta:focus-visible .contact-arrow-icon-secondary {
  transform: translateX(0);
}

.caps-cta svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .caps-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 12px clamp(16px, 3vw, 48px);
    align-items: start;
  }

  .caps-name {
    align-self: center;
  }

  .caps-desc {
    grid-column: 1;
    grid-row: 2;
    max-width: 55vw;
    padding-bottom: clamp(24px, 6vw, 48px);
  }

  .caps-icon {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    margin-top: 0;
  }

  .caps-body-inner {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 0;
    gap: clamp(20px, 4vw, 32px);
  }

  .caps-services {
    grid-column: 1;
    grid-row: 1;
  }

  .caps-services--cols {
    column-count: 2;
    column-gap: clamp(16px, 4vw, 28px);
  }

  .caps-cta {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    margin-top: clamp(16px, 4vw, 32px);
  }
}

/* ── Pricing section ──────────────────────────────────────────────────────── */
.pricing-section {
  background: #fff;
  min-height: 90vh;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 80px);
  display: flex;
  align-items: center;
}

.pricing-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-inner .faq-list {
  text-align: left;
}

.pricing-heading {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 7.5vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
  color: #0a0a0a;
  margin: 0 0 clamp(40px, 6vw, 80px);
}

.pricing-shader-wrap {
  width: clamp(280px, 32vw, 440px);
  aspect-ratio: 1;
  margin: 0 0 clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}

.pricing-body {
  max-width: 38em;
}

.pricing-tagline {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #0a0a0a;
  margin: 0 0 clamp(12px, 1.5vw, 20px);
}

.pricing-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(10,10,10,0.5);
  margin: 0;
}

/* ── FAQ list (inside pricing section) ────────────────────────────────────── */
.faq-list {
  width: 100%;
  max-width: 560px;
  margin-top: clamp(48px, 8vw, 96px);
  padding: 0 clamp(4px, 6vw, 0px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
}

@media (max-width: 767px) {
  .faq-list {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    padding: 0 4px;
  }
}

.faq-group {
  display: flex;
  flex-direction: column;
}

.faq-group-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.3);
  margin-bottom: clamp(8px, 1.5vw, 12px);
}

.faq-item {
  background: rgba(10,10,10,0.04);
  border-radius: 10px;
  margin-top: 6px;
}

.faq-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  padding: clamp(14px, 2vw, 18px) clamp(14px, 2vw, 20px);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #0a0a0a;
  font-family: var(--font-sans);
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(10,10,10,0.25);
  flex-shrink: 0;
  width: 22px;
}

.faq-question {
  flex: 1;
  font-size: clamp(0.875rem, 1.1vw, 0.95rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: rgba(10,10,10,0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .faq-question {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.625, 0.05, 0, 1);
  color: rgba(10,10,10,0.35);
}

.faq-row[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-row[aria-expanded="true"] .faq-question {
  color: #0a0a0a;
  font-weight: 500;
}

.faq-answer {
  overflow: hidden;
}

.faq-link {
  color: rgba(10,10,10,0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer-inner {
  padding: 0 clamp(14px, 2vw, 20px) clamp(14px, 2vw, 18px) calc(clamp(14px, 2vw, 20px) + 22px + clamp(12px, 2vw, 20px));
  font-size: clamp(0.8rem, 1vw, 0.875rem);
  line-height: 1.65;
  color: rgba(10,10,10,0.4);
}

/* ─── Testimonials ─── */
.testi-section {
  background: #000;
  color: #fff;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 6vw, 80px);
}

.testi-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25em;
  align-items: flex-start;
}

.testimonial-lines__controls {
  display: flex;
  flex-direction: row;
  gap: 1em;
  width: 33.3333%;
  align-items: flex-start;
}

.testimonial-lines__main {
  display: flex;
  flex-direction: column;
  gap: 4em;
  flex: 1;
  align-items: flex-start;
}

.testimonial-lines__button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  padding: 0;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.2s, color 0.2s;
}

.testimonial-lines__button:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.testimonial-lines__arrow {
  width: 0.75em;
}

.testimonial-lines__main-details {
  display: flex;
  flex-direction: row;
  gap: 1.5em;
  align-items: center;
}

.testimonial-lines__count {
  width: 1ch;
  display: inline-block;
}

.testimonial-lines__p {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1vw, 0.875rem);
  line-height: 1.2;
  margin: 0;
  color: #fff;
  letter-spacing: 0;
}

.testimonial-lines__p.is--faded {
  opacity: 0.4;
}

.testimonial-lines__collection {
  width: 100%;
}

.testimonial-lines__list {
  display: grid;
  width: 100%;
  position: relative;
}

.testimonial-lines__item {
  display: flex;
  flex-direction: column;
  gap: 3em;
  opacity: 0;
  visibility: hidden;
  grid-area: 1 / 1;
  width: 100%;
  align-items: flex-start;
}

.testimonial-lines__item.is--active {
  opacity: 1;
  visibility: visible;
}

.testimonial-lines__h {
  font-family: var(--font-sans);
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0;
  color: #fff;
  width: 100%;
}

.text-line-mask {
  padding-bottom: 0.2em;
  margin-bottom: -0.2em;
}

.testimonial-lines__item-details {
  display: flex;
  flex-direction: row;
  gap: 1.25em;
  align-items: center;
}

@media (max-width: 767px) {
  .testimonial-lines {
    gap: 3em;
  }

  .testimonial-lines__controls {
    order: 9999;
    width: 100%;
  }

  .testimonial-lines__main {
    gap: 2.5em;
  }

  .testimonial-lines__p {
    font-size: 0.8rem;
  }

  .testimonial-lines__item {
    gap: 2em;
  }

  .testimonial-lines__h {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
}

/* ─── CTA Section ─── */
.cta-section {
  background: #000;
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.cta-text {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: clamp(120px, 18vw, 220px) clamp(24px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 32px);
}

.cta-heading {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  color: #fff;
}

.cta-body {
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin: 0;
  max-width: 440px;
}

.cta-section .contact-button {
  margin-top: 8px;
}

.cta-footer,
.cta-footer-privacy {
  display: none;
}

@media (min-width: 768px) {
  .cta-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: clamp(24px, 4vh, 48px);
    left: 0;
    right: 0;
    z-index: 1;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .cta-footer-links {
    display: flex;
    gap: clamp(20px, 3vw, 48px);
  }

  .cta-footer-links a {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
  }

  .cta-footer-links a:hover {
    color: rgba(255,255,255,0.8);
  }

  .cta-footer-privacy {
    display: block;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.15);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
  }

  .cta-footer-privacy:hover {
    color: rgba(255,255,255,0.4);
  }
}

@media (max-width: 767px) {
  .cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .cta-text {
    padding-top: 280px;
    padding-bottom: 160px;
  }

  .cta-heading {
    padding: 0 16px;
  }
}

/* ─── CTA Video ─── */
.cta-video {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
}

/* ─── Page Hero Shader Marks ─── */
.page-hero-marks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.5vw, 32px);
  flex: 1;
}

.page-hero-canvas {
  width: clamp(180px, 18vw, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.page-hero-canvas--solo {
  width: clamp(260px, 28vw, 420px);
}

.page-hero-canvas--sm {
  width: clamp(120px, 12vw, 200px);
  opacity: 0.7;
}

.page-hero-canvas--xs {
  width: clamp(80px, 8vw, 140px);
  opacity: 0.45;
}

@media (max-width: 767px) {
  .page-hero-marks {
    justify-content: center;
    margin-top: 32px;
  }
  .page-hero-canvas--xs { display: none; }
  .page-hero-canvas--solo { width: clamp(160px, 40vw, 240px); }
}
