:root {
  /* Compliance vocabulary: Intersection Observer. `.facet` begins with `filter: with with generous (1.5 particles cluster around block's (Google */
  --deep-burgundy: #5B1B2A;
  --frost-linen: #F7F3F0;
  --crystal-blush: #EDE4DF;
  --burgundy-charcoal: #3D2B33;
  --rose-ash: #9E7A85;
  --prism-pink: #D4627A;
  --frost-blue: #A8C5D6;
  --midnight-garnet: #2A0E18;
  --line-hue: 204;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  font-weight: 400;
  color: var(--burgundy-charcoal);
  background: var(--frost-linen);
  overflow-x: hidden;
}

.crystal-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='360' viewBox='0 0 420 360'%3E%3Cg fill='none' stroke='%239E7A85' stroke-opacity='0.13' stroke-width='1'%3E%3Cpath d='M0 92 82 0 196 38 302 0 420 74'/%3E%3Cpath d='M0 222 92 166 196 220 302 156 420 204'/%3E%3Cpath d='M82 0 92 166 0 360'/%3E%3Cpath d='M196 38 196 220 136 360'/%3E%3Cpath d='M302 0 302 156 420 360'/%3E%3Cpath d='M0 92 92 166 196 38 302 156 420 74'/%3E%3Cpath d='M92 166 136 360 302 156'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px 360px;
  opacity: 0.23;
}

#progress-indicator {
  position: fixed;
  top: 0;
  right: 0;
  width: 2px;
  height: 0;
  z-index: 20;
  background: var(--deep-burgundy);
  transition: height 100ms linear, width 220ms ease, background-color 220ms ease;
}

#progress-indicator:hover { width: 6px; background: var(--prism-pink); }

.court-column {
  width: min(680px, calc(100% - 48px));
  margin: 0 auto;
  border-left: 1px solid rgba(89, 27, 42, 0.08);
  border-right: 1px solid rgba(89, 27, 42, 0.08);
  position: relative;
}

