:root {
  --canvas: #f2f0ed;
  --surface: #ffffff;
  --ink: #201d1d;
  --carbon: #181616;
  --muted: #696462;
  --line: #b9b2ad;
  --plum: #855c77;
  --plum-light: #c995b2;
  --blue: #315f75;
  --focus: #f0bb42;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: Aptos, "Segoe UI", Arial, sans-serif;
  --content: 1240px;
  --gutter: 72px;
  --thread-x: 42px;
  --header-height: 78px;
  --section-space: 132px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--carbon);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--carbon), 0 0 0 6px var(--focus);
}

::selection {
  background: var(--plum);
  color: #ffffff;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 200;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
}

.skip-link:focus {
  top: 16px;
}

.content-shell {
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: #ffffff;
  transition: background-color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(24, 22, 22, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  width: 190px;
  height: 60px;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
  width: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 180ms ease;
}

.site-nav a:not(.nav-cta):hover::after {
  width: 18px;
}

.nav-cta {
  min-width: 124px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0 16px;
}

.nav-cta:hover {
  background: #ffffff;
  color: var(--carbon);
}

.nav-cta svg,
.button svg,
.text-link svg,
.site-footer svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.icon-button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.icon-button--dark {
  border: 1px solid #3b3735;
  background: var(--carbon);
  color: #ffffff;
}

.icon-button--dark:hover {
  background: var(--plum);
}

.menu-toggle {
  display: none;
  color: #ffffff;
}

.signature-thread {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--thread-x);
  z-index: 8;
  width: 2px;
  pointer-events: none;
}

.signature-thread__track,
.signature-thread__progress {
  position: absolute;
  inset: 0;
  display: block;
  width: 2px;
  transform-origin: top;
}

.signature-thread__track {
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(133, 92, 119, 0.52) 0,
      rgba(133, 92, 119, 0.52) 12px,
      rgba(133, 92, 119, 0.18) 12px,
      rgba(133, 92, 119, 0.18) 20px
    );
}

.signature-thread__progress {
  background: linear-gradient(to bottom, var(--plum-light), var(--plum));
  transform: scaleY(var(--thread-progress, 0));
  box-shadow: 0 0 14px rgba(133, 92, 119, 0.35);
}

.story-section {
  position: relative;
}

.story-section::before {
  position: absolute;
  top: 50%;
  left: var(--thread-x);
  z-index: 7;
  width: calc(var(--gutter) + 18px);
  height: 1px;
  background: linear-gradient(90deg, var(--plum), rgba(133, 92, 119, 0.12));
  content: "";
  pointer-events: none;
}

.story-node {
  position: absolute;
  top: 50%;
  left: calc(var(--thread-x) - 5px);
  z-index: 9;
  width: 11px;
  height: 11px;
  border: 2px solid var(--canvas);
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 1px rgba(133, 92, 119, 0.45);
}

.story-node--final {
  border-color: var(--carbon);
  background: #ffffff;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100dvh - 52px);
  align-items: end;
  overflow: hidden;
  background: var(--carbon);
  color: #ffffff;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
  animation: hero-settle 1400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(15, 13, 13, 0.92) 0%, rgba(15, 13, 13, 0.72) 37%, rgba(15, 13, 13, 0.08) 72%),
    linear-gradient(0deg, rgba(15, 13, 13, 0.5) 0%, transparent 42%);
}

.hero__origin {
  position: absolute;
  top: 88px;
  left: calc(var(--thread-x) - 20px);
  z-index: 3;
  width: 86px;
  height: 102px;
}

.hero__origin img {
  width: 72px;
  height: 86px;
  object-fit: cover;
  object-position: left center;
  opacity: 0.9;
}

.hero__origin-stroke {
  position: absolute;
  top: 41px;
  left: 60px;
  width: 220px;
  height: 74px;
  border-top: 2px solid var(--plum-light);
  border-right: 2px solid var(--plum-light);
  animation: origin-draw 1100ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__origin-stroke::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--plum-light);
  border-radius: 50%;
  background: var(--carbon);
  content: "";
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 150px;
  padding-bottom: 92px;
}

