/* Soft luxury portfolio direction: premium, intelligent, modern, and trust-led. */
:root {
  --teal: #365a52;
  --teal-dark: #2c4a44;
  --ink: #111111;
  --slate: #5f5f5f;
  --muted: #8a8a8a;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.1);
  --bg: #ffffff;
  --cream: #ffffff;
  --paper: #ffffff;
  --section-bg: #ffffff;
  --night: #101312;
  --night-soft: #161918;
  --dark-card: #1b1f1e;
  --mint: #e8efed;
  --lime: #6f8c85;
  --coral: #365a52;
  --sky: #e8efed;
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.04);
  --section-space: clamp(4.5rem, 8vw, 8rem);
  --font-sans: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* Absolute final: desktop scroll-card motion, mobile stacked cards. */
body.page-index #selected-work .floating-work-card {
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  --motion-x: 0px;
  --motion-y: 0px;
  --motion-rotate: 0deg;

  transform:
    translate3d(
      calc(-50% + var(--motion-x)),
      calc(-50% + var(--motion-y) + var(--parallax-y, 0px)),
      0
    )
    rotate(var(--motion-rotate))
    scale(var(--card-scale, 0.98)) !important;
}

body.page-index #selected-work .floating-work-card.is-cinematic-visible {
  --card-scale: 1;
}

body.page-index #selected-work .floating-work-card:hover {
  --card-scale: 1.035;
}

@media (max-width: 980px) {
  body.page-index #selected-work .floating-work-card,
  body.page-index #selected-work .floating-work-card.is-cinematic-visible,
  body.page-index #selected-work .floating-work-card:hover {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(100%, 420px) !important;
    margin: 1rem auto !important;
  }
}

/* Home direction reset: clean product-story portfolio inspired by premium SaaS/editorial references. */
body.page-index {
  background: #ffffff !important;
  color: #111111;
}

body.page-index #hero.studio-hero {
  background: #ffffff !important;
}

body.page-index #hero.studio-hero > .inner {
  min-height: min(760px, calc(100vh - 88px));
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

body.page-index #hero.studio-hero .hero-text {
  max-width: 1160px;
}

body.page-index #hero.studio-hero .hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(15, 74, 73, 0.18);
  border-radius: 999px;
  color: #0f4a49;
  background: rgba(15, 74, 73, 0.055);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.page-index #hero.studio-hero .hero-name {
  max-width: 1120px;
  color: #070707;
  font-size: clamp(4rem, 8.6vw, 9.6rem);
  font-weight: 560;
  line-height: 0.9;
}

body.page-index #hero.studio-hero .rotating-words {
  color: #0f4a49;
}

body.page-index #hero.studio-hero .hero-role {
  max-width: 760px;
  margin-top: clamp(1.4rem, 2.4vw, 2rem);
  color: #454b49;
  font-size: clamp(1.03rem, 1.24vw, 1.2rem);
}

body.page-index #hero.studio-hero .hero-actions {
  margin-top: clamp(1.7rem, 3vw, 2.4rem);
}

body.page-index .value-story .inner {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 0;
}

body.page-index .value-story .section-kicker {
  grid-column: 1;
}

body.page-index .value-story h2 {
  grid-column: 1;
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  line-height: 0.98;
}

body.page-index .value-story-grid {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 74, 73, 0.13);
  border-radius: 28px;
  background: rgba(15, 74, 73, 0.13);
  box-shadow: 0 28px 80px rgba(15, 74, 73, 0.08);
}

body.page-index .value-story-grid article,
body.page-index .value-story-grid article:first-child {
  position: relative;
  min-height: 265px;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border: 0;
  background: #ffffff !important;
}

body.page-index .value-story-grid .process-number {
  display: block;
  margin-bottom: 2.6rem;
  color: rgba(15, 74, 73, 0.55);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

body.page-index .value-story-grid i,
body.page-index .value-story-grid svg {
  position: absolute;
  top: clamp(1.3rem, 2vw, 1.8rem);
  right: clamp(1.3rem, 2vw, 1.8rem);
  width: 1.65rem;
  height: 1.65rem;
  margin: 0;
  color: #0f4a49;
}

body.page-index .value-story-grid h3 {
  margin-bottom: 0.7rem;
  color: #111111;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

body.page-index .value-story-grid p {
  max-width: 300px;
  margin: 0;
  color: #555b59;
}

body.page-index .trusted-strip .inner {
  min-height: auto !important;
  padding-block: 1.25rem !important;
  border-block: 1px solid rgba(17, 17, 17, 0.09);
}

body.page-index .trusted-strip p {
  color: #0f4a49 !important;
}

body.page-index .trusted-logo-list {
  gap: clamp(1.2rem, 3vw, 3rem) !important;
}

body.page-index .trusted-strip li {
  background: transparent !important;
}

body.page-index .trusted-strip img {
  max-height: 34px !important;
  opacity: 0.72;
  filter: grayscale(1);
}

body.page-index .work-system-showcase .inner {
  min-height: auto !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  padding-block: clamp(5rem, 9vw, 8rem) !important;
}

body.page-index .work-system-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(320px, 0.45fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

body.page-index .work-system-copy h2 {
  margin: 0;
  color: #070707;
  font-size: clamp(2.4rem, 4.6vw, 5rem);
  font-weight: 560;
  line-height: 0.96;
}

body.page-index .work-system-copy h2 span {
  display: block;
}

body.page-index .work-system-copy p:not(.section-kicker) {
  max-width: 500px;
  margin: 0;
  color: #4f5553;
  font-size: 1rem;
  line-height: 1.7;
}

body.page-index .work-system-map {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 74, 73, 0.14);
  border-radius: 30px;
  background: rgba(15, 74, 73, 0.14);
}

body.page-index .work-system-map article,
body.page-index .work-system-map article:last-child {
  min-height: 250px;
  padding: clamp(1.05rem, 1.7vw, 1.45rem);
  border: 0 !important;
  background: #ffffff !important;
}

body.page-index .work-system-map article:nth-child(3) {
  background: #0f4a49 !important;
  color: #ffffff;
}

body.page-index .work-system-map article:nth-child(3) h3,
body.page-index .work-system-map article:nth-child(3) li,
body.page-index .work-system-map article:nth-child(3) svg {
  color: #ffffff !important;
}

body.page-index .work-system-map article::after,
body.page-index .work-system-map li::before {
  display: none !important;
}

body.page-index .work-system-map h3 {
  margin-bottom: 1rem;
  color: #111111;
  font-size: 1.1rem;
  font-weight: 720;
}

body.page-index .work-system-map ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

body.page-index .work-system-map li {
  padding: 0 !important;
  color: #505654;
  background: transparent !important;
  font-size: 0.82rem;
  line-height: 1.35;
}

body.page-index .work-system-map li svg {
  width: 1rem;
  height: 1rem;
  color: #0f4a49;
}

body.page-index .home-approach {
  display: none !important;
}

body.page-index .work-system-showcase {
  display: none !important;
}

body.page-index .cinematic-work .inner {
  min-height: auto;
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 1px solid rgba(17, 17, 17, 0.09);
}

body.page-index .project-story-gallery {
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 34px;
  background: rgba(17, 17, 17, 0.1) !important;
  box-shadow: none;
}

body.page-index .project-story-panel {
  grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
  min-height: clamp(480px, 62vh, 660px);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  background: #ffffff !important;
  color: #111111;
}

body.page-index .project-story-panel + .project-story-panel {
  border-top: 0;
}

body.page-index .project-story-copy {
  padding-inline: clamp(0.3rem, 1vw, 0.8rem) clamp(1rem, 2vw, 1.8rem);
  color: #111111;
}

body.page-index .project-count {
  color: #0f4a49;
}

body.page-index .project-story-copy h3 {
  max-width: 560px;
  color: #111111;
  font-size: clamp(2.4rem, 4.5vw, 4.9rem);
}

body.page-index .project-story-copy > p:not(.project-count) {
  color: #515755;
}

body.page-index .project-story-copy li {
  border-color: rgba(15, 74, 73, 0.18);
  color: #0f4a49;
  background: rgba(15, 74, 73, 0.055);
}

body.page-index .project-story-copy a {
  border-color: #0f4a49;
  background: #0f4a49;
  color: #ffffff;
}

body.page-index .project-story-copy a:hover {
  background: #111111;
  color: #ffffff;
}

body.page-index .project-story-media {
  border-radius: 26px;
  box-shadow: none;
}

body.page-index .project-story-media video {
  min-height: 430px;
}

@media (max-width: 980px) {
  body.page-index .value-story .inner,
  body.page-index .work-system-showcase .inner {
    grid-template-columns: 1fr;
  }

  body.page-index .work-system-copy {
    grid-template-columns: 1fr;
  }

  body.page-index .value-story .section-kicker,
  body.page-index .value-story h2,
  body.page-index .value-story-grid {
    grid-column: auto;
    grid-row: auto;
  }

  body.page-index .value-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.page-index #hero.studio-hero > .inner {
    min-height: auto;
    padding-block: 4.5rem 3.5rem;
  }

  body.page-index #hero.studio-hero .hero-name {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  body.page-index .value-story-grid,
  body.page-index .work-system-map {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  body.page-index .value-story-grid article,
  body.page-index .value-story-grid article:first-child,
  body.page-index .work-system-map article,
  body.page-index .work-system-map article:last-child {
    min-height: auto;
  }

  body.page-index .project-story-gallery {
    border-radius: 24px;
  }

  body.page-index .project-story-panel {
    padding: 1rem;
  }

  body.page-index .project-story-copy {
    min-height: auto;
    padding: 1rem 0.25rem 1.5rem;
  }

  body.page-index .project-story-media,
  body.page-index .project-story-media video {
    min-height: 300px;
  }
}

/* Absolute final: desktop scroll-card motion, mobile stacked cards. */
body.page-index #selected-work .floating-work-card {
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  --motion-x: 0px;
  --motion-y: 0px;
  --motion-rotate: 0deg;

  transform:
    translate3d(
      calc(-50% + var(--motion-x)),
      calc(-50% + var(--motion-y) + var(--parallax-y, 0px)),
      0
    )
    rotate(var(--motion-rotate))
    scale(var(--card-scale, 0.98)) !important;
}

body.page-index #selected-work .floating-work-card.is-cinematic-visible {
  --card-scale: 1;
}

body.page-index #selected-work .floating-work-card:hover {
  --card-scale: 1.035;
}

@media (max-width: 980px) {
  body.page-index #selected-work .floating-work-card,
  body.page-index #selected-work .floating-work-card.is-cinematic-visible,
  body.page-index #selected-work .floating-work-card:hover {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: min(100%, 420px) !important;
    margin: 1rem auto !important;
  }
}

/* Must stay last: inspected Life on a Block-style scroll card movement. */
body.page-index #selected-work .floating-work-card {
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  --motion-x: 0px;
  --motion-y: 0px;
  --motion-rotate: 0deg;

  transform:
    translate3d(
      calc(-50% + var(--motion-x)),
      calc(-50% + var(--motion-y) + var(--parallax-y, 0px)),
      0
    )
    rotate(var(--motion-rotate))
    scale(var(--card-scale, 0.98)) !important;
}

body.page-index #selected-work .floating-work-card.is-cinematic-visible {
  --card-scale: 1;
}

body.page-index #selected-work .floating-work-card:hover {
  --card-scale: 1.035;
}

@media (max-width: 980px) {
  body.page-index #selected-work .floating-work-card,
  body.page-index #selected-work .floating-work-card.is-cinematic-visible,
  body.page-index #selected-work .floating-work-card:hover {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
}

body.page-index .work-system-showcase > .inner {
  grid-template-columns: 1fr !important;
}

body.page-index .work-system-showcase .work-system-copy,
body.page-index .work-system-showcase .work-system-map {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

body.page-index .work-system-showcase .work-system-copy {
  grid-template-columns: minmax(0, 0.55fr) minmax(320px, 0.45fr) !important;
}

body.page-index .work-system-showcase .work-system-map {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body.page-index .work-system-showcase .work-system-map li {
  min-height: 0 !important;
  height: auto !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

body.page-index .work-system-showcase .work-system-map ul {
  grid-auto-rows: auto !important;
  grid-template-columns: 1fr !important;
}

@media (max-width: 980px) {
  body.page-index .work-system-showcase .work-system-copy,
  body.page-index .work-system-showcase .work-system-map {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.page-index .work-system-showcase .inner {
    padding-block: 4rem !important;
  }

  body.page-index .work-system-showcase .work-system-map article,
  body.page-index .work-system-showcase .work-system-map article:last-child {
    min-height: auto !important;
    padding: 1.1rem !important;
  }

  body.page-index .work-system-showcase .work-system-map h3 {
    margin-bottom: 0.65rem;
  }

  body.page-index .work-system-showcase .work-system-map ul {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start !important;
    align-content: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 0.45rem;
  }

  body.page-index .work-system-showcase .work-system-map li {
    width: auto !important;
    min-height: 0 !important;
    padding: 0.28rem 0.55rem !important;
    border: 1px solid rgba(15, 74, 73, 0.16);
    border-radius: 999px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  body.page-index .work-system-showcase .work-system-map li svg {
    display: none !important;
  }
}

/* Some-of-our-work style project stage. */
body.page-index .cinematic-work .inner {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 !important;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

body.page-index .some-work-stage {
  position: relative;
  min-height: min(920px, 94vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 4rem);
  background: #ffffff;
  isolation: isolate;
}

body.page-index .some-work-center {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  max-width: 610px;
  text-align: center;
}

body.page-index .work-dots {
  display: inline-flex;
  gap: 0.18rem;
  margin-bottom: 1.6rem;
}

body.page-index .work-dots span {
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid rgba(15, 74, 73, 0.6);
  border-radius: 999px;
}

body.page-index .work-dots span:first-child {
  background: #0f4a49;
}

body.page-index .some-work-center .section-kicker {
  margin-bottom: 0.65rem;
}

body.page-index .some-work-center h2 {
  max-width: 520px;
  margin: 0;
  color: #111111;
  font-size: clamp(3.1rem, 6vw, 6.8rem);
  font-weight: 560;
  line-height: 0.92;
  letter-spacing: 0;
}

body.page-index .some-work-center h2::first-line {
  color: #111111;
}

body.page-index .some-work-center p:not(.section-kicker) {
  max-width: 570px;
  margin: 1.35rem 0 1.55rem;
  color: #5a605e;
  font-size: 1rem;
  line-height: 1.75;
}

body.page-index .floating-work-card {
  position: absolute;
  z-index: 2;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 0.82;
  overflow: hidden;
  border-radius: 28px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 28px 80px rgba(16, 25, 24, 0.18);
  transition: transform 450ms ease, box-shadow 450ms ease;
}

body.page-index .floating-work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 12, 11, 0.08), rgba(5, 12, 11, 0.78));
}

body.page-index .floating-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
  transform: scale(1.03);
  transition: transform 600ms ease, filter 600ms ease;
}

body.page-index .floating-work-card span,
body.page-index .floating-work-card strong {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  right: 1.25rem;
  color: #ffffff;
}

body.page-index .floating-work-card span {
  bottom: 4.25rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.page-index .floating-work-card strong {
  bottom: 1.25rem;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  font-weight: 620;
  line-height: 1.08;
}

body.page-index .floating-work-card:hover {
  box-shadow: 0 34px 90px rgba(16, 25, 24, 0.24);
}

body.page-index .floating-work-card:hover img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.1);
}

body.page-index .work-card-one {
  left: 50%;
  top: 50%;
  --card-rotate: -9deg;
}

body.page-index .work-card-one:hover {
  transform: rotate(-6deg) translateY(-8px);
}

body.page-index .work-card-two {
  left: 50%;
  top: 50%;
  width: clamp(210px, 19vw, 300px);
  --card-rotate: -5deg;
}

body.page-index .work-card-two:hover {
  transform: rotate(-2deg) translateY(-8px);
}

body.page-index .work-card-three {
  left: 50%;
  top: 50%;
  --card-rotate: 8deg;
}

body.page-index .work-card-three:hover {
  transform: rotate(5deg) translateY(-8px);
}

body.page-index .work-card-four {
  left: 50%;
  top: 50%;
  width: clamp(210px, 19vw, 300px);
  --card-rotate: 5deg;
}

body.page-index .work-card-four:hover {
  transform: rotate(2deg) translateY(-8px);
}

body.page-index .value-story .inner {
  min-height: auto !important;
  padding-block: clamp(3.8rem, 7vw, 6rem) !important;
}

body.page-index .work-system-showcase .inner {
  padding-block: clamp(3.8rem, 7vw, 6rem) !important;
}

@media (max-width: 980px) {
  body.page-index .some-work-stage {
    min-height: auto;
    display: block;
    padding: 4.5rem 1rem;
  }

  body.page-index .some-work-center {
    margin: 0 auto 2rem;
  }

  body.page-index .floating-work-card {
    position: relative;
    inset: auto;
    display: block;
    width: min(100%, 420px);
    margin: 1rem auto;
    transform: none !important;
  }
}

@media (max-width: 640px) {
  body.page-index .some-work-center h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  body.page-index .some-work-center p:not(.section-kicker) {
    font-size: 0.95rem;
  }
}

/* Cinematic interaction layer for the homepage. */
body.page-index .cinematic-reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--cinematic-delay, 0ms),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--cinematic-delay, 0ms);
  will-change: opacity, transform;
}

body.page-index .cinematic-reveal.is-cinematic-visible {
  opacity: 1;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1);
}

body.page-index .some-work-stage {
  --stage-progress: 0;
}

body.page-index .some-work-stage::before,
body.page-index .some-work-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: clamp(14rem, 26vw, 28rem);
  height: clamp(14rem, 26vw, 28rem);
  border-radius: 999px;
  background: rgba(15, 74, 73, 0.055);
  filter: blur(34px);
  pointer-events: none;
  transform: translate3d(0, calc(var(--stage-progress) * 34px), 0);
}

body.page-index .some-work-stage::before {
  left: -14rem;
  top: 18%;
}

body.page-index .some-work-stage::after {
  right: -14rem;
  bottom: 10%;
  transform: translate3d(0, calc(var(--stage-progress) * -42px), 0);
}

body.page-index .some-work-center {
  transform: translate3d(0, calc(var(--stage-progress) * -18px), 0);
}

body.page-index .some-work-center h2 {
  text-wrap: balance;
}

body.page-index .some-work-center h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 1px;
  margin: 1.4rem auto 0;
  background: rgba(15, 74, 73, 0.3);
  transform: scaleX(calc(0.55 + (var(--stage-progress) * 0.18)));
  transform-origin: center;
}

body.page-index .floating-work-card.is-cinematic-visible {
  transform: translate3d(0, var(--parallax-y, 0px), 0) rotate(var(--card-rotate, 0deg)) scale(1);
}

body.page-index .floating-work-card {
  transform:
    translate3d(0, calc(var(--parallax-y, 0px) + 34px), 0)
    rotate(var(--card-rotate, 0deg))
    scale(0.96);
}

body.page-index .work-card-one {
  --card-rotate: -9deg;
}

body.page-index .work-card-two {
  --card-rotate: -5deg;
}

body.page-index .work-card-three {
  --card-rotate: 8deg;
}

body.page-index .work-card-four {
  --card-rotate: 5deg;
}

body.page-index .work-card-one:hover {
  --card-rotate: -5deg;
}

body.page-index .work-card-two:hover {
  --card-rotate: -2deg;
}

body.page-index .work-card-three:hover {
  --card-rotate: 4deg;
}

body.page-index .work-card-four:hover {
  --card-rotate: 2deg;
}

body.page-index .floating-work-card:hover {
  transform: translate3d(0, calc(var(--parallax-y, 0px) - 10px), 0) rotate(var(--card-rotate, 0deg)) scale(1.025);
}

body.page-index .floating-work-card strong {
  transition: transform 300ms ease;
}

body.page-index .floating-work-card:hover strong {
  transform: translateX(0.35rem);
}

