@font-face {
  font-family: "BEC Cinzel";
  src: url("assets/fonts/cinzel-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

@font-face {
  font-family: "BEC Raleway";
  src: url("assets/fonts/raleway-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 300 700;
}

:root {
  --paper: #f7f3ef;
  --paper-soft: #eee6df;
  --paper-deep: #dfd1c8;
  --rose: #bd8782;
  --rose-light: #d8aaa5;
  --rosewood: #774b48;
  --wine: #392629;
  --wine-deep: #24171a;
  --sage: #6b756e;
  --ochre: #d1a069;
  --ink: #181614;
  --ink-soft: #5b544f;
  --line: rgba(24, 22, 20, 0.16);
  --line-soft: rgba(24, 22, 20, 0.09);
  --white-line: rgba(255, 255, 255, 0.22);
  --surface: rgba(247, 243, 239, 0.93);
  --surface-soft: rgba(247, 243, 239, 0.78);
  --display: "BEC Cinzel", Georgia, serif;
  --body: "BEC Raleway", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-silk: cubic-bezier(0.45, 0, 0.2, 1);
  --gutter: 4.6vw;
  --header-height: 5.15rem;
  --type-label: 0.76rem;
  --type-body: 0.86rem;
  --type-list-title: 0.98rem;
  --type-card-title: 1.5rem;
  color-scheme: light;
}

html[data-theme="night"] {
  --paper: #2b1c1f;
  --paper-soft: #342326;
  --paper-deep: #493135;
  --rose: #d29a95;
  --rose-light: #e6bbb6;
  --rosewood: #e3aaa5;
  --wine: #25171a;
  --wine-deep: #130c0e;
  --sage: #9eaaa2;
  --ochre: #dcb37e;
  --ink: #f6efea;
  --ink-soft: #c8bbb5;
  --line: rgba(255, 255, 255, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --surface: rgba(42, 27, 30, 0.94);
  --surface-soft: rgba(42, 27, 30, 0.82);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

html {
  background: var(--paper);
}

body {
  position: relative;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  transition: background-color 900ms var(--ease-out), color 700ms var(--ease-out);
}

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

button {
  color: inherit;
  font: inherit;
}

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

img,
svg,
canvas {
  display: block;
}

::selection {
  background: var(--rose);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--rosewood);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.75rem;
  transform: translateY(-150%);
  transition: transform 250ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.journey-world {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: var(--paper-soft);
  pointer-events: none;
}

#journey-canvas,
.journey-fallback,
.journey-wash,
.journey-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#journey-canvas {
  z-index: 1;
  opacity: 0;
}

.webgl-ready #journey-canvas {
  opacity: 1;
}

.journey-fallback {
  z-index: 0;
  background-image: url("assets/media/scene-01-concierge-v2.webp");
  background-position: center;
  background-size: cover;
}

.webgl-ready .journey-fallback {
  opacity: 0;
}

.journey-wash {
  z-index: 2;
  background: none;
}

.journey-grain {
  z-index: 3;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

body[data-scene="arrival"] .journey-wash {
  background: none;
}

body[data-scene="foundation"] .journey-wash {
  background: var(--paper);
}

body[data-scene="services"] .journey-wash {
  background: var(--paper);
}

body[data-scene="portfolio"] .journey-wash {
  background: var(--wine-deep);
}

body[data-scene="difference"] .journey-wash {
  background: none;
}

body[data-scene="commitment"] .journey-wash {
  background: var(--paper);
}

body[data-scene="contact"] .journey-wash {
  background: none;
}

.deck-masthead {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0.55rem var(--gutter);
  pointer-events: none;
}

.deck-brand {
  width: 7.3rem;
  height: 3.8rem;
  overflow: hidden;
  pointer-events: auto;
}

.deck-brand img,
.contact-lockup img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

html[data-theme="night"] .deck-brand img,
html[data-theme="night"] .contact-lockup img {
  mix-blend-mode: screen;
  filter: brightness(1.16) contrast(0.88);
}

.deck-chapter {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink-soft);
  font-size: var(--type-label);
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 600ms ease;
}

.deck-chapter__line {
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  transform-origin: left;
  transition: transform 700ms var(--ease-out);
}

body.is-transitioning .deck-chapter__line {
  transform: scaleX(0.25);
}

.theme-toggle {
  position: relative;
  justify-self: end;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 350ms ease, background 350ms ease, color 350ms ease;
}

.deck-arrow::before,
.contact-action::before {
  position: absolute;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-160%) skewX(-12deg);
  transition: transform 700ms var(--ease-out);
}

.deck-arrow::before {
  inset: 0;
  border-radius: inherit;
}

.deck-arrow:hover::before,
.contact-action:hover::before {
  transform: translateX(160%) skewX(-12deg);
}

.theme-toggle:hover {
  border-color: var(--rosewood);
  color: var(--rosewood);
}

.theme-toggle__orbit {
  position: absolute;
  inset: 0.33rem;
  border: 1px solid color-mix(in srgb, var(--rosewood) 28%, transparent);
  border-radius: 50%;
  transform: scale(0.75);
  transition: transform 500ms var(--ease-out), opacity 500ms ease;
}

.theme-toggle:hover .theme-toggle__orbit {
  opacity: 0;
  transform: scale(1.18);
}

.theme-toggle svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  transform: translate(-50%, -50%);
  transition: opacity 500ms ease, transform 600ms var(--ease-out);
}

.theme-toggle__sun,
html[data-theme="night"] .theme-toggle__moon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-45deg) scale(0.6) !important;
}

