:root {
  --pink-50: #fff2f7;
  --pink-100: #ffe0eb;
  --pink-200: #ffc1d7;
  --pink-300: #ff93b8;
  --pink-400: #ff4e87;
  --pink-500: #ff0c5a;
  --pink-600: #ef0050;
  --pink-700: #e00048;
  --pink-800: #bc003d;
  --pink-900: #8f0030;
  --yellow-50: #fffdf3;
  --yellow-100: #fffbd8;
  --yellow-200: #fef7a7;
  --yellow-300: #f9ed79;
  --yellow-400: #ebda4e;
  --yellow-500: #d4bf31;
  --yellow-600: #ae9922;
  --yellow-700: #897719;
  --yellow-800: #655713;
  --yellow-900: #453c0d;
  --charcoal-50: #f7f5f5;
  --charcoal-100: #eeeaea;
  --charcoal-200: #ded8d7;
  --charcoal-300: #c9c1bf;
  --charcoal-400: #a9a09e;
  --charcoal-500: #716967;
  --charcoal-600: #544c4b;
  --charcoal-700: #413939;
  --charcoal-800: #2c2525;
  --charcoal-900: #1d1717;
  --pink: var(--pink-500);
  --pink-action: var(--pink-700);
  --charcoal: var(--charcoal-800);
  --yellow: var(--yellow-200);
  --paper: #fffdf6;
  --white: #ffffff;
  --muted: var(--charcoal-500);
  --line: rgba(44, 37, 37, 0.19);
  --page: clamp(1.25rem, 4vw, 4.5rem);
  --gutter: clamp(1rem, 2.1vw, 2.6rem);
  --section-space: clamp(7rem, 11vw, 11.5rem);
  --display: clamp(3.65rem, 9.3vw, 10rem);
  --section-title: clamp(3.1rem, 5.6vw, 6.4rem);
  --subsection-title: clamp(2.2rem, 3.5vw, 4.25rem);
  --body-large: clamp(1.05rem, 1.35vw, 1.28rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--charcoal);
  background: var(--paper);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection { color: var(--charcoal); background: var(--yellow); }
a { color: inherit; }
img, svg, canvas { max-width: 100%; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

section { scroll-margin-top: 2rem; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--charcoal);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }
main:focus { outline: 0; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--page);
}

.brand { display: inline-flex; }
.brand img { width: clamp(7.25rem, 10vw, 9.5rem); height: auto; }