body.page-index .value-story-grid article.cinematic-reveal.is-cinematic-visible {
  transform: translate3d(0, 0, 0);
}

body.page-index .value-story-grid article {
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

body.page-index .value-story-grid article:hover {
  z-index: 2;
  box-shadow: 0 22px 70px rgba(15, 74, 73, 0.12);
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  body.page-index .cinematic-reveal,
  body.page-index .cinematic-reveal.is-cinematic-visible,
  body.page-index .some-work-center,
  body.page-index .floating-work-card,
  body.page-index .floating-work-card.is-cinematic-visible,
  body.page-index .floating-work-card:hover {
    opacity: 1;
    transform: none !important;
    transition: none !important;
  }
}

/* Final homepage How I Work pitch. */
body.page-index .delivery-teaser {
  overflow: hidden;
  background: #f7f8f6 !important;
  color: #111111;
}

body.page-index .delivery-teaser::before {
  content: none;
}

body.page-index .delivery-teaser > .inner {
  grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1.1fr);
  grid-template-rows: auto auto;
  gap: clamp(32px, 5vw, 76px) clamp(52px, 8vw, 120px);
  align-items: end;
  min-height: 0 !important;
  padding-block: clamp(52px, 5vw, 68px) clamp(40px, 4vw, 54px) !important;
  background: transparent !important;
}

body.page-index .delivery-teaser-intro {
  max-width: 620px;
}

body.page-index .delivery-teaser .section-kicker {
  margin-bottom: 14px;
  color: #365a52;
}

body.page-index .delivery-teaser h2 {
  max-width: 620px;
  color: #111111;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

body.page-index .delivery-pitch-copy {
  max-width: 610px;
  padding-bottom: 3px;
}

body.page-index .delivery-pitch-copy p {
  margin: 0;
  color: #4f5553;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
}

body.page-index .delivery-teaser .delivery-pitch-copy .text-link,
body.page-index .delivery-teaser .delivery-pitch-copy .text-link:hover {
  margin-top: 22px;
  padding: 0;
  border: 0;
  color: #111111;
}

body.page-index .delivery-signature {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: clamp(34px, 6vw, 92px);
  justify-content: start;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(54, 90, 82, 0.22);
  color: #365a52;
  font-size: clamp(0.82rem, 1vw, 0.94rem);
  font-weight: 720;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

body.page-index .delivery-signature span {
  display: inline-flex;
  align-items: center;
  gap: clamp(34px, 6vw, 92px);
}

body.page-index .delivery-signature span:not(:last-child)::after {
  content: "·";
  color: rgba(54, 90, 82, 0.5);
}

@media (max-width: 800px) {
  body.page-index .delivery-teaser > .inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
    padding-block: 44px 38px !important;
  }

  body.page-index .delivery-teaser h2 {
    font-size: clamp(2.2rem, 9vw, 3.35rem);
  }

  body.page-index .delivery-pitch-copy {
    max-width: 650px;
  }

  body.page-index .delivery-signature {
    grid-column: 1;
    grid-template-columns: repeat(4, max-content);
    gap: clamp(14px, 4vw, 32px);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  body.page-index .delivery-signature::-webkit-scrollbar {
    display: none;
  }

  body.page-index .delivery-signature span {
    gap: clamp(14px, 4vw, 32px);
  }
}

@media (max-width: 480px) {
  body.page-index .delivery-teaser > .inner {
    gap: 24px;
    padding-block: 38px 34px !important;
  }

  body.page-index .delivery-teaser h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  body.page-index .delivery-pitch-copy p {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  body.page-index .delivery-signature {
    padding-top: 18px;
    font-size: 0.7rem;
  }
}

/* Final How I Work direction: white editorial process. */
body.page-index .delivery-teaser {
  background: #ffffff !important;
  color: #111111;
}

body.page-index .delivery-teaser > .inner {
  display: block;
  min-height: 0 !important;
  padding-block: clamp(42px, 4vw, 54px) clamp(36px, 3.5vw, 46px) !important;
  background: transparent !important;
  text-align: center;
}

body.page-index .delivery-teaser-intro {
  max-width: 820px;
  margin-inline: auto;
}

body.page-index .delivery-teaser .section-kicker {
  margin: 0 0 14px;
  color: #365a52;
}

body.page-index .delivery-teaser h2 {
  max-width: 760px;
  margin: 0 auto;
  color: #111111;
  font-size: clamp(2.5rem, 4vw, 4.15rem);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

body.page-index .delivery-teaser-intro > p:not(.section-kicker) {
  max-width: 720px;
  margin: 18px auto 0;
  color: #555c59;
  font-size: clamp(0.95rem, 1.1vw, 1.04rem);
  line-height: 1.6;
}

body.page-index .delivery-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1160px;
  margin: clamp(36px, 4vw, 52px) auto 0;
}

body.page-index .delivery-process article {
  position: relative;
  min-width: 0;
  min-height: 142px;
  padding-inline: clamp(20px, 2.5vw, 36px);
  border: 0;
  background: transparent !important;
  text-align: center;
}

body.page-index .delivery-process article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 17px;
  right: -0.45rem;
  color: rgba(54, 90, 82, 0.52);
  font-size: 1rem;
  line-height: 1;
}

body.page-index .delivery-process-mark {
  position: relative;
  display: grid;
  width: 38px;
  height: 38px;
  margin: 0 auto 16px;
  place-items: center;
  border: 1px solid rgba(54, 90, 82, 0.42);
  border-radius: 50%;
}

body.page-index .delivery-process-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid #365a52;
  border-radius: 50%;
}

body.page-index .delivery-process h3 {
  margin: 0 0 9px;
  color: #111111;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 640;
  line-height: 1.1;
}

body.page-index .delivery-process p {
  max-width: 230px;
  margin: 0 auto;
  color: #5a615e;
  font-size: clamp(0.78rem, 0.9vw, 0.86rem);
  line-height: 1.45;
}

body.page-index .delivery-teaser .delivery-process-link,
body.page-index .delivery-teaser .delivery-process-link:hover {
  display: inline-flex;
  margin-top: clamp(24px, 3vw, 34px);
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.28);
  color: #111111;
}

@media (max-width: 900px) {
  body.page-index .delivery-process {
    width: calc(100% + var(--page-gutter));
    max-width: none;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 42vw);
    justify-content: start;
    overflow-x: auto;
    margin-left: 0;
    padding-right: var(--page-gutter);
    padding-bottom: 10px;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body.page-index .delivery-process::-webkit-scrollbar {
    display: none;
  }

  body.page-index .delivery-process article {
    scroll-snap-align: start;
  }
}

/* Align utility pages with the About and Experience type hierarchy. */
body.page-cv .site-main > .wrapper:first-child .section-title,
body.page-privacy .site-main > .wrapper:first-child .section-title {
  max-width: 980px;
  margin-top: 0;
  font-size: clamp(2.8rem, 4.45vw, 4rem);
  font-weight: 470;
  line-height: 0.97;
  letter-spacing: -0.035em;
}

body.page-privacy .site-main > .wrapper:first-child .inner {
  width: min(100% - clamp(2rem, 4vw, 4rem), 900px);
}

body.page-privacy .site-main > .wrapper:first-child p:not(.section-kicker) {
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.68;
}

body.page-cv .site-main > .wrapper:first-child .section-kicker,
body.page-privacy .site-main > .wrapper:first-child .section-kicker {
  margin-bottom: 1rem;
}

.cv-open-note {
  margin: 0.75rem 1rem 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted, #5f6560);
}

@media (max-width: 640px) {
  body.page-cv .site-main > .wrapper:first-child .section-title,
  body.page-privacy .site-main > .wrapper:first-child .section-title {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
}

@media (max-width: 600px) {
  body.page-index .delivery-teaser > .inner {
    padding-block: 40px 38px !important;
  }

  body.page-index .delivery-teaser h2 {
    font-size: clamp(2.1rem, 10vw, 2.75rem);
  }

  body.page-index .delivery-teaser-intro > p:not(.section-kicker) {
    margin-top: 16px;
    font-size: 0.9rem;
  }

  body.page-index .delivery-process {
    grid-auto-columns: 82%;
    margin-top: 32px;
  }

  body.page-index .delivery-process article {
    min-height: 136px;
    padding-inline: 18px;
  }

  body.page-index .delivery-process article:first-child {
    padding-left: 0;
  }

  body.page-index .delivery-process p {
    font-size: 0.8rem;
  }

  body.page-index .delivery-teaser .delivery-process-link {
    margin-top: 20px;
  }
}

/* Match About typography across the homepage on iPad and mobile. */
@media (min-width: 701px) and (max-width: 768px) {
  body.page-index .delivery-teaser h2,
  body.page-index .some-work-center h2,
  body.page-index .home-references-heading h2 {
    font-size: clamp(1.65rem, 4.5vw, 2.1rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
  }

  body.page-index .delivery-teaser-intro > p:not(.section-kicker),
  body.page-index .some-work-center > p:not(.section-kicker) {
    margin-top: 18px;
    font-size: clamp(0.82rem, 1.8vw, 0.95rem) !important;
    line-height: 1.5 !important;
  }

  body.page-index .delivery-teaser .section-kicker,
  body.page-index .home-references-heading .section-kicker {
    margin-bottom: 14px;
    font-size: 0.68rem !important;
  }
}

@media (max-width: 700px) {
  body.page-index .delivery-teaser h2,
  body.page-index .some-work-center h2,
  body.page-index .home-references-heading h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
  }

  body.page-index .delivery-teaser-intro > p:not(.section-kicker),
  body.page-index .some-work-center > p:not(.section-kicker) {
    margin-top: 14px;
    font-size: clamp(0.78rem, 3vw, 0.9rem) !important;
    line-height: 1.48 !important;
  }

  body.page-index .delivery-teaser .section-kicker,
  body.page-index .home-references-heading .section-kicker {
    margin-bottom: 12px;
    font-size: clamp(0.62rem, 2.5vw, 0.72rem) !important;
  }
}

@media (max-width: 980px) {
  body.page-index .floating-work-card,
  body.page-index .floating-work-card.is-cinematic-visible,
  body.page-index .floating-work-card:hover {
    transform: none !important;
  }
}

/* Final full-bleed cinematic work override. */
body.page-index #selected-work.wrapper,
body.page-index #selected-work .inner,
body.page-index #selected-work .some-work-stage {
  max-width: none !important;
}

body.page-index #selected-work .inner {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.page-index #selected-work .some-work-stage {
  width: 100vw !important;
}

/* Scroll-driven card movement, matching the inspected reference pattern. */
body.page-index #selected-work .floating-work-card {
  left: 50% !important;
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  --motion-x: 0px;
  --motion-y: 0px;
  --motion-rotate: 0deg;

  transform:
    translate3d(
      calc(-50% + var(--motion-x)),
      calc(-50% + var(--motion-y) + var(--parallax-y, 0px)),
      0
    )
    rotate(var(--motion-rotate))
    scale(var(--card-scale, 0.98)) !important;
}

body.page-index #selected-work .floating-work-card.is-cinematic-visible {
  --card-scale: 1;
}

body.page-index #selected-work .floating-work-card:hover {
  --card-scale: 1.035;
}

/* Home-only replica direction based on the supplied reference. */
body.page-index {
  background: #ecebe8;
}

body.page-index .site-header,
body.page-index .site-main,
body.page-index .site-footer {
  width: min(100%, 1500px);
  margin-inline: auto;
  background: #f7f7f5;
}

body.page-index .site-header {
  min-height: 88px;
  padding-inline: clamp(1.25rem, 5vw, 4.75rem);
  border: 0;
  border-radius: 18px 18px 0 0;
  box-shadow: none;
}

body.page-index .site-logo-text {
  color: #050505;
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

body.page-index .top-nav {
  margin-left: auto;
}

body.page-index .site-header nav.top-nav .nav-row {
  gap: clamp(1.6rem, 3.3vw, 3.5rem);
}

body.page-index .site-header nav.top-nav a {
  color: #050505;
  font-size: 0.83rem;
  font-weight: 520;
}

body.page-index .header-search,
body.page-index .search-toggle-mobile {
  display: none;
}

body.page-index .header-actions {
  gap: 1rem;
}

body.page-index .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  min-height: 3.05rem;
  padding: 0 1.35rem;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  font-size: 0.83rem;
  font-weight: 560;
}

body.page-index .menu-toggle {
  display: none;
}

body.page-index .wrapper > .inner,
body.page-index .inner {
  width: min(100% - clamp(2rem, 7vw, 7rem), 1336px);
}

body.page-index .studio-hero > .inner {
  min-height: 610px;
  padding-top: clamp(2.2rem, 5vw, 4.4rem);
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

body.page-index .hero-grid {
  grid-template-columns: minmax(440px, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(2rem, 5vw, 6rem);
}

body.page-index .hero-eyebrow,
body.page-index .section-kicker {
  margin-bottom: 1.55rem;
  color: #365a52;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.page-index .hero-name {
  max-width: 620px;
  margin-bottom: 1.55rem;
  color: #050505;
  font-size: clamp(3rem, 3.55vw, 3.75rem);
  font-weight: 430;
  line-height: 1.14;
}

body.page-index .hero-role {
  max-width: 490px;
  color: #292929;
  font-size: 1.02rem;
  line-height: 1.72;
}

body.page-index .hero-actions {
  gap: 2.1rem;
  margin-top: 2.35rem;
}

body.page-index .hero-button,
body.page-index .btn-primary,
body.page-index .btn-secondary {
  min-height: 3.2rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

body.page-index .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding-inline: 1.55rem;
  background: linear-gradient(135deg, #111111, #365a52);
}

body.page-index .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: #365a52;
}

body.page-index .btn-secondary::after {
  content: none;
}

body.page-index .btn-secondary:not(:has(span))::after {
  content: "→";
}

body.page-index .hero-studio-panel {
  align-self: center;
  height: 520px;
  min-height: 520px;
}

body.page-index .hero-studio-panel::before {
  inset: 7% 8%;
  border-color: rgba(17, 17, 17, 0.05);
  border-radius: 34px;
  background:
    radial-gradient(circle at 34% 50%, rgba(225, 222, 215, 0.58), transparent 15rem),
    rgba(247, 247, 245, 0.44);
  box-shadow: none;
}

body.page-index .intelligence-map {
  min-height: 520px;
}

body.page-index .intelligence-map::before {
  inset: 8% 0;
  background:
    linear-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 52% 52%, #000 0%, transparent 72%);
}

body.page-index .intelligence-map svg {
  width: min(100%, 780px);
}

body.page-index .intelligence-map path {
  stroke-width: 1.1;
}

body.page-index .intelligence-map .map-grid path {
  stroke: rgba(17, 17, 17, 0.08);
  stroke-width: 0.8;
  opacity: 1;
}

body.page-index .intelligence-map circle {
  fill: #365a52;
  stroke: #f7f7f5;
  stroke-width: 2.2;
}

body.page-index .trusted-strip .inner {
  display: grid;
  grid-template-columns: minmax(175px, 0.22fr) minmax(0, 0.78fr);
  gap: clamp(1.2rem, 2.6vw, 3rem);
  align-items: center;
  padding-block: 1.15rem 1.45rem;
}

body.page-index .trusted-strip p {
  margin: 0;
  color: #151515;
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.1em;
  line-height: 1.55;
  text-transform: uppercase;
}

body.page-index .trusted-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-index .trusted-logo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem clamp(1rem, 1.8vw, 1.75rem);
  align-items: center;
  justify-content: flex-start;
}

body.page-index .trusted-strip li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  color: #4d4d4d;
  font-size: clamp(0.9rem, 1.2vw, 1.12rem);
  white-space: nowrap;
}

body.page-index .trusted-strip img {
  width: auto;
  max-width: min(100%, 145px);
  max-height: 42px;
  object-fit: contain;
  filter: none;
  mix-blend-mode: multiply;
  opacity: 0.94;
}

body.page-index .home-approach .inner,
body.page-index .selected-transformations .inner {
  padding-block: clamp(3.2rem, 5.5vw, 5rem);
  border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

body.page-index .home-approach .inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) 1fr;
  gap: clamp(2rem, 5vw, 5.2rem);
}

body.page-index .approach-intro h2 {
  max-width: 390px;
  margin: 0;
  color: #070707;
  font-size: clamp(1.95rem, 2.6vw, 3rem);
  font-weight: 430;
  line-height: 1.18;
}

body.page-index .approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-index .approach-grid article {
  min-height: 240px;
  padding: 0 2.45rem;
  border-left: 1px solid rgba(17, 17, 17, 0.12);
  background: transparent;
  box-shadow: none;
}

body.page-index .approach-icon {
  display: block;
  margin-bottom: 2.1rem;
  color: #080808;
  font-size: 1.75rem;
  line-height: 1;
}

body.page-index .approach-grid h3,
body.page-index .case-grid h3 {
  margin: 0;
  color: #070707;
  font-weight: 430;
  letter-spacing: 0;
}

body.page-index .approach-grid h3 {
  font-size: 1.16rem;
}

body.page-index .approach-grid p {
  margin: 1rem 0 1.8rem;
  color: #454545;
  font-size: 0.92rem;
  line-height: 1.7;
}

body.page-index .approach-grid a,
body.page-index .case-grid a {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #365a52;
  font-size: 0.86rem;
  font-weight: 560;
}

body.page-index .selected-transformations .section-kicker {
  margin-bottom: 2.25rem;
}

body.page-index .case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 3rem);
}

body.page-index .case-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.13);
  border-radius: 8px;
  background: rgba(247, 247, 245, 0.58);
  box-shadow: none;
}

body.page-index .case-grid img {
  display: none;
}

body.page-index .case-grid article::before {
  content: "";
  display: block;
  height: clamp(112px, 10vw, 140px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #071313, #203333);
}

body.page-index .case-grid article:nth-child(2)::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 32%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #8f9996, #1b2b2e);
}

body.page-index .case-grid article:nth-child(3)::before {
  background:
    radial-gradient(circle at 54% 45%, rgba(255, 255, 255, 0.58), transparent 0.35rem),
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.28), transparent 10rem),
    repeating-linear-gradient(16deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px),
    linear-gradient(135deg, #061111, #182b2a);
}

body.page-index .case-grid div {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

body.page-index .case-grid p {
  margin: 0 0 1rem;
  color: #313131;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-index .case-grid h3 {
  min-height: 3.1em;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.18;
}

body.page-index .case-grid span:not([aria-hidden]) {
  display: block;
  min-height: 4.8em;
  margin: 0.85rem 0 1.9rem;
  color: #3f3f3f;
  font-size: 0.95rem;
  line-height: 1.58;
}

body.page-index .home-final-cta {
  padding-bottom: 1.5rem;
}

body.page-index .home-final-cta .inner {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(290px, 0.46fr) 1fr;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.8rem);
  border-radius: 8px;
  background:
    radial-gradient(circle at 76% 26%, rgba(255, 255, 255, 0.08), transparent 14rem),
    radial-gradient(circle at 72% 52%, rgba(52, 52, 52, 0.62), transparent 24rem),
    linear-gradient(135deg, #101312 0%, #101312 48%, #161918 100%);
  color: #ffffff;
}

body.page-index .home-final-cta .inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(ellipse at 74% 42%, rgba(192, 218, 215, 0.13) 0 1px, transparent 1px 18px);
  opacity: 0.4;
  pointer-events: none;
}

body.page-index .cta-copy {
  position: relative;
  z-index: 1;
  max-width: 470px;
}

body.page-index .home-final-cta h2 {
  margin: 0 0 1.15rem;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 430;
  line-height: 1.1;
}

body.page-index .home-final-cta p {
  max-width: 410px;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

body.page-index .home-final-cta .btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding-inline: 1.25rem;
  color: #ffffff;
}

body.page-index .home-final-cta img {
  position: absolute;
  right: clamp(1.5rem, 8vw, 9rem);
  bottom: 0;
  z-index: 1;
  width: min(36vw, 410px);
  max-height: 96%;
  object-fit: contain;
  object-position: bottom center;
  filter: grayscale(1) contrast(1.1) brightness(1.03);
  opacity: 0.95;
  mix-blend-mode: lighten;
}

