:root {
  --bg: #171717;
  --panel: #242321;
  --text: #f6f4ee;
  --muted: #b8b1a5;
  --orange: #d1ae68;
  --line: #f6f4ee24;
}

html {
  scroll-padding-top: 0;
}

.site-loader {
  display: none;
}

.js .site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 24px;
  padding: 24px;
  background: #171717;
  opacity: 1;
  visibility: visible;
  transition: opacity .6s ease, visibility .6s ease;
}

.js:not(.site-ready) body {
  overflow: hidden;
}

.site-ready .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-mark {
  position: relative;
  width: min(720px, 82vw);
  aspect-ratio: 3.55 / 1;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid #d1ae6861;
  background: linear-gradient(145deg, #f6f4ee, #eee8dc);
  box-shadow: 0 30px 100px #0009, 0 0 80px #d1ae6810;
}

.loader-mark img {
  width: 100%;
  height: auto;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  animation: loader-logo-reveal 2.45s .35s cubic-bezier(.2,.8,.2,1) forwards;
}

.loader-thread {
  position: absolute;
  inset: 5% 4%;
  width: 92%;
  height: 90%;
  pointer-events: none;
}

.loader-thread path {
  stroke: #d1ae68;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1250;
  stroke-dashoffset: 1250;
  animation: loader-thread-draw 2.9s .18s cubic-bezier(.4,0,.2,1) forwards;
}

.loader-thread circle {
  fill: #d1ae68;
  opacity: 0;
  animation: loader-dot-in .28s 2.82s ease forwards;
}

.site-loader > p {
  color: #d1ae68;
  font-size: 10px;
  letter-spacing: .24em;
  text-align: center;
  opacity: 0;
  animation: loader-copy-in .55s 2.55s ease forwards;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}

.page-transition svg {
  width: 100%;
  height: 210px;
  filter: drop-shadow(0 0 12px #d1ae685c);
}

.page-transition path {
  fill: none;
  stroke: #d1ae68;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1900;
  stroke-dashoffset: 1900;
}

.page-transition.is-active {
  opacity: 1;
}

.page-transition.is-active path {
  animation: page-thread-sweep .72s cubic-bezier(.33,.01,.2,1) both;
}

body,
.header,
.craft,
.footer {
  background: var(--bg);
}

body {
  color: var(--text);
}

.header {
  border-color: var(--line);
}

.brand-logo {
  width: 176px;
  height: 54px;
  padding: 8px 10px;
  border: 1px solid #d1ae684d;
  border-radius: 4px;
  background: #f6f4ee;
  overflow: hidden;
}

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

.header nav,
.hero-note,
.hero-copy p,
.section-description,
.services-intro > p,
.service-body > p,
.process-grid p,
.about-copy > p,
.footer-top > span,
.footer-bottom,
.studio-facts span {
  color: var(--muted);
}

.header nav a:hover,
.header nav a.active,
.orange,
.tiny-star,
.orbit-star,
.service summary:hover h3,
.service[open] h3,
.service[open] .service-toggle,
.step-index,
.founder-bottom > span,
.tech-list span:hover,
.contact .serif {
  color: var(--orange);
}

.header-cta,
.orbit,
.round-link,
.service,
.service:last-child,
.tags span,
.studio-facts,
.founder-bottom,
.footer-bottom {
  border-color: var(--line);
}

.header-cta:hover,
.round-link:hover,
.project-card:hover .round-link {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--bg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  z-index: -3;
  inset: 0 calc(50% - 50vw);
  overflow: hidden;
  background: #171717;
}

.hero h1 {
  animation: none;
}

.hero-line {
  display: block;
}

.motion-enabled:not(.hero-ready) .hero-media,
.motion-enabled:not(.hero-ready) .hero-top,
.motion-enabled:not(.hero-ready) .hero-line,
.motion-enabled:not(.hero-ready) .hero-copy p,
.motion-enabled:not(.hero-ready) .hero-copy .button,
.motion-enabled:not(.hero-ready) .hero .orbit,
.motion-enabled:not(.hero-ready) .hero-footer {
  opacity: 0;
}

.motion-enabled:not(.hero-ready) .hero-line,
.motion-enabled:not(.hero-ready) .hero-copy p,
.motion-enabled:not(.hero-ready) .hero-copy .button,
.motion-enabled:not(.hero-ready) .hero .orbit {
  transform: translateY(28px);
}

.motion-enabled .hero-media {
  transition: opacity 1.05s ease;
}

.motion-enabled .hero-top {
  transition: opacity .65s .16s ease;
}

.motion-enabled .hero-line {
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}

.motion-enabled .hero-line:nth-child(1) {
  transition-delay: .28s;
}

.motion-enabled .hero-line:nth-child(2) {
  transition-delay: .43s;
}

.motion-enabled .hero-copy p {
  transition: opacity .7s .64s ease, transform .7s .64s cubic-bezier(.2,.8,.2,1);
}

.motion-enabled .hero-copy .button {
  transition: opacity .65s .82s ease, transform .3s ease, background .25s ease;
}

.motion-enabled .hero .orbit {
  transition: opacity .65s .9s ease, transform .6s ease;
}

.motion-enabled .hero-footer {
  transition: opacity .65s 1s ease;
}

.gold-shine {
  color: var(--orange);
}

@supports (-webkit-background-clip: text) {
  .motion-enabled.hero-ready .gold-shine {
    color: transparent;
    background: linear-gradient(105deg, #b99047 0%, #d1ae68 38%, #fff0bd 50%, #d1ae68 62%, #b99047 100%);
    background-size: 230% 100%;
    background-position: 110% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-shine 1.25s .9s ease-out both;
  }
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.04) brightness(1.02);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #171717c7 0%, #1717178a 38%, #17171733 72%, #17171752 100%), linear-gradient(0deg, #171717b3 0%, transparent 42%, #17171742 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: 72vw;
  height: 72vw;
  min-width: 650px;
  min-height: 650px;
  right: -26vw;
  top: -42vw;
  background: radial-gradient(circle, #d1ae6826 0%, #d1ae6810 28%, transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 68vw;
  height: 26vw;
  min-width: 700px;
  min-height: 270px;
  right: -19vw;
  top: 15%;
  border: 1px solid #d1ae6838;
  border-radius: 50%;
  transform: rotate(-13deg);
  box-shadow: 0 0 0 56px #d1ae6809, 0 0 0 112px #d1ae6805;
  pointer-events: none;
}

.button-light,
.button-dark {
  background: var(--orange);
  color: var(--bg);
}

.button-light:hover,
.button-dark:hover,
.floating-whatsapp:hover {
  background: #e4c888;
  color: var(--bg);
}

.work .project-visual,
.project-visual {
  background: #242321;
}

.work .project-visual::before,
.project-visual::before {
  border-color: #d1ae6830;
  box-shadow: 0 0 0 70px #d1ae6808, 0 0 0 140px #d1ae6805;
}

.project-meta,
.project-bottom-line {
  color: #d8c7a3;
}

.project-window {
  border-color: #d1ae6852;
  box-shadow: 0 28px 70px #0008;
}

.window-bar {
  background: #171717;
}

.window-bar i {
  background: var(--orange);
}

.window-bar span,
.project-caption p {
  color: var(--muted);
}

.services,
#services,
.about {
  background: var(--panel);
}

.service summary:hover h3,
.service[open] h3 {
  color: var(--orange);
}

.tags span {
  color: #d8d2c8;
}

.text-link:hover,
.service-note a:hover,
.contact-details a:hover {
  color: var(--orange);
}

.craft-frame {
  background: #201f1d;
}

.curtain-project {
  padding: 22px;
  background: var(--bg);
}

.curtain-project-stage {
  --handle-x: calc(100% - 36px);
  position: relative;
  height: min(790px, 85vw);
  min-height: 610px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #d1ae6842;
  border-radius: 3px;
  background: #1d1c1a;
}

.curtain-project-card {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(18px, 2.5vw, 34px);
  padding: clamp(28px, 4.2vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 32%, #d1ae6817, transparent 32%),
    linear-gradient(135deg, #242321, #181817 68%);
  color: var(--text);
  pointer-events: none;
  cursor: pointer;
}

.curtain-project-card::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -360px;
  border: 1px solid #d1ae682e;
  border-radius: 50%;
  box-shadow: 0 0 0 70px #d1ae6808, 0 0 0 140px #d1ae6805;
  pointer-events: none;
}

.curtain-project-stage.is-revealed .curtain-project-card {
  pointer-events: auto;
  z-index: 7;
}

.curtain-project-stage.is-revealed .curtain-film {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.curtain-project-top,
.curtain-project-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.curtain-project-top {
  color: #d8c7a3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
}

.curtain-project-window {
  position: relative;
  z-index: 1;
  width: min(760px, 68%);
  align-self: center;
  justify-self: center;
  overflow: hidden;
  border: 1px solid #d1ae6866;
  border-radius: 8px;
  box-shadow: 0 30px 80px #0008;
  transform: rotate(-1.5deg);
  transition: transform .65s cubic-bezier(.2,.8,.2,1);
}

.curtain-project-card:hover .curtain-project-window {
  transform: rotate(0) translateY(-6px);
}

.curtain-project-window img {
  display: block;
  width: 100%;
  height: auto;
}

.curtain-project-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.curtain-project-bottom h2 {
  margin-top: 5px;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
}

.curtain-project-bottom p,
.curtain-project-bottom > strong {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: .14em;
}

.curtain-project-bottom > div > span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.curtain-project-bottom > strong {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.curtain-project-bottom > strong span {
  font-size: 22px;
}

.craft video {
  filter: saturate(.9) contrast(1.02);
}

.craft-overlay {
  background: linear-gradient(180deg, #17171766 0%, #17171708 28%, #17171742 58%, #171717e8 100%);
}

.curtain-film {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
  background: #840c08 url('/assets/curtain-poster.jpg') center / cover no-repeat;
  transition: opacity .32s ease;
}

.curtain-project-stage.is-playing .curtain-film,
.curtain-project-stage.is-revealed .curtain-film {
  background: transparent;
}

.curtain-film.is-dragging {
  cursor: grabbing;
}

.curtain-film video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  filter: url('#curtain-white-key') saturate(1.08) contrast(1.04);
  transform: translateZ(0);
  will-change: opacity;
}

.curtain-preloader {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.curtain-project-stage.is-playing .curtain-film video {
  opacity: var(--film-opacity, 1);
}

.curtain-canvas {
  display: none;
}

.curtain-prompt {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: min(680px, 76vw);
  display: grid;
  justify-items: center;
  gap: 14px;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 0 3px 24px #250000c9;
  transition: opacity .24s ease, transform .35s ease;
  pointer-events: none;
}

.curtain-prompt span,
.curtain-prompt small {
  color: #f4d58d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
}

.curtain-prompt strong {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(2.8rem, 6.2vw, 6.7rem);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.06em;
}

.curtain-project-stage.is-partial .curtain-prompt {
  opacity: 0;
  transform: translate(-55%, -50%);
}

.curtain-countdown {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--text);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, #1717173d 0 18%, #3a060642 48%, #21000070 100%),
    url('/assets/curtain-poster.jpg') center / cover no-repeat;
  transition: opacity .2s ease, visibility .2s ease;
}

.curtain-countdown::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid #f4d58d59;
  pointer-events: none;
}

.curtain-countdown span,
.curtain-countdown small {
  position: relative;
  color: #f4d58d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
}

.curtain-countdown strong {
  position: relative;
  min-width: 1.2em;
  font-family: var(--display);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 400;
  line-height: .9;
  text-shadow: 0 10px 48px #210000b3;
  animation: curtain-count .68s cubic-bezier(.2,.8,.2,1) both;
}

.curtain-project-stage.is-counting .curtain-countdown {
  opacity: 1;
  visibility: visible;
}

.curtain-project-stage.is-counting .curtain-prompt {
  opacity: 0;
  transform: translate(-50%, -46%);
}

.curtain-project-stage.is-counting .curtain-handle {
  left: 50%;
  border-color: #f4d58d;
  transform: translate(-50%, -50%) rotate(-90deg);
  cursor: wait;
  transition: left .8s cubic-bezier(.2,.82,.2,1), transform .8s cubic-bezier(.2,.82,.2,1), background .25s ease, border-color .25s ease;
}

.curtain-project-stage.is-playing .curtain-handle {
  transform: translate(-50%, -50%) rotate(-90deg);
  cursor: progress;
  transition: left .16s linear, transform .3s ease, background .25s ease, border-color .25s ease;
}

.curtain-project-stage.is-counting .curtain-handle span,
.curtain-project-stage.is-playing .curtain-handle span {
  transform: rotate(90deg);
}

.curtain-handle {
  position: absolute;
  top: 50%;
  left: clamp(32px, var(--handle-x), calc(100% - 32px));
  z-index: 6;
  width: 56px;
  height: 144px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  padding: 10px 0;
  border: 1px solid #d1ae68a6;
  border-radius: 999px;
  background: #171717eb;
  color: var(--orange);
  box-shadow: 0 15px 44px #0009, 0 0 22px #d1ae6817;
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  touch-action: none;
  transition: left .82s cubic-bezier(.22,.78,.18,1), transform .8s cubic-bezier(.22,.78,.18,1), background .25s ease, border-color .25s ease;
}

.curtain-project-stage.is-dragging .curtain-handle {
  transition: background .25s ease, border-color .25s ease;
}

.curtain-handle span {
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  transition: transform .3s ease;
}

.curtain-handle small {
  writing-mode: vertical-rl;
  color: var(--text);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
}

.curtain-project-stage.is-revealed .curtain-handle span {
  transform: rotate(180deg);
}

.curtain-project-stage.is-revealed .curtain-handle {
  background: #d1ae68;
  color: var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.curtain-project-stage.is-revealed .curtain-handle small {
  color: var(--bg);
}

@keyframes curtain-count {
  from { opacity: 0; transform: scale(.72); filter: blur(8px); }
  55% { opacity: 1; transform: scale(1); filter: blur(0); }
  to { opacity: .86; transform: scale(.94); filter: blur(0); }
}

.motion-off .curtain-film {
  opacity: 0;
}

.motion-off .curtain-prompt {
  display: none;
}

.video-control {
  border-color: #f6f4ee75;
  background: #171717a6;
}

.founder-card {
  border-color: #d1ae685c;
  background: #1d1c1a;
}

.founder-card::before {
  border-color: #d1ae682e;
  box-shadow: 0 0 0 65px #d1ae6808;
}

.founder-monogram {
  color: var(--text);
}

.founder-bottom p {
  color: var(--muted);
}

.tech-list span {
  color: #c5beb2;
}

.tech-list span:not(:last-child)::after {
  color: #6d6456;
}

.contact {
  background: var(--panel);
  color: var(--text);
  border-top: 1px solid #d1ae6842;
}

.contact::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -270px;
  top: -430px;
  border-radius: 50%;
  border: 1px solid #d1ae6830;
  box-shadow: 0 0 0 70px #d1ae6807, 0 0 0 140px #d1ae6804;
  pointer-events: none;
}

.contact-spark {
  color: var(--orange);
}

.contact-bottom p {
  color: var(--muted);
}

.contact-actions {
  width: min(760px, 70vw);
}

.project-selector {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

.project-selector legend {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.project-options label {
  position: relative;
  cursor: pointer;
}

.project-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.project-options span {
  display: block;
  padding: 9px 15px;
  border: 1px solid #f6f4ee2e;
  border-radius: 999px;
  color: #d9d4ca;
  font-size: 13px;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.project-options label:hover span {
  border-color: #d1ae6880;
  transform: translateY(-2px);
}

.project-options input:checked + span {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--bg);
}

.project-options input:focus-visible + span {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.contact-actions .button {
  margin-top: 0;
}

.floating-whatsapp {
  background: var(--orange);
  color: var(--bg);
  box-shadow: 0 8px 34px #0007;
  transition: transform .3s ease, background .3s ease, opacity .25s ease;
}

.contact-in-view .floating-whatsapp {
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
}

::selection {
  background: var(--orange);
  color: var(--bg);
}

button:focus-visible,
a:focus-visible,
.service summary:focus-visible {
  outline-color: var(--orange);
}

@media (hover: hover) and (pointer: fine) {
  .has-custom-cursor .cursor {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 0 !important;
    height: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    transform: none !important;
    transition: opacity .16s ease !important;
    pointer-events: none;
    color: var(--text);
  }

  .cursor::after {
    display: none !important;
  }

  .cursor-spark {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%) rotate(0deg);
    color: var(--text);
    font-size: 15px;
    line-height: 1;
    text-shadow: 0 0 10px #171717;
    transition: color .18s ease, transform .26s ease;
  }

  .cursor-thread {
    position: absolute;
    right: 8px;
    top: 0;
    width: var(--cursor-tail, 24px);
    height: 15px;
    border-top: 1px solid var(--orange);
    border-radius: 50%;
    opacity: .72;
    transform: translateY(-50%) rotate(var(--cursor-angle, 0deg));
    transform-origin: 100% 50%;
    transition: width .12s ease, opacity .18s ease;
  }

  .cursor-halo {
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 18px;
    border: 1px solid var(--orange);
    border-right-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-18deg);
    opacity: .82;
    transition: width .24s ease, height .24s ease, transform .28s ease, background .2s ease, border-color .2s ease;
  }

  .cursor-label {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    color: var(--bg);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .16s ease;
  }

  .cursor.is-link .cursor-halo {
    width: 46px;
    height: 32px;
    transform: translate(-50%, -50%) rotate(72deg);
    background: #d1ae6812;
  }

  .cursor.is-link .cursor-spark {
    color: var(--orange);
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .cursor.is-project .cursor-halo,
  .cursor.is-labeled .cursor-halo {
    width: 86px;
    height: 86px;
    border-color: var(--orange);
    background: var(--orange);
    transform: translate(-50%, -50%) rotate(0deg);
  }

  .cursor.is-project .cursor-spark,
  .cursor.is-labeled .cursor-spark {
    opacity: 0;
  }

  .cursor.is-project .cursor-label,
  .cursor.is-labeled .cursor-label {
    opacity: 1;
  }

  .cursor.is-labeled .cursor-thread {
    width: 34px;
    opacity: .95;
  }
}

@keyframes loader-logo-reveal {
  to { opacity: 1; clip-path: inset(0 0 0 0); }
}

@keyframes loader-thread-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes loader-dot-in {
  to { opacity: 1; }
}

@keyframes loader-copy-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes page-thread-sweep {
  0% { stroke-dashoffset: 1900; opacity: 0; }
  12% { opacity: 1; }
  72% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -450; opacity: 0; }
}

@keyframes gold-shine {
  0% { background-position: 110% 0; }
  100% { background-position: -110% 0; }
}

@media (min-width: 901px) and (max-height: 820px) {
  .header {
    height: 80px;
  }

  .brand-logo {
    width: 154px;
    height: 46px;
    padding: 7px 9px;
  }

  .hero {
    min-height: calc(100svh - 80px);
    padding-top: 24px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(4.6rem, 8.2vw, 7.4rem);
  }

  .hero-bottom {
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .hero-copy p {
    font-size: 15px;
  }

  .button-light {
    margin-top: 16px;
  }

  .orbit {
    width: 122px;
    height: 122px;
  }

  .orbit-star {
    font-size: 48px;
  }

  .hero-footer {
    padding: 14px 0;
  }

  .section-space {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .work,
  .services,
  .process,
  .about,
  .contact {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .work .section-heading h2 {
    font-size: clamp(3.2rem, 4.5vw, 4rem);
  }

  .work .project-visual {
    height: 455px;
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .project-meta {
    margin-bottom: 16px;
  }

  .project-window {
    width: 58%;
  }

  .project-bottom-line {
    margin-top: 16px;
  }

  .project-caption {
    padding: 12px 0;
  }

  .services-intro {
    margin-bottom: 24px;
  }

  .service summary {
    min-height: 76px;
    padding: 12px 0;
  }

  .service-body {
    padding-bottom: 18px;
  }

  .service-body > p {
    font-size: 14px;
    line-height: 1.65;
  }

  .tags {
    margin-top: 12px;
  }

  .text-link {
    margin-top: 14px;
  }

  .service-note {
    margin-top: 16px;
  }

  .curtain-project,
  .craft {
    padding: 16px;
  }

  .curtain-project-stage,
  .craft-frame {
    height: calc(100svh - 32px);
    min-height: 0;
  }

  .curtain-project-card {
    gap: 18px;
    padding: 34px 44px;
  }

  .curtain-project-window {
    width: min(620px, 58%);
  }

  .curtain-project-bottom h2 {
    font-size: clamp(2.3rem, 3.8vw, 3.4rem);
  }

  .craft-copy {
    bottom: 96px;
  }

  .craft-copy h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
  }

  .process-grid {
    margin-top: 30px;
  }

  .process-grid h3 {
    margin-top: 25px;
  }

  .about-intro h2 {
    margin-top: 18px;
    font-size: clamp(2.7rem, 4vw, 3.7rem);
  }

  .about-grid {
    margin-top: 20px;
  }

  .founder-card {
    min-height: 255px;
    padding: 22px;
  }

  .founder-monogram {
    font-size: 96px;
    line-height: 1.35;
  }

  .about-copy > p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.65;
  }

  .about-copy .large-copy {
    font-size: 1.35rem;
  }

  .studio-facts {
    margin-top: 18px;
    padding: 14px 0;
  }

  .studio-facts strong {
    font-size: 38px;
  }

  .technology {
    margin-top: 16px;
  }

  .tech-list {
    margin-top: 10px;
  }

  .tech-list span {
    font-size: 18px;
  }

  .contact {
    padding-top: 48px;
  }

  .contact h2 {
    margin-top: 16px !important;
    font-size: clamp(3.2rem, 6.4vw, 6.5rem);
  }

  .contact-bottom {
    margin-top: 24px;
  }

  .project-selector {
    margin-bottom: 15px;
  }
}

@media (max-width: 600px) {
  .brand-logo {
    width: 152px;
    height: 48px;
    padding: 7px 9px;
  }

  .hero::before {
    right: -130%;
    top: -34%;
  }

  .hero::after {
    right: -148%;
    top: 30%;
  }

  .hero-media video {
    object-position: 58% center;
  }

  .hero-media::after {
    background: linear-gradient(90deg, #171717c2 0%, #17171775 100%), linear-gradient(0deg, #171717bd 0%, transparent 42%, #17171752 100%);
  }

  .curtain-project {
    padding: 10px;
  }

  .curtain-project-stage {
    min-height: 680px;
    height: 88svh;
  }

  .curtain-project-card {
    gap: 18px;
    padding: 24px 18px 26px;
  }

  .curtain-project-top {
    font-size: 9px;
  }

  .curtain-project-top span:last-child {
    display: none;
  }

  .curtain-project-window {
    width: 100%;
    transform: none;
  }

  .curtain-project-bottom {
    display: block;
    padding-top: 16px;
  }

  .curtain-project-bottom h2 {
    font-size: 2.35rem;
  }

  .curtain-project-bottom > strong {
    margin-top: 18px;
    justify-content: space-between;
    padding: 12px 15px;
    border: 1px solid #d1ae6861;
    border-radius: 999px;
  }

  .curtain-prompt {
    width: 68vw;
  }

  .curtain-film video {
    object-position: 35% center;
  }

  .curtain-prompt strong {
    font-size: clamp(2.15rem, 9.5vw, 2.9rem);
  }

  .contact::before {
    right: -520px;
    top: -470px;
  }

  .curtain-handle {
    width: 50px;
    height: 124px;
  }

  .loader-mark {
    width: 90vw;
    padding: 22px 18px;
  }

  .site-loader > p {
    max-width: 280px;
    font-size: 8px;
    line-height: 1.8;
  }

  .page-transition svg {
    width: 180%;
    height: 160px;
  }

  .contact-actions {
    width: 100%;
  }

  .project-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-options span {
    min-height: 44px;
    display: grid;
    place-items: center;
    padding: 8px 10px;
    text-align: center;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor {
    display: none !important;
  }

  .site-loader,
  .page-transition {
    display: none !important;
  }

  .hero-media,
  .hero-top,
  .hero-line,
  .hero-copy p,
  .hero-copy .button,
  .hero .orbit,
  .hero-footer {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Interactive service orbit */
.services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.services::before {
  content: '';
  position: absolute;
  width: 38rem;
  height: 38rem;
  left: 50%;
  top: 57%;
  border-radius: 50%;
  background: radial-gradient(circle, #d1ae6812 0%, #d1ae6805 42%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.services-intro {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
}

.services-intro h2 {
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
}

.service-orbit-stage {
  --service-size: clamp(9.5rem, 13.5vw, 11.5rem);
  position: relative;
  z-index: 2;
  width: 100%;
  height: clamp(30rem, 55vh, 35rem);
  min-height: 30rem;
  margin-top: .25rem;
}

.service-orbit-rings,
.service-orbit-rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #d1ae682c;
  border-radius: 50%;
  pointer-events: none;
}

.service-orbit-rings {
  width: min(80%, 68rem);
  height: 65%;
  border-style: dashed;
  box-shadow: inset 0 0 80px #0003, 0 0 90px #d1ae6808;
}

.service-orbit-rings::before,
.service-orbit-rings::after {
  content: '✦';
  position: absolute;
  top: 50%;
  color: var(--orange);
  font-size: .72rem;
  transform: translateY(-50%);
}

.service-orbit-rings::before { left: -.35rem; }
.service-orbit-rings::after { right: -.35rem; }

.service-orbit-rings span:first-child {
  width: 72%;
  height: 72%;
  border-color: #f6f4ee12;
}

.service-orbit-rings span:last-child {
  width: 34%;
  height: 52%;
  border-color: #d1ae6824;
}

.service-orbit-instruction {
  position: absolute;
  inset: .65rem 0 auto;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .16em;
  pointer-events: none;
}

.service-orbit-centre {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  color: #f6f4ee4a;
  font-family: var(--display);
  font-size: clamp(.68rem, .9vw, .82rem);
  line-height: 1.35;
  letter-spacing: .19em;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity .35s ease, transform .6s ease;
  pointer-events: none;
}

.service-orbit-centre em {
  color: var(--orange);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.service-orbit-stage.has-active .service-orbit-centre {
  opacity: 0;
  transform: translate(-50%, -50%) scale(.75);
}

.service-orbit-stage .service {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: var(--service-size);
  height: var(--service-size);
  overflow: hidden;
  border: 1px solid #d1ae6861;
  border-radius: 50%;
  background: linear-gradient(145deg, #2c2a27f5, #1a1918f7);
  box-shadow: 0 18px 55px #0006, inset 0 0 0 1px #f6f4ee08;
  opacity: 1;
  transform: translate(calc(-50% + var(--orbit-x, 0px)), calc(-50% + var(--orbit-y, 0px)));
  transition: width .72s cubic-bezier(.2,.82,.2,1), height .72s cubic-bezier(.2,.82,.2,1), transform .72s cubic-bezier(.2,.82,.2,1), opacity .45s ease, border-color .3s ease, background .3s ease, box-shadow .45s ease;
  will-change: transform;
}

.service-orbit-stage .service::before {
  content: '';
  position: absolute;
  inset: .55rem;
  border: 1px solid #f6f4ee10;
  border-radius: inherit;
  pointer-events: none;
}

.service-orbit-stage .service:hover {
  border-color: var(--orange);
  background: linear-gradient(145deg, #35312b, #1d1b18);
  box-shadow: 0 22px 65px #0008, 0 0 35px #d1ae6817, inset 0 0 0 1px #f6f4ee0b;
}

.service-orbit-stage .service summary {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 1.35rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-align: center;
}

.service-orbit-stage .service summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -.55rem;
  border-radius: 50%;
}

.service-orbit-stage .service summary h3 {
  max-width: 9rem;
  color: var(--text);
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.service-orbit-stage .service summary:hover h3 {
  color: var(--orange);
}

.service-orbit-stage .service-number {
  color: var(--orange);
  font-size: .72rem;
  letter-spacing: .16em;
}

.service-orbit-stage .service-type {
  color: var(--muted);
  font-size: .57rem;
  letter-spacing: .14em;
}

.service-orbit-stage .service-toggle {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border: 1px solid #d1ae685c;
  border-radius: 50%;
  color: var(--orange);
  font-size: 1rem;
  transition: transform .45s ease, background .3s ease, color .3s ease;
}

.service-orbit-stage .service-body {
  display: none;
}

.service-orbit-stage .service[open] {
  z-index: 8;
  width: min(29rem, 74vw);
  height: min(29rem, 74vw);
  border-color: #d1ae68bd;
  background: radial-gradient(circle at 50% 18%, #373126 0%, #24211d 42%, #181716 100%);
  box-shadow: 0 34px 100px #000b, 0 0 65px #d1ae681c, inset 0 0 0 1px #f6f4ee12;
  transform: translate(-50%, -50%);
}

.service-orbit-stage .service[open] summary {
  height: auto;
  padding: 2.1rem 3.4rem .85rem;
  gap: .35rem;
  justify-content: flex-start;
}

.service-orbit-stage .service[open] summary h3 {
  max-width: 22rem;
  color: var(--text);
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
}

.service-orbit-stage .service[open] .service-toggle {
  position: absolute;
  right: 2.5rem;
  top: 2.5rem;
  background: var(--orange);
  color: var(--bg);
  transform: rotate(45deg);
}

.service-orbit-stage .service[open] .service-body {
  position: relative;
  z-index: 2;
  display: block;
  max-height: 17rem;
  overflow: auto;
  padding: .2rem 3.4rem 3rem;
  scrollbar-width: thin;
  scrollbar-color: #d1ae68 #ffffff0a;
  text-align: center;
}

.service-orbit-stage .service[open] .service-body > p {
  max-width: 23rem;
  margin: auto;
  color: #c8c1b6;
  font-size: .91rem;
  line-height: 1.65;
}

.service-orbit-stage .service[open] .tags {
  justify-content: center;
  margin-top: 1rem;
  gap: .4rem;
}

.service-orbit-stage .service[open] .tags span {
  padding: .35rem .65rem;
  border-color: #d1ae6840;
  font-size: .68rem;
}

.service-orbit-stage .service[open] .text-link {
  margin-top: 1rem;
  color: var(--orange);
  font-size: .78rem;
}

.service-orbit-stage.has-active .service:not([open]) {
  width: 7rem;
  height: 7rem;
  opacity: .34;
  filter: saturate(.5);
}

.service-orbit-stage.has-active .service:not([open]):hover {
  opacity: 1;
  filter: none;
}

.service-orbit-stage.has-active .service:not([open]) summary h3 {
  max-width: 5.5rem;
  font-size: .83rem;
}

.service-orbit-stage.has-active .service:not([open]) .service-type,
.service-orbit-stage.has-active .service:not([open]) .service-toggle {
  display: none;
}

.service-note {
  position: relative;
  z-index: 4;
  margin-top: 0;
}

@media (min-width: 901px) and (max-height: 820px) {
  .services-intro h2 { font-size: clamp(2.4rem, 4vw, 3.65rem); }
  .services-intro > p { font-size: .9rem; }
  .service-orbit-stage { height: clamp(27rem, 57vh, 30rem); min-height: 27rem; }
  .service-orbit-stage .service[open] { width: min(25rem, 66vw); height: min(25rem, 66vw); }
  .service-orbit-stage .service[open] summary { padding-top: 1.65rem; }
  .service-orbit-stage .service[open] .service-body { max-height: 14.5rem; padding-bottom: 2rem; }
}

@media (max-width: 719px) {
  .services { min-height: 100svh; }
  .services::before { width: 26rem; height: 26rem; top: 62%; }
  .services-intro { display: block; }
  .services-intro > p { margin-top: 1rem; font-size: .92rem; line-height: 1.6; }
  .service-orbit-stage { --service-size: 7rem; height: 35rem; min-height: 35rem; margin-top: .5rem; }
  .service-orbit-rings { width: 88%; height: 78%; }
  .service-orbit-instruction { top: 0; font-size: .54rem; letter-spacing: .1em; }
  .service-orbit-stage .service summary { padding: .85rem; gap: .35rem; }
  .service-orbit-stage .service summary h3 { max-width: 5.9rem; font-size: .92rem; }
  .service-orbit-stage .service-type { display: none; }
  .service-orbit-stage .service-toggle { width: 1.35rem; height: 1.35rem; font-size: .82rem; }
  .service-orbit-stage .service[open] { width: min(22rem, calc(100vw - 1.6rem)); height: min(22rem, calc(100vw - 1.6rem)); }
  .service-orbit-stage .service[open] summary { padding: 1.45rem 2.25rem .55rem; }
  .service-orbit-stage .service[open] summary h3 { max-width: 15rem; font-size: 1.45rem; }
  .service-orbit-stage .service[open] .service-type { display: block; }
  .service-orbit-stage .service[open] .service-toggle { right: 1.45rem; top: 1.65rem; }
  .service-orbit-stage .service[open] .service-body { max-height: 13.9rem; padding: 0 2rem 2rem; }
  .service-orbit-stage .service[open] .service-body > p { font-size: .78rem; line-height: 1.48; }
  .service-orbit-stage .service[open] .tags { margin-top: .65rem; gap: .3rem; }
  .service-orbit-stage .service[open] .tags span { padding: .25rem .48rem; font-size: .59rem; }
  .service-orbit-stage .service[open] .text-link { margin-top: .65rem; font-size: .7rem; }
  .service-orbit-stage.has-active .service:not([open]) { width: 4.7rem; height: 4.7rem; }
  .service-orbit-stage.has-active .service:not([open]) summary h3 { display: none; }
  .service-orbit-stage.has-active .service:not([open]) .service-number { font-size: .65rem; }
  .service-orbit-centre { font-size: .58rem; }
  .service-orbit-centre em { font-size: 1.25rem; }
  .service-note { margin-top: -.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .service-orbit-stage .service { transition: none; }
}

/* Scroll-led How We Work story */
.process {
  position: relative;
  display: block;
  height: 420svh;
  max-width: none;
  padding: 0;
  background: #171717;
}

.process-sticky {
  position: sticky;
  top: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, #d1ae680d 0%, transparent 34%),
    linear-gradient(135deg, #171717 0%, #1b1a18 52%, #171717 100%);
  isolation: isolate;
}

.process-sticky::before,
.process-sticky::after {
  content: '';
  position: absolute;
  z-index: 0;
  border: 1px solid #d1ae681f;
  border-radius: 50%;
  pointer-events: none;
}

.process-sticky::before {
  width: min(48rem, 62vw);
  height: min(48rem, 62vw);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 5rem #d1ae6804, 0 0 0 10rem #d1ae6803;
}

.process-sticky::after {
  width: 10px;
  height: 10px;
  left: calc(50% - 5px);
  top: calc(50% - 5px);
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 28px var(--orange);
}

.process-meta {
  position: absolute;
  z-index: 6;
  top: clamp(1.5rem, 4.5vh, 3.25rem);
  left: 6.2%;
  right: 6.2%;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .17em;
}

.process-meta span:first-child { color: var(--orange); }

.process-thread {
  position: absolute;
  z-index: 1;
  inset: 20% -2% 13%;
  opacity: .78;
  pointer-events: none;
}

.process-thread svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.process-thread path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--process-progress, 0));
  filter: drop-shadow(0 0 9px #d1ae6860);
}

.process-thread circle {
  fill: #f6f4ee;
  stroke: var(--orange);
  stroke-width: 3;
  filter: drop-shadow(0 0 12px #d1ae68);
  opacity: var(--thread-dot-opacity, 0);
}

.process-progress {
  position: absolute;
  z-index: 6;
  left: 6.2%;
  right: 6.2%;
  bottom: clamp(1.4rem, 4vh, 3rem);
  height: 1px;
  background: #f6f4ee18;
}

.process-progress span {
  display: block;
  width: calc(var(--process-progress, 0) * 100%);
  height: 1px;
  background: var(--orange);
  box-shadow: 0 0 13px #d1ae6860;
}

.process-progress i {
  position: absolute;
  top: 50%;
  left: calc(var(--process-progress, 0) * 100%);
  width: .5rem;
  height: .5rem;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: #171717;
  transform: translate(-50%, -50%);
  transition: left .08s linear;
}

.process-grid {
  display: contents;
  margin: 0;
}

.process-scene {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: min(72rem, 82vw);
  margin: 0;
  opacity: var(--scene-opacity, 0);
  transform: translate3d(calc(-50% + var(--scene-x, 110vw)), -50%, 0);
  transition: opacity .12s linear;
  will-change: transform, opacity;
  pointer-events: none;
}

.process-intro {
  --scene-x: 0px;
  --scene-opacity: 1;
  text-align: center;
}

.process-intro h2 {
  margin: 0;
  font-size: clamp(4.6rem, 9.5vw, 9.5rem);
  line-height: .95;
  letter-spacing: -.075em;
}

.process-intro p {
  max-width: 43rem;
  margin: clamp(1.6rem, 4vh, 3rem) auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  line-height: 1.65;
}

.process-step {
  width: min(64rem, 78vw);
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 1px solid #d1ae6866;
  background: linear-gradient(90deg, #171717e8 0%, #1b1a18c8 62%, transparent 100%);
  text-align: left;
}

.process-step .step-index {
  display: flex;
  width: min(15rem, 32vw);
  justify-content: space-between;
  padding-top: .9rem;
  border-top: 1px solid var(--orange);
  color: var(--orange);
  font-size: .78rem;
  letter-spacing: .18em;
}

.process-step .step-index span {
  font-size: 1.5rem;
  line-height: .7;
}

.process-step h3 {
  margin-top: clamp(1.3rem, 3vh, 2.2rem);
  color: var(--text);
  font-size: clamp(4.2rem, 9vw, 8.6rem);
  line-height: .94;
  letter-spacing: -.07em;
}

.process-step p {
  max-width: 39rem;
  margin-top: clamp(1.4rem, 3vh, 2.4rem);
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  line-height: 1.75;
}

@media (max-width: 700px) {
  .process { height: 410svh; }
  .process-meta { top: 1.35rem; font-size: .54rem; letter-spacing: .11em; }
  .process-meta span:last-child { max-width: 8rem; text-align: right; }
  .process-thread { inset: 25% -50% 16%; }
  .process-sticky::before { width: 85vw; height: 85vw; box-shadow: 0 0 0 3rem #d1ae6804, 0 0 0 6rem #d1ae6803; }
  .process-scene { width: 88vw; }
  .process-intro h2 { font-size: clamp(3.8rem, 17vw, 5.4rem); line-height: .98; }
  .process-intro p { max-width: 20rem; margin-top: 1.6rem; font-size: 1rem; }
  .process-step { width: 88vw; padding: 2rem 1.4rem 2rem 2rem; }
  .process-step .step-index { width: 9rem; }
  .process-step h3 { margin-top: 1.4rem; font-size: clamp(3.2rem, 13vw, 4.4rem); }
  .process-step p { margin-top: 1.3rem; font-size: .96rem; line-height: 1.65; }
  .process-progress { bottom: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .process { height: auto; }
  .process-sticky { position: relative; height: auto; min-height: 100svh; display: block; padding-top: 6rem; padding-bottom: 6rem; }
  .process-thread,
  .process-progress { display: none; }
  .process-scene { position: relative; left: auto; top: auto; width: 100%; min-height: 70svh; display: flex; flex-direction: column; justify-content: center; opacity: 1 !important; transform: none !important; }
  .process-grid { display: block; }
}

.motion-off .process { height: auto; }
.motion-off .process-sticky { position: relative; height: auto; min-height: 100svh; display: block; padding-top: 6rem; padding-bottom: 6rem; }
.motion-off .process-thread,
.motion-off .process-progress { display: none; }
.motion-off .process-scene { position: relative; left: auto; top: auto; width: 100%; min-height: 70svh; display: flex; flex-direction: column; justify-content: center; opacity: 1 !important; transform: none !important; }
.motion-off .process-grid { display: block; }

/* Outside-to-inside brand story */
.inside-story {
  position: relative;
  height: 300svh;
  max-width: none;
  padding: 0;
  background: #101010;
}

.inside-story-sticky {
  --house-progress: 0;
  --exterior-opacity: 1;
  --exterior-x: 0vw;
  --interior-opacity: 0;
  --interior-x: 10vw;
  --house-thread-progress: 0;
  --house-thread-opacity: 1;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #111 url('/assets/house-frames/frame-001.webp') center / cover no-repeat;
  isolation: isolate;
  contain: layout paint style;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

.inside-story-canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  pointer-events: none;
  contain: strict;
  transform: translateZ(0) scale(1.003);
  backface-visibility: hidden;
}

.inside-story-wash {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
  background:
    linear-gradient(90deg, rgba(12,12,12,.76) 0%, rgba(12,12,12,.32) 42%, rgba(12,12,12,.08) 66%, rgba(12,12,12,.25) 100%),
    linear-gradient(180deg, rgba(12,12,12,.28), transparent 30%, transparent 68%, rgba(12,12,12,.52));
}

.inside-story-wash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(13,13,13,.69) 0%, rgba(13,13,13,.18) 48%, transparent 72%);
  opacity: var(--interior-opacity);
  transition: opacity .1s linear;
}

.inside-story-scene {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: min(720px, 48vw);
  pointer-events: none;
  contain: layout style;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.inside-story-exterior {
  left: 6.2%;
  opacity: var(--exterior-opacity);
  transform: translate3d(var(--exterior-x), -48%, 0);
}

.inside-story-interior {
  right: 6.2%;
  opacity: var(--interior-opacity);
  transform: translate3d(var(--interior-x), -48%, 0);
  text-align: right;
}

.inside-story-scene .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.35rem;
  color: var(--orange);
  font-size: .7rem;
  letter-spacing: .2em;
  text-shadow: 0 2px 20px #000;
}

.inside-story-scene .eyebrow::before {
  content: '';
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 12px #d1ae68;
}

.inside-story-interior .eyebrow { justify-content: flex-end; }
.inside-story-interior .eyebrow::before { order: 2; }

.inside-story-scene h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(3.8rem, 6.6vw, 7.3rem);
  line-height: .94;
  letter-spacing: -.065em;
  text-wrap: balance;
  text-shadow: 0 3px 32px #000b;
}

.inside-story-scene h2 .serif {
  color: var(--orange);
  font-weight: 500;
}

.inside-story-copy {
  max-width: 37rem;
  margin: 1.65rem 0 0;
  color: #f6f4eed6;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.65;
  text-shadow: 0 2px 18px #000;
}

.inside-story-interior .inside-story-copy { margin-left: auto; }

.inside-story-thread {
  position: absolute;
  z-index: 3;
  inset: 14% -2% 10%;
  opacity: var(--house-thread-opacity);
  pointer-events: none;
  contain: layout paint style;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.inside-story-thread svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.inside-story-thread path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--house-thread-progress));
}

.inside-story-thread .inside-story-thread-glow {
  stroke-width: 5;
  opacity: .18;
}

.inside-story-thread circle {
  fill: var(--text);
  stroke: var(--orange);
  stroke-width: 3;
  opacity: clamp(0, calc(var(--house-thread-progress) * 3), 1);
}

.inside-story-meta {
  position: absolute;
  z-index: 5;
  top: clamp(5.8rem, 11vh, 7.6rem);
  left: 6.2%;
  right: 6.2%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  color: #f6f4eeb3;
  font-size: .58rem;
  letter-spacing: .2em;
}

.inside-story-meta i {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: #f6f4ee30;
}

.inside-story-meta i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(var(--house-progress));
  transform-origin: left;
  box-shadow: 0 0 12px #d1ae6899;
}

.inside-story-scroll {
  position: absolute;
  z-index: 5;
  left: 6.2%;
  bottom: clamp(1.4rem, 4vh, 2.8rem);
  display: flex;
  align-items: center;
  gap: .9rem;
  color: #f6f4eeb8;
  font-size: .56rem;
  letter-spacing: .19em;
}

.inside-story-scroll span {
  width: 2.4rem;
  height: 1px;
  overflow: hidden;
  background: #f6f4ee36;
}

.inside-story-scroll span::after {
  content: '';
  display: block;
  width: 50%;
  height: 100%;
  background: var(--orange);
  animation: inside-story-scroll-pulse 1.8s ease-in-out infinite;
}

.inside-story.is-video-unavailable .inside-story-sticky {
  background: radial-gradient(circle at 70% 40%, #3d2d1e 0%, #171717 58%);
}

@keyframes inside-story-scroll-pulse {
  0%, 100% { transform: translateX(-120%); }
  55% { transform: translateX(220%); }
}

@media (max-width: 700px) {
  .inside-story { height: 270svh; }
  .inside-story-sticky { background-position: 53% center; }
  .inside-story-wash {
    background: linear-gradient(180deg, rgba(10,10,10,.22), rgba(10,10,10,.14) 30%, rgba(10,10,10,.7) 76%, rgba(10,10,10,.87));
  }
  .inside-story-wash::after {
    background: linear-gradient(180deg, rgba(10,10,10,.2), rgba(10,10,10,.15) 30%, rgba(10,10,10,.74) 76%, rgba(10,10,10,.9));
  }
  .inside-story-scene {
    top: auto;
    left: 6.5%;
    right: 6.5%;
    bottom: 12vh;
    width: auto;
    text-align: left;
  }
  .inside-story-exterior { transform: translate3d(var(--exterior-x), 0, 0); }
  .inside-story-interior { transform: translate3d(var(--interior-x), 0, 0); }
  .inside-story-interior .eyebrow { justify-content: flex-start; }
  .inside-story-interior .eyebrow::before { order: 0; }
  .inside-story-scene .eyebrow { margin-bottom: 1rem; font-size: .55rem; letter-spacing: .15em; }
  .inside-story-scene h2 { font-size: clamp(3rem, 13vw, 4.3rem); line-height: .98; }
  .inside-story-copy { max-width: 31rem; margin: 1.15rem 0 0; font-size: .95rem; line-height: 1.55; }
  .inside-story-interior .inside-story-copy { margin-left: 0; }
  .inside-story-meta { top: 5.4rem; font-size: .45rem; letter-spacing: .13em; gap: .6rem; }
  .inside-story-thread { inset: 9% -70% 28% -28%; }
  .inside-story-scroll { bottom: 1.35rem; font-size: .46rem; }
}

@media (prefers-reduced-motion: reduce) {
  .inside-story { height: auto; }
  .inside-story-sticky { position: relative; height: auto; min-height: 100svh; padding: 7rem 6.2% 5rem; }
  .inside-story-canvas { opacity: .34; }
  .inside-story-wash { background: #171717b8; }
  .inside-story-thread,
  .inside-story-meta,
  .inside-story-scroll { display: none; }
  .inside-story-scene { position: relative; inset: auto; width: min(780px, 100%); min-height: 62svh; display: flex; flex-direction: column; justify-content: center; opacity: 1 !important; transform: none !important; text-align: left; }
  .inside-story-interior .eyebrow { justify-content: flex-start; }
  .inside-story-interior .eyebrow::before { order: 0; }
  .inside-story-interior .inside-story-copy { margin-left: 0; }
}

.motion-off .inside-story { height: auto; }
.motion-off .inside-story-sticky { position: relative; height: auto; min-height: 100svh; padding: 7rem 6.2% 5rem; }
.motion-off .inside-story-canvas { opacity: .34; }
.motion-off .inside-story-wash { background: #171717b8; }
.motion-off .inside-story-thread,
.motion-off .inside-story-meta,
.motion-off .inside-story-scroll { display: none; }
.motion-off .inside-story-scene { position: relative; inset: auto; width: min(780px, 100%); min-height: 62svh; display: flex; flex-direction: column; justify-content: center; opacity: 1 !important; transform: none !important; text-align: left; }
.motion-off .inside-story-interior .eyebrow { justify-content: flex-start; }
.motion-off .inside-story-interior .eyebrow::before { order: 0; }
.motion-off .inside-story-interior .inside-story-copy { margin-left: 0; }