.header-contact {
  position: relative;
  padding: 0.45rem 0;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.header-contact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

.header-contact:hover::after,
.header-contact:focus-visible::after { transform: scaleX(0.42); }

.eyebrow {
  margin: 0 0 clamp(1.25rem, 2.1vw, 2rem);
  font-size: clamp(0.72rem, 0.82vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

/* Opening */

.hero {
  position: relative;
  min-height: min(56rem, 100svh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 22vw);
  align-items: end;
  padding: clamp(9rem, 17vh, 13rem) var(--page) clamp(3rem, 7vh, 6rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: clamp(23rem, 48vw, 52rem);
  aspect-ratio: 1;
  right: -19%;
  top: -35%;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.68;
  transform: translate3d(0, var(--hero-depth-y, 0px), 0);
  will-change: transform;
}

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

/* Landscape backdrop: keep the artwork behind the headline and birds. */
.hero.hero--landscape::before {
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  background-color: var(--paper);
  background-image: linear-gradient(to bottom, rgba(255, 253, 246, 0.08) 25%, rgba(255, 253, 246, 0.9) 100%), url("./assets/eunoia_hero_bg_4k_exact.webp");
  background-size: cover;
  background-position: center;
  opacity: 1;
  transform: none;
  will-change: auto;
}

.hero-birds {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bird {
  position: absolute;
  top: 0;
  left: 0;
  width: 1.7rem;
  height: 0.45rem;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-bird-glyph {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("./assets/eunoia-bird.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform-origin: 50% 80%;
}

.hero-bird-two { width: 1.35rem; height: 0.35rem; }
.hero-bird-three { width: 1.1rem; height: 0.29rem; }

.hero-offer {
  position: relative;
  min-height: 1.3em;
  overflow: visible;
}

.hero-offer-initial,
.hero-offer-rotator {
  position: absolute;
  inset: 0 auto auto 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.hero-offer-rotator { opacity: 0; transform: translateY(105%); }
.hero-offer-initial-out { animation: hero-offer-label-out 720ms var(--ease) both; }
.hero-offer-rotator-in { animation: hero-offer-label-in 820ms 100ms var(--ease) both; }

.hero-offer-prefix { color: var(--muted); }
.hero-offer-divider { color: var(--pink); }

.hero-offer-window {
  position: relative;
  display: block;
  width: min(15rem, 48vw);
  height: 1.3em;
  overflow: hidden;
}

.hero-offer-word {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  white-space: nowrap;
  color: var(--charcoal);
  transition: color 520ms var(--ease);
}

.hero-offer-word-incoming {
  color: var(--pink);
  animation: hero-offer-in 620ms var(--ease) both;
}
.hero-offer-word-incoming.hero-offer-word-settled { color: var(--charcoal); }
.hero-offer-word-outgoing { animation: hero-offer-out 180ms var(--ease) both; }

.hero-title-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  color: var(--charcoal);
}

.hero-title-line {
  display: block;
  color: var(--charcoal);
  animation: hero-title-rise 1100ms var(--ease) both;
}

.hero-title-mask:first-child .hero-title-line { animation-delay: 160ms; }
.hero-title-mask:nth-child(2) .hero-title-line { animation-delay: 300ms; }
.hero-title-highlight { color: var(--pink); }

h1 {
  max-width: 14ch;
  font-size: var(--display);
  line-height: 0.87;
  letter-spacing: -0.072em;
}

.scroll-cue {
  position: relative;
  z-index: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
}

.scroll-cue span {
  width: 2.75rem;
  height: 1px;
  background: currentColor;
  transition: width 350ms var(--ease);
}

.scroll-cue:hover span,
.scroll-cue:focus-visible span { width: 4rem; }

/* A small thought leads, its line follows. */

.thought-trace {
  --trace-progress: 0%;
  --trace-tail: 2.75rem;
  position: fixed;
  z-index: 8;
  top: 12vh;
  right: clamp(0.4rem, 1.25vw, 1.4rem);
  width: 2rem;
  height: 76vh;
  pointer-events: none;
}

.thought-tail {
  position: absolute;
  top: var(--trace-progress);
  right: 0.85rem;
  width: 1px;
  height: var(--trace-tail);
  background: linear-gradient(to bottom, transparent, rgba(255, 12, 90, 0.72));
  transform: translateY(calc(-100% + 1px));
  transition: height 160ms ease;
}

.thought-trace.is-up .thought-tail {
  background: linear-gradient(to bottom, rgba(255, 12, 90, 0.72), transparent);
  transform: translateY(-1px);
}

.thought-dot {
  position: absolute;
  top: var(--trace-progress);
  right: 0.58rem;
  width: 0.58rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--pink);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(255, 12, 90, 0.1);
}

/* 01 — Understanding */

.understanding {
  min-height: min(54rem, 86svh);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-content: center;
  padding: clamp(8rem, 12vw, 12rem) var(--page);
  background: var(--white);
}

.statement-wrap {
  position: relative;
  z-index: 1;
  grid-column: 3 / 11;
  text-align: center;
}

.statement-wrap::before,
.simplicity-copy::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 auto clamp(2rem, 3vw, 3rem);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0.45rem rgba(255, 12, 90, 0.08);
}

.statement-wrap h2,
.services-heading h2,
.philosophy-statement h2,
.simplicity h2,
.origin h2 { font-size: var(--section-title); line-height: 0.96; }

.statement-wrap h2 {
  max-width: 28ch;
  margin-inline: auto;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.statement-wrap h2 span { color: var(--pink); }
.statement-wrap h2 span {
  display: block;
  max-width: 25ch;
  margin: 0.14em auto 0;
  font-size: 0.76em;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.statement-wrap p {
  max-width: 34rem;
  margin: clamp(2.4rem, 4vw, 3.5rem) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.6;
}

/* 02 — Services */

.services {
  position: relative;
  padding: var(--section-space) var(--page) clamp(6rem, 9vw, 9rem);
  background: var(--yellow);
}

.services-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
  margin-bottom: clamp(5rem, 8vw, 8rem);
}

.services-heading > div { grid-column: 2 / 13; }
.services-heading h2 { white-space: nowrap; }
.services-heading h2 span,
.simplicity h2 span { color: var(--pink); }

.services-intro {
  grid-column: 9 / 13;
  max-width: 26rem;
  margin: clamp(2rem, 3vw, 3rem) 0 0;
  color: var(--muted);
  font-size: var(--body-large);
}

.service-list { border-top: 1px solid rgba(44, 37, 37, 0.74); }

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  min-height: clamp(10.5rem, 14vw, 12.75rem);
  border-bottom: 1px solid rgba(44, 37, 37, 0.58);
  isolation: isolate;
  transition: color 350ms ease;
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--page) * -1);
  z-index: -1;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms var(--ease);
}

.service-row:hover,
.service-row:focus-within { color: var(--paper); }

.service-row:hover::before,
.service-row:focus-within::before { transform: scaleX(1); }

.service-number {
  grid-column: 1 / 2;
  align-self: start;
  padding-top: 2.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.service-row h3 {
  grid-column: 2 / 7;
  max-width: 13ch;
  font-size: clamp(2.15rem, 3.15vw, 3.75rem);
  line-height: 0.98;
  transition: transform 600ms var(--ease);
}

.service-row > p {
  grid-column: 7 / 10;
  max-width: 23rem;
  margin: 0;
  color: var(--muted);
  transition: color 350ms ease, transform 600ms var(--ease);
}

.service-row:hover h3,
.service-row:focus-within h3 { transform: translateX(0.55rem); }

.service-row:hover > p,
.service-row:focus-within > p {
  color: rgba(255, 253, 246, 0.68);
  transform: translateX(0.25rem);
}

.service-row > .service-scope {
  grid-column: 10 / 13;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.18rem;
  min-width: 9rem;
  margin: 0;
  color: var(--charcoal-500);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
  transition: color 350ms ease, transform 600ms var(--ease);
}

.service-scope::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  margin-bottom: 0.55rem;
  background: currentColor;
  transform-origin: right;
  transition: width 600ms var(--ease), background 350ms ease;
}

.service-row:hover .service-scope,
.service-row:focus-within .service-scope {
  color: var(--yellow);
  transform: translateX(-0.3rem);
}

.service-row:hover .service-scope::before,
.service-row:focus-within .service-scope::before { width: 4rem; background: var(--pink); }

/* 03 — Philosophy and process */

.philosophy {
  position: relative;
  padding: var(--section-space) var(--page) clamp(7rem, 10vw, 10rem);
  color: var(--paper);
  background: var(--charcoal);
}

.philosophy-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}

.philosophy-statement { grid-column: 2 / 13; }
.philosophy-statement h2 { max-width: none; }
.philosophy-statement h2 span { color: var(--yellow); }

.philosophy-intro {
  grid-column: 9 / 13;
  grid-row: 2;
  align-self: end;
  max-width: 25rem;
  margin: 2.5rem 0 0;
  color: rgba(255, 253, 246, 0.58);
  font-size: var(--body-large);
}

.amplifier {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
  margin-top: clamp(8rem, 13vw, 14rem);
  padding: clamp(2.5rem, 4vw, 4rem) 0 0;
  border-top: 1px solid rgba(255, 253, 246, 0.17);
}

.amplifier-copy { grid-column: 2 / 7; }
.amplifier-copy .eyebrow { color: var(--yellow); }

.amplifier-copy h3,
.process-intro h3 {
  font-size: var(--subsection-title);
  line-height: 0.99;
}

.amplifier-copy h3 span { color: var(--yellow); }

.amplifier-copy > p:not(.eyebrow) {
  max-width: 29rem;
  margin: clamp(2rem, 3.5vw, 3.5rem) 0 0;
  color: rgba(255, 253, 246, 0.62);
  font-size: var(--body-large);
}

.amplifier-principles { grid-column: 8 / 13; padding-top: 0.35rem; }
.amplifier-principles-intro { margin: 0 0 1.65rem; color: rgba(255, 253, 246, 0.48); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.amplifier-principles ol { margin: 0; padding: 0; border-top: 1px solid rgba(255, 253, 246, 0.2); list-style: none; }
.amplifier-principles li { position: relative; display: grid; grid-template-columns: 2rem minmax(7rem, 0.9fr) 1.1fr; gap: 0.75rem; align-items: baseline; padding: 1.35rem 0 1.25rem; border-bottom: 1px solid rgba(255, 253, 246, 0.16); transition: padding 420ms var(--ease), background 420ms ease; }
.amplifier-principles li::before { content: ""; position: absolute; top: 0.85rem; bottom: 0.85rem; left: -0.85rem; width: 2px; background: var(--pink); transform: scaleY(0); transform-origin: center; transition: transform 420ms var(--ease); }
.amplifier-principles li:hover { padding-left: 0.45rem; background: rgba(255, 253, 246, 0.035); }
.amplifier-principles li:hover::before { transform: scaleY(1); }
.amplifier-principles li > span { color: rgba(255, 253, 246, 0.42); font-size: 0.66rem; letter-spacing: 0.08em; }
.amplifier-principles strong { color: var(--paper); font-family: "Quicksand", sans-serif; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 500; }
.amplifier-principles li:nth-child(2) strong { color: var(--yellow); }
.amplifier-principles li:nth-child(3) strong { color: var(--pink-200); }
.amplifier-principles li p { margin: 0; color: rgba(255, 253, 246, 0.48); font-size: 0.86rem; line-height: 1.35; }

.process-block {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
  margin-top: clamp(8rem, 12vw, 13rem);
}

.process-intro {
  grid-column: 1 / 6;
  position: sticky;
  top: 5rem;
}

.process-intro h3 { max-width: 18ch; }
.process-intro h3 span { color: var(--yellow); }

.process {
  grid-column: 6 / 13;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 253, 246, 0.2);
  list-style: none;
}

.process li {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(12rem, 1.2fr) minmax(8rem, 0.8fr);
  gap: clamp(1rem, 2vw, 2.5rem);
  align-items: center;
  min-height: 7.25rem;
  padding: 1.25rem 1rem 1.25rem 1.45rem;
  border-bottom: 1px solid rgba(255, 253, 246, 0.16);
  color: rgba(255, 253, 246, 0.4);
  transition: color 450ms ease, background 500ms ease, padding 600ms var(--ease);
}

.process li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--yellow);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 650ms var(--ease), background 350ms ease;
}