body.page-index .home-minimal-footer {
  display: none;
}

/* Premium inner pages: about, experience and contact. */
body.page-generic .intro-wrap,
body.page-elements main > .wrapper:first-child,
body.page-contact .contact-hero {
  background:
    radial-gradient(circle at 72% 18%, rgba(232, 239, 237, 0.4), transparent 28rem),
    linear-gradient(180deg, rgba(251, 250, 247, 0.94), rgba(251, 250, 247, 0.72));
}

body.page-generic .intro-split {
  grid-template-columns: minmax(0, 0.43fr) minmax(360px, 0.57fr);
  align-items: center;
  min-height: min(650px, calc(100vh - 80px));
  border-bottom: 0;
}

.page-hero-title {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 4.2vw, 4.7rem);
  font-weight: 410;
  letter-spacing: 0;
  line-height: 1.08;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  margin-top: 2rem;
}

body.page-generic .intro-long {
  max-width: 520px;
  margin: 1.6rem 0 0;
  color: #35312d;
  font-size: 1rem;
  line-height: 1.72;
}

.about-hero-visual {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 28%, rgba(232, 239, 237, 0.46), transparent 18rem),
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    transparent;
  background-size: auto, 54px 54px, 54px 54px;
}

.about-hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 0 8%;
  background:
    radial-gradient(circle at 18% 62%, #365a52 0 4px, transparent 5px),
    radial-gradient(circle at 38% 26%, #365a52 0 3px, transparent 4px),
    radial-gradient(circle at 72% 38%, #365a52 0 5px, transparent 6px),
    radial-gradient(circle at 86% 70%, #365a52 0 3px, transparent 4px);
  opacity: 0.8;
}

.about-hero-visual::after {
  content: "";
  position: absolute;
  inset: 8% -6% 0 -10%;
  background:
    repeating-radial-gradient(ellipse at 48% 50%, transparent 0 27px, rgba(47, 106, 104, 0.22) 28px 29px);
  transform: rotate(-8deg);
  opacity: 0.7;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 86%, transparent);
}

.about-hero-visual img {
  position: absolute;
  right: 4%;
  bottom: 0;
  z-index: 1;
  width: min(55%, 390px);
  max-height: 92%;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.02);
  mix-blend-mode: multiply;
}

.brand-architecture .inner,
.product-direction .inner {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.brand-lanes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.brand-lanes article,
.contact-paths article {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: rgba(247, 247, 245, 0.6);
}

.brand-lanes article {
  min-height: 320px;
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.brand-lanes span,
.contact-paths span {
  display: block;
  margin-bottom: 1.5rem;
  color: #2c4a44;
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-lanes h2,
.product-direction-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 4rem);
  font-weight: 410;
  letter-spacing: 0;
  line-height: 1.08;
}

.brand-lanes p,
.product-direction-grid p,
.product-direction-grid li,
.contact-paths p {
  color: #4b4742;
  line-height: 1.72;
}

body.page-elements main > .wrapper:first-child .inner {
  min-height: 52vh;
  display: grid;
  align-content: center;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

body.page-elements .page-title {
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 410;
  line-height: 0.98;
}

.product-direction-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.product-direction-grid ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.product-direction-grid li {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

body.page-contact .contact-hero-grid {
  grid-template-columns: minmax(0, 0.52fr) minmax(340px, 0.48fr);
  justify-content: stretch;
}

body.page-contact .contact-content {
  max-width: none;
}

body.page-contact .contact-title {
  max-width: 760px;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
}

.contact-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.contact-paths article {
  padding: 1.2rem;
}

.contact-paths span {
  margin-bottom: 0.7rem;
}

.contact-paths p {
  margin: 0;
  font-size: 0.9rem;
}

body.page-contact .contact-card {
  background: rgba(247, 247, 245, 0.72);
}

body.page-generic .site-main {
  display: flex;
  flex-direction: column;
}

body.page-generic .intro-split {
  grid-template-columns: minmax(0, 0.43fr) minmax(360px, 0.57fr);
  align-items: center;
  border-bottom: 0;
}

body.page-generic .intro-split > div:last-child {
  width: 100%;
  justify-self: stretch;
}

body.page-generic .about-hero-visual {
  width: 100%;
}

body.page-generic .site-main > section:nth-of-type(1) {
  order: 1;
}

body.page-generic .section-business-skills {
  order: 3;
}

body.page-generic .section-technical-skills {
  order: 2;
}

body.page-generic .section-business-skills .inner,
body.page-generic .section-technical-skills .inner,
body.page-generic .education-language-combo .inner {
  padding-top: clamp(3rem, 5vw, 4.6rem);
  padding-bottom: clamp(3rem, 5vw, 4.6rem);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

body.page-generic .section-business-skills .section-title,
body.page-generic .section-technical-skills .section-title,
body.page-generic .education-language-combo .section-title {
  color: #365a52;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body.page-generic .skill-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

body.page-generic .section-technical-skills .skill-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-generic .skill-node {
  border: 0;
  border-left: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 0;
  background: transparent;
  padding: 0 2rem;
}

body.page-generic .skill-node:first-child {
  border-left: 0;
  padding-left: 0;
}

body.page-generic .skill-node-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #365a52;
  color: #ffffff;
}

body.page-generic .skill-node h3 {
  font-size: 1.15rem;
  font-weight: 520;
}

body.page-generic .skill-node-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

body.page-generic .skill-node-chips span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #161918;
  font-size: 0.88rem;
}

body.page-generic .skill-node-chips span::before {
  content: "•";
  margin-right: 0.5rem;
  color: #111111;
}

body.page-generic .education-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

body.page-generic .education-group,
body.page-generic .language-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 980px) {
  body.page-index .site-header {
    min-height: 74px;
  }

  body.page-index .top-nav,
  body.page-index .header-cta {
    display: none;
  }

  body.page-index .menu-toggle {
    display: inline-flex;
  }

  body.page-index .hero-grid,
  body.page-index .trusted-strip .inner,
  body.page-index .home-approach .inner,
  body.page-index .case-grid,
  body.page-index .home-final-cta .inner {
    grid-template-columns: 1fr;
  }

  body.page-index .studio-hero > .inner {
    min-height: auto;
  }

  body.page-index .hero-studio-panel {
    min-height: 390px;
  }

  body.page-index .trusted-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-index .approach-grid {
    grid-template-columns: 1fr;
  }

  body.page-index .approach-grid article {
    min-height: auto;
    padding: 1.4rem 0;
    border-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
  }

  body.page-index .home-final-cta .inner {
    min-height: 560px;
    align-items: start;
  }

  body.page-index .home-final-cta img {
    right: 50%;
    width: min(82vw, 380px);
    transform: translateX(50%);
  }
}

@media (max-width: 640px) {
  body.page-index .site-header {
    border-radius: 0;
  }

  body.page-index .wrapper > .inner,
  body.page-index .inner {
    width: min(100% - 1.4rem, 1336px);
  }

  body.page-index .hero-name {
    font-size: clamp(2.55rem, 12vw, 3.25rem);
  }

  body.page-index .hero-actions {
    align-items: stretch;
    gap: 0.75rem;
  }

  body.page-index .trusted-strip ul {
    grid-template-columns: 1fr;
  }

  body.page-index .case-grid h3,
  body.page-index .case-grid span:not([aria-hidden]) {
    min-height: 0;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 22, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 35, 0.035) 1px, transparent 1px),
    var(--cream);
  background-size: 44px 44px;
  letter-spacing: 0;
}

body.page-index .site-main,
body.page-generic .site-main,
body.page-elements .site-main,
body.page-contact .site-main {
  background: transparent;
}

.site-header {
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 5vw, 4.5rem);
  background: rgba(246, 243, 238, 0.82);
  border-bottom: 1px solid rgba(16, 22, 35, 0.08);
  backdrop-filter: blur(18px);
}

.site-logo-link {
  width: 3.7rem;
  height: 3.7rem;
  border: 1px solid rgba(16, 22, 35, 0.12);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 14px 35px rgba(16, 22, 35, 0.12);
}

.site-header nav.top-nav .nav-row {
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid rgba(16, 22, 35, 0.1);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.76);
  box-shadow: 0 10px 30px rgba(16, 22, 35, 0.08);
}

.site-header nav.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.site-header nav.top-nav a:hover {
  color: var(--ink);
  background: var(--mint);
}

.site-header nav.top-nav .nav-dropdown {
  top: calc(100% + 0.65rem);
  padding: 0.85rem;
  border: 1px solid rgba(16, 22, 35, 0.12);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.94);
  box-shadow: var(--shadow-soft);
}

.search-toggle-mobile,
.menu-toggle,
.slider-btn {
  border: 1px solid rgba(16, 22, 35, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.82);
  color: var(--ink);
}

.menu-toggle {
  min-height: 2.4rem;
  padding: 0 0.95rem;
  font-weight: 750;
}

.wrapper > .inner,
.inner {
  width: min(1120px, calc(100% - 2rem));
}

.section-hero {
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
}

body.page-index .section-hero::before,
body.page-index .section-hero::after,
body.page-index .section-hero .hero-text::before,
body.page-index .section-hero .hero-image::before,
body.page-index .section-hero .hero-grid::after,
body.page-index #skills::before,
body.page-index #skills::after {
  content: none;
}

.studio-hero > .inner {
  min-height: calc(100vh - 72px);
  padding-top: clamp(3rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 1.02fr);
  gap: clamp(2rem, 5vw, 5.5rem);
}

.hero-eyebrow,
.section-kicker,
.insight-label {
  margin: 0 0 1rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-name {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.1rem, 5.35vw, 5.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: none;
  text-wrap: balance;
}

.hero-role {
  max-width: 680px;
  margin: 1.6rem 0 0;
  color: #394254;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.65;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn-primary,
.btn-secondary,
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
}

.btn-primary {
  background: var(--night);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(16, 22, 35, 0.22);
}

.btn-primary:hover {
  background: #000000;
  color: #ffffff;
}

.btn-secondary {
  border: 1px solid rgba(16, 22, 35, 0.16);
  background: var(--paper);
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--lime);
  color: var(--ink);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero-proof span {
  min-width: 0;
  padding: 0.95rem;
  border: 1px solid rgba(16, 22, 35, 0.1);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.72);
  color: #414b5d;
  font-size: 0.86rem;
  line-height: 1.35;
}

.hero-proof strong {
  display: block;
  color: var(--ink);
  font-size: 1.35rem;
}

.hero-studio-panel {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  margin-left: 0;
  border: 1px solid rgba(16, 22, 35, 0.12);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(189, 233, 218, 0.9), rgba(136, 184, 255, 0.42) 52%, rgba(255, 128, 103, 0.34)),
    var(--paper);
  box-shadow: 0 28px 80px rgba(16, 22, 35, 0.18);
  overflow: hidden;
}

.hero-studio-panel picture {
  position: absolute;
  right: -12%;
  bottom: -3%;
  width: min(760px, 118%);
}

body.page-index .section-hero .hero-image img,
.hero-image img {
  width: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

.hero-studio-panel::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background:
    linear-gradient(rgba(16, 22, 35, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 22, 35, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero-insight-card {
  position: absolute;
  left: 1.35rem;
  bottom: 1.35rem;
  width: min(320px, calc(100% - 2.7rem));
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 22px;
  background: rgba(16, 22, 35, 0.82);
  color: #ffffff;
  box-shadow: 0 22px 50px rgba(16, 22, 35, 0.25);
  backdrop-filter: blur(16px);
}

.hero-insight-card strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
}

.hero-insight-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-insight-card .insight-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--lime);
}

.studio-intro .inner {
  padding-top: 0;
}