.eyebrow,
.chapter {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow--dark {
  color: var(--plum);
}

.chapter {
  color: var(--plum);
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 10.8ch;
  margin-top: 18px;
  font-size: 5.2rem;
  line-height: 0.98;
  text-wrap: balance;
}

h2 {
  max-width: 15ch;
  font-size: 3.5rem;
  line-height: 1.04;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  text-wrap: pretty;
}

.hero__copy {
  max-width: 54ch;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 20px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  background: #ffffff;
  color: var(--carbon);
}

.button--light:hover {
  background: var(--focus);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.hero__signature {
  position: absolute;
  right: 42px;
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.hero__signature-line {
  display: block;
  width: 110px;
  height: 1px;
  background: currentColor;
}

.intro {
  padding: var(--section-space) 0;
  background: var(--canvas);
}

.intro__grid {
  display: grid;
  align-items: start;
  gap: 72px;
  grid-template-columns: 0.32fr 1.2fr 0.7fr;
}

.intro h2 {
  margin-top: 16px;
}

.intro__copy {
  margin: 38px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.process-section {
  padding: var(--section-space) 0;
  background: #ffffff;
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 52px;
  grid-template-columns: 0.55fr 1.1fr 0.8fr;
  margin-bottom: 64px;
}

.section-heading h2 {
  max-width: 13ch;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--muted);
}

.section-heading .eyebrow {
  margin-top: 10px;
}

.process-accordion {
  position: relative;
  display: flex;
  height: 570px;
  gap: 8px;
  overflow: hidden;
}

.process-accordion::before {
  position: absolute;
  top: -24px;
  left: -24px;
  z-index: 4;
  width: 43%;
  height: 82px;
  border-top: 1px solid var(--plum);
  border-left: 1px solid var(--plum);
  content: "";
  pointer-events: none;
}

.process-accordion::after {
  position: absolute;
  top: -29px;
  left: calc(43% - 29px);
  z-index: 5;
  width: 9px;
  height: 9px;
  border: 2px solid var(--plum);
  border-radius: 50%;
  background: #ffffff;
  content: "";
}

.process-panel {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 0.68 1 0;
  align-items: end;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--carbon);
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: flex 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.process-panel.is-active {
  flex: 3.4 1 0;
}

.process-panel img,
.process-panel__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.process-panel img {
  object-fit: cover;
  filter: saturate(0.82);
  transform: scale(1.02);
  transition: filter 420ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.process-panel.is-active img {
  filter: saturate(1);
  transform: scale(1);
}

.process-panel__shade {
  background: linear-gradient(0deg, rgba(18, 16, 16, 0.88), transparent 70%);
}

.process-panel__number {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
}

.process-panel__content {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  gap: 8px;
  padding: 28px;
}

.process-panel__content strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
}

.process-panel__content > span {
  max-width: 45ch;
  color: rgba(255, 255, 255, 0.82);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.process-panel.is-active .process-panel__content > span {
  opacity: 1;
  transform: none;
  transition-delay: 180ms;
}

.process-panel:not(.is-active) .process-panel__content {
  height: 100%;
  align-content: end;
  justify-items: center;
  padding: 20px 12px;
}

.process-panel:not(.is-active) .process-panel__content strong {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.42rem;
  line-height: 1;
}

.process-panel:not(.is-active) .process-panel__content > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.source-note {
  max-width: 84ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.expertise {
  padding: var(--section-space) 0;
  overflow: hidden;
  background: var(--carbon);
  color: #ffffff;
}

.expertise__layout {
  display: grid;
  align-items: center;
  gap: 96px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.expertise__media {
  position: relative;
  min-height: 620px;
}

.expertise__media img {
  position: absolute;
  inset: 0 50px 0 0;
  width: calc(100% - 50px);
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.portal-frame {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.portal-frame--one {
  inset: 44px 12px 44px 42px;
}

.portal-frame--two {
  inset: 88px -24px 88px 88px;
  border-color: var(--plum);
}

.expertise .chapter {
  margin-bottom: 26px;
  color: var(--plum-light);
}

.expertise h2 {
  margin-top: 16px;
}

.service-rows {
  margin-top: 48px;
}

.service-rows article {
  display: grid;
  gap: 22px;
  grid-template-columns: 38px 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 22px 0;
}

.service-rows article > span {
  color: var(--plum-light);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-rows p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.portfolio {
  padding: var(--section-space) 0;
  overflow: hidden;
  background: var(--canvas);
}

.section-heading--portfolio {
  margin-bottom: 30px;
}

.portfolio-experience {
  position: relative;
}

.portfolio-stage {
  position: relative;
  width: 100%;
  height: 650px;
}

.portfolio-portal {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 0;
  width: min(48vw, 580px);
  height: 590px;
  transform: translateX(-50%);
  pointer-events: none;
}

.portfolio-portal__top,
.portfolio-portal__side,
.portfolio-portal__open {
  position: absolute;
  display: block;
  background: var(--plum);
}

.portfolio-portal__top {
  top: 0;
  left: 0;
  width: 74%;
  height: 1px;
}

.portfolio-portal__side {
  top: 0;
  left: 0;
  width: 1px;
  height: 78%;
}

.portfolio-portal__open {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 1px;
}

.portfolio-portal::before {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--plum);
  border-radius: 50%;
  background: var(--canvas);
  content: "";
}

.portfolio-portal::after {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--plum);
  border-radius: 50%;
  background: var(--canvas);
  content: "";
}

.portfolio-card {
  position: absolute;
  top: 50px;
  left: 50%;
  width: min(42vw, 510px);
  height: 540px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(32, 29, 29, 0.17);
  transform:
    translateX(calc(-50% + (var(--offset, 0) * min(17vw, 220px))))
    translateY(calc(var(--depth, 0) * 26px))
    rotate(calc(var(--offset, 0) * 5deg))
    scale(var(--scale, 1));
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), opacity 320ms ease;
}

.portfolio-card img {
  width: 100%;
  height: calc(100% - 52px);
  object-fit: cover;
}

.portfolio-card figcaption {
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.carousel-controls {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.carousel-dot::before {
  display: block;
  width: 7px;
  height: 7px;
  margin: auto;
  border-radius: 50%;
  background: var(--line);
  content: "";
}

.carousel-dot.is-active::before {
  background: var(--plum);
  box-shadow: 0 0 0 4px rgba(133, 92, 119, 0.15);
}

.about {
  padding: var(--section-space) 0;
  background: #ffffff;
}

.about__grid {
  display: grid;
  align-items: center;
  gap: 100px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.about__portrait {
  position: relative;
  height: 660px;
}

.about__portrait img {
  width: calc(100% - 34px);
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  filter: saturate(0.82);
}

.about__line {
  position: absolute;
  inset: 32px 0 32px 58px;
  border: 1px solid var(--plum);
  pointer-events: none;
}

.about .chapter {
  margin-bottom: 26px;
}

.about h2 {
  max-width: 14ch;
  margin-top: 16px;
}

.about__lead {
  max-width: 52ch;
  margin: 30px 0 0;
  font-size: 1.18rem;
  font-weight: 650;
}

.about__content > p:not(.chapter, .eyebrow, .about__lead) {
  max-width: 58ch;
  color: var(--muted);
}

.about__facts {
  margin: 38px 0 0;
}

.about__facts div {
  display: grid;
  gap: 24px;
  grid-template-columns: 96px 1fr;
  border-top: 1px solid #d7d1cd;
  padding: 18px 0;
}

.about__facts dt {
  color: var(--plum);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about__facts dd {
  margin: 0;
}

.final-cta {
  position: relative;
  display: grid;
  min-height: 720px;
  align-items: center;
  overflow: hidden;
  background: var(--carbon);
  color: #ffffff;
}

.final-cta__image,
.final-cta__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.final-cta__image {
  object-fit: cover;
  object-position: center;
}

.final-cta__shade {
  background:
    linear-gradient(90deg, rgba(24, 22, 22, 0.96) 0%, rgba(24, 22, 22, 0.86) 44%, rgba(24, 22, 22, 0.2) 78%),
    linear-gradient(0deg, rgba(24, 22, 22, 0.4), transparent);
}

.final-cta__content {
  position: relative;
  z-index: 2;
  padding: 110px 0;
}

.final-cta .chapter {
  margin-bottom: 34px;
  color: var(--plum-light);
}

.final-cta h2 {
  margin-top: 16px;
}

.final-cta__content > p:not(.chapter, .eyebrow) {
  max-width: 50ch;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.final-cta__mark {
  position: absolute;
  right: 5vw;
  bottom: 8px;
  z-index: 2;
  width: 210px;
  height: 250px;
  opacity: 0.32;
}

.final-cta__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.cta-signature {
  display: flex;
  width: min(100%, 680px);
  align-items: center;
  margin-top: 30px;
}

.cta-signature__lead,
.cta-signature__open {
  position: relative;
  display: block;
  height: 2px;
  background: var(--plum-light);
}

.cta-signature__lead {
  width: calc(var(--gutter) + 28px);
  margin-left: calc(-1 * (var(--gutter) + 28px));
}

.cta-signature__open {
  width: min(18vw, 160px);
}

.cta-signature__open::after {
  position: absolute;
  top: -34px;
  right: 0;
  width: 1px;
  height: 36px;
  background: var(--plum-light);
  content: "";
}

.cta-signature .button {
  flex: 0 0 auto;
  border-radius: 0;
}

.site-footer {
  display: grid;
  min-height: 116px;
  align-items: center;
  gap: 28px;
  grid-template-columns: 1fr auto auto;
  padding: 24px var(--gutter);
  background: var(--carbon);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer__brand img {
  width: 112px;
  height: 60px;
  object-fit: contain;
}

.site-footer__brand span,
.site-footer p {
  font-size: 0.8rem;
}

.site-footer a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

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

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

@keyframes hero-settle {
  from {
    opacity: 0.4;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@keyframes line-open {
  from {
    width: 0;
  }
  to {
    width: 68px;
  }
}

@keyframes origin-draw {
  from {
    width: 0;
    height: 0;
    opacity: 0;
  }
  to {
    width: 220px;
    height: 74px;
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  :root {
    --gutter: 44px;
    --thread-x: 25px;
    --section-space: 108px;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .intro__grid {
    gap: 42px;
    grid-template-columns: 0.28fr 1.1fr 0.72fr;
  }

  .section-heading {
    gap: 34px;
  }

  .expertise__layout,
  .about__grid {
    gap: 64px;
  }

  .portfolio-stage {
    height: 590px;
  }

  .portfolio-card {
    width: min(48vw, 470px);
    height: 500px;
  }

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

  .site-footer p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --gutter: 28px;
    --thread-x: 16px;
    --header-height: 68px;
    --section-space: 90px;
  }

  h1 {
    max-width: 12ch;
    font-size: 3.3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .brand {
    width: 132px;
    height: 52px;
  }

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

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(24, 22, 22, 0.98);
    padding: 12px;
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    justify-content: space-between;
    padding: 10px 12px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .hero {
    min-height: calc(100dvh - 40px);
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(15, 13, 13, 0.9), rgba(15, 13, 13, 0.34)),
      linear-gradient(0deg, rgba(15, 13, 13, 0.72), transparent 64%);
  }

  .hero__content {
    padding-bottom: 76px;
  }

  .hero__signature {
    display: none;
  }

  .hero__origin {
    top: 76px;
  }

  .intro__grid,
  .section-heading,
  .expertise__layout,
  .about__grid {
    grid-template-columns: 1fr;
  }

  .intro__grid {
    gap: 28px;
  }

  .intro__copy {
    max-width: 60ch;
    margin-top: 0;
  }

  .section-heading {
    align-items: start;
    gap: 24px;
    margin-bottom: 42px;
  }

  .section-heading > p {
    max-width: 60ch;
  }

  .process-accordion {
    height: 520px;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .process-panel,
  .process-panel.is-active {
    min-width: min(78vw, 500px);
    flex: 0 0 min(78vw, 500px);
    scroll-snap-align: center;
  }

  .process-panel:not(.is-active) .process-panel__content {
    height: auto;
    align-content: initial;
    justify-items: start;
    padding: 28px;
  }

  .process-panel:not(.is-active) .process-panel__content strong {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 2.1rem;
  }

  .process-panel__content > span,
  .process-panel:not(.is-active) .process-panel__content > span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    opacity: 1;
    transform: none;
  }

  .expertise__media {
    min-height: 520px;
  }

  .expertise__content {
    padding-top: 14px;
  }

  .about__portrait {
    max-width: 560px;
    height: 620px;
  }

  .about__content {
    max-width: 660px;
  }

  .portfolio-stage {
    height: 540px;
  }

  .portfolio-portal {
    width: min(68vw, 470px);
    height: 500px;
  }

  .portfolio-card {
    width: min(65vw, 430px);
    height: 460px;
    transform:
      translateX(calc(-50% + (var(--offset, 0) * min(24vw, 170px))))
      translateY(calc(var(--depth, 0) * 22px))
      rotate(calc(var(--offset, 0) * 4deg))
      scale(var(--scale, 1));
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer p {
    grid-column: auto;
  }
}

@media (max-width: 540px) {
  :root {
    --gutter: 20px;
    --thread-x: 10px;
    --section-space: 76px;
  }

  h1 {
    font-size: 2.65rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.1rem;
    line-height: 1.08;
  }

  .content-shell {
    width: calc(100% - (2 * var(--gutter)));
  }

  .site-header {
    padding: 0 var(--gutter);
  }

  .brand {
    width: 116px;
    height: 48px;
  }

  .signature-thread,
  .story-node {
    opacity: 0.58;
  }

  .hero__image {
    object-position: 64% center;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(15, 13, 13, 0.92) 0%, rgba(15, 13, 13, 0.5) 65%, rgba(15, 13, 13, 0.2) 100%),
      linear-gradient(90deg, rgba(15, 13, 13, 0.5), transparent);
  }

  .hero__content {
    padding-top: 120px;
    padding-bottom: 46px;
  }

  .hero__origin {
    top: 76px;
    left: calc(var(--thread-x) - 5px);
    width: 54px;
    height: 66px;
  }

  .hero__origin img {
    width: 46px;
    height: 56px;
  }

  .hero__origin-stroke {
    top: 26px;
    left: 38px;
    width: 92px;
    height: 34px;
  }

  .hero__origin-stroke::after {
    right: -4px;
    bottom: -4px;
    width: 7px;
    height: 7px;
  }

  .hero__copy {
    font-size: 1rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .text-link {
    justify-content: space-between;
  }

  .process-accordion {
    height: 500px;
    margin-right: calc(-1 * var(--gutter));
  }

  .process-panel,
  .process-panel.is-active {
    min-width: 84vw;
    flex-basis: 84vw;
  }

  .process-panel__content {
    padding: 22px;
  }

  .process-panel__content strong {
    font-size: 1.8rem;
  }

  .expertise__media {
    min-height: 420px;
  }

  .expertise__media img {
    right: 24px;
    width: calc(100% - 24px);
  }

  .portal-frame--one {
    inset: 28px 6px 28px 24px;
  }

  .portal-frame--two {
    inset: 56px -10px 56px 52px;
  }

  .service-rows article {
    grid-template-columns: 30px 1fr;
  }

  .portfolio-stage {
    height: 470px;
  }

  .portfolio-portal {
    top: 18px;
    width: 82vw;
    height: 430px;
  }

  .portfolio-card {
    top: 34px;
    width: 78vw;
    height: 405px;
    transform:
      translateX(calc(-50% + (var(--offset, 0) * 34vw)))
      translateY(calc(var(--depth, 0) * 18px))
      rotate(calc(var(--offset, 0) * 3deg))
      scale(var(--scale, 1));
  }

  .about__grid {
    gap: 56px;
  }

  .about__portrait {
    height: 510px;
  }

  .about__facts div {
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .final-cta {
    min-height: 680px;
  }

  .final-cta__shade {
    background: linear-gradient(0deg, rgba(24, 22, 22, 0.96) 0%, rgba(24, 22, 22, 0.68) 72%, rgba(24, 22, 22, 0.28) 100%);
  }

  .final-cta__content {
    align-self: end;
    padding: 80px 0 64px;
  }

  .final-cta__mark {
    right: 20px;
    bottom: 22px;
    width: 104px;
    height: 124px;
  }

  .cta-signature {
    width: 100%;
  }

  .cta-signature__lead {
    width: calc(var(--gutter) + 8px);
    margin-left: calc(-1 * (var(--gutter) + 8px));
  }

  .cta-signature__open {
    width: 28px;
  }

  .cta-signature .button {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-footer {
    padding: 28px var(--gutter);
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .signature-thread__progress {
    transform: scaleY(1);
  }

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