.process li:hover,
.process li.is-active {
  color: var(--paper);
  background: rgba(255, 253, 246, 0.035);
  padding-left: 1.75rem;
}

.process li:hover::before,
.process li.is-active::before { transform: scaleY(1); background: var(--pink); }

.process li > span { color: rgba(255, 253, 246, 0.62); font-size: 0.68rem; letter-spacing: 0.1em; }
.process-copy strong { display: block; font-family: "Quicksand", sans-serif; font-size: clamp(1.45rem, 2.2vw, 2.25rem); font-weight: 500; }
.process-copy p { max-width: 23rem; margin: 0.4rem 0 0; color: rgba(255, 253, 246, 0.48); font-size: 0.9rem; }
.process-scope {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.18rem;
  min-width: 8rem;
  margin: 0;
  color: rgba(255, 253, 246, 0.42);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
  transition: color 350ms ease, transform 600ms var(--ease);
}
.process-scope::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  margin-bottom: 0.5rem;
  background: currentColor;
  transform-origin: right;
  transition: width 600ms var(--ease), background 350ms ease;
}
.process li:hover .process-copy p,
.process li.is-active .process-copy p { color: rgba(255, 253, 246, 0.68); }
.process li:hover .process-scope,
.process li.is-active .process-scope { color: var(--yellow); transform: translateX(-0.25rem); }
.process li:hover .process-scope::before,
.process li.is-active .process-scope::before { width: 3.5rem; background: var(--pink); }