.intro-split {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.page-lead {
  color: var(--ink);
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  font-weight: 880;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: none;
}

.intro-long {
  color: #303949;
  font-size: 1.05rem;
  line-height: 1.85;
}

.studio-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.studio-capability,
.key-card,
.highlight-item,
.skill-node,
.summary-card,
.education-group,
.language-card,
.accordion-trigger,
.accordion-panel,
.contact-card,
.footer-col {
  border: 1px solid rgba(16, 22, 35, 0.1);
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 18px 45px rgba(16, 22, 35, 0.08);
}

.studio-capability {
  min-height: 220px;
  padding: 1.25rem;
}

.studio-capability svg {
  width: 28px;
  height: 28px;
  color: var(--coral);
}

.studio-capability h2,
.studio-capability p {
  margin: 0;
}

.studio-capability h2 {
  margin-top: 3.5rem;
  font-size: 1.18rem;
}

.studio-capability p {
  margin-top: 0.65rem;
  color: #485266;
  line-height: 1.6;
}

.section-title,
.page-title {
  color: var(--ink);
  font-size: clamp(1.85rem, 3.4vw, 3.6rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: none;
}

.key-achievements {
  gap: 1rem;
}

.key-card,
.highlight-item {
  padding: 1.35rem;
}

.key-card:nth-child(2),
.studio-capability:nth-child(2),
.highlight-item:nth-child(2) {
  background: rgba(189, 233, 218, 0.68);
}

.key-card:nth-child(3),
.studio-capability:nth-child(3) {
  background: rgba(216, 242, 117, 0.52);
}

.key-icon {
  color: var(--night);
  background: rgba(255, 128, 103, 0.16);
  border: 1px solid rgba(255, 128, 103, 0.22);
}

.key-title {
  font-size: 1.18rem;
  font-weight: 850;
}

.key-kicker {
  color: var(--teal-dark);
}

.key-body {
  color: #485266;
  line-height: 1.65;
}

#clients .inner,
.section-projects .inner {
  position: relative;
}

.logo-slider {
  border: 1px solid rgba(16, 22, 35, 0.1);
  border-radius: 28px;
  background: rgba(255, 250, 242, 0.7);
  box-shadow: 0 18px 45px rgba(16, 22, 35, 0.08);
}

.summary-band {
  background: var(--night);
  color: #ffffff;
}

.summary-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.skill-node-chips span {
  border: 1px solid rgba(16, 22, 35, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.78);
}

.accordion-trigger {
  margin-top: 0.85rem;
  background: rgba(255, 250, 242, 0.82);
}

.accordion-trigger:hover {
  background: var(--mint);
}

.contact-hero-grid {
  align-items: stretch;
}

.contact-title {
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.contact-visual img {
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

input,
textarea,
select {
  border-color: rgba(16, 22, 35, 0.14);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.86);
}

.site-footer {
  margin-top: 0;
  background: var(--night);
  color: #ffffff;
}

.site-footer .section-title,
.site-footer .footer-title,
.site-footer a {
  color: #ffffff;
}

.site-footer .inner {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-grid {
  gap: 1rem;
}

.footer-col {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.copyright {
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .hero-grid,
  .intro-split,
  .contact-hero-grid {
    grid-template-columns: 1fr;
  }

  .studio-hero > .inner {
    min-height: auto;
  }

  .hero-studio-panel {
    min-height: 520px;
  }

  .hero-proof,
  .studio-capability-grid {
    grid-template-columns: 1fr;
  }

  .studio-capability {
    min-height: auto;
  }

  .studio-capability h2 {
    margin-top: 1.5rem;
  }
}

@media (max-width: 640px) {
  body {
    background-size: 30px 30px;
  }

  .wrapper > .inner,
  .inner {
    width: min(100% - 1rem, 1120px);
  }

  .hero-name {
    font-size: clamp(2.55rem, 13vw, 3.45rem);
    line-height: 0.94;
  }

  .hero-role {
    margin-top: 1.1rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-proof {
    margin-top: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
  }

  .hero-studio-panel {
    min-height: 430px;
    border-radius: 24px;
  }

  .hero-studio-panel picture {
    right: -28%;
    width: 136%;
  }

  .hero-insight-card {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    width: auto;
  }

  .section-title,
  .page-title,
  .contact-title {
    line-height: 1.03;
  }
}

/* Soft light luxury refinement inspired by the local reference board. */
body {
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.92), transparent 32rem),
    radial-gradient(circle at 88% 18%, rgba(232, 239, 237, 0.36), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f2f2ef 100%);
  color: var(--ink);
}

.site-header {
  min-height: 76px;
  background: rgba(242, 242, 239, 0.88);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: none;
}

.site-logo-link {
  width: auto;
  height: auto;
  min-height: 2.3rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.site-logo-text {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  color: var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-header nav.top-nav .nav-row {
  gap: 1.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-header nav.top-nav a {
  min-height: 2rem;
  padding: 0;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
}

.site-header nav.top-nav a:hover {
  color: var(--teal-dark);
  background: transparent;
}

.site-header nav.top-nav .nav-dropdown {
  border-radius: 10px;
  background: rgba(247, 247, 245, 0.96);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
}

.search-bar input[type="search"] {
  background: transparent;
}

.search-toggle-mobile,
.menu-toggle,
.slider-btn {
  background: rgba(247, 247, 245, 0.72);
  box-shadow: none;
}

.studio-hero > .inner {
  min-height: calc(100vh - 76px);
  padding-top: clamp(3.6rem, 7vw, 6rem);
  padding-bottom: clamp(3.4rem, 6vw, 5.5rem);
}

.hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
}

.hero-eyebrow,
.section-kicker,
.insight-label {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.hero-name {
  max-width: 690px;
  font-size: clamp(2.9rem, 4.1vw, 4.2rem);
  font-weight: 430;
  line-height: 1.04;
}

.hero-role {
  max-width: 520px;
  color: #4b4742;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 400;
  line-height: 1.72;
}

.btn-primary,
.btn-secondary,
.hero-button {
  min-height: 2.95rem;
  padding: 0 1.15rem;
  border-radius: 2px;
  font-size: 0.86rem;
  font-weight: 560;
}

.btn-primary {
  background: var(--teal-dark);
  color: #ffffff;
  box-shadow: none;
}

.btn-primary:hover {
  background: #242424;
}

.btn-secondary {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.btn-secondary::after {
  content: "→";
  margin-left: 0.75rem;
  color: var(--teal-dark);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--teal-dark);
}

.hero-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 2.6rem;
  border-top: 1px solid rgba(17, 17, 17, 0.09);
  border-bottom: 1px solid rgba(17, 17, 17, 0.09);
}

.hero-proof span {
  padding: 1.1rem 1rem 1.1rem 0;
  border: 0;
  border-right: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 0;
  background: transparent;
  color: #5b5750;
  font-size: 0.8rem;
}

.hero-proof span:last-child {
  border-right: 0;
  padding-left: 1rem;
}

.hero-proof span:nth-child(2) {
  padding-left: 1rem;
}

.hero-proof strong {
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 520;
}

.hero-studio-panel {
  display: grid;
  min-height: 520px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-studio-panel::before {
  content: "";
  position: absolute;
  inset: 9% 6%;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  background: rgba(247, 247, 245, 0.42);
  box-shadow: 0 30px 90px rgba(17, 17, 17, 0.06);
}

.hero-studio-panel picture,
.hero-insight-card {
  display: none;
}

.intelligence-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: inherit;
  isolation: isolate;
}

.intelligence-map::before {
  content: "";
  position: absolute;
  inset: 7% 2%;
  background:
    linear-gradient(rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 68%);
}

.intelligence-map svg {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  height: auto;
  overflow: visible;
}

.intelligence-map path {
  fill: none;
  stroke: url("#mapLine");
  stroke-width: 1.25;
  stroke-linecap: round;
  opacity: 0.72;
}

.intelligence-map circle {
  fill: #f7f7f5;
  stroke: var(--teal-dark);
  stroke-width: 2;
}

.map-card {
  position: absolute;
  z-index: 2;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 12px;
  background: rgba(247, 247, 245, 0.82);
  box-shadow: 0 22px 60px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(16px);
}

.map-card span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--slate);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 560;
}

.map-card-primary {
  right: 6%;
  top: 16%;
}

.map-card-secondary {
  left: 8%;
  bottom: 14%;
}

.trusted-tech {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(17, 17, 17, 0.09);
  border-bottom: 1px solid rgba(17, 17, 17, 0.09);
}

.trusted-tech span {
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 620;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trusted-tech ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  color: #2d2a27;
  font-size: 0.95rem;
}

.studio-capability,
.key-card,
.highlight-item,
.skill-node,
.education-group,
.language-card,
.accordion-trigger,
.accordion-panel,
.contact-card,
.footer-col {
  border-color: rgba(17, 17, 17, 0.09);
  border-radius: 8px;
  background: rgba(247, 247, 245, 0.7);
  box-shadow: none;
}

.studio-capability {
  min-height: 250px;
  border-width: 0 0 0 1px;
  border-radius: 0;
  background: transparent;
  padding: 1.4rem 1.6rem;
}

.studio-capability:first-child {
  border-left: 0;
  padding-left: 0;
}

.studio-capability svg {
  color: var(--teal-dark);
}

.studio-capability h2 {
  margin-top: 3rem;
  font-size: 1.08rem;
  font-weight: 560;
}

.studio-capability p,
.key-body {
  color: #5b5750;
}

.key-card:nth-child(2),
.studio-capability:nth-child(2),
.highlight-item:nth-child(2),
.key-card:nth-child(3),
.studio-capability:nth-child(3) {
  background: transparent;
}

.key-icon {
  color: var(--teal-dark);
  background: transparent;
  border-color: rgba(17, 17, 17, 0.1);
}

.section-title,
.page-title,
.contact-title {
  font-weight: 430;
  line-height: 1.06;
}

.summary-band,
.site-footer {
  background:
    radial-gradient(circle at 78% 18%, rgba(54, 90, 82, 0.2), transparent 28rem),
    var(--night);
}

.selected-work {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 560;
}

.text-link:hover {
  color: var(--teal-dark);
}

.work-system {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.work-copy {
  color: #4b4742;
  line-height: 1.75;
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 10px;
  background: rgba(247, 247, 245, 0.62);
  overflow: hidden;
}

.flow-column {
  min-height: 260px;
  padding: 1.1rem;
  border-right: 1px solid rgba(17, 17, 17, 0.08);
}

.flow-column:last-child {
  border-right: 0;
}

.flow-column span {
  display: block;
  margin-bottom: 1.4rem;
  color: var(--slate);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-column strong {
  display: block;
  margin-bottom: 0.85rem;
  color: #24211e;
  font-size: 0.9rem;
  font-weight: 520;
}

body:not(.page-index) .site-main {
  background:
    radial-gradient(circle at 78% 6%, rgba(232, 239, 237, 0.34), transparent 26rem),
    linear-gradient(180deg, rgba(247, 247, 245, 0.44), rgba(242, 242, 239, 0));
}

.page-generic .site-main > .wrapper:first-child .inner,
.page-elements .site-main > .wrapper:first-child .inner,
.page-privacy .site-main > .wrapper:first-child .inner,
.page-cv .site-main > .wrapper:first-child .inner {
  padding-top: clamp(4.8rem, 8vw, 7rem);
  padding-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.page-generic .intro-split,
.page-elements .site-main > .wrapper:first-child .inner {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.page-generic .page-lead,
.page-elements .page-title,
.page-privacy .section-title,
.page-cv .section-title {
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 430;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
}

.page-generic .intro-long {
  max-width: 680px;
}

.timeline-section,
.section-technical-skills,
.section-business-skills,
.section-projects,
#previous-work,
#references {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.skill-node,
.education-group,
.language-card,
.key-card,
.highlight-item,
.accordion-panel,
.contact-card {
  background: rgba(247, 247, 245, 0.58);
}

.skill-node,
.education-group,
.language-card {
  border-radius: 10px;
}

.skill-node-icon,
.language-badge {
  color: var(--teal-dark);
  background: transparent;
}

.skill-node h3,
.education-items,
.language-info h3,
.accordion-title,
.footer-title {
  font-weight: 560;
}

.accordion-trigger {
  border-radius: 10px;
  background: rgba(247, 247, 245, 0.64);
}

.accordion-trigger:hover {
  background: rgba(235, 229, 218, 0.42);
}

.accordion-tag,
.accordion-meta,
.project-section h4 {
  color: var(--teal-dark);
}

.contact-hero .inner {
  padding-top: clamp(4.5rem, 8vw, 7rem);
}

.contact-hero-grid {
  gap: clamp(2rem, 6vw, 5rem);
}

.contact-title {
  max-width: 620px;
}

.contact-visual {
  align-self: start;
}

.contact-visual img {
  border-radius: 10px;
  filter: saturate(0.72) contrast(0.96);
  box-shadow: 0 30px 90px rgba(17, 17, 17, 0.08);
}

.contact-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.btn-primary[type="submit"] {
  border-radius: 2px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-section,
.summary-band,
.contact-hero {
  background:
    radial-gradient(circle at 84% 14%, rgba(232, 239, 237, 0.32), transparent 28rem),
    linear-gradient(180deg, rgba(247, 247, 245, 0.76), rgba(242, 242, 239, 0.94));
  color: var(--ink);
}

.timeline-section .section-title {
  color: var(--ink);
}

.timeline-section .inner {
  width: min(1120px, calc(100% - 2rem));
}

.ts-row::after,
.ts-line,
.ts-top:has(.ts-title)::after,
.ts-bottom:has(.ts-title)::before {
  background: rgba(17, 17, 17, 0.16);
}

.ts-circle {
  background: var(--paper);
  color: var(--teal-dark);
  border-color: rgba(17, 17, 17, 0.14);
  box-shadow: 0 0 0 8px rgba(54, 90, 82, 0.06);
}

.ts-meta {
  color: #5b5750;
}

.summary-band {
  left: auto;
  width: auto;
  transform: none;
  padding: 0;
}

.summary-band .summary-grid {
  width: 100%;
}

.summary-card {
  color: var(--ink);
  background: rgba(247, 247, 245, 0.62);
  border-color: rgba(17, 17, 17, 0.11);
}

.summary-label {
  color: #5b5750;
}

.contact-hero {
  padding: 0;
  overflow: visible;
}

.contact-hero::after,
.contact-visual::before,
.contact-visual::after {
  content: none;
}

body .site-main .contact-hero .inner {
  padding-top: clamp(4.5rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.contact-content {
  color: var(--ink);
}

.contact-title {
  color: var(--ink);
}

.contact-visual {
  display: none;
}

.contact-hero-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.contact-card label,
.form-consent label {
  color: #2d2a27;
}

.contact-card input,
.contact-card textarea,
.contact-card select {
  background: rgba(247, 247, 245, 0.9);
}

.point-of-view {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.point-of-view .inner {
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.pov-statement {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.pov-statement h2 {
  max-width: 940px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  font-weight: 410;
  letter-spacing: 0;
  line-height: 0.98;
}

.pov-statement p {
  margin: 0;
  color: #4b4742;
  font-size: 1rem;
  line-height: 1.8;
}

.operating-system,
.selected-work,
.field-notes {
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

.principle-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(280px, 0.42fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: stretch;
}

.principle-large,
.principle-stack article,
.transformation-card,
.note-list article {
  position: relative;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 22px;
  background: rgba(247, 247, 245, 0.58);
  box-shadow: 0 28px 90px rgba(17, 17, 17, 0.045);
}

.principle-large {
  min-height: 520px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 76% 24%, rgba(54, 90, 82, 0.12), transparent 18rem),
    rgba(247, 247, 245, 0.7);
}

.principle-stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}

.principle-stack article {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.principle-large span,
.principle-stack span,
.note-list span {
  display: block;
  margin-bottom: clamp(2rem, 7vw, 6rem);
  color: var(--teal-dark);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle-large h3,
.principle-stack h3,
.transformation-card h3,
.note-list h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 430;
  letter-spacing: 0;
  line-height: 1.08;
}

.principle-large h3 {
  max-width: 560px;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

.principle-stack h3,
.transformation-card h3,
.note-list h3 {
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
}

.principle-large p,
.principle-stack p,
.transformation-card p {
  max-width: 560px;
  margin: 1rem 0 0;
  color: #57534e;
  line-height: 1.75;
}

.transformation-list {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.transformation-card {
  min-height: 330px;
  padding: clamp(1.3rem, 3vw, 2.4rem);
}

.transformation-primary {
  grid-row: span 2;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 72% 16%, rgba(54, 90, 82, 0.13), transparent 20rem),
    linear-gradient(180deg, rgba(247, 247, 245, 0.7), rgba(242, 242, 239, 0.86));
}

.transformation-primary h3 {
  font-size: clamp(2.2rem, 4.6vw, 4.8rem);
  line-height: 1.02;
}

.field-notes {
  background:
    radial-gradient(circle at 20% 0%, rgba(232, 239, 237, 0.38), transparent 28rem),
    transparent;
}

.note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.note-list article {
  min-height: 310px;
  padding: clamp(1.3rem, 3vw, 2.2rem);
}

.cinematic-footer {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cinematic-footer .section-title {
  max-width: 940px;
  margin-bottom: 2rem;
  color: #f7f7f5;
  font-size: clamp(2.7rem, 7vw, 7rem);
  font-weight: 410;
  line-height: 0.98;
}

.cinematic-footer .section-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  align-items: center;
}

.site-footer .text-link {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .text-link:hover {
  color: #ffffff;
}

.cinematic-footer .copyright {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.6rem;
  margin-top: clamp(4rem, 8vw, 7rem);
  color: rgba(255, 255, 255, 0.54);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-split,
  .contact-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-text {
    min-width: 0;
    width: 100%;
  }

  .hero-studio-panel {
    min-height: 430px;
  }

  .trusted-tech {
    grid-template-columns: 1fr;
  }

  .trusted-tech ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-capability {
    min-height: auto;
    border-width: 1px 0 0;
    padding: 1.35rem 0;
  }

  .section-heading-row,
  .work-system {
    grid-template-columns: 1fr;
  }

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

  .flow-column:nth-child(2) {
    border-right: 0;
  }

  .pov-statement,
  .principle-layout,
  .transformation-list,
  .note-list {
    grid-template-columns: 1fr;
  }

  .principle-large,
  .transformation-primary {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .site-logo-text {
    font-size: 0.76rem;
  }

  .hero-name {
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 1.04;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof span,
  .hero-proof span:nth-child(2),
  .hero-proof span:last-child {
    padding: 0.9rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.09);
  }

  .hero-proof span:last-child {
    border-bottom: 0;
  }

  .hero-studio-panel {
    min-height: 340px;
  }

  .map-card {
    display: none;
  }

  .trusted-tech ul {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .system-flow {
    grid-template-columns: 1fr;
  }

  .flow-column,
  .flow-column:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  .flow-column:last-child {
    border-bottom: 0;
  }

  .page-generic .page-lead,
  .page-elements .page-title,
  .page-privacy .section-title,
  .page-cv .section-title {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .pov-statement h2 {
    font-size: clamp(2.3rem, 12vw, 3.8rem);
  }

  .principle-large,
  .principle-stack article,
  .transformation-card,
  .note-list article {
    border-radius: 18px;
  }

  .principle-large,
  .transformation-primary {
    min-height: 380px;
  }

  .principle-large span,
  .principle-stack span,
  .note-list span {
    margin-bottom: 2.2rem;
  }

  .principle-large h3,
  .transformation-primary h3,
  .cinematic-footer .section-title {
    font-size: clamp(2.15rem, 11vw, 3.5rem);
  }

  .cinematic-footer {
    min-height: 68vh;
  }

  .footer-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-actions .btn-primary,
  .footer-actions .text-link {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile polish for the home page. */
.search-drawer[hidden],
.search-overlay[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  body.page-index {
    background: #f3f1ed;
  }

  body.page-index .site-header {
    padding-inline: 1rem;
    min-height: 64px;
  }

  body.page-index .wrapper > .inner,
  body.page-index .inner {
    width: min(100% - 1.5rem, 1336px);
  }

  body.page-index .studio-hero > .inner {
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  body.page-index .hero-name {
    max-width: 11ch;
    margin-bottom: 1rem;
    font-size: clamp(2.35rem, 10.8vw, 3.05rem);
    line-height: 1.05;
  }

  body.page-index .hero-role {
    max-width: 32ch;
    font-size: 0.95rem;
    line-height: 1.55;
  }

  body.page-index .hero-actions {
    margin-top: 1.35rem;
  }

  body.page-index .hero-studio-panel {
    height: 250px;
    min-height: 250px;
  }

  body.page-index .hero-studio-panel::before {
    inset: 0;
    border-radius: 18px;
    background: transparent;
  }

  body.page-index .intelligence-map,
  body.page-index .intelligence-map svg {
    min-height: 250px;
  }

  body.page-index .trusted-strip .inner {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding-block: 1rem 1.35rem;
  }

  body.page-index .trusted-logo-list {
    gap: 0.35rem 0.9rem;
  }

  body.page-index .trusted-strip li {
    min-height: 32px;
  }

  body.page-index .trusted-strip img {
    max-width: 84px;
    max-height: 28px;
  }

  body.page-index .home-approach .inner,
  body.page-index .selected-transformations .inner {
    padding-block: 2.4rem;
  }

  body.page-index .approach-intro h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  body.page-index .approach-grid article {
    padding-block: 1.15rem;
  }

  body.page-index .approach-icon {
    margin-bottom: 1rem;
  }

  body.page-index .case-grid {
    gap: 1.1rem;
  }

  body.page-index .case-grid article::before {
    height: 96px;
  }

  body.page-index .home-final-cta {
    padding-bottom: 0;
  }

  body.page-index .home-final-cta .inner {
    min-height: auto;
    display: block;
    padding: 1.45rem 1.25rem 0;
    border-radius: 8px;
  }

  body.page-index .home-final-cta h2 {
    max-width: 11ch;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  body.page-index .home-final-cta p {
    max-width: 28ch;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  body.page-index .home-final-cta .btn-secondary {
    min-height: 2.85rem;
    margin-bottom: 1rem;
  }

  body.page-index .home-final-cta img {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: min(92%, 320px);
    max-height: none;
    margin: 0.5rem auto 0;
    transform: none;
    opacity: 0.95;
    mix-blend-mode: lighten;
  }

  body.page-generic .intro-split,
  .brand-lanes,
  .product-direction-grid,
  body.page-contact .contact-hero-grid,
  .contact-paths {
    grid-template-columns: 1fr;
  }

  body.page-generic .intro-split {
    min-height: auto;
    gap: 2rem;
  }

  .page-hero-title,
  body.page-elements .page-title,
  body.page-contact .contact-title {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 1.04;
  }

  .page-hero-actions {
    flex-direction: column;
  }

  .page-hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .about-hero-visual {
    min-height: 280px;
  }

  .about-hero-visual img {
    right: 50%;
    width: min(86%, 300px);
    transform: translateX(50%);
  }

  .brand-lanes article {
    min-height: auto;
  }

body.page-contact .contact-card {
    padding: 1.2rem;
  }
}

/* Personal brand flow polish: white editorial base with black type and signature green accents. */
body.page-generic,
body.page-elements,
body.page-contact {
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
}

body.page-generic::before,
body.page-elements::before,
body.page-contact::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 8%, rgba(54, 90, 82, 0.08), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f7f7f5 58%, #ffffff 100%);
}

body:not(.page-index) .site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 76px;
  padding-inline: clamp(1rem, 4vw, 3.25rem);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: none;
}

body:not(.page-index) .site-logo-link {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.page-index) .site-logo-text {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body:not(.page-index) .header-search,
body:not(.page-index) .search-toggle-mobile {
  display: none;
}

body:not(.page-index) .site-header nav.top-nav {
  margin-left: auto;
}

body:not(.page-index) .site-header nav.top-nav .nav-row {
  gap: clamp(1.25rem, 2.6vw, 2.85rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:not(.page-index) .site-header nav.top-nav a {
  min-height: auto;
  padding: 0.25rem 0;
  border-radius: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 520;
  letter-spacing: 0;
  text-transform: none;
}

body:not(.page-index) .site-header nav.top-nav a:hover {
  color: var(--teal);
  background: transparent;
}

body:not(.page-index) .site-header .header-actions {
  gap: 0.85rem;
  margin-left: clamp(1rem, 3vw, 2.5rem);
}

body:not(.page-index) .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 5px;
  background: #111111;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 560;
  white-space: nowrap;
}

body:not(.page-index) .header-cta:hover {
  background: var(--teal);
  color: #ffffff;
}

body:not(.page-index) .wrapper > .inner,
body:not(.page-index) .inner {
  width: min(100% - clamp(2rem, 7vw, 7rem), 1280px);
}

body:not(.page-index) .site-main > .wrapper {
  padding-block: clamp(3.8rem, 7vw, 7rem);
  border-bottom: 1px solid var(--border);
}

body:not(.page-index) .site-main > .wrapper:first-child {
  padding-top: clamp(4rem, 8vw, 7.5rem);
}

body:not(.page-index) .site-main > .wrapper:first-child .inner {
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

body:not(.page-index) .section-kicker {
  margin-bottom: 1.15rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.page-index) .section-title,
body:not(.page-index) .page-title,
body:not(.page-index) .page-hero-title,
body:not(.page-index) .contact-title {
  color: var(--ink);
  letter-spacing: 0;
}

body:not(.page-index) .page-title,
body:not(.page-index) .page-hero-title {
  max-width: 980px;
  font-size: clamp(3rem, 7vw, 6.35rem);
  font-weight: 430;
  line-height: 0.98;
}

body.page-elements .page-title,
body.page-contact .contact-title {
  max-width: 900px;
  font-size: clamp(2.8rem, 6vw, 5.65rem);
  font-weight: 430;
  line-height: 1;
}

body:not(.page-index) .intro-long,
body:not(.page-index) p,
body:not(.page-index) li {
  color: var(--slate);
}

body:not(.page-index) .btn-primary,
body:not(.page-index) .contact-form button[type="submit"] {
  border: 1px solid #111111;
  border-radius: 5px;
  background: #111111;
  color: #ffffff;
  box-shadow: none;
}

body:not(.page-index) .btn-primary:hover,
body:not(.page-index) .contact-form button[type="submit"]:hover {
  border-color: var(--teal);
  background: var(--teal);
}

body:not(.page-index) .btn-secondary {
  border-radius: 5px;
  color: var(--teal);
  background: transparent;
}

body:not(.page-index) .btn-secondary:hover {
  background: var(--section-bg);
}

body.page-generic .intro-wrap {
  padding: 0;
}

body.page-generic .intro-split {
  grid-template-columns: minmax(0, 0.46fr) minmax(360px, 0.54fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}

body.page-generic .about-hero-visual {
  min-height: clamp(410px, 48vw, 620px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(54, 90, 82, 0.09), transparent 16rem),
    linear-gradient(90deg, transparent 0%, rgba(54, 90, 82, 0.04) 100%);
  box-shadow: none;
}

body.page-generic .about-hero-visual::before {
  opacity: 0.82;
}

body.page-generic .about-hero-visual img {
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}

body.page-generic .timeline-stem,
body.page-generic .skill-node,
body.page-generic .business-skill-card,
body.page-generic .education-card,
body.page-generic .language-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: none;
}

body.page-generic .skill-node,
body.page-generic .business-skill-card {
  border-radius: 18px;
}

body.page-generic .skill-node-icon,
body.page-generic .business-skill-icon {
  background: var(--teal);
  color: #ffffff;
}

body.page-generic .skill-node-chips span,
body.page-generic .role-chip,
body.page-elements .project-tools li {
  border: 1px solid rgba(54, 90, 82, 0.14);
  background: var(--mint);
  color: var(--teal-dark);
}

body.page-elements .summary-band {
  border: 0;
  border-radius: 0;
  background: #101312;
  box-shadow: none;
}

body.page-elements .summary-grid {
  gap: 1px;
  background: rgba(255, 255, 255, 0.09);
}

body.page-elements .summary-card {
  border: 0;
  border-radius: 0;
  background: #101312;
}

body.page-elements .summary-value {
  color: var(--lime);
}

body.page-elements .summary-label {
  color: rgba(255, 255, 255, 0.72);
}

.experience-lens {
  background: #ffffff;
}

.lens-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.lens-grid h2,
.product-direction-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 4.3vw, 4.65rem);
  font-weight: 430;
  line-height: 1.02;
}

.lens-points {
  display: grid;
  gap: 1px;
  border-block: 1px solid var(--border);
}

.lens-points article {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}

.lens-points article:last-child {
  border-bottom: 0;
}

.lens-points span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 760;
}

.lens-points h3 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.lens-points p {
  margin: 0;
  max-width: 34rem;
  line-height: 1.65;
}

body.page-elements .product-direction .inner {
  border: 0;
  border-radius: 0;
  background: var(--section-bg);
  box-shadow: none;
}

body.page-elements .project-accordion {
  border-top: 1px solid var(--border);
}

body.page-elements .accordion-trigger {
  min-height: 6.3rem;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-elements .accordion-trigger:hover {
  background: var(--section-bg);
}

body.page-elements .accordion-title {
  color: var(--ink);
  font-size: clamp(1.25rem, 2.2vw, 1.9rem);
  font-weight: 520;
}

body.page-elements .accordion-meta,
body.page-elements .accordion-tag {
  color: var(--teal);
}

body.page-elements .accordion-panel {
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

body.page-elements .accordion-content {
  gap: clamp(1.5rem, 4vw, 3rem);
}

body.page-elements .accordion-content .image {
  overflow: hidden;
  border-radius: 18px;
  background: var(--section-bg);
}

body.page-elements .role-slider,
body.page-elements .testimonial-slider {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.page-elements .slider-btn {
  display: none;
}

body.page-elements .logo-track,
body.page-elements .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 1rem;
  overflow: visible;
}

body.page-elements .role-card,
body.page-elements .testimonial-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: none;
}

body.page-contact .contact-hero .inner {
  width: min(100% - clamp(2rem, 4vw, 4rem), 1300px);
}

body.page-contact .contact-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

body.page-contact .contact-visual {
  display: block;
  min-height: clamp(520px, 56vw, 690px);
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 44% 35%, rgba(54, 90, 82, 0.11), transparent 18rem),
    linear-gradient(180deg, #f7f7f5, #ffffff);
  box-shadow: none;
}

body.page-contact .contact-visual::before {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  background:
    linear-gradient(110deg, transparent 0 22%, rgba(54, 90, 82, 0.16) 22.2% 22.7%, transparent 23% 100%),
    repeating-linear-gradient(165deg, transparent 0 18px, rgba(54, 90, 82, 0.12) 19px, transparent 20px);
  opacity: 0.38;
}

body.page-contact .contact-visual img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  filter: grayscale(1) contrast(1.03);
  mix-blend-mode: multiply;
}

body.page-contact .contact-content {
  max-width: 620px;
}

body.page-contact .contact-paths {
  grid-template-columns: 1fr;
  gap: 0;
  margin-block: 2rem;
  border-block: 1px solid var(--border);
}

body.page-contact .contact-paths article {
  padding: 1.25rem 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-contact .contact-paths article:last-child {
  border-bottom: 0;
}

body.page-contact .contact-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.04);
}

body.page-contact .contact-form input,
body.page-contact .contact-form select,
body.page-contact .contact-form textarea {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #ffffff;
}

body:not(.page-index) .site-footer {
  width: min(100% - clamp(1.5rem, 4vw, 4rem), 1480px);
  margin: clamp(2.5rem, 5vw, 4.5rem) auto 1.5rem;
  padding: clamp(3rem, 6vw, 5.5rem);
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 26%, rgba(111, 140, 133, 0.22), transparent 22rem),
    linear-gradient(135deg, #101312 0%, #161918 100%);
  color: #ffffff;
  overflow: hidden;
}

body:not(.page-index) .site-footer .inner {
  width: 100%;
}

body:not(.page-index) .site-footer .section-title {
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(2.1rem, 4.2vw, 4.6rem);
  font-weight: 430;
  line-height: 1.02;
}

body:not(.page-index) .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

body:not(.page-index) .footer-col {
  padding: 1.35rem 1.1rem 1.2rem 0;
  border: 0;
  border-radius: 0;
  background: #101312;
}

body:not(.page-index) .footer-title {
  color: var(--lime);
}

body:not(.page-index) .footer-item,
body:not(.page-index) .footer-item span,
body:not(.page-index) .footer-item a,
body:not(.page-index) .copyright li {
  color: rgba(255, 255, 255, 0.72);
}

body:not(.page-index) .footer-item a:hover {
  color: #ffffff;
}

body:not(.page-index) .footer-weather {
  display: none;
}

body:not(.page-index) .copyright {
  margin-top: 2.2rem;
  border-top: 0;
}

@media (max-width: 980px) {
  body:not(.page-index) .top-nav,
  body:not(.page-index) .header-cta {
    display: none;
  }

  body:not(.page-index) .menu-toggle {
    display: inline-flex;
  }

  body:not(.page-index) .site-header {
    min-height: 68px;
  }

  body:not(.page-index) .page-title,
  body:not(.page-index) .page-hero-title,
  body.page-contact .contact-title {
    font-size: clamp(2.55rem, 12vw, 4.75rem);
    line-height: 1.02;
  }

  body.page-generic .intro-split,
  .lens-grid,
  body.page-contact .contact-hero-grid {
    grid-template-columns: 1fr;
  }

  body.page-generic .about-hero-visual,
  body.page-contact .contact-visual {
    min-height: 360px;
  }

  body.page-contact .contact-visual {
    display: none;
  }

  body:not(.page-index) .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body:not(.page-index) .wrapper > .inner,
  body:not(.page-index) .inner,
  body.page-contact .contact-hero .inner {
    width: min(100% - 1.35rem, 100%);
  }

  body:not(.page-index) .site-main > .wrapper {
    padding-block: 3.6rem;
  }

  body.page-generic .about-hero-visual {
    min-height: 300px;
  }

  .lens-points article {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  body.page-elements .accordion-trigger {
    min-height: auto;
    padding: 1.2rem 0.25rem;
  }

  body.page-elements .accordion-content .image {
    display: none;
  }

  body.page-contact .contact-card {
    padding: 1.05rem;
    border-radius: 16px;
  }

  body:not(.page-index) .site-footer {
    width: calc(100% - 1rem);
    padding: 2rem 1.1rem;
    border-radius: 14px;
  }

  body:not(.page-index) .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Final proportion pass for the personal brand pages. */
body:not(.page-index) .site-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

body:not(.page-index) .site-header h1 {
  grid-column: 1;
}

body:not(.page-index) .site-header nav.top-nav {
  grid-column: 2;
  justify-self: center;
}

body:not(.page-index) .site-header .header-actions {
  grid-column: 3;
}

body:not(.page-index) .site-logo-text {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
}

body:not(.page-index) .page-title,
body:not(.page-index) .page-hero-title {
  max-width: 860px;
  font-size: clamp(2.85rem, 5.4vw, 5.15rem);
  line-height: 1.04;
}

body.page-elements .page-title,
body.page-contact .contact-title {
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  line-height: 1.04;
}

body.page-generic .about-hero-visual img {
  top: 12%;
  right: 4%;
  bottom: auto;
  width: min(70%, 560px);
  max-height: 80%;
  mix-blend-mode: normal;
}

@media (max-width: 640px) {
  body.page-generic .about-hero-visual img {
    top: 10%;
    right: 50%;
    width: min(92%, 340px);
    max-height: 86%;
    transform: translateX(50%);
  }
}

/* Cohesive palette reset inspired by the requested clean B2B references. */
body.page-index,
body.page-generic,
body.page-elements,
body.page-contact {
  background: #ffffff !important;
  color: #111111;
}

body.page-index::before,
body.page-generic::before,
body.page-elements::before,
body.page-contact::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 10%, rgba(54, 90, 82, 0.07), transparent 22rem),
    radial-gradient(circle at 6% 88%, rgba(54, 90, 82, 0.045), transparent 24rem),
    #ffffff;
}

body.page-index .site-header,
body.page-index .site-main,
body.page-index .site-footer,
body.page-generic .site-header,
body.page-elements .site-header,
body.page-contact .site-header,
body.page-generic .site-main,
body.page-elements .site-main,
body.page-contact .site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
}

body.page-index .site-header,
body:not(.page-index) .site-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 0 clamp(1.1rem, 4vw, 3.25rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  backdrop-filter: blur(16px);
}

body.page-index .site-header h1,
body:not(.page-index) .site-header h1 {
  grid-column: 1;
}

body.page-index .site-logo-link,
body:not(.page-index) .site-logo-link {
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-index .site-logo-text,
body:not(.page-index) .site-logo-text {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  color: #111111;
  font-size: 0.92rem;
  font-weight: 780;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.page-index .top-nav,
body:not(.page-index) .site-header nav.top-nav {
  grid-column: 2;
  justify-self: center;
  margin-left: 0;
}

body.page-index .site-header nav.top-nav .nav-row,
body:not(.page-index) .site-header nav.top-nav .nav-row {
  gap: clamp(1.15rem, 2.5vw, 2.6rem);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-index .site-header nav.top-nav a,
body:not(.page-index) .site-header nav.top-nav a {
  min-height: auto;
  padding: 0.25rem 0;
  border-radius: 0;
  color: #111111;
  font-size: 0.83rem;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
}

body.page-index .site-header nav.top-nav a:hover,
body:not(.page-index) .site-header nav.top-nav a:hover {
  color: var(--teal);
  background: transparent;
}

body.page-index .header-search,
body.page-index .search-toggle-mobile,
body:not(.page-index) .header-search,
body:not(.page-index) .search-toggle-mobile {
  display: none;
}

body.page-index .header-actions,
body:not(.page-index) .site-header .header-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 0.85rem;
  margin-left: 0;
}

body.page-index .header-cta,
body:not(.page-index) .header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 560;
  white-space: nowrap;
}

body.page-index .header-cta:hover,
body:not(.page-index) .header-cta:hover {
  background: var(--teal);
  color: #ffffff;
}

body.page-index .wrapper > .inner,
body.page-index .inner,
body:not(.page-index) .wrapper > .inner,
body:not(.page-index) .inner {
  width: min(100% - clamp(2rem, 4vw, 4rem), 1300px);
}

body.page-index .site-main,
body.page-generic .site-main,
body.page-elements .site-main,
body.page-contact .site-main {
  background: transparent !important;
}

body.page-index .site-main > .wrapper,
body.page-generic .site-main > .wrapper,
body.page-elements .site-main > .wrapper,
body.page-contact .site-main > .wrapper {
  padding-block: clamp(3.4rem, 6vw, 6rem);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

body.page-index .studio-hero > .inner,
body.page-generic .site-main > .wrapper:first-child .inner,
body.page-elements .site-main > .wrapper:first-child .inner,
body.page-contact .contact-hero .inner {
  min-height: auto;
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

body.page-index .hero-grid,
body.page-generic .intro-split,
body.page-contact .contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

body.page-index .hero-eyebrow,
body.page-index .section-kicker,
body:not(.page-index) .section-kicker {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.page-index .hero-name,
body.page-generic .page-hero-title,
body.page-elements .page-title,
body.page-contact .contact-title {
  max-width: 780px;
  color: #111111;
  font-size: clamp(2.8rem, 5.6vw, 5.35rem);
  font-weight: 430;
  line-height: 1.02;
  letter-spacing: 0;
}

body.page-index .hero-name {
  max-width: 720px;
  font-size: clamp(2.6rem, 4.7vw, 4.35rem);
  line-height: 1.06;
}

body.page-index .hero-text {
  max-width: 740px;
}

body.page-index .hero-role {
  max-width: 560px;
}

body.page-index .studio-hero > .inner {
  padding-top: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(1.5rem, 3vw, 3rem);
}

body.page-index .hero-role,
body.page-generic .intro-long,
body.page-contact .contact-content > p,
body.page-elements p,
body.page-generic p,
body.page-contact p {
  color: #5f5f5f;
}

body.page-index .hero-studio-panel,
body.page-generic .about-hero-visual,
body.page-contact .contact-visual {
  min-height: clamp(360px, 40vw, 560px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  background:
    radial-gradient(circle at 66% 40%, rgba(232, 239, 237, 0.8), transparent 18rem),
    linear-gradient(180deg, #ffffff, #f7f7f5);
  box-shadow: none;
}

body.page-index .hero-studio-panel::before,
body.page-index .hero-studio-panel::after,
body.page-generic .about-hero-visual::before,
body.page-generic .about-hero-visual::after {
  opacity: 0.48;
}

body.page-index .intelligence-map svg path,
body.page-index .intelligence-map svg circle {
  stroke: var(--teal);
}

body.page-index .trusted-strip .inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.page-index .trusted-strip p {
  color: #111111;
}

body.page-index .trusted-logo-list {
  justify-content: flex-start;
  gap: clamp(1.2rem, 3vw, 2.25rem);
}

body.page-index .trusted-strip li {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.page-index .home-approach,
body.page-elements .experience-lens,
body.page-elements .product-direction,
body.page-generic .section-business-skills,
body.page-generic .section-technical-skills,
body.page-contact .contact-hero {
  background: #ffffff;
}

body.page-index .approach-grid article,
body.page-generic .skill-node,
body.page-generic .business-skill-card,
body.page-elements .role-card,
body.page-elements .testimonial-card,
body.page-contact .contact-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

body.page-index .selected-transformations,
body.page-elements .stats-wide,
body.page-elements .section-projects,
body.page-elements .section-previous-work,
body.page-elements .section-references {
  background: #f7f7f5;
}

body.page-index .case-card,
body.page-elements .accordion-trigger,
body.page-elements .accordion-panel {
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

body.page-index .btn-primary,
body:not(.page-index) .btn-primary,
body.page-contact .contact-form button[type="submit"] {
  border: 1px solid #111111;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  box-shadow: none;
}

body.page-index .btn-primary:hover,
body:not(.page-index) .btn-primary:hover,
body.page-contact .contact-form button[type="submit"]:hover {
  border-color: var(--teal);
  background: var(--teal);
}

body.page-index .btn-secondary,
body:not(.page-index) .btn-secondary {
  color: var(--teal);
}

body.page-index .home-final-cta,
body.page-index .home-minimal-footer,
body:not(.page-index) .site-footer {
  width: min(100% - clamp(1.5rem, 4vw, 4rem), 1400px);
  margin: clamp(2rem, 4vw, 4rem) auto 1.5rem;
  border-radius: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(111, 140, 133, 0.2), transparent 24rem),
    #101312;
  color: #ffffff;
}

body.page-index .home-final-cta h2,
body.page-index .home-final-cta p,
body.page-index .home-minimal-footer .section-title,
body:not(.page-index) .site-footer .section-title {
  color: #ffffff;
}

body.page-index .home-final-cta p,
body:not(.page-index) .footer-item,
body:not(.page-index) .footer-item span,
body:not(.page-index) .footer-item a,
body:not(.page-index) .copyright li {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  body.page-index .top-nav,
  body.page-index .header-cta,
  body:not(.page-index) .top-nav,
  body:not(.page-index) .header-cta {
    display: none;
  }

  body.page-index .menu-toggle,
  body:not(.page-index) .menu-toggle {
    display: inline-flex;
  }

  body.page-index .hero-grid,
  body.page-generic .intro-split,
  body.page-contact .contact-hero-grid,
  body.page-index .trusted-strip .inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.page-index .wrapper > .inner,
  body.page-index .inner,
  body:not(.page-index) .wrapper > .inner,
  body:not(.page-index) .inner {
    width: min(100% - 1.25rem, 100%);
  }

  body.page-index .hero-name,
  body.page-generic .page-hero-title,
  body.page-elements .page-title,
  body.page-contact .contact-title {
    font-size: clamp(2.35rem, 10vw, 3.45rem);
  }

  body.page-index .hero-studio-panel,
  body.page-generic .about-hero-visual {
    min-height: 320px;
  }
}

/* Home hero: full-scale consultancy statement with rotating profile lanes. */
body.page-index #hero.studio-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background:
    radial-gradient(circle at 50% 28%, rgba(54, 90, 82, 0.08), transparent 20rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
}

body.page-index #hero.studio-hero::before,
body.page-index #hero.studio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.page-index #hero.studio-hero::before {
  background:
    linear-gradient(27deg, transparent 0 12%, rgba(17, 17, 17, 0.08) 12.1% 12.22%, transparent 12.35% 100%),
    linear-gradient(147deg, transparent 0 18%, rgba(17, 17, 17, 0.08) 18.1% 18.22%, transparent 18.35% 100%),
    linear-gradient(14deg, transparent 0 58%, rgba(17, 17, 17, 0.06) 58.1% 58.2%, transparent 58.35% 100%),
    radial-gradient(circle at 7% 34%, rgba(17, 17, 17, 0.28) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 18% 25%, rgba(17, 17, 17, 0.18) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 35% 18%, rgba(17, 17, 17, 0.18) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 82% 22%, rgba(17, 17, 17, 0.2) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 94% 42%, rgba(17, 17, 17, 0.22) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 72% 76%, rgba(17, 17, 17, 0.2) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 30% 86%, rgba(17, 17, 17, 0.16) 0 1.5px, transparent 2.5px);
  opacity: 0.34;
}

body.page-index #hero.studio-hero::after {
  inset: 6% 22% auto;
  height: min(45vw, 520px);
  background:
    repeating-linear-gradient(45deg, transparent 0 3px, rgba(17, 17, 17, 0.18) 3px 4px),
    repeating-linear-gradient(-45deg, transparent 0 3px, rgba(17, 17, 17, 0.12) 3px 4px);
  clip-path: polygon(12% 50%, 32% 14%, 45% 24%, 28% 50%, 45% 76%, 32% 86%, 12% 50%, 55% 50%, 75% 14%, 88% 24%, 71% 50%, 88% 76%, 75% 86%, 55% 50%);
  opacity: 0.08;
}

body.page-index #hero.studio-hero > .inner,
body.page-index #hero.studio-hero .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  min-height: calc(100svh - 76px);
  padding-block: clamp(4rem, 8vw, 7rem);
}

body.page-index #hero.studio-hero .hero-text {
  max-width: min(1040px, 100%);
  margin-inline: auto;
  text-align: center;
}

body.page-index #hero.studio-hero .hero-eyebrow {
  margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
}

body.page-index #hero.studio-hero .hero-name {
  display: grid;
  gap: 0.06em;
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(3.6rem, 7.3vw, 7.6rem);
  font-weight: 680;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

body.page-index #hero.studio-hero .hero-name > span:first-child {
  display: block;
}

.rotating-words {
  position: relative;
  display: block;
  min-height: 0.98em;
  color: var(--teal);
}

.rotating-words span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(0.22em);
  animation: rotate-hero-words 12s infinite;
}

.rotating-words span:nth-child(2) {
  animation-delay: 3s;
}

.rotating-words span:nth-child(3) {
  animation-delay: 6s;
}

.rotating-words span:nth-child(4) {
  animation-delay: 9s;
}

body.page-index #hero.studio-hero .hero-role {
  max-width: 700px;
  margin: clamp(1.4rem, 2.5vw, 2.2rem) auto 0;
  color: #111111;
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.32;
}

body.page-index #hero.studio-hero .hero-actions {
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}

@keyframes rotate-hero-words {
  0%,
  16% {
    opacity: 0;
    transform: translateY(0.22em);
  }

  22%,
  42% {
    opacity: 1;
    transform: translateY(0);
  }

  48%,
  100% {
    opacity: 0;
    transform: translateY(-0.22em);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-words span {
    position: static;
    display: none;
    animation: none;
    opacity: 1;
    transform: none;
  }

  .rotating-words span:first-child {
    display: block;
  }
}

@media (max-width: 760px) {
  body.page-index #hero.studio-hero {
    min-height: calc(100svh - 76px);
  }

  body.page-index #hero.studio-hero::after {
    inset: 11% 4% auto;
    height: 52vw;
  }

  body.page-index #hero.studio-hero .hero-name {
    font-size: clamp(3.3rem, 15vw, 5.3rem);
    line-height: 0.96;
  }

  body.page-index #hero.studio-hero .hero-role {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }
}

/* Softer home hero and immediate trusted-by strip. */
body.page-index #hero.studio-hero {
  min-height: min(760px, calc(100svh - 76px));
}

body.page-index #hero.studio-hero > .inner,
body.page-index #hero.studio-hero .hero-grid {
  min-height: min(760px, calc(100svh - 76px));
  padding-block: clamp(3.2rem, 6vw, 5.4rem);
}

body.page-index #hero.studio-hero::after {
  opacity: 0.045;
}

body.page-index #hero.studio-hero .hero-name {
  max-width: 980px;
  font-size: clamp(3.15rem, 5.8vw, 6.15rem);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -0.015em;
}

body.page-index #hero.studio-hero .hero-name > span:first-child {
  font-weight: 560;
}

body.page-index #hero.studio-hero .rotating-words {
  display: grid;
  place-items: center;
  min-height: 1.03em;
  color: rgba(54, 90, 82, 0.86);
  font-weight: 560;
}

body.page-index #hero.studio-hero .rotating-words span {
  position: static;
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.16em);
  animation: rotate-hero-words-soft 12s infinite;
}

body.page-index #hero.studio-hero .rotating-words span:nth-child(2) {
  animation-delay: 3s;
}

body.page-index #hero.studio-hero .rotating-words span:nth-child(3) {
  animation-delay: 6s;
}

body.page-index #hero.studio-hero .rotating-words span:nth-child(4) {
  animation-delay: 9s;
}

body.page-index #hero.studio-hero .hero-role {
  max-width: 660px;
  color: #303030;
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.48;
}

@keyframes rotate-hero-words-soft {
  0%,
  12%,
  100% {
    opacity: 0;
    transform: translateY(0.16em);
  }

  18%,
  38% {
    opacity: 1;
    transform: translateY(0);
  }

  44% {
    opacity: 0;
    transform: translateY(-0.16em);
  }
}

body.page-index .trusted-strip {
  background: #ffffff;
}

body.page-index .trusted-strip .inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(1.7rem, 2.6vw, 2.4rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.page-index .trusted-strip p {
  color: #111111;
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-index .trusted-logo-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 3rem);
  align-items: center;
}

body.page-index .trusted-strip li {
  display: flex;
  justify-content: center;
  min-height: 54px;
}

body.page-index .trusted-strip img {
  max-width: min(100%, 165px);
  max-height: 50px;
  filter: grayscale(0.08) contrast(1.02);
  opacity: 0.94;
}

body.page-index .work-system-showcase {
  background: #ffffff;
}

body.page-index .work-system-showcase .inner {
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  width: min(100% - clamp(2rem, 4vw, 4rem), 1300px);
  padding-block: clamp(3.8rem, 7vw, 6.5rem);
}

.work-system-copy h2 {
  max-width: 420px;
  margin: 0;
  color: #111111;
  font-size: clamp(2.55rem, 3.05vw, 3.65rem);
  font-weight: 430;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.work-system-copy h2 span {
  display: block;
  white-space: nowrap;
}

.work-system-copy p:not(.section-kicker) {
  max-width: 380px;
  margin: 1.6rem 0 2.1rem;
  color: #5f5f5f;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
}

.work-system-copy .text-link {
  color: var(--teal);
  font-weight: 720;
}

.work-system-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(126px, 1fr));
  position: relative;
  overflow: visible;
  gap: 0.55rem;
  padding-bottom: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.work-system-map article {
  position: relative;
  min-height: 320px;
  padding: 1.2rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.035);
}

.work-system-map article:last-child {
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.work-system-map article:not(:first-child) {
  border-radius: 18px;
}

.work-system-map article::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.78rem;
  z-index: 2;
  width: 24px;
  height: 1px;
  background: rgba(54, 90, 82, 0.35);
}

.work-system-map article:last-child::after {
  content: none;
}

.work-system-map h3 {
  margin: 0 -0.9rem 1.1rem;
  padding: 0 0.9rem 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #111111;
  font-size: 0.66rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.work-system-map ul {
  display: grid;
  min-height: 226px;
  align-content: space-around;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-system-map li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 46px;
  padding: 0.42rem 0.1rem;
  border-radius: 0;
  color: #343434;
  font-size: 0.75rem;
  font-weight: 620;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

.work-system-map li::before {
  content: none;
}

.work-system-map li svg {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 auto;
  color: rgba(17, 17, 17, 0.72);
  stroke-width: 1.8;
}

.work-system-map article:nth-child(3) li {
  background: transparent;
  color: var(--teal-dark);
}

.work-system-map article:nth-child(3) li svg {
  color: var(--teal);
}

@media (max-width: 760px) {
  body.page-index #hero.studio-hero,
  body.page-index #hero.studio-hero > .inner,
  body.page-index #hero.studio-hero .hero-grid {
    min-height: calc(100svh - 76px);
  }

  body.page-index #hero.studio-hero .hero-name {
    font-size: clamp(2.45rem, 11vw, 3.9rem);
  }

  body.page-index .trusted-strip .inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding-block: 1.4rem;
  }

  body.page-index .trusted-logo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
  }

  body.page-index .trusted-strip li:last-child {
    grid-column: 1 / -1;
  }

  body.page-index .work-system-showcase .inner {
    grid-template-columns: 1fr;
    width: min(100% - 1.25rem, 100%);
  }

  .work-system-map {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding-bottom: 0;
  }

  .work-system-map article {
    min-height: auto;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
  }

  .work-system-map article:last-child {
    border-bottom: 0;
    border-radius: 0;
  }

  .work-system-map article::after {
    content: none;
  }

  .work-system-map ul {
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: stretch;
  }
}

@media (max-width: 1180px) {
  body.page-index .work-system-showcase .inner {
    grid-template-columns: 1fr;
  }

  .work-system-copy h2 span {
    white-space: normal;
  }

  .work-system-map {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .work-system-map article {
    min-width: 150px;
  }
}

@media (min-width: 1181px) and (max-width: 1520px) {
  .work-system-map li span {
    max-width: 7.5rem;
  }
}

/* Final home width and systems visual correction. */
html,
body.page-index {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  background: #ffffff;
}

body.page-index .site-header,
body.page-index .site-main,
body.page-index .site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

body.page-index .work-system-showcase .inner {
  grid-template-columns: minmax(340px, 440px) minmax(0, 740px);
  justify-content: center;
  gap: clamp(4rem, 7vw, 7rem);
  width: min(100% - clamp(2rem, 4vw, 4rem), 1300px);
}

.work-system-copy h2 {
  max-width: 460px;
  font-size: clamp(2.25rem, 2.75vw, 3.1rem);
}

.work-system-map {
  grid-template-columns: repeat(5, minmax(128px, 1fr));
  gap: 0.7rem;
}

.work-system-map article::after {
  content: none;
}

.work-system-map article {
  min-height: 300px;
  padding: 1.05rem 0.75rem;
  border-radius: 16px;
  box-shadow: none;
}

.work-system-map h3 {
  min-height: 4.25rem;
  margin: -1.05rem -0.75rem 1.45rem;
  padding: 1.65rem 0.75rem 0.75rem;
  font-size: 0.62rem;
}

.work-system-map ul {
  min-height: 210px;
}

.work-system-map li {
  flex-direction: column;
  gap: 0.42rem;
  min-height: 54px;
  color: #2f3433;
  font-size: 0.72rem;
}

.work-system-map li svg {
  width: 1.75rem;
  height: 1.75rem;
  color: rgba(17, 17, 17, 0.66);
}

.work-system-map article:nth-child(3) li svg,
.work-system-map article:nth-child(3) li {
  color: var(--teal);
}

@media (max-width: 1180px) {
  body.page-index .work-system-showcase .inner {
    grid-template-columns: 1fr;
  }
}

/* Home references before the footer. */
body.page-index .home-references {
  background: #ffffff;
}

body.page-index .home-references .inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  padding-block: clamp(4rem, 7vw, 6.5rem);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.home-references-heading h2 {
  max-width: 500px;
  margin: 0;
  color: #111111;
  font-size: clamp(2.25rem, 3.6vw, 4rem);
  font-weight: 430;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

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

.home-reference-grid article {
  min-height: 280px;
  padding: clamp(1.4rem, 2.4vw, 2rem);
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.home-reference-grid article:first-child {
  border-left: 0;
}

.home-reference-grid p {
  margin: 0;
  color: #303030;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.65;
}

.home-reference-grid p::before {
  content: "“";
  display: block;
  margin-bottom: 1.5rem;
  color: var(--teal);
  font-size: 3.8rem;
  font-weight: 520;
  line-height: 0.6;
}

.home-reference-grid span {
  display: block;
  margin-top: 1.4rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  body.page-index .home-references .inner,
  .home-reference-grid {
    grid-template-columns: 1fr;
  }

  .home-reference-grid article {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
}

/* About page: business skills as a compact capability matrix. */
body.page-generic .business-skills-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 3.4vw, 3rem);
}

body.page-generic .business-skills-intro {
  max-width: 780px;
}

body.page-generic .business-skills-intro h2 {
  margin: 0 0 0.9rem;
}

body.page-generic .business-skills-intro > p:not(.section-kicker) {
  max-width: 620px;
  margin: 0;
  color: #252a29;
  font-size: 0.98rem;
  line-height: 1.55;
}

body.page-generic .business-skill-stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  min-height: 20rem;
}

body.page-generic .section-business-skills .business-skill-stack .skill-node {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  grid-template-rows: auto minmax(6rem, auto) 1fr;
  align-content: start;
  column-gap: 0.95rem;
  height: 100%;
  min-height: 20rem;
  padding: 0 clamp(1.25rem, 2vw, 2rem);
  border: 0;
  border-left: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-generic .section-business-skills .business-skill-stack .skill-node.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

body.page-generic .section-business-skills .business-skill-stack .skill-node:first-child {
  padding-left: 0;
  border-left: 0;
}

body.page-generic .section-business-skills .business-skill-stack .skill-node-icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: #0f4a49;
  color: #ffffff;
}

body.page-generic .section-business-skills .business-skill-stack .skill-node-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke-width: 1.9;
}

body.page-generic .section-business-skills .business-skill-stack .skill-node h3 {
  margin: 0 0 0.45rem;
  color: #151918;
  font-size: clamp(0.98rem, 1vw, 1.12rem);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}

body.page-generic .section-business-skills .business-skill-stack .skill-desc {
  max-width: 18rem;
  margin: 0;
  color: #4f5553;
  font-size: 0.9rem;
  line-height: 1.5;
}

body.page-generic .section-business-skills .business-skill-stack .skill-node-chips {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.48rem;
  align-content: start;
  margin-top: clamp(1rem, 1.8vw, 1.35rem);
}

body.page-generic .section-business-skills .business-skill-stack .skill-node-chips span {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #252a29;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

body.page-generic .section-business-skills .business-skill-stack .skill-node-chips span::before {
  content: "";
  flex: 0 0 auto;
  width: 0.28rem;
  height: 0.28rem;
  margin-top: 0.48rem;
  border-radius: 999px;
  background: #111111;
}

@media (max-width: 1180px) {
  body.page-generic .business-skill-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-generic .section-business-skills .business-skill-stack .skill-node,
  body.page-generic .section-business-skills .business-skill-stack .skill-node:first-child {
    min-height: 17rem;
    padding: 1.7rem clamp(1.25rem, 3vw, 2rem);
    border-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.09);
  }

  body.page-generic .section-business-skills .business-skill-stack .skill-node:nth-child(-n + 2) {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 640px) {
  body.page-generic .business-skill-stack {
    grid-template-columns: 1fr;
  }

  body.page-generic .section-business-skills .business-skill-stack .skill-node,
  body.page-generic .section-business-skills .business-skill-stack .skill-node:first-child,
  body.page-generic .section-business-skills .business-skill-stack .skill-node:nth-child(-n + 2) {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    min-height: auto;
    padding: 1.55rem 0;
    border-top: 1px solid rgba(17, 17, 17, 0.09);
  }

  body.page-generic .section-business-skills .business-skill-stack .skill-node:first-child {
    padding-top: 0;
    border-top: 0;
  }

  body.page-generic .section-business-skills .business-skill-stack .skill-node-icon {
    width: 2.8rem;
    height: 2.8rem;
  }
}

/* About page: education and languages as a shared credential band. */
body.page-generic .education-language-combo {
  order: 5;
  background: #ffffff;
}

body.page-generic .education-language-combo .inner {
  padding-top: clamp(2.6rem, 4.5vw, 4rem);
  padding-bottom: clamp(2.8rem, 4.8vw, 4.4rem);
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

body.page-generic .education-language-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(240px, 0.65fr);
  gap: clamp(1.6rem, 3vw, 2.4rem);
  align-items: start;
}

body.page-generic .education-panel,
body.page-generic .languages-panel {
  min-width: 0;
}

body.page-generic .languages-panel {
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
  border-left: 1px solid rgba(17, 17, 17, 0.09);
}

body.page-generic .education-language-combo .section-title {
  margin-bottom: clamp(1.45rem, 2.5vw, 2rem);
}

body.page-generic .education-language-combo .education-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(8.5rem, auto);
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: clamp(0.9rem, 1.5vw, 1.25rem);
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

body.page-generic .education-language-combo .education-group {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.62rem;
  align-items: start;
  justify-items: stretch;
  min-width: 0;
  height: 100%;
  min-height: 8.5rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: initial;
}

body.page-generic .education-language-combo .education-group.reveal,
body.page-generic .education-language-combo .language-card.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

body.page-generic .education-language-combo .education-logo,
body.page-generic .education-language-combo .education-logo-tight {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
}

body.page-generic .education-language-combo .education-logo img,
body.page-generic .education-language-combo .education-logo-tight img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
  object-fit: contain;
}

body.page-generic .education-language-combo .education-items {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

body.page-generic .education-language-combo .education-items li {
  margin: 0;
  color: #252a29;
  font-size: 0.72rem;
  font-weight: 520;
  line-height: 1.32;
}

body.page-generic .education-language-combo .education-items a {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  color: #365a52;
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1.35;
  text-decoration: none;
}

body.page-generic .education-language-combo .education-items a::after {
  content: "→";
  margin-left: 0.15rem;
  color: #365a52;
  font-size: 1.05em;
  line-height: 1;
}

body.page-generic .education-language-combo .education-items a:hover {
  color: #111111;
}

body.page-generic .education-language-combo .language-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(3.3rem, auto);
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 0.9rem 1rem;
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

body.page-generic .education-language-combo .language-card {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  min-height: 3.3rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: initial;
}

body.page-generic .education-language-combo .language-badge {
  display: block;
  width: 2.1rem;
  color: inherit;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
}

body.page-generic .education-language-combo .language-info h3 {
  margin: 0 0 0.18rem;
  color: #151918;
  font-size: 0.78rem;
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
}

body.page-generic .education-language-combo .language-info p {
  margin: 0;
  color: #4f5553;
  font-size: 0.72rem;
  line-height: 1.3;
}

@media (max-width: 1180px) {
  body.page-generic .education-language-grid {
    grid-template-columns: 1fr;
  }

  body.page-generic .languages-panel {
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.09);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  body.page-generic .education-language-combo .education-list,
  body.page-generic .education-language-combo .language-list {
    grid-template-columns: 1fr;
  }

  body.page-generic .education-language-combo .education-group {
    min-height: auto;
  }
}

/* About page: technical skills as a wide, scannable tool matrix. */
body.page-generic .section-technical-skills {
  background: #ffffff;
}

body.page-generic .section-technical-skills .inner {
  padding-top: clamp(2.6rem, 4.5vw, 4rem);
  padding-bottom: clamp(2.8rem, 4.8vw, 4.4rem);
}

body.page-generic .section-technical-skills .section-title {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

body.page-generic .section-technical-skills .skill-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  overflow: visible;
}

body.page-generic .section-technical-skills .skill-node {
  display: grid;
  grid-template-columns: 3.7rem minmax(0, 1fr);
  grid-template-rows: auto minmax(4.6rem, auto) 1fr;
  align-content: start;
  column-gap: 1.25rem;
  min-width: 0;
  padding: 0 clamp(1.4rem, 2.4vw, 2.6rem);
  border: 0;
  border-left: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.page-generic .section-technical-skills .skill-node:first-child {
  padding-left: 0;
  border-left: 0;
}

body.page-generic .section-technical-skills .skill-node-icon {
  display: grid;
  grid-row: 1 / span 2;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0;
  border-radius: 999px;
  background: #0f4a49;
  color: #ffffff;
}

body.page-generic .section-technical-skills .skill-node-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  stroke-width: 1.9;
}

body.page-generic .section-technical-skills .skill-node h3 {
  margin: 0 0 0.45rem;
  color: #151918;
  font-size: clamp(1.1rem, 1.3vw, 1.35rem);
  font-weight: 560;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  white-space: normal;
}

body.page-generic .section-technical-skills .skill-desc {
  max-width: 22rem;
  margin: 0;
  color: #4f5553;
  font-size: 0.92rem;
  line-height: 1.5;
}

body.page-generic .section-technical-skills .skill-node-chips {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.74rem clamp(0.9rem, 1.5vw, 1.4rem);
  align-content: start;
  margin-top: clamp(1.25rem, 2vw, 1.65rem);
}

body.page-generic .section-technical-skills .skill-node-chips span {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.72rem;
  min-width: 0;
  min-height: 2.55rem;
  padding: 0.1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #252a29;
  font-size: 0.9rem;
  font-weight: 520;
  letter-spacing: 0;
  line-height: 1.38;
}

body.page-generic .section-technical-skills .skill-node-chips span::before {
  content: none;
}

body.page-generic .section-technical-skills .skill-node-chips span svg {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.08rem;
  color: #2f3433;
  stroke-width: 2.15;
}

@media (max-width: 1080px) {
  body.page-generic .section-technical-skills .skill-flow {
    grid-template-columns: 1fr;
  }

  body.page-generic .section-technical-skills .skill-node,
  body.page-generic .section-technical-skills .skill-node:first-child {
    padding: 1.8rem 0;
    border-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.09);
  }

  body.page-generic .section-technical-skills .skill-node:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 640px) {
  body.page-generic .section-technical-skills .skill-node {
    grid-template-columns: 3.2rem minmax(0, 1fr);
    column-gap: 1rem;
  }

  body.page-generic .section-technical-skills .skill-node-icon {
    width: 2.8rem;
    height: 2.8rem;
  }

  body.page-generic .section-technical-skills .skill-node-chips {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }
}

/* Global page surface override: keep every HTML page on pure white. */
html,
body,
body.page-index,
body.page-generic,
body.page-elements,
body.page-contact,
body.page-cv,
body.page-privacy,
body.page-index .site-header,
body.page-index .site-main,
body.page-index .site-footer,
body.page-generic .site-main,
body.page-elements .site-main,
body.page-contact .site-main,
body.page-cv .site-main,
body.page-privacy .site-main,
body .site-main > .wrapper,
body .site-main > section,
body .site-main > .wrapper > .inner,
body .site-main > section > .inner,
body.page-index .home-approach,
body.page-index .selected-transformations,
body.page-index .trusted-strip,
body.page-elements .experience-lens,
body.page-elements .product-direction,
body.page-elements .stats-wide,
body.page-elements .section-projects,
body.page-elements .section-previous-work,
body.page-elements .section-references,
body.page-generic .section-business-skills,
body.page-generic .section-technical-skills,
body.page-generic .education-language-combo,
body.page-contact .contact-hero {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

body .skill-node,
body .business-skill-card,
body .education-group,
body .language-card,
body .key-card,
body .highlight-item,
body .accordion-panel,
body .contact-card,
body .case-card,
body .role-card,
body .testimonial-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* Home cinematic refresh: premium delivery storytelling, not a CV scroll. */
body.page-index .studio-hero {
  position: relative;
  overflow: clip;
}

body.page-index .studio-hero > .inner {
  min-height: min(820px, calc(100vh - 88px));
}

body.page-index .hero-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: end;
}

body.page-index .hero-name {
  max-width: 1040px;
  font-size: clamp(4rem, 8.2vw, 8.8rem);
  font-weight: 560;
  line-height: 0.94;
  letter-spacing: 0;
}

body.page-index .hero-name > span:first-child {
  display: block;
}

body.page-index .hero-role {
  max-width: 700px;
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.72;
}

body.page-index .hero-delivery-visual {
  position: relative;
  min-height: clamp(520px, 54vw, 720px);
  border-radius: 32px;
  overflow: hidden;
  background: #0b1614;
  isolation: isolate;
}

body.page-index .hero-delivery-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(4, 18, 17, 0.88), rgba(4, 18, 17, 0.12) 48%, rgba(4, 18, 17, 0.72)),
    radial-gradient(circle at 72% 20%, rgba(111, 140, 133, 0.42), transparent 18rem);
}