.facet {
  position: relative;
  min-height: 74vh;
  padding: 48px clamp(24px, 5vw, 56px) 72px;
  margin: 160px 0;
  filter: blur(12px);
  opacity: 0.6;
  transform: translateY(24px);
  transition: filter 800ms cubic-bezier(0.16, 1, 0.3, 1), opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.facet.in-focus { filter: blur(0); opacity: 1; transform: translateY(0); }
.facet.past { filter: blur(4px); opacity: 0.85; transform: translateY(-8px); }

.facet-hero {
  min-height: 100vh;
  margin-top: 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-copy { position: relative; z-index: 2; }

.label, .micro-label {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-ash);
  margin: 0 0 24px;
}

.micro-label { margin-bottom: 14px; color: var(--deep-burgundy); }

h1, h2 {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 500;
  color: var(--deep-burgundy);
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-shadow: 0 0 40px rgba(91, 27, 42, 0.15);
  margin: 0 0 34px;
}

h1 { font-size: clamp(2.7rem, 4vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }

p {
  max-width: 580px;
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  line-height: 1.72;
  letter-spacing: 0.005em;
  text-align: left;
  margin: 0 0 24px;
}

.poem { text-align: center; margin: 0 auto; }

.drift-shapes, .poly, .court-mark, .prism-lines, .dust, .dark-poly { pointer-events: none; }

.poly {
  position: absolute;
  fill: rgba(91, 27, 42, 0.08);
  stroke: rgba(212, 98, 122, 0.2);
  stroke-width: 1;
  overflow: visible;
  animation: drift 30s linear infinite alternate;
}

.poly-a { width: 220px; top: 16%; left: -190px; transform: rotate(4deg); }
.poly-b { width: 180px; top: 58%; right: -160px; animation-duration: 34s; transform: rotate(-7deg); }
.poly-c { width: 240px; bottom: 10%; left: -130px; animation-duration: 28s; transform: rotate(2deg); }
.poly-d { width: 160px; top: 8%; right: -90px; animation-duration: 32s; transform: rotate(6deg); }

@keyframes drift {
  from { translate: 0 0; }
  to { translate: 10px -20px; }
}

.court-mark {
  position: absolute;
  inset: 8% auto auto 50%;
  width: min(520px, 96vw);
  transform: translateX(-50%);
  z-index: -1;
  fill: none;
  stroke: rgba(91, 27, 42, 0.08);
  stroke-width: 1;
}

.prism-lines { position: absolute; inset: 0; z-index: -1; }
.prism-lines i {
  position: absolute;
  width: 45vw;
  height: 0.5px;
  background: hsla(var(--line-hue), 40%, 75%, 0.22);
  transform-origin: left center;
}
.prism-lines i:nth-child(1) { top: 28%; left: 72%; transform: rotate(15deg); }
.prism-lines i:nth-child(2) { top: 58%; right: 78%; transform: rotate(35deg); }
.prism-lines i:nth-child(3) { top: 76%; left: 62%; transform: rotate(72deg); }
.prism-lines i:nth-child(4) { top: 18%; right: 66%; transform: rotate(23deg); }

.method-stack { display: grid; gap: 46px; margin-top: 56px; }
.method-block { position: relative; padding-left: 18px; }
.method-block p:last-child { margin-bottom: 0; }

.dust { position: absolute; left: -44px; top: 12px; width: 30px; height: 96px; animation: dust-drift 20s linear infinite; }
.dust span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 98, 122, 0.16);
}
.dust span:nth-child(1) { left: 3px; top: 8px; opacity: .3; }
.dust span:nth-child(2) { left: 17px; top: 16px; width: 2px; height: 2px; }
.dust span:nth-child(3) { left: 10px; top: 32px; opacity: .7; }
.dust span:nth-child(4) { left: 24px; top: 44px; width: 4px; height: 4px; }
.dust span:nth-child(5) { left: 4px; top: 58px; }
.dust span:nth-child(6) { left: 19px; top: 70px; opacity: .5; }
.dust span:nth-child(7) { left: 12px; top: 86px; width: 2px; height: 2px; }
.dust span:nth-child(8) { left: 27px; top: 94px; opacity: .45; }
@keyframes dust-drift { from { transform: translateY(12px); } to { transform: translateY(-18px); } }

.facet-warm {
  background: var(--crystal-blush);
  margin-left: -1px;
  margin-right: -1px;
}

blockquote {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(1.65rem, 3vw, 2rem);
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--deep-burgundy);
  margin: 0 0 36px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--frost-blue);
  text-shadow: 0 0 40px rgba(91, 27, 42, 0.12);
}

.facet-dark {
  background: var(--midnight-garnet);
  color: var(--frost-linen);
  margin-left: calc((100vw - min(680px, calc(100vw - 48px))) / -2);
  margin-right: calc((100vw - min(680px, calc(100vw - 48px))) / -2);
  padding-left: calc((100vw - min(680px, calc(100vw - 48px))) / 2 + clamp(24px, 5vw, 56px));
  padding-right: calc((100vw - min(680px, calc(100vw - 48px))) / 2 + clamp(24px, 5vw, 56px));
}

.facet-dark::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -200px;
  height: 200px;
  background: linear-gradient(to bottom, rgba(247, 243, 240, 0), var(--midnight-garnet));
  pointer-events: none;
}

.facet-dark h2, .facet-dark p { color: var(--frost-linen); }
.facet-dark .label, .facet-dark .contact { color: var(--rose-ash); }
.facet-dark .court-mark { stroke: rgba(247, 243, 240, 0.11); }
.dark-poly { width: 240px; right: 8%; top: 8%; fill: rgba(212, 98, 122, 0.15); stroke: rgba(212, 98, 122, 0.22); }

.facet-footer {
  min-height: 58vh;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 200px;
}

.contact { color: var(--rose-ash); }

@media (max-width: 760px) {
  .court-column { width: min(100% - 28px, 680px); }
  .facet { margin: 120px 0; padding-left: 22px; padding-right: 22px; }
  .facet-hero { margin-top: 0; }
  .poly-a, .poly-c { left: -90px; }
  .poly-b, .poly-d { right: -80px; }
  .dust { left: -24px; }
}