/* 04 — Simplicity */

.simplicity {
  position: relative;
  min-height: min(44rem, 72svh);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 1fr;
  column-gap: var(--gutter);
  align-content: center;
  align-items: center;
  padding: clamp(7rem, 11vw, 10.5rem) var(--page);
  background: var(--white);
}

.simplicity-copy {
  position: relative;
  z-index: 1;
  grid-column: 2 / 12;
  text-align: center;
}
.simplicity h2 {
  max-width: 18ch;
  margin-inline: auto;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
.simplicity h2 > span,
.simplicity h2 em { display: block; font-style: normal; }
.simplicity h2 > span {
  color: var(--charcoal);
  font-size: 0.98em;
  line-height: 0.96;
}
.simplicity h2 em {
  margin: 0.12em 0 0;
  color: var(--pink);
  font-size: clamp(4.25rem, 9vw, 10rem);
  letter-spacing: -0.08em;
  line-height: 0.76;
}

.simplicity-copy p {
  max-width: 28rem;
  margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.5;
}


/* 05 — Origin */

.origin {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
  padding: var(--section-space) var(--page);
  background: var(--yellow);
  overflow: hidden;
  isolation: isolate;
}

.origin-copy,
.origin-location { position: relative; z-index: 1; }

.origin-copy { grid-column: 2 / 10; }
.origin-copy .eyebrow { margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem); }
.origin h2 { max-width: none; font-size: clamp(3.2rem, 5vw, 5.8rem); }
.origin h2 span,
.origin h2 em { display: block; font-style: normal; }
.origin h2 em { color: var(--pink); }

.origin-note {
  max-width: 34rem;
  margin: clamp(3rem, 5vw, 5rem) 0 0;
  color: var(--muted);
  font-size: var(--body-large);
}

.origin-location {
  grid-column: 10 / 13;
  align-self: end;
  margin-bottom: 0.35rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(44, 37, 37, 0.35);
  border-bottom: 1px solid rgba(44, 37, 37, 0.35);
}

.origin-location span,
.origin-location small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.origin-location strong {
  display: block;
  margin: 0.5rem 0 1.2rem;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.origin-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.origin-backdrop::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(254, 247, 167, 0.58), rgba(254, 247, 167, 0.1) 54%, rgba(254, 247, 167, 0.46));
  pointer-events: none;
}

.origin-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 58%;
  opacity: 0.42;
  mix-blend-mode: multiply;
  transform: translate3d(0, var(--origin-depth-y, 0px), 0) scale(1.06);
  will-change: transform;
}

/* 06 — Contact */

.contact {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: var(--section-space) var(--page) 0;
  color: var(--paper);
  background: var(--charcoal);
}

.contact-lead { position: relative; grid-column: 1 / 7; }
.contact-lead .eyebrow { margin-top: 0; }

.contact h2 {
  max-width: 10ch;
  font-size: clamp(4.1rem, 7.6vw, 8.75rem);
  line-height: 0.88;
}

.contact h2 span { display: block; color: var(--yellow); }

.contact-lead > p:not(.eyebrow) {
  max-width: 31rem;
  margin: clamp(2.5rem, 4vw, 4.5rem) 0 0;
  color: rgba(255, 253, 246, 0.62);
  font-size: var(--body-large);
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.2rem);
  max-width: 100%;
  margin-top: 2.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--charcoal-600);
  color: var(--paper);
  text-decoration: none;
  font-size: var(--body-large);
  transition: color 250ms ease, border-color 250ms ease;
}

.email-link > span { transition: transform 350ms var(--ease); }
.email-link:hover,
.email-link:focus-visible { color: var(--yellow); border-color: var(--yellow); }
.email-link:hover > span { transform: translate(0.25rem, -0.25rem); }

.contact-form {
  grid-column: 7 / 13;
  align-self: end;
  padding: clamp(6rem, 10vw, 10rem) 0 0 clamp(1rem, 3vw, 3.5rem);
}