body.page-index .hero-delivery-visual video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
  transform: scale(1.03);
}

body.page-index .hero-signal-card,
body.page-index .hero-metric-strip {
  position: absolute;
  z-index: 2;
}

body.page-index .hero-signal-card {
  left: clamp(1.2rem, 3vw, 2rem);
  bottom: clamp(1.2rem, 3vw, 2rem);
  width: min(78%, 370px);
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(8, 20, 18, 0.74) !important;
  color: #ffffff;
  backdrop-filter: blur(16px);
}

body.page-index .hero-signal-card span {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.page-index .hero-signal-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.18rem;
  line-height: 1.25;
}

body.page-index .hero-signal-card p {
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  line-height: 1.55;
}

body.page-index .hero-metric-strip {
  top: clamp(1rem, 2vw, 1.5rem);
  right: clamp(1rem, 2vw, 1.5rem);
  display: grid;
  gap: 0.45rem;
}

body.page-index .hero-metric-strip span {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  justify-content: space-between;
  min-width: 10.5rem;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1a1f1e;
  font-size: 0.78rem;
  line-height: 1;
}

body.page-index .hero-metric-strip strong {
  color: #0f4a49;
  font-size: 1rem;
}

body.page-index .value-story .inner {
  min-height: 76vh;
  display: grid;
  align-content: center;
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

body.page-index .value-story h2 {
  max-width: 980px;
  margin: 0 0 clamp(2rem, 4vw, 3.6rem);
  color: #070707;
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: 0;
}

body.page-index .value-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

body.page-index .value-story-grid article {
  min-height: 250px;
  padding: 0 clamp(1.5rem, 3vw, 2.8rem);
  border-left: 1px solid rgba(17, 17, 17, 0.12);
}

body.page-index .value-story-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

body.page-index .value-story-grid i,
body.page-index .value-story-grid svg {
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 2rem;
  color: #0f4a49;
}

body.page-index .value-story-grid h3 {
  max-width: 310px;
  margin: 0 0 0.8rem;
  color: #111111;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 560;
  line-height: 1.15;
}

body.page-index .value-story-grid p {
  max-width: 340px;
  color: #4f5553;
  font-size: 0.96rem;
  line-height: 1.65;
}

body.page-index .section-split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(280px, 0.38fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.4rem, 4vw, 3.6rem);
}