html[data-theme="night"] .theme-toggle__sun {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0) scale(1) !important;
}

.deck {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  isolation: isolate;
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.slide.is-active,
.slide.is-entering,
.slide.is-exiting {
  visibility: visible;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide.is-entering {
  z-index: 4;
  opacity: 1;
  animation: slide-enter 760ms var(--ease-silk) both;
}

.slide.is-exiting {
  z-index: 3;
  opacity: 1;
  animation: slide-exit 760ms linear both;
}

.slide[data-motion="folio"].is-entering {
  animation-name: folio-enter;
}

.slide[data-motion="salon"].is-entering {
  animation-name: salon-enter;
}

.slide[data-motion="passage"].is-entering,
.slide[data-motion="threshold"].is-entering {
  animation-name: passage-enter;
}

.slide[data-motion="arrival"].is-entering {
  animation-name: arrival-enter;
}

.slide__architecture {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.slide__architecture::before,
.slide__architecture::after {
  position: absolute;
  content: "";
}

.slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: calc(var(--header-height) + 1.2rem) var(--gutter) 5.1rem;
}

.reveal {
  opacity: 0;
}

.slide.is-active .reveal,
.slide.is-entering .reveal {
  animation: content-reveal 620ms var(--ease-silk) both;
  animation-delay: calc(70ms + (var(--order, 0) * 45ms));
}

.slide.is-exiting .reveal {
  animation: content-exit 130ms linear both;
}

.editorial-photo-reveal {
  opacity: 0;
  clip-path: inset(0 0 12% 0);
}

.slide.is-active .editorial-photo-reveal,
.slide.is-entering .editorial-photo-reveal {
  animation: editorial-photo-reveal 920ms var(--ease-silk) both;
  animation-delay: 210ms;
}

.eyebrow {
  margin: 0;
  color: var(--rosewood);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.editorial-heading h2,
.difference-heading h2,
.contact-layout h2,
.cover-title,
.overview-column h3,
.difference-card h3,
.commitment-column h3,
.portfolio-column h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
}

.editorial-heading h2,
.difference-heading h2,
.contact-layout h2 {
  margin-top: 0.7rem;
  font-size: 3.15rem;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.editorial-heading h2 span,
.difference-heading h2 span,
.contact-layout h2 span {
  color: var(--rosewood);
}

.editorial-heading--inverse h2,
.editorial-heading--inverse .eyebrow {
  color: white;
}

.editorial-heading--inverse h2 span {
  color: var(--rose-light);
}

.column-index {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: var(--rosewood);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.column-index::after {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0.42;
}

.editorial-list,
.portfolio-column ul,
.numbered-principles {
  margin: 0;
  padding: 0;
  list-style: none;
}

.editorial-list li,
.portfolio-column li,
.numbered-principles li {
  display: grid;
  border-top: 1px solid var(--line-soft);
}

.editorial-list li {
  gap: 0.25rem;
  padding: 0.78rem 0;
}

.editorial-list strong,
.editorial-list span,
.portfolio-column strong,
.portfolio-column span,
.numbered-principles strong,
.numbered-principles span {
  display: block;
}

.editorial-list strong {
  font-family: var(--display);
  font-size: var(--type-list-title);
  font-weight: 500;
  line-height: 1.25;
}

.editorial-list span {
  color: var(--ink-soft);
  font-size: var(--type-body);
  line-height: 1.45;
}

.scene-caption {
  position: absolute;
  z-index: 10;
  right: var(--gutter);
  bottom: 5.9rem;
  display: flex;
  width: min(22rem, 40vw);
  min-width: 0;
  gap: 2rem;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 0.65rem;
  color: var(--ink-soft);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.scene-caption--light {
  border-color: rgba(255, 255, 255, 0.44);
  color: white;
}

.scene-caption--cover {
  border-color: var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  padding: 0.65rem 0.8rem;
  color: var(--rosewood);
}

/* Cover — the private folio opens onto the scene. */
.slide__architecture--cover::before {
  top: 0;
  bottom: 0;
  left: 0;
  width: 47%;
  border-right: 1px solid var(--line);
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

.slide__architecture--cover::after {
  top: var(--header-height);
  left: calc(47% - 1px);
  width: 1px;
  height: calc(100% - var(--header-height) - 4.4rem);
  background: var(--rose);
}

.cover-copy {
  display: flex;
  width: 43%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 3.8rem;
}

.cover-title {
  margin: 1.2rem 0 1.35rem;
  font-size: 4.55rem;
  letter-spacing: -0.07em;
  line-height: 0.87;
}

.cover-title span {
  display: block;
}

.cover-title__accent {
  color: var(--rosewood);
}

.cover-deckline {
  margin: 0;
  max-width: 25rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1.45;
}

.cover-quote {
  max-width: 30rem;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-style: normal;
  line-height: 1.75;
}

.cover-vignette {
  position: absolute;
  z-index: 7;
  top: 14%;
  left: 47%;
  width: 15.5rem;
  height: 19.5rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-left-color: var(--rose);
  background: var(--paper);
}

.cover-vignette img,
.service-vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover-vignette figcaption,
.service-vignette figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  padding: 0.62rem 0.72rem;
  color: var(--rosewood);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.continue-cue {
  position: absolute;
  z-index: 12;
  bottom: 5.55rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink-soft);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.continue-cue__line {
  position: relative;
  width: 3.4rem;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.continue-cue__line::after {
  position: absolute;
  inset: 0;
  background: var(--rosewood);
  content: "";
  transform: translateX(-100%);
  animation: cue-travel 2.4s var(--ease-in-out) infinite;
}

/* Overview — a quiet editorial salon. */
.slide__architecture--overview::before {
  inset: 0;
  background: var(--paper);
}

.slide__architecture--overview::after {
  top: 15%;
  right: 26%;
  width: 28%;
  height: 68%;
  border: 1px solid var(--line-soft);
  border-radius: 46% 46% 0 0;
}

.overview-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 0.72fr 1.25fr;
  grid-template-rows: auto 1fr;
  gap: 1.4rem 2.5rem;
}

.editorial-heading--wide {
  grid-column: 1 / 4;
}

.overview-column {
  align-self: center;
}

.overview-column h3,
.difference-card h3,
.commitment-column h3,
.portfolio-column h3 {
  margin-bottom: 1.1rem;
  font-size: var(--type-card-title);
  line-height: 1.1;
}

.overview-column--who {
  grid-column: 1 / 2;
}

.overview-portrait {
  position: relative;
  grid-column: 2 / 3;
  width: 100%;
  height: min(56vh, 35rem);
  margin: 0;
  align-self: center;
  overflow: hidden;
  clip-path: polygon(0 0, 90% 0, 100% 10%, 100% 100%, 0 100%);
}

.overview-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.overview-portrait figcaption,
.commitment-detail figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.85rem 1rem;
  background: var(--wine-deep);
  color: white;
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.overview-column--foundation {
  grid-column: 3 / 4;
}

/* Services — taxonomy drives real media. */
.slide__architecture--services::before {
  inset: 0;
  background: var(--paper);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  grid-template-rows: auto 1fr;
  gap: 1.35rem 5vw;
}

.services-heading {
  grid-column: 1 / -1;
}

.service-explorer {
  display: contents;
}

.service-index {
  align-self: stretch;
  border-bottom: 1px solid var(--line-soft);
}

.service-tab {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 4.65rem;
  grid-template-columns: 2.2rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  border-top: 1px solid var(--line-soft);
  background: transparent;
  padding: 0.55rem 0.45rem 0.55rem 0;
  text-align: left;
  cursor: pointer;
  transition: color 350ms ease, padding 500ms var(--ease-out), background 500ms ease;
}

.service-tab::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: color-mix(in srgb, var(--rose) 10%, transparent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 520ms var(--ease-out);
}

.service-tab:hover,
.service-tab.is-selected {
  color: var(--rosewood);
  padding-left: 0.65rem;
}

.service-tab.is-selected::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-tab__number {
  color: var(--rosewood);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.service-tab__copy strong {
  display: block;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.2;
}

.service-tab__copy small {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: var(--type-body);
  line-height: 1.35;
}

.service-tab__arrow {
  opacity: 0;
  transform: translate3d(-0.5rem, 0.5rem, 0);
  transition: opacity 350ms ease, transform 500ms var(--ease-out);
}

.service-tab:hover .service-tab__arrow,
.service-tab.is-selected .service-tab__arrow {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.service-media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 92% 0, 100% 12%, 100% 100%, 0 100%);
  background: var(--paper-deep);
}

.service-image {
  position: absolute;
  inset: 0;
  margin: 0;
  clip-path: inset(0 0 0 100%);
  opacity: 1;
  transition: clip-path 640ms var(--ease-silk);
  filter: saturate(0.96) contrast(1);
}

.service-image.is-selected {
  z-index: 2;
  clip-path: inset(0);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-vignette {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  width: 8.8rem;
  height: 44%;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  background: var(--paper-deep);
}

.service-media__label {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  background: var(--wine-deep);
  padding: 0.9rem 1.2rem;
  color: white;
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Portfolio — a dark cinematic passage for credibility. */
.slide--portfolio {
  color: #fbf6f2;
}

.slide__architecture--portfolio::before {
  inset: 0;
  background: var(--wine-deep);
}

.slide__architecture--portfolio::after {
  display: none;
}

body[data-scene="portfolio"] .deck-masthead,
body[data-scene="difference"] .deck-masthead,
body[data-scene="contact"] .deck-masthead {
  color: white;
}

body[data-scene="portfolio"] .deck-chapter,
body[data-scene="difference"] .deck-chapter,
body[data-scene="contact"] .deck-chapter {
  color: rgba(255, 255, 255, 0.74);
}

body[data-scene="portfolio"] .theme-toggle,
body[data-scene="difference"] .theme-toggle,
body[data-scene="contact"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--wine-deep);
  color: white;
}

body[data-scene="portfolio"] .deck-brand img,
body[data-scene="difference"] .deck-brand img,
body[data-scene="contact"] .deck-brand img {
  mix-blend-mode: screen;
  filter: brightness(1.2);
}

.portfolio-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 0.85rem 3.8rem;
  padding-bottom: 6.8rem;
}

.portfolio-heading {
  grid-column: 1 / -1;
  max-width: 56rem;
}

.portfolio-columns {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-self: center;
}

.portfolio-column {
  max-width: 34rem;
  padding: 1.3rem 1.55rem 1.4rem;
  border-top: 1px solid var(--white-line);
  background: transparent;
}

.portfolio-column h3 {
  color: var(--rose-light);
  font-size: 1.6rem;
}

.portfolio-column li {
  grid-template-columns: 11.25rem 1fr;
  gap: 1rem;
  border-color: var(--white-line);
  padding: 0.68rem 0;
}

.portfolio-column strong {
  color: white;
  font-family: var(--display);
  font-size: var(--type-list-title);
  font-weight: 500;
  line-height: 1.35;
}

.portfolio-column span {
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--type-body);
  line-height: 1.48;
}

.logo-marquee {
  --logo-gap: clamp(3.4rem, 5.2vw, 6.8rem);
  position: relative;
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  padding: 1.2rem 0 1.4rem;
  border: 0;
  background: transparent;
  contain: layout paint;
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: logo-drift 48s linear 800ms infinite;
  animation-play-state: paused;
  will-change: transform;
}

.slide.is-active .logo-marquee__track {
  animation-play-state: running;
}

.logo-marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: var(--logo-gap);
  padding-inline: calc(var(--logo-gap) / 2);
}

.logo-mark {
  display: flex;
  flex: 0 0 clamp(9.25rem, 10.5vw, 12.75rem);
  height: clamp(3.9rem, 4.8vw, 5.4rem);
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  background: transparent;
  padding: 0;
}

.logo-mark img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity 350ms ease, filter 350ms ease;
}

.logo-mark--lvmh,
.logo-mark--universal {
  flex-basis: clamp(10.5rem, 12vw, 14.5rem);
}

.logo-mark--balenciaga {
  flex-basis: clamp(11rem, 13vw, 15.5rem);
}

.logo-mark--balenciaga img {
  transform: scale(1.48);
}

.logo-mark--gaultier {
  flex-basis: clamp(8.8rem, 9.5vw, 11rem);
}

.logo-mark--gaultier img {
  transform: scale(1.82);
}

.logo-mark--amaffi,
.logo-mark--bristol,
.logo-mark--daniel {
  flex-basis: clamp(8.6rem, 9.5vw, 11.25rem);
}

.logo-mark--daniel img {
  max-width: 92%;
  max-height: 92%;
}

.logo-mark:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1.2);
}

@keyframes logo-drift {
  to { transform: translate3d(-50%, 0, 0); }
}

/* Difference — the photographic threshold. */
.slide--difference {
  color: white;
}

.slide__architecture--difference::before {
  top: 0;
  right: 0;
  left: 0;
  height: 28%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--wine-deep);
}