.contact-phone { width: fit-content; max-width: 100%; margin-top: 1.5rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--charcoal-600); }
.phone-number { display: inline-flex; align-items: center; gap: clamp(0.5rem, 2vw, 1.2rem); color: var(--paper); font-size: var(--body-large); text-decoration: none; }
.phone-number > span { transition: transform 350ms var(--ease); }
.phone-number:hover > span { transform: translate(0.25rem, -0.25rem); }
.contact-actions { margin: 0 0 0.5rem; padding-left: calc(1.35rem + clamp(0.5rem, 2vw, 1.2rem)); color: var(--charcoal-400); font-size: 0.72rem; line-height: 1.6; }
.contact-actions a { display: inline-block; color: inherit; font: inherit; text-decoration: underline; text-decoration-color: var(--charcoal-600); text-underline-offset: 0.2em; transition: color 200ms ease; }
.contact-actions a:hover, .contact-actions a:focus-visible, .phone-number:hover, .phone-number:focus-visible { color: var(--yellow); }
.contact-icon { flex-shrink: 0; width: 1.35rem; height: 1.35rem; color: var(--charcoal-600); }
.whatsapp-button { position: fixed; z-index: 50; right: max(1.5rem, env(safe-area-inset-right)); bottom: max(1.5rem, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 4px 18px rgba(44, 37, 37, 0.2); text-decoration: none; transition: transform 200ms ease, box-shadow 200ms ease; }
.whatsapp-button svg { width: 1.65rem; height: 1.65rem; }
.whatsapp-button:hover { transform: translateY(-3px); box-shadow: 0 7px 22px rgba(44, 37, 37, 0.25); }
.whatsapp-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
@media (max-width: 700px) { .whatsapp-button { right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); } .contact .site-footer { padding-bottom: 5.5rem; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-button { transition: none; } .whatsapp-button:hover { transform: none; } }

.form-field { position: relative; margin-bottom: 2.2rem; }

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255, 253, 246, 0.57);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.form-field:focus-within label { color: var(--yellow); }

.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 3.2rem;
  padding: 0.3rem 0 0.8rem;
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 246, 0.34);
  border-radius: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font: inherit;
  font-size: 1.08rem;
  transition: border-color 250ms ease;
}

.form-field textarea { min-height: 7rem; resize: vertical; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--yellow); }
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: var(--pink); }

.field-error {
  display: block;
  min-height: 1.2rem;
  padding-top: 0.35rem;
  color: var(--pink-300);
  font-size: 0.77rem;
}

.submit-button {
  width: 100%;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  border: 1px solid var(--pink-action);
  border-radius: 0;
  color: var(--paper);
  background: var(--pink-action);
  font: 500 1rem/1 "Inter", sans-serif;
  cursor: pointer;
  transition: color 300ms ease, background 300ms ease, transform 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible { color: var(--yellow); border-color: var(--yellow); background: transparent; }
.submit-button:active { transform: scale(0.99); }
.submit-button:disabled { cursor: wait; opacity: 0.66; }
.button-arrow { font-size: 1.35rem; transition: transform 350ms var(--ease); }
.submit-button:hover .button-arrow { transform: translateX(0.35rem); }

.form-status {
  min-height: 3.2rem;
  margin: 1rem 0 0;
  color: var(--yellow);
  font-size: 0.86rem;
}

.form-status.is-success { color: var(--yellow); }
.form-status.is-error { color: var(--pink-300); }
.form-status:focus { outline: none; }

.form-status a { text-underline-offset: 0.2em; }

.site-footer {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 1.5rem;
  align-items: center;
  margin-top: clamp(7rem, 12vw, 13rem);
  padding: 2.25rem 0 5.5rem;
  border-top: 1px solid rgba(255, 253, 246, 0.2);
  color: rgba(255, 253, 246, 0.64);
  font-size: 0.76rem;
}

.footer-brand img { width: 8.5rem; height: auto; opacity: 0.96; }
.footer-brand p { margin: 0.7rem 0 0; font-size: 0.72rem; letter-spacing: 0.045em; }
.footer-meta { min-width: 0; justify-self: end; }
.footer-meta p { margin: 0; }
.footer-location { margin: 0; font-size: 0.7rem; letter-spacing: 0.04em; }
.footer-meta .footer-socials { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 0; padding: 0; list-style: none; }
.footer-socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--paper); text-decoration: none; border-radius: 50%; transition: color 180ms ease, background 180ms ease; }
.footer-socials svg { width: 21px; height: 21px; flex-shrink: 0; }
.footer-socials a:hover, .footer-socials a:focus-visible { color: #ff93b8; background: rgba(255,147,184,0.08); }
.copyright { justify-self: end; margin: 0; white-space: nowrap; font-size: 0.7rem; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 800ms ease, transform 900ms var(--ease);
}

.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes hero-title-rise { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-offer-label-in { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-offer-label-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-105%); } }
@keyframes hero-offer-in { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-offer-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-105%); } }
@media (max-width: 1050px) {
  :root { --section-title: clamp(3rem, 6.7vw, 5rem); }

  .services-heading h2 { white-space: normal; }
  .services-heading > div { grid-column: 2 / 12; }
  .services-intro { grid-column: 8 / 13; }

  .service-row h3 { grid-column: 2 / 7; }
  .service-row > p { grid-column: 7 / 11; }
  .service-row > .service-scope { grid-column: 11 / 13; min-width: 0; font-size: 0.62rem; }

  .philosophy-statement { grid-column: 2 / 13; }
  .philosophy-intro { grid-column: 8 / 13; margin-top: 2.5rem; }

  .amplifier-copy { grid-column: 2 / 7; }
  .amplifier-principles { grid-column: 8 / 13; }

  .process-intro { grid-column: 1 / 6; }
  .process { grid-column: 5 / 13; }

  .origin-copy { grid-column: 2 / 10; }
  .origin-location { grid-column: 10 / 13; }

  .contact-lead { grid-column: 1 / 7; }
  .contact-form { grid-column: 7 / 13; }
}