body.page-index .section-split-heading h2 {
  max-width: 760px;
  margin: 0;
  color: #070707;
  font-size: clamp(2.6rem, 4.8vw, 5.2rem);
  font-weight: 520;
  line-height: 0.98;
}

body.page-index .section-split-heading > p {
  margin: 0;
  color: #4f5553;
  font-size: 1rem;
  line-height: 1.65;
}

body.page-index .cinematic-work .inner {
  min-height: 92vh;
  padding-block: clamp(5rem, 8vw, 8rem);
}

body.page-index .cinematic-case-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(420px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.9rem;
}

body.page-index .cinematic-case {
  position: relative;
  min-height: clamp(520px, 47vw, 640px);
  overflow: hidden;
  border-radius: 28px;
  background: #0d1514 !important;
  color: #ffffff;
  scroll-snap-align: start;
  isolation: isolate;
}

body.page-index .cinematic-case video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(1.05);
  transform: scale(1.02);
  transition: transform 700ms ease, filter 700ms ease;
}

body.page-index .cinematic-case::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 12, 11, 0.15), rgba(5, 12, 11, 0.88)),
    radial-gradient(circle at 30% 16%, rgba(111, 140, 133, 0.34), transparent 16rem);
}

body.page-index .cinematic-case:hover video {
  filter: saturate(0.95) contrast(1.12);
  transform: scale(1.08);
}