.slide__architecture--difference::after {
  right: 9%;
  bottom: 4.5rem;
  width: 25%;
  height: 48%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 48% 48% 0 0;
}

.difference-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 1.9rem 2rem;
}

.difference-heading {
  grid-column: 1 / -1;
  color: white;
}

.difference-heading h2 span,
.difference-heading .eyebrow {
  color: var(--rose-light);
}

.difference-card {
  width: min(100%, 33rem);
  align-self: end;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--paper);
  color: var(--ink);
  padding: 1.55rem 1.8rem 1.65rem;
}

.difference-card--operations {
  justify-self: end;
}

.difference-card .editorial-list li {
  grid-template-columns: 10.75rem 1fr;
  align-items: start;
  gap: 1.1rem;
  padding: 0.66rem 0;
}

.difference-card .editorial-list strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.difference-card .editorial-list span {
  font-size: var(--type-body);
  line-height: 1.48;
}

.slide--difference > .scene-caption {
  top: calc(28% + 1rem);
  bottom: auto;
}

/* Commitment — precision and transparency. */
.slide__architecture--commitment::before {
  inset: 0;
  background: var(--paper);
}

.slide__architecture--commitment::after {
  top: 11%;
  right: 25%;
  width: 20%;
  height: 62%;
  border: 1px solid var(--line-soft);
  border-radius: 50% 50% 0 0;
}