@media (max-width: 760px) {
  :root {
    --gutter: 1rem;
    --section-space: clamp(6rem, 20vw, 8rem);
    --section-title: clamp(2.85rem, 12vw, 4.5rem);
    --subsection-title: clamp(2.45rem, 10.5vw, 3.8rem);
  }

  .site-header { padding-top: 1rem; }
  .header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    font-size: .75rem;
    white-space: nowrap;
  }
  .header-contact span { font-size: 1rem; }
  .site-header .header-links { gap: 1rem; }

  .hero {
    min-height: 100svh;
    grid-template-columns: 1fr;
    padding-top: 8rem;
  }

  .hero::before { width: 26rem; right: -16rem; top: -12rem; }
  h1 { max-width: 12ch; font-size: clamp(4rem, 18.4vw, 6rem); line-height: 0.9; }
  .scroll-cue { justify-self: start; margin-top: 4rem; }
  .thought-trace { right: -0.1rem; width: 1.5rem; opacity: 0.58; }
  .thought-tail { right: 0.65rem; }
  .thought-dot { right: 0.38rem; }

  .understanding,
  .services-heading,
  .philosophy-heading,
  .simplicity,
  .origin,
  .contact { display: block; }

  .understanding { min-height: auto; }
  .statement-wrap { grid-column: 1; }
  .statement-wrap h2 { max-width: 18ch; }
  .statement-wrap h2 span { max-width: 15ch; font-size: 0.78em; }
  .statement-wrap p { margin-inline: auto; text-align: center; }

  .services-heading { margin-bottom: 4.5rem; }
  .services-heading h2 { white-space: normal; }
  .services-intro { margin-top: 2rem; }

  .service-row {
    grid-template-columns: 2.1rem minmax(0, 1fr) 5.2rem;
    column-gap: 0.75rem;
    min-height: 0;
    padding: 2.25rem 0;
  }

  .service-row::before { inset-inline: calc(var(--page) * -1); }
  .service-number { grid-column: 1; padding-top: 0.25rem; }
  .service-row h3 { grid-column: 2; max-width: 11ch; font-size: clamp(1.8rem, 8.2vw, 2.6rem); }
  .service-row > p { grid-column: 2 / 4; grid-row: 2; padding: 1.15rem 0 0; font-size: 0.92rem; }
  .service-row > .service-scope {
    grid-column: 2 / 4;
    grid-row: 3;
    justify-self: stretch;
    align-self: start;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    gap: 0.6rem;
    margin-top: 1.35rem;
    font-size: 0.56rem;
    text-align: left;
  }
  .service-scope::before { display: none; }
  .service-row:hover h3,
  .service-row:hover > p { transform: none; }

  .philosophy-statement h2 { max-width: none; }
  .philosophy-intro { max-width: 29rem; margin-top: 2.5rem; }

  .amplifier {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-top: 7rem;
    padding-block: 3.5rem;
  }

  .amplifier-copy,
  .amplifier-principles { grid-column: 1; }
  .amplifier-principles li { grid-template-columns: 2rem minmax(6.75rem, 0.9fr) 1.1fr; }

  .process-block {
    display: block;
    margin-top: 7rem;
  }

  .process-intro { position: static; margin-bottom: 3.5rem; }
  .process-intro h3 { max-width: 12ch; }
  .process li {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.75rem;
    min-height: 0;
    padding: 1.5rem 0.5rem 1.5rem 1.15rem;
  }
  .process-copy { grid-column: 2; }
  .process-copy strong { font-size: 1.55rem; }
  .process-copy p { margin-top: 0.5rem; padding-right: 1.5rem; }
  .process-scope {
    grid-column: 2;
    justify-self: stretch;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    margin-top: 1.25rem;
    font-size: 0.56rem;
    text-align: left;
  }
  .process-scope::before { display: none; }
  .process li:hover,
  .process li.is-active { padding-left: 1.35rem; }

  .simplicity { min-height: auto; }
  .simplicity h2 { max-width: 12ch; }
  .simplicity h2 > span { max-width: 10ch; margin-inline: auto; }
  .simplicity h2 em { margin-left: 0; font-size: clamp(4rem, 19vw, 6.5rem); }
  .simplicity-copy p { max-width: 20rem; margin: 2.6rem auto 0; font-size: 1rem; text-align: center; }
  .origin-copy { margin-bottom: 3rem; }
  .origin h2 { max-width: none; }
  .origin-note { margin-left: 0; }
  .origin-location { max-width: 23rem; margin-bottom: 0; }
  .origin-backdrop img { object-position: 54% center; opacity: 0.32; }

  .contact h2 span { display: inline; }
  .contact-form { padding: 6rem 0 0; }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.75rem 0.75rem;
  }
  .footer-brand img { width: 7.5rem; }
  .footer-brand p { max-width: 16ch; line-height: 1.6; }
  .footer-meta .footer-socials { gap: 0.15rem; }
  .footer-socials a { width: 44px; }

  .footer-meta ul { flex-wrap: wrap; }
}