body.page-index .cinematic-case > div {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  color: #ffffff;
}

body.page-index .cinematic-case p {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.page-index .cinematic-case h3 {
  max-width: 470px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 560;
  line-height: 1.04;
}

body.page-index .cinematic-case span:not([aria-hidden]) {
  display: block;
  max-width: 440px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
  line-height: 1.58;
}

body.page-index .cinematic-case ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.2rem 0 1.35rem;
  padding: 0;
  list-style: none;
}

body.page-index .cinematic-case li {
  padding: 0.38rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}

body.page-index .cinematic-case a {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 620;
  text-decoration: none;
}

body.page-index .project-story-gallery {
  display: grid;
  gap: 0;
  padding: clamp(1.2rem, 2.6vw, 2.8rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at 86% 9%, rgba(255, 255, 255, 0.1), transparent 20rem),
    linear-gradient(135deg, #31554e, #244842 58%, #183832) !important;
  box-shadow: 0 32px 90px rgba(16, 39, 36, 0.18);
}

body.page-index .project-story-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.43fr) minmax(0, 0.57fr);
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: stretch;
  min-height: clamp(560px, 78vh, 780px);
  padding: clamp(1.2rem, 3vw, 2.6rem) 0;
  border: 0;
  color: #ffffff;
}

body.page-index .project-story-panel + .project-story-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body.page-index .project-story-panel:nth-child(even) .project-story-copy {
  order: 2;
}

body.page-index .project-story-panel:nth-child(even) .project-story-media {
  order: 1;
}

body.page-index .project-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-inline: clamp(0.4rem, 2vw, 1.6rem);
  color: #ffffff;
}

body.page-index .project-count {
  margin: 0 0 clamp(1.4rem, 3vw, 2.4rem);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.page-index .project-story-copy h3 {
  max-width: 540px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 5.35rem);
  font-weight: 560;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

body.page-index .project-story-copy > p:not(.project-count) {
  max-width: 520px;
  margin: clamp(1.1rem, 2vw, 1.5rem) 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

body.page-index .project-story-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: clamp(1.3rem, 2vw, 1.8rem) 0 clamp(1.3rem, 2vw, 1.8rem);
  padding: 0;
  list-style: none;
}

body.page-index .project-story-copy li {
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
}

body.page-index .project-story-copy a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.65rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

body.page-index .project-story-copy a:hover {
  background: #ffffff;
  color: #183832;
  transform: translateY(-1px);
}

body.page-index .project-story-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: #10211f;
  box-shadow: 0 24px 64px rgba(5, 14, 13, 0.26);
}

body.page-index .project-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 14, 13, 0.02), rgba(5, 14, 13, 0.22)),
    radial-gradient(circle at 70% 16%, rgba(255, 255, 255, 0.12), transparent 17rem);
  pointer-events: none;
}

body.page-index .project-story-media video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.08);
  transform: scale(1.02);
  transition: transform 700ms ease, filter 700ms ease;
}

body.page-index .project-story-panel:hover .project-story-media video {
  filter: saturate(0.96) contrast(1.13);
  transform: scale(1.07);
}

@media (max-width: 980px) {
  body.page-index .hero-grid,
  body.page-index .section-split-heading,
  body.page-index .value-story-grid {
    grid-template-columns: 1fr;
  }

  body.page-index .hero-delivery-visual {
    min-height: 460px;
  }

  body.page-index .value-story-grid article,
  body.page-index .value-story-grid article:first-child {
    min-height: auto;
    padding: 1.6rem 0;
    border-left: 0;
    border-top: 1px solid rgba(17, 17, 17, 0.1);
  }

  body.page-index .value-story-grid article:first-child {
    border-top: 0;
  }

  body.page-index .cinematic-case-row {
    grid-template-columns: repeat(3, minmax(320px, 84vw));
  }

  body.page-index .project-story-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  body.page-index .project-story-panel:nth-child(even) .project-story-copy,
  body.page-index .project-story-panel:nth-child(even) .project-story-media {
    order: initial;
  }

  body.page-index .project-story-copy {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  body.page-index .hero-name {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  body.page-index .hero-delivery-visual {
    min-height: 420px;
    border-radius: 22px;
  }

  body.page-index .hero-metric-strip {
    left: 1rem;
    right: 1rem;
  }

  body.page-index .hero-metric-strip span {
    min-width: 0;
  }

  body.page-index .hero-signal-card {
    width: auto;
    right: 1rem;
  }

  body.page-index .cinematic-case {
    min-height: 520px;
    border-radius: 22px;
  }

  body.page-index .project-story-gallery {
    padding: 0.75rem;
    border-radius: 22px;
  }

  body.page-index .project-story-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  body.page-index .project-story-copy {
    min-height: 340px;
  }

  body.page-index .project-story-copy h3 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  body.page-index .project-story-media,
  body.page-index .project-story-media video {
    min-height: 320px;
  }
}

/* Final homepage composition override. Keep this last. */
body.page-index {
  background: #ffffff !important;
  color: #111111;
}

body.page-index #hero.studio-hero {
  background: #ffffff !important;
}

body.page-index #hero.studio-hero > .inner {
  min-height: min(760px, calc(100vh - 88px));
  padding-block: clamp(5rem, 10vw, 8rem) clamp(3.5rem, 7vw, 5.5rem);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

body.page-index #hero.studio-hero .hero-text {
  max-width: 1160px;
}

body.page-index #hero.studio-hero .hero-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(15, 74, 73, 0.18);
  border-radius: 999px;
  color: #0f4a49;
  background: rgba(15, 74, 73, 0.055);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.page-index #hero.studio-hero .hero-name {
  max-width: 1120px;
  color: #070707;
  font-size: clamp(4rem, 8.6vw, 9.6rem);
  font-weight: 560;
  line-height: 0.9;
}

body.page-index #hero.studio-hero .rotating-words {
  color: #0f4a49;
}

body.page-index #hero.studio-hero .hero-role {
  max-width: 760px;
  margin-top: clamp(1.4rem, 2.4vw, 2rem);
  color: #454b49;
  font-size: clamp(1.03rem, 1.24vw, 1.2rem);
}

body.page-index #hero.studio-hero .hero-actions {
  margin-top: clamp(1.7rem, 3vw, 2.4rem);
}

body.page-index .value-story .inner {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 0;
}

body.page-index .value-story .section-kicker {
  grid-column: 1;
}

body.page-index .value-story h2 {
  grid-column: 1;
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  line-height: 0.98;
}

body.page-index .value-story-grid {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 74, 73, 0.13);
  border-radius: 28px;
  background: rgba(15, 74, 73, 0.13);
  box-shadow: 0 28px 80px rgba(15, 74, 73, 0.08);
}

body.page-index .value-story-grid article,
body.page-index .value-story-grid article:first-child {
  position: relative;
  min-height: 265px;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border: 0;
  background: #ffffff !important;
}

body.page-index .value-story-grid .process-number {
  display: block;
  margin-bottom: 2.6rem;
  color: rgba(15, 74, 73, 0.55);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

body.page-index .value-story-grid i,
body.page-index .value-story-grid svg {
  position: absolute;
  top: clamp(1.3rem, 2vw, 1.8rem);
  right: clamp(1.3rem, 2vw, 1.8rem);
  width: 1.65rem;
  height: 1.65rem;
  margin: 0;
  color: #0f4a49;
}

body.page-index .value-story-grid h3 {
  margin-bottom: 0.7rem;
  color: #111111;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

body.page-index .value-story-grid p {
  max-width: 300px;
  margin: 0;
  color: #555b59;
}

body.page-index .trusted-strip .inner {
  min-height: auto !important;
  padding-block: 1.25rem !important;
  border-block: 1px solid rgba(17, 17, 17, 0.09);
}

body.page-index .trusted-strip p {
  color: #0f4a49 !important;
}

body.page-index .trusted-logo-list {
  gap: clamp(1.2rem, 3vw, 3rem) !important;
}

body.page-index .trusted-strip li {
  background: transparent !important;
}

body.page-index .trusted-strip img {
  max-height: 34px !important;
  opacity: 0.72;
  filter: grayscale(1);
}

body.page-index .work-system-showcase .inner {
  min-height: auto !important;
  display: grid;
  grid-template-columns: minmax(330px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(5rem, 9vw, 8rem) !important;
}

body.page-index .work-system-copy h2 {
  margin: 0;
  color: #070707;
  font-size: clamp(2.4rem, 4.6vw, 5rem);
  font-weight: 560;
  line-height: 0.96;
}

body.page-index .work-system-copy h2 span {
  display: block;
}

body.page-index .work-system-copy p:not(.section-kicker) {
  max-width: 500px;
  color: #4f5553;
  font-size: 1rem;
  line-height: 1.7;
}

body.page-index .work-system-map {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 74, 73, 0.14);
  border-radius: 30px;
  background: rgba(15, 74, 73, 0.14);
}

body.page-index .work-system-map article,
body.page-index .work-system-map article:last-child {
  min-height: 250px;
  padding: clamp(1.05rem, 1.7vw, 1.45rem);
  border: 0 !important;
  background: #ffffff !important;
}

body.page-index .work-system-map article:nth-child(3) {
  background: #0f4a49 !important;
  color: #ffffff;
}

body.page-index .work-system-map article:nth-child(3) h3,
body.page-index .work-system-map article:nth-child(3) li,
body.page-index .work-system-map article:nth-child(3) svg {
  color: #ffffff !important;
}

body.page-index .work-system-map article::after,
body.page-index .work-system-map li::before {
  display: none !important;
}

body.page-index .work-system-map h3 {
  margin-bottom: 1rem;
  color: #111111;
  font-size: 1.1rem;
  font-weight: 720;
}

body.page-index .work-system-map ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

body.page-index .work-system-map li {
  padding: 0 !important;
  color: #505654;
  background: transparent !important;
  font-size: 0.82rem;
  line-height: 1.35;
}

body.page-index .work-system-map li svg {
  width: 1rem;
  height: 1rem;
  color: #0f4a49;
}

body.page-index .home-approach {
  display: none !important;
}

body.page-index .cinematic-work .inner {
  min-height: auto;
  padding-block: clamp(5rem, 9vw, 8rem);
  border-top: 1px solid rgba(17, 17, 17, 0.09);
}

body.page-index .project-story-gallery {
  gap: 1px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 34px;
  background: rgba(17, 17, 17, 0.1) !important;
  box-shadow: none;
}

body.page-index .project-story-panel {
  grid-template-columns: minmax(280px, 0.4fr) minmax(0, 0.6fr);
  min-height: clamp(480px, 62vh, 660px);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  background: #ffffff !important;
  color: #111111;
}

body.page-index .project-story-panel + .project-story-panel {
  border-top: 0;
}

body.page-index .project-story-copy {
  padding-inline: clamp(0.3rem, 1vw, 0.8rem) clamp(1rem, 2vw, 1.8rem);
  color: #111111;
}

body.page-index .project-count {
  color: #0f4a49;
}

body.page-index .project-story-copy h3 {
  max-width: 560px;
  color: #111111;
  font-size: clamp(2.4rem, 4.5vw, 4.9rem);
}

body.page-index .project-story-copy > p:not(.project-count) {
  color: #515755;
}

body.page-index .project-story-copy li {
  border-color: rgba(15, 74, 73, 0.18);
  color: #0f4a49;
  background: rgba(15, 74, 73, 0.055);
}

body.page-index .project-story-copy a {
  border-color: #0f4a49;
  background: #0f4a49;
  color: #ffffff;
}

body.page-index .project-story-copy a:hover {
  background: #111111;
  color: #ffffff;
}

body.page-index .project-story-media {
  border-radius: 26px;
  box-shadow: none;
}

body.page-index .project-story-media video {
  min-height: 430px;
}

@media (max-width: 980px) {
  body.page-index .value-story .inner,
  body.page-index .work-system-showcase .inner {
    grid-template-columns: 1fr;
  }

  body.page-index .value-story .section-kicker,
  body.page-index .value-story h2,
  body.page-index .value-story-grid {
    grid-column: auto;
    grid-row: auto;
  }

  body.page-index .value-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.page-index #hero.studio-hero > .inner {
    min-height: auto;
    padding-block: 4.5rem 3.5rem;
  }

  body.page-index #hero.studio-hero .hero-name {
    font-size: clamp(3.2rem, 15vw, 4.8rem);
  }

  body.page-index .value-story-grid,
  body.page-index .work-system-map {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  body.page-index .value-story-grid article,
  body.page-index .value-story-grid article:first-child,
  body.page-index .work-system-map article,
  body.page-index .work-system-map article:last-child {
    min-height: auto;
  }

  body.page-index .project-story-gallery {
    border-radius: 24px;
  }

  body.page-index .project-story-panel {
    padding: 1rem;
  }

  body.page-index .project-story-copy {
    min-height: auto;
    padding: 1rem 0.25rem 1.5rem;
  }

  body.page-index .project-story-media,
  body.page-index .project-story-media video {
    min-height: 300px;
  }
}
/* Shared full-width rhythm between direct page sections. */
:root {
  --section-divider-gap: clamp(30px, 3vw, 44px);
  --section-divider-color: rgba(17, 17, 17, 0.05);
}

body .site-main > section,
body .site-main > section > .inner {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

body .site-main > section {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

body .site-main > section + section {
  margin-top: var(--section-divider-gap) !important;
  padding-top: var(--section-divider-gap) !important;
  border-top: 1px solid var(--section-divider-color) !important;
}

body .site-main > section + section > .inner {
  padding-top: 0 !important;
}

/* Keep the Experience page label aligned with the About page label. */
body.page-elements .site-header {
  border-bottom: 1px solid var(--section-divider-color);
}

body.page-elements .site-main > section:first-child {
  padding-top: 0 !important;
}

body.page-elements .site-main > section:first-child > .inner {
  height: auto !important;
  min-height: 0 !important;
  padding-top: var(--section-divider-gap) !important;
  align-content: start !important;
}

@media (max-width: 700px) {
  body.page-elements .site-main > section:first-child .section-kicker {
    margin-bottom: 12px;
    font-size: clamp(0.54rem, 2vw, 0.64rem);
  }
}

/* Homepage delivery teaser: concise positioning, detailed process lives on About. */
body.page-index .delivery-teaser > .inner {
  min-height: 0 !important;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: end;
  padding-block: clamp(48px, 6vw, 76px) !important;
}

body.page-index .delivery-teaser-intro {
  max-width: 560px;
}

body.page-index .delivery-teaser .section-kicker {
  margin: 0 0 14px;
}

body.page-index .delivery-teaser h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 520;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

body.page-index .delivery-teaser-intro > p:not(.section-kicker) {
  max-width: 550px;
  margin: 20px 0 0;
  color: #4f5553;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
}

body.page-index .delivery-teaser .text-link {
  display: inline-flex;
  margin-top: 22px;
}

body.page-index .delivery-teaser-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  min-width: 0;
}

body.page-index .delivery-teaser-flow article {
  position: relative;
  min-width: 0;
  min-height: 112px;
  padding: 18px clamp(18px, 2vw, 28px) 0;
  border: 0;
  border-top: 1px solid rgba(15, 74, 73, 0.28);
  background: transparent !important;
}

body.page-index .delivery-teaser-flow article:first-child {
  padding-left: 0;
}

body.page-index .delivery-teaser-flow article:last-child {
  padding-right: 0;
}

body.page-index .delivery-teaser-flow article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: -0.72rem;
  right: -0.38rem;
  z-index: 1;
  padding-inline: 0.3rem;
  background: #ffffff;
  color: #365a52;
  font-size: 0.9rem;
  line-height: 1;
}

body.page-index .delivery-teaser-flow h3 {
  margin: 0 0 8px;
  color: #111111;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 620;
  line-height: 1.1;
}

body.page-index .delivery-teaser-flow p {
  max-width: 180px;
  margin: 0;
  color: #59605d;
  font-size: clamp(0.76rem, 0.9vw, 0.86rem);
  line-height: 1.4;
}

@media (max-width: 900px) {
  body.page-index .delivery-teaser > .inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body.page-index .delivery-teaser-flow {
    width: calc(100% + var(--page-gutter));
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 46vw);
    overflow-x: auto;
    padding-right: var(--page-gutter);
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  body.page-index .delivery-teaser-flow::-webkit-scrollbar {
    display: none;
  }

  body.page-index .delivery-teaser-flow article {
    min-height: 98px;
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  body.page-index .delivery-teaser > .inner {
    gap: 28px;
    padding-block: 38px 42px !important;
  }

  body.page-index .delivery-teaser h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  body.page-index .delivery-teaser-intro > p:not(.section-kicker) {
    margin-top: 16px;
    font-size: 0.9rem;
  }

  body.page-index .delivery-teaser .text-link {
    margin-top: 18px;
  }

  body.page-index .delivery-teaser-flow {
    grid-auto-columns: minmax(170px, 68vw);
  }
}

/* Delivery System visual narrative. */
body.page-index .delivery-teaser {
  position: relative;
  overflow: hidden;
  background: #0b403d !important;
  color: #ffffff;
}

body.page-index .delivery-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 44%, rgba(154, 197, 184, 0.09), transparent 34%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.025), transparent 46%);
}