.commitment-layout {
  display: grid;
  grid-template-columns: 1fr 0.82fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 1.5rem 2.6rem;
}

.commitment-heading {
  grid-column: 1 / -1;
}

.commitment-column {
  align-self: center;
}

.numbered-principles {
  counter-reset: principle;
}

.numbered-principles li {
  position: relative;
  counter-increment: principle;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem 0.7rem;
  padding: 0.72rem 0;
}

.numbered-principles li::before {
  grid-row: 1 / 3;
  color: var(--rosewood);
  content: "0" counter(principle);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.numbered-principles strong {
  font-family: var(--display);
  font-size: var(--type-list-title);
  font-weight: 500;
}

.numbered-principles span {
  color: var(--ink-soft);
  font-size: var(--type-body);
}

.commitment-detail {
  position: relative;
  height: min(51vh, 32rem);
  margin: 0;
  align-self: center;
  overflow: hidden;
  clip-path: polygon(0 0, 88% 0, 100% 12%, 100% 100%, 0 100%);
}

.commitment-detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.security-note {
  margin: 1rem 0 0;
  border-left: 1px solid var(--rosewood);
  padding-left: 0.85rem;
  color: var(--ink-soft);
  font-size: var(--type-body);
  font-style: italic;
  line-height: 1.55;
}

/* Contact — the journey resolves into an invitation. */
.slide--contact {
  color: white;
}

.slide__architecture--contact::before {
  top: 8%;
  bottom: 7%;
  left: 7%;
  width: min(42rem, 52%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--wine-deep);
  clip-path: polygon(0 0, 94% 0, 100% 7%, 100% 100%, 0 100%);
}

.slide__architecture--contact::after {
  top: 8%;
  bottom: 7%;
  left: calc(7% + min(42rem, 52%));
  width: 1px;
  background: var(--rose-light);
  opacity: 0.48;
}

.contact-layout {
  display: flex;
  width: min(36rem, 46%);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  margin-left: 4vw;
  padding-right: 2rem;
}

.contact-lockup {
  width: 7.8rem;
  height: 4rem;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.contact-layout h2 {
  color: white;
}

.contact-layout h2 span,
.contact-layout .eyebrow {
  color: var(--rose-light);
}

.contact-subtitle {
  max-width: 30rem;
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.5;
}

.contact-actions {
  width: 100%;
  margin-top: 1.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-action {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 3.2rem 1fr auto;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.95rem 0.2rem;
  transition: padding 500ms var(--ease-out), color 350ms ease;
}

.contact-action::before {
  inset: 0;
  opacity: 0.28;
}

.contact-action:hover {
  padding-right: 0.65rem;
  padding-left: 0.65rem;
  color: var(--rose-light);
}

.contact-action__label {
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-action strong {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: var(--type-label);
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.availability span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #c6d0c4;
  animation: availability-pulse 2.4s ease-in-out infinite;
}

.contact-quote {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: var(--type-body);
  line-height: 1.65;
}

.deck-controls {
  position: fixed;
  z-index: 80;
  right: var(--gutter);
  bottom: 1.4rem;
  left: var(--gutter);
  display: grid;
  grid-template-columns: 2.8rem 1fr 2.8rem;
  align-items: center;
  gap: 1rem;
  pointer-events: none;
}

.deck-arrow {
  position: relative;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 350ms ease, background 350ms ease, color 350ms ease, opacity 350ms ease;
}

.deck-arrow svg {
  width: 1rem;
  height: 1rem;
  transition: transform 450ms var(--ease-out);
}

.deck-arrow--previous:hover svg {
  transform: translateX(-0.18rem);
}

.deck-arrow--next {
  justify-self: end;
}

.deck-arrow--next:hover svg {
  transform: translateX(0.18rem);
}

.deck-arrow:hover {
  border-color: var(--rosewood);
  color: var(--rosewood);
}

.deck-arrow:disabled {
  opacity: 0.26;
  cursor: default;
}

.deck-arrow:disabled::before {
  display: none;
}

.deck-progress {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink-soft);
  font-size: var(--type-label);
  font-weight: 700;
  letter-spacing: 0.16em;
  transition: color 500ms ease;
}

.deck-progress__track {
  position: relative;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.deck-progress__track span {
  position: absolute;
  inset: 0;
  background: var(--rosewood);
  transform: scaleX(calc(1 / 7));
  transform-origin: left;
  transition: transform 1s var(--ease-out), background 500ms ease;
}

body[data-scene="portfolio"] .deck-progress,
body[data-scene="difference"] .deck-progress,
body[data-scene="contact"] .deck-progress {
  color: rgba(255, 255, 255, 0.72);
}

body[data-scene="portfolio"] .deck-progress__track,
body[data-scene="difference"] .deck-progress__track,
body[data-scene="contact"] .deck-progress__track {
  background: rgba(255, 255, 255, 0.22);
}

body[data-scene="portfolio"] .deck-progress__track span,
body[data-scene="difference"] .deck-progress__track span,
body[data-scene="contact"] .deck-progress__track span {
  background: var(--rose-light);
}

body[data-scene="portfolio"] .deck-arrow,
body[data-scene="difference"] .deck-arrow,
body[data-scene="contact"] .deck-arrow {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--wine-deep);
  color: white;
}

.noscript-note {
  position: fixed;
  z-index: 100;
  inset: auto 1rem 1rem;
  margin: 0;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}

@keyframes content-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes content-exit {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes editorial-photo-reveal {
  from { opacity: 0; clip-path: inset(0 0 12% 0); }
  to { opacity: 1; clip-path: inset(0); }
}

@keyframes slide-enter {
  from { clip-path: inset(0 0 0 100%); opacity: 1; }
  to { clip-path: inset(0); opacity: 1; }
}

@keyframes slide-exit {
  from { opacity: 1; }
  to { opacity: 1; }
}

@keyframes folio-enter {
  from { clip-path: inset(0 0 0 100%); opacity: 1; }
  to { clip-path: inset(0); opacity: 1; }
}

@keyframes salon-enter {
  from { clip-path: inset(0 0 0 100%); opacity: 1; }
  to { clip-path: inset(0); opacity: 1; }
}

@keyframes passage-enter {
  from { clip-path: inset(0 0 0 100%); opacity: 1; }
  to { clip-path: inset(0); opacity: 1; }
}

@keyframes arrival-enter {
  from { clip-path: inset(0 0 0 100%); opacity: 1; }
  to { clip-path: inset(0); opacity: 1; }
}

@keyframes cue-travel {
  0% { transform: translateX(-100%); }
  45%, 65% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@keyframes availability-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}

@media (min-width: 1600px) {
  :root { --gutter: 5.3vw; }
  .cover-title { font-size: 5rem; }
  .cover-copy { padding-right: 5rem; }
  .overview-layout { column-gap: 3rem; }
}

@media (max-width: 1180px) {
  :root { --gutter: 3.2rem; }
  .cover-title { font-size: 3.7rem; }
  .cover-copy { width: 44%; padding-right: 2.6rem; }
  .cover-vignette { left: 46.5%; width: 12.5rem; height: 16rem; }
  .editorial-heading h2,
  .difference-heading h2,
  .contact-layout h2 { font-size: 2.65rem; }
  .overview-layout { grid-template-columns: 0.9fr 1.05fr 0.9fr; column-gap: 1.6rem; }
  .overview-portrait { grid-column: 2 / 3; }
  .overview-column--foundation { grid-column: 3 / 4; }
  .portfolio-columns { gap: 1.8rem; }
  .portfolio-column li { grid-template-columns: 8rem 1fr; }
  .logo-marquee { --logo-gap: clamp(2.8rem, 4.5vw, 4.8rem); }
  .logo-mark { height: 4.9rem; }
  .difference-card { width: min(100%, 28rem); }
  .commitment-layout { column-gap: 1.5rem; }
  .service-vignette { width: 7.6rem; height: 40%; }
}

@media (max-height: 760px) and (min-width: 769px) {
  :root { --header-height: 4.4rem; }
  .slide__content { padding-top: calc(var(--header-height) + 0.5rem); }
  .cover-title { margin: 0.75rem 0 0.9rem; font-size: 3.6rem; }
  .cover-quote { margin-top: 1.1rem; font-size: 0.84rem; }
  .editorial-heading h2,
  .difference-heading h2,
  .contact-layout h2 { font-size: 2.45rem; }
  .service-tab { min-height: 3.75rem; }
  .service-tab__copy small { font-size: 0.82rem; }
  .portfolio-column { padding-top: 0.75rem; padding-bottom: 0.75rem; }
  .portfolio-column h3 { font-size: 1.3rem; }
  .portfolio-column li { padding: 0.36rem 0; }
  .portfolio-column strong { font-size: 0.9rem; }
  .portfolio-column span { font-size: 0.84rem; }
  .portfolio-layout { padding-bottom: 5.8rem; }
  .logo-mark { height: 4.35rem; }
  .difference-card .editorial-list li { padding: 0.52rem 0; }
  .commitment-detail { height: 44vh; }
}

@media (max-width: 900px) {
  :root { --gutter: 1.5rem; --header-height: 4.5rem; }
  .deck-masthead { grid-template-columns: 1fr auto; }
  .deck-chapter { display: none; }
  .deck-brand { width: 6.2rem; height: 3.2rem; }
  .slide { inset: 0 0 4.9rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
  .slide::-webkit-scrollbar { display: none; }
  .slide__content { height: auto; min-height: 100%; padding: calc(var(--header-height) + 1.2rem) var(--gutter) 6.7rem; }
  .journey-wash { background: none; }
  body[data-scene="foundation"] .journey-wash,
  body[data-scene="services"] .journey-wash,
  body[data-scene="commitment"] .journey-wash {
    background: var(--paper);
  }
  body[data-scene="portfolio"] .journey-wash { background: var(--wine-deep); }
  .slide__architecture--cover::before { width: 100%; height: 59%; border-right: 0; border-bottom: 1px solid var(--line); clip-path: polygon(0 0, 100% 0, 100% 92%, 90% 100%, 0 100%); }
  .slide__architecture--cover::after { top: calc(59% - 1px); left: 8%; width: 84%; height: 1px; }
  .cover-copy { width: 100%; min-height: 56vh; justify-content: flex-end; padding: calc(var(--header-height) + 0.5rem) var(--gutter) 2.2rem; }
  .cover-title { margin: 0.85rem 0 1rem; font-size: 3.45rem; }
  .cover-deckline { max-width: 21rem; font-size: 0.95rem; }
  .cover-quote { max-width: 25rem; margin-top: 1.2rem; font-size: 0.86rem; }
  .cover-vignette { top: 60%; right: var(--gutter); left: auto; width: 10.2rem; height: 13rem; }
  .continue-cue { bottom: 5.25rem; }
  .scene-caption { display: none; }
  .overview-layout,
  .services-layout,
  .portfolio-layout,
  .difference-layout,
  .commitment-layout { display: block; }
  .editorial-heading,
  .difference-heading { margin-bottom: 2rem; }
  .editorial-heading h2,
  .difference-heading h2,
  .contact-layout h2 { font-size: 2.6rem; }
  .overview-column { margin-top: 2rem; }
  .overview-portrait { width: 78%; height: 52vh; margin: 2rem 0 1.5rem auto; }
  .service-index { margin-bottom: 1.3rem; }
  .service-tab { min-height: 4.2rem; }
  .service-media { min-height: 58vh; }
  .service-vignette { width: 8.2rem; height: 42%; }
  .portfolio-columns { display: block; }
  .portfolio-column { margin-bottom: 1.2rem; }
  .logo-marquee {
    --logo-gap: 2.7rem;
    margin-top: 1.3rem;
    overflow: hidden;
  }
  .logo-marquee__track { animation-duration: 38s; }
  .logo-mark { flex-basis: 8.25rem; height: 4.6rem; }
  .logo-mark--lvmh,
  .logo-mark--universal { flex-basis: 9.5rem; }
  .logo-mark--balenciaga { flex-basis: 9.75rem; }
  .logo-mark--gaultier,
  .logo-mark--amaffi,
  .logo-mark--bristol,
  .logo-mark--daniel { flex-basis: 8rem; }
  .slide__architecture--portfolio::before { inset: 0; }
  .difference-card { width: 100%; margin-top: 1.3rem; }
  .difference-card--operations { margin-left: 0; }
  .commitment-column { margin-top: 1.7rem; }
  .commitment-detail { width: 78%; height: 50vh; margin: 1.7rem 0 1rem auto; }
  .contact-layout { width: min(100%, 34rem); min-height: calc(100vh - 6.7rem); margin-left: 0; padding-right: 0; }
  .slide__architecture--contact::before { inset: 5.2rem 1rem 5.3rem; width: auto; }
  .slide__architecture--contact::after { display: none; }
  .deck-controls { right: var(--gutter); left: var(--gutter); }
}

@media (max-width: 540px) {
  :root { --gutter: 1.1rem; }
  .theme-toggle,
  .deck-arrow { width: 2.75rem; height: 2.75rem; }
  .cover-title { font-size: 2.75rem; }
  .cover-copy { min-height: 58vh; }
  .editorial-heading h2,
  .difference-heading h2,
  .contact-layout h2 { font-size: 2.15rem; }
  .overview-portrait,
  .commitment-detail { width: 88%; height: 46vh; }
  .service-tab { grid-template-columns: 1.8rem 1fr auto; min-height: 4.5rem; }
  .service-tab__copy strong { font-size: 1rem; }
  .service-tab__copy small { font-size: 0.82rem; }
  .service-media { min-height: 50vh; }
  .service-vignette { width: 6.8rem; height: 38%; }
  .cover-vignette { width: 8.4rem; height: 10.8rem; }
  .cover-vignette figcaption,
  .service-vignette figcaption { padding: 0.48rem 0.52rem; font-size: 0.78rem; letter-spacing: 0.08em; }
  .portfolio-column { padding: 1rem; }
  .portfolio-column li { grid-template-columns: 1fr; gap: 0.2rem; }
  .difference-card { padding: 1.2rem 1.1rem; }
  .difference-card .editorial-list li { grid-template-columns: 1fr; gap: 0.2rem; }
  .contact-actions { margin-top: 1.2rem; }
  .contact-action { grid-template-columns: 2.7rem 1fr auto; gap: 0.55rem; }
  .contact-action strong { font-size: 0.92rem; overflow-wrap: anywhere; }
  .contact-quote { font-size: 0.84rem; }
  .deck-progress { gap: 0.6rem; }
}

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

  .logo-marquee__track {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
