:root {
  --ivory: #f8f0e6;
  --pearl: #fffaf3;
  --ink: #151111;
  --soft-ink: #5a4e46;
  --smoke: rgba(21, 17, 17, 0.58);
  --line: rgba(255, 250, 243, 0.24);
  --ruby: #8f1432;
  --ruby-deep: #4b0718;
  --emerald: #0a5c4a;
  --denim: #214c76;
  --gold: #c8a059;
  --blush: #e9c5bd;
  --accent: var(--ruby);
  --accent-deep: var(--ruby-deep);
  --accent-soft: #f0d7d9;
  --mood-glow: rgba(143, 20, 50, 0.4);
  --section-gap: clamp(360px, 46svh, 520px);
  color-scheme: light;
}

body.mood-emerald {
  --accent: var(--emerald);
  --accent-deep: #06372d;
  --accent-soft: #d6e8df;
  --mood-glow: rgba(10, 92, 74, 0.42);
}

body.mood-denim {
  --accent: var(--denim);
  --accent-deep: #102a45;
  --accent-soft: #d7e1ec;
  --mood-glow: rgba(33, 76, 118, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  scroll-padding-bottom: 76px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mix-blend-mode: soft-light;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 80;
  padding: 10px 14px;
  color: var(--pearl);
  background: var(--ink);
  transform: translateY(-140%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto auto;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(248, 240, 230, 0.78);
  border-bottom: 1px solid rgba(21, 17, 17, 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta {
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  font-family: Didot, "Bodoni 72", "Times New Roman", serif;
  font-size: 1.25rem;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  transform: rotate(45deg);
}

.site-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 70;
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 5px;
  overflow-x: hidden;
  color: var(--pearl);
  border: 1px solid rgba(255, 250, 243, 0.24);
  border-radius: 999px;
  background: rgba(21, 17, 17, 0.62);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--pearl);
  outline: none;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: #fff;
  border-color: var(--accent-deep);
  background: var(--accent-deep);
  outline: none;
}

.grand-parallax {
  position: relative;
  min-height: 100svh;
  background: var(--ivory);
}

.parallax-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 11%, var(--mood-glow), transparent 27%),
    radial-gradient(circle at 8% 76%, rgba(200, 160, 89, 0.34), transparent 32%),
    linear-gradient(160deg, #fff8ee 0%, #ead4c4 44%, #ccbeb0 100%);
  isolation: isolate;
}

.stage-sky {
  position: absolute;
  inset: -14% -28%;
  z-index: 0;
  opacity: 0.72;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 204, 148, 0.9), transparent 10%),
    linear-gradient(90deg, rgba(255, 250, 243, 0.86), rgba(255, 250, 243, 0.2) 46%, rgba(143, 20, 50, 0.14)),
    repeating-linear-gradient(90deg, rgba(21, 17, 17, 0.045) 0 1px, transparent 1px 86px);
  transform: translate3d(0, var(--sky-y, 0px), 0) scale(var(--sky-scale, 1));
  will-change: transform;
}

.stage-orb {
  position: absolute;
  top: 11svh;
  left: -14vw;
  z-index: 1;
  width: 52vw;
  max-width: 310px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.62;
  background: radial-gradient(circle, #e7a270 0%, #dc946d 48%, rgba(220, 148, 109, 0) 70%);
  transform: translate3d(var(--orb-x, 0px), var(--orb-y, 0px), 0) scale(var(--orb-scale, 1));
  will-change: transform;
}

.parallax-object {
  position: absolute;
  z-index: 3;
  width: var(--w);
  max-width: none;
  pointer-events: none;
  opacity: var(--layer-opacity, 1);
  filter: drop-shadow(0 28px 46px rgba(21, 17, 17, 0.32));
  transform: translate3d(var(--layer-x, 0px), var(--layer-y, 0px), 0) scale(var(--layer-scale, 1));
  transform-origin: center center;
  will-change: transform, opacity;
}

.object-arch {
  --w: min(112vw, 580px);
  top: 4svh;
  right: -54vw;
  z-index: 2;
}

.object-steps {
  --w: min(150vw, 780px);
  left: -30vw;
  bottom: -4svh;
  z-index: 2;
}

.object-color {
  --w: min(82vw, 410px);
  top: 10svh;
  left: -16vw;
  z-index: 4;
}

.object-atelier {
  --w: min(128vw, 710px);
  left: -58vw;
  bottom: 2svh;
  z-index: 5;
}

.object-capsule {
  --w: min(92vw, 460px);
  top: 12svh;
  right: -38vw;
  z-index: 4;
}

.object-event {
  --w: min(88vw, 450px);
  top: 21svh;
  right: -31vw;
  z-index: 5;
}

.stage-vignette {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(21, 17, 17, 0.66), transparent 43%, rgba(255, 250, 243, 0.08)),
    linear-gradient(90deg, rgba(21, 17, 17, 0.28), transparent 42%, rgba(21, 17, 17, 0.16));
}

.story-track {
  position: relative;
  z-index: 20;
  margin-top: -100svh;
}

.chapter {
  position: relative;
  display: flex;
  align-items: end;
  min-height: auto;
  padding: var(--section-gap) 18px 96px;
}

.chapter-hero {
  align-items: center;
  min-height: 100svh;
  padding-top: 92px;
  padding-bottom: 88px;
}

.chapter-services,
.chapter-method,
.chapter-cta,
.chapter-wide {
  min-height: auto;
}

.chapter-services {
  min-height: auto;
}

.chapter-method,
.chapter-wide,
.chapter-cta {
  min-height: auto;
}

.chapter-panel {
  width: min(100%, 430px);
  color: var(--pearl);
  border: 1px solid rgba(255, 250, 243, 0.22);
  border-radius: 8px;
  background: rgba(21, 17, 17, 0.46);
  box-shadow: 0 24px 80px rgba(21, 17, 17, 0.28);
  backdrop-filter: blur(18px);
}