body.page-index .delivery-teaser > .inner {
  position: relative;
  z-index: 1;
  background: transparent !important;
  grid-template-columns: minmax(300px, 0.78fr) minmax(480px, 1.22fr);
  align-items: center;
  padding-block: clamp(64px, 7vw, 96px) !important;
}

body.page-index .delivery-teaser .section-kicker {
  color: #a8c9bf;
}

body.page-index .delivery-teaser h2 {
  max-width: 590px;
  color: #ffffff;
  font-size: clamp(2.7rem, 4.7vw, 4.9rem);
}

body.page-index .delivery-teaser-intro > p:not(.section-kicker) {
  max-width: 510px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
}

body.page-index .delivery-teaser .text-link,
body.page-index .delivery-teaser .text-link:hover {
  color: #ffffff;
}

body.page-index .delivery-teaser .text-link {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

body.page-index .delivery-teaser-flow {
  position: relative;
  display: block;
  width: 100%;
  min-height: 620px;
  overflow: visible;
  padding: 0;
}

body.page-index .delivery-map-inputs {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

body.page-index .delivery-map-inputs span {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.7rem, 0.85vw, 0.8rem);
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

body.page-index .delivery-map-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

body.page-index .delivery-map-line {
  fill: none;
  stroke: rgba(203, 229, 220, 0.46);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

body.page-index .delivery-teaser-flow.is-visible .delivery-map-line {
  animation: delivery-line-draw 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.page-index .delivery-teaser-flow.is-visible .delivery-map-line--two {
  animation-delay: 100ms;
}

body.page-index .delivery-teaser-flow.is-visible .delivery-map-line--three {
  animation-delay: 200ms;
}

body.page-index .delivery-teaser-flow.is-visible .delivery-map-line--spine {
  animation-delay: 500ms;
  animation-duration: 1300ms;
}

@keyframes delivery-line-draw {
  to { stroke-dashoffset: 0; }
}

body.page-index .delivery-map-nodes {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(74%, 470px);
  margin: 80px auto 0;
  gap: 22px;
}

body.page-index .delivery-teaser-flow .delivery-map-node {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: 12px 105px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid rgba(213, 235, 228, 0.2);
  border-radius: 14px;
  background: rgba(6, 44, 42, 0.56) !important;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-index .delivery-teaser-flow .delivery-map-node::after {
  content: none;
}

body.page-index .delivery-teaser-flow.is-visible .delivery-map-node {
  opacity: 1;
  transform: translateY(0);
}

body.page-index .delivery-teaser-flow.is-visible .delivery-map-node:nth-child(1) { transition-delay: 600ms; }
body.page-index .delivery-teaser-flow.is-visible .delivery-map-node:nth-child(2) { transition-delay: 780ms; }
body.page-index .delivery-teaser-flow.is-visible .delivery-map-node:nth-child(3) { transition-delay: 960ms; }
body.page-index .delivery-teaser-flow.is-visible .delivery-map-node:nth-child(4) { transition-delay: 1140ms; }

body.page-index .delivery-map-dot {
  width: 9px;
  height: 9px;
  border: 1px solid #c5ddd5;
  border-radius: 50%;
  background: #0b403d;
  box-shadow: 0 0 0 5px rgba(197, 221, 213, 0.07);
}

body.page-index .delivery-teaser-flow .delivery-map-node h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 620;
  line-height: 1.1;
}

body.page-index .delivery-teaser-flow .delivery-map-node p {
  max-width: none;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: clamp(0.76rem, 0.85vw, 0.84rem);
  line-height: 1.4;
}

body.page-index .delivery-map-outcome {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  color: #d9ebe5;
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.page-index .delivery-map-outcome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #b9d9cf;
  box-shadow: 0 0 0 7px rgba(185, 217, 207, 0.1);
}

@media (max-width: 900px) {
  body.page-index .delivery-teaser > .inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  body.page-index .delivery-teaser-flow {
    width: 100%;
    min-height: 585px;
    overflow: visible;
    padding: 0;
  }

  body.page-index .delivery-map-nodes {
    width: min(100%, 520px);
  }
}

@media (max-width: 600px) {
  body.page-index .delivery-teaser > .inner {
    gap: 40px;
    padding-block: 48px 54px !important;
  }

  body.page-index .delivery-teaser h2 {
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  body.page-index .delivery-teaser-flow {
    min-height: 570px;
  }

  body.page-index .delivery-map-inputs {
    gap: 8px;
  }

  body.page-index .delivery-map-inputs span {
    font-size: 0.58rem;
  }

  body.page-index .delivery-map-nodes {
    width: 100%;
    margin-top: 72px;
    gap: 18px;
  }

  body.page-index .delivery-teaser-flow .delivery-map-node {
    grid-template-columns: 10px 82px minmax(0, 1fr);
    gap: 11px;
    padding: 14px 12px;
  }

  body.page-index .delivery-teaser-flow .delivery-map-node h3 {
    font-size: 1rem;
  }

  body.page-index .delivery-teaser-flow .delivery-map-node p {
    font-size: 0.71rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-index .delivery-map-line {
    stroke-dashoffset: 0;
    animation: none !important;
  }

  body.page-index .delivery-teaser-flow .delivery-map-node {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Final cascade authority for the compact, light How I Work pitch. */
body.page-index .delivery-teaser {
  overflow: hidden;
  background: #f7f8f6 !important;
  color: #111111;
}

body.page-index .delivery-teaser::before {
  content: none;
}

body.page-index .delivery-teaser > .inner {
  grid-template-columns: minmax(300px, 0.9fr) minmax(380px, 1.1fr);
  grid-template-rows: auto auto;
  gap: clamp(32px, 5vw, 56px) clamp(52px, 8vw, 120px);
  align-items: end;
  min-height: 0 !important;
  padding-block: clamp(48px, 4.5vw, 62px) clamp(36px, 3.5vw, 48px) !important;
  background: transparent !important;
}

body.page-index .delivery-teaser .section-kicker {
  color: #365a52;
}

body.page-index .delivery-teaser h2 {
  color: #111111;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
}

body.page-index .delivery-teaser .delivery-pitch-copy .text-link,
body.page-index .delivery-teaser .delivery-pitch-copy .text-link:hover {
  color: #111111;
}

@media (max-width: 800px) {
  body.page-index .delivery-teaser > .inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
    padding-block: 44px 38px !important;
  }

  body.page-index .delivery-teaser h2 {
    font-size: clamp(2.2rem, 9vw, 3.35rem);
  }
}

@media (max-width: 480px) {
  body.page-index .delivery-teaser > .inner {
    gap: 24px;
    padding-block: 38px 34px !important;
  }

  body.page-index .delivery-teaser h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }
}

/* Cascade lock: the homepage process remains white, centered and compact. */
body.page-index .delivery-teaser {
  background: #ffffff !important;
  color: #111111;
}

body.page-index .delivery-teaser::before {
  content: none;
}

body.page-index .delivery-teaser > .inner {
  display: block;
  min-height: 0 !important;
  padding-block: clamp(52px, 5vw, 72px) clamp(36px, 3.5vw, 48px) !important;
  background: transparent !important;
  text-align: center;
}

body.page-index .delivery-teaser .section-kicker {
  width: 100%;
  text-align: left;
  color: #365a52;
}

body.page-index .delivery-teaser h2 {
  color: #111111;
  font-size: clamp(2.4rem, 3.6vw, 3.75rem);
}

body.page-index .delivery-teaser-intro > p:not(.section-kicker) {
  margin-top: 14px;
  color: #555c59;
}

body.page-index .delivery-process {
  margin-top: clamp(28px, 3vw, 38px);
}

body.page-index .delivery-process article {
  min-height: 112px;
}

body.page-index .delivery-teaser .delivery-process-link,
body.page-index .delivery-teaser .delivery-process-link:hover {
  margin-top: 18px;
  color: #111111;
}

@media (max-width: 600px) {
  body.page-index .delivery-teaser > .inner {
    padding-block: 40px 34px !important;
  }

  body.page-index .delivery-teaser h2 {
    font-size: clamp(2.1rem, 10vw, 2.75rem);
  }
}

/* About-equivalent homepage typography on iPad and mobile. */
@media (min-width: 701px) and (max-width: 768px) {
  body.page-index .delivery-teaser h2,
  body.page-index #selected-work .some-work-center h2,
  body.page-index .home-references-heading h2 {
    font-size: clamp(1.65rem, 4.5vw, 2.1rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
  }

  body.page-index .delivery-teaser-intro > p:not(.section-kicker),
  body.page-index #selected-work .some-work-center > p:not(.section-kicker) {
    margin-top: 18px;
    font-size: clamp(0.82rem, 1.8vw, 0.95rem) !important;
    line-height: 1.5 !important;
  }

  body.page-index .delivery-teaser .section-kicker,
  body.page-index .home-references-heading .section-kicker {
    margin-bottom: 14px;
    font-size: 0.68rem !important;
  }
}

@media (max-width: 700px) {
  body.page-index .delivery-teaser h2,
  body.page-index #selected-work .some-work-center h2,
  body.page-index .home-references-heading h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem) !important;
    line-height: 1 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
  }

  body.page-index .delivery-teaser-intro > p:not(.section-kicker),
  body.page-index #selected-work .some-work-center > p:not(.section-kicker) {
    margin-top: 14px;
    font-size: clamp(0.78rem, 3vw, 0.9rem) !important;
    line-height: 1.48 !important;
  }

  body.page-index .delivery-teaser .section-kicker,
  body.page-index .home-references-heading .section-kicker {
    margin-bottom: 12px;
    font-size: clamp(0.62rem, 2.5vw, 0.72rem) !important;
  }
}

/* How I Work icons and CTA use the established homepage action language. */
body.page-index .delivery-process-mark {
  width: 50px;
  height: 50px;
  margin-bottom: 17px;
  border-color: rgba(54, 90, 82, 0.4);
}

body.page-index .delivery-process-mark::before {
  content: none;
}

body.page-index .delivery-process-mark svg {
  width: 22px;
  height: 22px;
  color: #365a52;
  stroke-width: 1.6;
}

body.page-index .delivery-teaser .delivery-process-link,
body.page-index .delivery-teaser .delivery-process-link:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  min-height: 3.05rem;
  margin-top: 20px;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  font-size: 0.83rem;
  font-weight: 560;
  line-height: 1;
}

body.page-index .delivery-teaser .delivery-process-link {
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.page-index .delivery-teaser .delivery-process-link:hover {
  background: #365a52;
}

body.page-index .delivery-process-link span {
  display: inline-block;
  transition: transform 180ms ease;
}

body.page-index .delivery-process-link:hover span {
  transform: translateX(4px);
}

@media (max-width: 700px) {
  body.page-index .delivery-process-mark {
    width: 46px;
    height: 46px;
  }

  body.page-index .delivery-process-mark svg {
    width: 21px;
    height: 21px;
  }
}

/* Homepage references: full-width heading and three editorial testimonials. */
body.page-index .home-references > .inner {
  display: block;
  padding-block: clamp(52px, 5vw, 72px) 80px;
  border-top: 0;
}

body.page-index .home-references-heading {
  margin-bottom: clamp(24px, 2.4vw, 32px);
}

body.page-index .home-references-heading .section-kicker {
  margin-bottom: 0;
}

body.page-index .home-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 58px);
}

body.page-index .home-reference-grid article,
body.page-index .home-reference-grid article:first-child {
  display: flex;
  min-width: 0;
  min-height: 260px;
  flex-direction: column;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid rgba(17, 17, 17, 0.14);
  background: transparent !important;
}

body.page-index .home-reference-grid article > svg {
  width: 22px;
  height: 22px;
  margin-bottom: 22px;
  color: #365a52;
  stroke-width: 1.55;
}

body.page-index .home-reference-grid article > p {
  margin: 0;
  color: #252a29;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.62;
}

body.page-index .home-reference-grid article > p::before {
  content: none;
}

body.page-index .home-reference-grid article > footer {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding-top: 28px;
}

body.page-index .home-reference-grid article > footer strong {
  color: #111111;
  font-size: 0.92rem;
  font-weight: 680;
}

body.page-index .home-reference-grid article > footer span {
  display: block;
  margin: 0;
  color: #606663;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

@media (max-width: 900px) {
  body.page-index .home-references > .inner {
    padding-bottom: 64px;
  }

  body.page-index .home-reference-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  body.page-index .home-reference-grid article,
  body.page-index .home-reference-grid article:first-child {
    min-height: 0;
  }

  body.page-index .home-reference-grid article > footer {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  body.page-index .home-references > .inner {
    padding-block: 40px 56px;
  }

  body.page-index .home-references-heading {
    margin-bottom: 24px;
  }

  body.page-index .home-reference-grid article > p {
    font-size: 0.92rem;
  }
}

/* References: soft editorial cards and a touch-first mobile peek carousel. */
body.page-index .home-reference-grid article,
body.page-index .home-reference-grid article:first-child {
  position: relative;
  min-height: 100%;
  padding: clamp(24px, 2.2vw, 28px);
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #f1f5f3 !important;
  box-shadow: 0 8px 22px rgba(34, 68, 60, 0.05);
}

body.page-index .home-reference-grid article > svg {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 56px;
  height: 56px;
  margin: 0;
  color: rgba(17, 17, 17, 0.075);
  stroke-width: 1.15;
}

body.page-index .home-reference-grid article > p,
body.page-index .home-reference-grid article > footer {
  position: relative;
  z-index: 1;
}

body.page-index .home-reference-grid article > p {
  padding-top: 36px;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.58;
}

body.page-index .reference-progress {
  display: none;
}

@media (max-width: 700px) {
  body.page-index .home-reference-grid {
    display: flex;
    width: 100%;
    gap: 16px;
    padding: 0 0 24px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.page-index .home-reference-grid::-webkit-scrollbar {
    display: none;
  }

  body.page-index .home-reference-grid article,
  body.page-index .home-reference-grid article:first-child {
    flex: 0 0 82vw;
    min-height: 440px;
    padding: 23px 21px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    opacity: 0.72;
    transform: translateY(12px) scale(0.97);
    transform-origin: center center;
    transition: opacity 350ms ease, transform 350ms ease;
  }

  body.page-index .home-reference-grid article.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  body.page-index .home-reference-grid article > p {
    padding-top: 34px;
    font-size: clamp(0.78rem, 3vw, 0.9rem);
    line-height: 1.52;
  }

  body.page-index .home-reference-grid article > footer {
    margin-top: auto;
  }

  body.page-index .reference-progress {
    display: flex;
    align-items: center;
    gap: 14px;
    width: min(210px, 62vw);
    margin-top: 4px;
    color: #555b58;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  body.page-index .reference-progress-count {
    flex: 0 0 auto;
  }

  body.page-index .reference-progress-count b {
    color: #365a52;
    font-weight: 700;
  }

  body.page-index .reference-progress-line {
    width: 100%;
    height: 1px;
    overflow: hidden;
    background: rgba(17, 17, 17, 0.16);
  }

  body.page-index .reference-progress-line i {
    display: block;
    width: 33.333%;
    height: 100%;
    background: #365a52;
    transform: translateX(0);
    transition: transform 300ms ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-index .home-reference-grid article,
  body.page-index .reference-progress-line i {
    transition: none;
  }
}

/* Restore the original Experience hover menu preserved in Git history. */
.site-header nav.top-nav::before {
  left: var(--dropdown-backdrop-left, calc(50% - 50vw));
  width: var(--dropdown-backdrop-width, 100vw);
  transform: none;
}

.site-header nav.top-nav .nav-dropdown {
  top: 100%;
  left: var(--dropdown-offset, 0px);
  width: max-content;
  max-height: none;
  gap: 0.9rem;
  padding: 0.8rem 0 0.2rem;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.25rem);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.site-header nav.top-nav.is-dropdown-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.site-header nav.top-nav .nav-dropdown a {
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.site-header nav.top-nav .nav-dropdown a:hover,
.site-header nav.top-nav .nav-dropdown a:focus-visible {
  color: var(--teal);
  background: transparent;
}

/* Keep the contact invitation aligned with the site's section-heading scale. */
body.page-contact .contact-title {
  max-width: 760px;
  font-size: clamp(2.25rem, 3.8vw, 3.75rem);
  line-height: 1.06;
}

body.page-contact .contact-visual {
  position: relative;
}

body.page-contact .contact-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.page-contact .contact-photo-credit {
  position: absolute;
  right: 0.8rem;
  bottom: 0.65rem;
  margin: 0;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.68rem;
  line-height: 1.2;
}

body.page-contact .contact-photo-credit a {
  color: inherit;
}

@media (max-width: 640px) {
  body.page-contact .contact-title {
    font-size: clamp(2.05rem, 9vw, 2.7rem);
  }
}

/* Contact composition: visual story on the left, unchanged form on the right. */
body.page-contact .contact-hero-grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1.14fr);
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

body.page-contact .contact-intro {
  display: grid;
  gap: 0;
  align-content: start;
}

body.page-contact .contact-intro .contact-visual {
  display: block;
  order: 0;
  width: 100%;
  min-height: 0;
  height: clamp(230px, 24vw, 330px);
  margin-top: clamp(1.25rem, 2vw, 1.8rem);
  border: 0;
  background: #f3f5f4;
}

body.page-contact .contact-intro .contact-visual::before,
body.page-contact .contact-intro .contact-visual::after {
  content: none;
}

body.page-contact .contact-intro .contact-visual > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.03);
  mix-blend-mode: normal;
}

body.page-contact .contact-intro .section-kicker {
  margin-bottom: 0.7rem;
}

body.page-contact .contact-intro .contact-title {
  max-width: none;
  margin: 0;
  font-size: clamp(1.85rem, 2.2vw, 2.65rem);
  line-height: 1.06;
}

body.page-contact .contact-content {
  width: 100%;
  max-width: none;
}

body.page-contact .contact-content .contact-form {
  margin-top: 0;
}

@media (max-width: 900px) {
  body.page-contact .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  body.page-contact .contact-intro .contact-visual {
    display: block;
    height: clamp(210px, 52vw, 340px);
  }

  body.page-contact .contact-intro .contact-title {
    max-width: 16ch;
    font-size: clamp(1.85rem, 6vw, 2.25rem);
  }
}