@media (max-width: 410px) {
  .email-link { font-size: 0.9rem; }
  .hero-copy .eyebrow { max-width: 18rem; }
  h1 { font-size: clamp(3.55rem, 17.7vw, 4.5rem); }
  .service-row { grid-template-columns: 1.9rem minmax(0, 1fr) 4.3rem; }
  .service-row > .service-scope { font-size: 0.52rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .thought-trace { display: none; }
  .hero-birds { display: none; }
}

/* Selected work: a single horizontal shelf grows without adding page height. */
.header-links { display:flex; gap:clamp(1.5rem,4vw,3rem); align-items:center; }
.selected-work { padding:clamp(5rem,8vw,8rem) var(--page); background:#f7f3e9; }
.work-heading { display:flex; justify-content:space-between; align-items:end; gap:2rem; margin-bottom:3rem; }
.work-heading .eyebrow { color:var(--pink-action); }
.work-heading h2 { font-size:var(--section-title); line-height:1.04; }
.work-heading h2 span { color:var(--muted); }
.work-heading > p { max-width:24rem; margin:0 0 .4rem; color:var(--muted); font-size:var(--body-large); }
.project-track { display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 2rem)/2); gap:2rem; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:var(--charcoal-300) transparent; padding:0 0 1.5rem; margin:0; list-style:none; }
.project-card { min-width:0; scroll-snap-align:start; }
.project-preview { display:block; position:relative; overflow:hidden; border:1px solid rgba(44,37,37,.15); border-radius:9px; background:var(--paper); text-decoration:none; box-shadow:0 12px 30px -24px #2c252560; }
.project-browser { height:2rem; display:flex; justify-content:space-between; align-items:center; padding:0 .9rem; font-size:.63rem; letter-spacing:.03em; color:var(--charcoal-600); background:var(--paper); }
.browser-dots { font-size:.45rem; color:var(--charcoal-300); letter-spacing:.2em; }
.project-preview img { width:100%; height:auto; aspect-ratio:8/5; display:block; object-fit:contain; object-position:center; background:var(--paper); }
.project-preview:hover img { transform:none; }
.project-open { position:absolute; bottom:1rem; right:1rem; border-radius:2rem; background:var(--paper); padding:.65rem 1rem; font-size:.75rem; box-shadow:0 2px 12px #0002; opacity:0; transform:translateY(8px); transition:opacity .25s,transform .25s; }
.project-preview:hover .project-open,.project-preview:focus-visible .project-open { opacity:1; transform:none; }
.project-meta { display:flex; justify-content:space-between; align-items:center; gap:.75rem; margin:1.5rem 0 .7rem; font-size:.65rem; letter-spacing:.07em; text-transform:uppercase; color:var(--charcoal-600); }
.project-status { white-space:nowrap; display:inline-flex; align-items:center; gap:.4rem; }
.project-status i { width:5px; height:5px; background:var(--charcoal-500); border-radius:50%; }
.project-status-latest { color:var(--pink-action); }
.project-status-latest i { background:currentColor; }
.project-card h3 { font-size:clamp(1.9rem,3vw,3rem); line-height:1.15; }
.project-description { color:var(--charcoal-600); max-width:36rem; font-size:.95rem; line-height:1.7; margin:1rem 0; }
.project-link { display:inline-flex; gap:1.6rem; align-items:center; min-height:44px; font-size:.83rem; font-weight:500; text-decoration:none; border-bottom:1px solid var(--charcoal-400); }
.project-link:hover { color:var(--pink-action); border-color:currentColor; }
.work-footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-top:1.5rem; margin-top:1rem; border-top:1px solid var(--line); }
.work-footer p { margin:0; font-size:.75rem; color:var(--charcoal-600); }
.work-count { color:var(--pink-action); margin-right:.6rem; font-variant-numeric:tabular-nums; }
.work-controls:not([hidden]) { display:flex; align-items:center; gap:.65rem; }
.work-range { font-size:.72rem; min-width:3rem; }
.work-controls button { background:transparent; color:var(--charcoal); border:1px solid var(--line); width:44px; height:44px; border-radius:50%; font-size:1.2rem; cursor:pointer; }
.work-controls button:hover:enabled { background:var(--yellow); }
.work-controls button:disabled { opacity:.3; cursor:default; }
@media(max-width:700px) {
 .work-heading { display:block; margin-bottom:2rem; }
 .work-heading > p { margin-top:1.5rem; font-size:1rem; }
 .project-track { grid-auto-columns:88%; gap:1.1rem; margin-right:calc(-1 * var(--page)); padding-right:var(--page); scroll-padding-right:var(--page); }
 .project-meta { align-items:start; font-size:.58rem; letter-spacing:.035em; }
 .project-meta > span:first-child { max-width:55%; }
 .project-card h3 { font-size:2rem; }
 .project-description { font-size:.9rem; }
 .work-footer-note { display:none; }
 .project-open { display:none; }
}
@media(prefers-reduced-motion:reduce) { .project-preview img,.project-open { transition:none; } }

/* Featured project and a compact index; horizontal selector on mobile. */
.work-featured .work-heading { margin-bottom:3.5rem; }
.work-stage { display:grid; grid-template-columns:minmax(15rem, .8fr) minmax(0, 2fr); gap:clamp(2rem,5vw,6rem); align-items:start; }
.work-index-label { font-size:.65rem; text-transform:uppercase; letter-spacing:.15em; color:var(--muted); margin:0 0 1.5rem; }
.work-index-list { max-height:31rem; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--charcoal-300) transparent; }
.work-choice { display:flex; align-items:center; gap:1rem; width:100%; text-align:left; border:0; border-top:1px solid var(--line); background:transparent; color:var(--charcoal); padding:1.15rem .6rem 1.15rem 0; cursor:pointer; transition:color .2s,background .2s; }
.work-choice:last-child { border-bottom:1px solid var(--line); }
.work-choice-number { font-size:.65rem; align-self:flex-start; padding-top:.4rem; color:var(--muted); }
.work-choice strong { display:block; font-family:"Quicksand",sans-serif; font-weight:500; font-size:clamp(1.15rem,1.65vw,1.65rem); letter-spacing:-.045em; line-height:1.2; }
.work-choice small { display:block; margin-top:.5rem; font-family:"Inter",sans-serif; font-size:.6rem; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.work-choice-arrow { margin-left:auto; opacity:0; font-size:1.3rem; }
.work-choice[aria-pressed="true"] { color:var(--pink-action); }
.work-choice[aria-pressed="true"] .work-choice-arrow { opacity:1; }
.work-choice[aria-pressed="true"] .work-choice-number,.work-choice[aria-pressed="true"] small { color:var(--pink-action); }
.work-choice:hover { background:#fffdf680; }
.work-index-note { max-width:14rem; font-size:.8rem; color:var(--muted); line-height:1.6; margin:1.8rem 0 0; }
.work-featured .project-track { display:block; overflow:visible; margin:0; padding:0; }
.work-featured .project-card[hidden] { display:none; }
.work-featured .project-preview img { aspect-ratio:16/10; }
.work-featured .project-description { max-width:43rem; }
.work-featured .work-footer { margin-top:2.5rem; }
.work-featured .project-card { animation:work-in .4s var(--ease); }
@keyframes work-in { from { opacity:.3; transform:translateY(5px); } to { opacity:1; transform:none; } }
@media(max-width:700px) {
 .work-featured .work-heading { margin-bottom:2rem; }
 .work-stage { display:flex; flex-direction:column; gap:1.8rem; }
 .work-index { width:100%; }
 .work-index-label { margin-bottom:.8rem; }
 .work-index-list { display:flex; overflow-x:auto; max-height:none; gap:1.3rem; padding-bottom:.65rem; }
 .work-choice { flex:0 0 auto; width:auto; max-width:15rem; gap:.65rem; border-top:0; border-bottom:1px solid var(--line); padding:.6rem .3rem 1rem 0; }
 .work-choice:last-child { border-bottom:1px solid var(--line); }
 .work-choice[aria-pressed="true"] { border-bottom:2px solid var(--pink-action); }
 .work-choice strong { font-size:1.15rem; white-space:normal; }
 .work-choice-arrow,.work-index-note { display:none; }
 .work-featured .project-track { width:100%; }
 .work-featured .project-meta { font-size:.6rem; }
}
@media(prefers-reduced-motion:reduce) { .work-featured .project-card { animation:none; } }

/* Give the index a comfortable inset and a quieter selection indicator. */
.work-choice { padding-left:.85rem; padding-right:.85rem; }
.work-choice-arrow { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; border:1px solid currentColor; border-radius:50%; transition:opacity .2s,background .2s; }
.work-choice-arrow svg { width:17px; height:17px; }
.work-choice[aria-pressed="true"] .work-choice-arrow { background:var(--pink-50); }
@media(max-width:700px) { .work-choice { padding-left:.65rem; padding-right:.65rem; } .work-choice-arrow { display:none; } }

.work-featured .work-heading > p { max-width:23rem; text-wrap:balance; line-height:1.6; }
@media(max-width:700px) { .work-intro-break { display:none; } .work-featured .work-heading > p { max-width:21rem; } }

/* A brief paper flourish lives behind the preview, in its empty corner margin. */
.work-featured .project-track { position:relative; isolation:isolate; }
.work-featured .project-preview { z-index:1; }
.work-flourish { position:absolute; z-index:0; pointer-events:none; left:-36px; top:-70px; width:210px; height:130px; overflow:hidden; contain:strict; }
.work-confetti { position:absolute; left:44px; top:78px; width:8px; height:11px; color:var(--pink-300); opacity:0; animation:work-celebrate 1050ms var(--confetti-delay) cubic-bezier(.16,.6,.35,1) both; }
.work-confetti svg { display:block; width:100%; height:100%; overflow:visible; }
.work-confetti--heart { width:10px; height:10px; color:var(--pink-400); }
.work-confetti--star { width:11px; height:11px; color:var(--yellow-600); }
.work-confetti--circle { width:8px; height:8px; color:var(--pink-200); }
.work-confetti--spiral { width:13px; height:13px; color:var(--yellow-600); }
.work-confetti--ribbon { width:10px; height:14px; color:var(--pink-300); }
@keyframes work-celebrate {
  0% { opacity:0; transform:translate(0,0) rotate(0deg) scale(.6); }
  12% { opacity:.65; }
  65% { opacity:.45; }
  100% { opacity:0; transform:translate(var(--confetti-x),var(--confetti-y)) rotate(var(--confetti-turn)) scale(.85); }
}
@media(max-width:700px) {
 .work-flourish { left:-18px; top:-47px; width:165px; height:105px; }
 .work-confetti { left:26px; top:55px; }
}
@media(prefers-reduced-motion:reduce) {
 .work-confetti { display:none; animation:none; }
 .work-flourish::after { content:""; position:absolute; width:9px; height:9px; top:48px; left:20px; opacity:.45; background:var(--pink-300); clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%); }
}