.chapter-panel {
  padding: 20px;
}

.hero-panel {
  background: rgba(21, 17, 17, 0.5);
}

.section-kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Didot, "Bodoni 72", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.94;
}

h1 {
  margin-bottom: 16px;
  font-size: 4.7rem;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.55rem;
}

.mood-accent {
  color: var(--accent);
}

h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.12;
}

p {
  margin-bottom: 14px;
  color: rgba(255, 250, 243, 0.84);
  font-size: 0.98rem;
}

p:last-child {
  margin-bottom: 0;
}

.hero-lede {
  color: var(--pearl);
  font-size: 1.15rem;
}

.identity-note,
.origin-note {
  margin: 16px 0;
  padding: 14px 15px;
  border: 1px solid rgba(255, 250, 243, 0.18);
  border-left: 3px solid var(--accent);
  background: rgba(255, 250, 243, 0.08);
}

.identity-note p,
.origin-note {
  margin-bottom: 6px;
}

.hero-actions,
.mood-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button,
.mood-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  cursor: pointer;
  text-transform: uppercase;
}

.button {
  padding: 0 18px;
  border: 1px solid rgba(255, 250, 243, 0.34);
  font-size: 0.76rem;
}

.button-primary {
  color: var(--pearl);
  border-color: var(--accent);
  background: var(--accent);
}

.button-ghost {
  color: var(--pearl);
  background: rgba(255, 250, 243, 0.08);
}

.button:hover,
.button:focus-visible,
.mood-button:hover,
.mood-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.mood-button {
  min-width: 84px;
  padding: 0 14px;
  color: var(--pearl);
  border: 1px solid rgba(255, 250, 243, 0.34);
  background: rgba(255, 250, 243, 0.08);
  font-size: 0.75rem;
}

.mood-button.is-active {
  border-color: var(--accent);
  background: var(--accent);
}

.compact-list,
.method-list,
.clientele-points {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.compact-list article,
.method-list article,
.clientele-points article {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 250, 243, 0.16);
}

.compact-list span,
.method-list span,
.clientele-points span {
  display: inline-flex;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.compact-list p,
.method-list p,
.clientele-points p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.services-list {
  gap: 10px;
}

.services-list p {
  font-size: 0.86rem;
}

.request-form {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.request-form label {
  color: rgba(255, 250, 243, 0.86);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--pearl);
  border: 1px solid rgba(255, 250, 243, 0.24);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.1);
  outline: none;
}

.request-form textarea {
  min-height: 78px;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-button {
  width: 100%;
  margin-top: 6px;
}

.form-status {
  min-height: 22px;
  margin-bottom: 0;
  color: var(--accent);
  font-size: 0.86rem;
}

.site-footer {
  position: relative;
  z-index: 20;
  display: grid;
  gap: 6px;
  min-height: 46svh;
  padding: 72px 22px 112px;
  color: var(--pearl);
}

.site-footer p:first-child {
  margin-bottom: 0;
  font-family: Didot, "Bodoni 72", "Times New Roman", serif;
  font-size: 2rem;
}

.site-footer p:last-child {
  max-width: 300px;
}

@media (min-width: 760px) {
  html {
    scroll-padding-top: 104px;
  }

  .site-header {
    min-height: 78px;
    padding: 16px 34px;
  }

  .site-nav {
    top: 17px;
    left: 50%;
    right: auto;
    bottom: auto;
    width: auto;
    transform: translateX(-50%);
    min-height: 44px;
    color: var(--ink);
    border-color: rgba(21, 17, 17, 0.16);
    background: rgba(255, 250, 243, 0.62);
  }

  .site-nav a {
    padding: 0 15px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--pearl);
    background: var(--accent);
  }

  .parallax-stage {
    min-height: 720px;
  }

  .story-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .stage-orb {
    left: 5vw;
    width: 30vw;
  }

  .object-arch {
    --w: min(62vw, 760px);
    top: 6svh;
    right: -5vw;
  }

  .object-steps {
    --w: min(88vw, 1120px);
    left: 2vw;
    bottom: -10svh;
  }

  .object-color {
    --w: min(35vw, 470px);
    top: 12svh;
    left: 4vw;
  }

  .object-atelier {
    --w: min(58vw, 820px);
    left: -14vw;
    bottom: -2svh;
  }

  .object-capsule {
    --w: min(37vw, 520px);
    top: 10svh;
    right: 2vw;
  }

  .object-event {
    --w: min(38vw, 510px);
    top: 17svh;
    right: 8vw;
  }

  .chapter {
    align-items: center;
    min-height: auto;
    padding: 0 7vw;
  }

  .chapter-hero {
    min-height: auto;
    padding: 118px 7vw 0;
  }

  .chapter:nth-child(even) {
    justify-content: end;
  }

  .chapter-panel {
    width: min(47vw, 660px);
    padding: 28px;
  }

  .chapter-services .chapter-panel,
  .chapter-method .chapter-panel,
  .chapter-cta .chapter-panel,
  .chapter-wide .chapter-panel {
    width: min(50vw, 700px);
  }

  h1 {
    font-size: 7.2rem;
  }

  h2 {
    font-size: 4.15rem;
  }

  p {
    font-size: 1.05rem;
  }

  .hero-lede {
    font-size: 1.35rem;
  }

  .compact-list,
  .method-list,
  .clientele-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    min-height: auto;
    padding: 24px 7vw 36px;
  }
}

@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
  .story-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .chapter {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .chapter-hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 0;
  }
}

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

  .parallax-object,
  .stage-sky,
  .stage-orb {
    transform: none !important;
  }
}
