@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces72ptSoft-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* The shared sculpture field is the background for this entire sequence. */
.home-story .why {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 0;
  padding: 0;
  overflow: visible;
  isolation: isolate;
  /* The full-height stage includes its own clearance for the floating nav. */
  scroll-margin-top: calc(0px - var(--hdr) - 12px);
  --type-in: 1;
  --nest: 1;
  --grow: 1;
  --surface-in: 1;
  --embed: 1;
  --caption-in: 1;
}
.why__scene {
  --object-size: clamp(150px, min(44svh, 74vw), 445px);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(90px, 12svh, 142px) 4vw clamp(24px, 5svh, 70px);
  overflow: hidden;
  overflow: clip;
}
.why[data-motion="on"] .why__scene { position: sticky; top: 0; }
.why[data-motion="on"]::after {
  content: "";
  display: block;
  height: clamp(215px, 62svh, 620px);
  pointer-events: none;
}
.why #why-heading {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
  text-wrap: balance;
  color: #fff;
  font: 400 clamp(44px, min(7.9vw, 12.4svh), 148px)/.98 var(--font-display);
  letter-spacing: -.048em;
}
.why__opening, .why__ending { display: block; }
.why__opening {
  transform: translate3d(0, calc((1 - var(--type-in)) * .83em), 0);
  /* A letter-sized edge keeps the white face readable on the pale suede. */
  -webkit-text-stroke: max(1px, .018em) rgb(21 45 105 / 80%);
  paint-order: stroke fill;
  text-shadow: 0 .022em 0 rgb(21 45 105 / 66%), 0 .045em .07em rgb(17 37 83 / 30%);
}
.why__opening span { display: inline-block; white-space: nowrap; }
.why__ending {
  margin-top: .055em;
  font-size: .94em;
  font-weight: 700;
  color: var(--blue);
  opacity: var(--type-in);
  transform: translate3d(0, calc((1 - var(--type-in)) * .27em), 0);
}
.why__object {
  position: relative;
  flex: none;
  width: var(--object-size);
  aspect-ratio: 1;
  margin: clamp(10px, 2svh, 25px) auto 0;
  user-select: none;
  pointer-events: none;
}
.why__object::before {
  content: "";
  position: absolute;
  left: 20%; right: 20%; bottom: -3%; height: 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(3 10 40 / 47%), transparent 72%);
  transform: scaleX(calc(.8 + var(--nest) * .3));
}
.why__sphere {
  position: absolute;
  z-index: 1;
  /* The original Blue Dot has a clear margin. Align its pigment to the figure. */
  width: 121%; max-width: none; height: 121%; left: -9.7%; top: -12%;
  /* The ball is born hidden behind the box and grows out from it as the dots land. */
  opacity: var(--surface-in);
  transform: scale(calc(.42 + var(--grow) * .58));
}
.why__socket { display: none; }
/* The box ends up set into the ball: it slides so its front face is centred, then the ball's surface closes
   over its top and side until only that face shows, shaded like a recess. */
.why__cube {
  position: absolute;
  z-index: 4;
  inset: 0;
  transform: translate(calc(var(--nest) * 3.5%), calc(var(--nest) * -1.85%)) scale(calc(.99 - var(--nest) * .39));
  -webkit-clip-path: inset(calc(var(--embed) * 17.9%) calc(var(--embed) * 21.7%) calc(var(--embed) * 11.6%) calc(var(--embed) * 10%) round calc(var(--embed) * 5.6%));
  clip-path: inset(calc(var(--embed) * 17.9%) calc(var(--embed) * 21.7%) calc(var(--embed) * 11.6%) calc(var(--embed) * 10%) round calc(var(--embed) * 5.6%));
}
.why__cube img { display: block; width: 100%; height: 100%; }
.why__cube::after {
  content: "";
  position: absolute;
  inset: 17.9% 21.7% 11.6% 10%;
  border-radius: 8.2% / 7.9%;
  --u: calc(var(--object-size) * .01);
  box-shadow:
    inset 0 0 0 calc(var(--u) * .45) rgb(0 20 92 / 55%),
    inset calc(var(--u) * 2.2) calc(var(--u) * 3) calc(var(--u) * 4.5) rgb(0 10 54 / 62%),
    inset calc(var(--u) * -1) calc(var(--u) * -1.4) calc(var(--u) * 3) rgb(0 16 76 / 30%);
  opacity: var(--embed);
  pointer-events: none;
}
.why__you {
  position: absolute;
  left: 47%; top: 65.7%;
  color: white;
  font: 600 clamp(calc(21px + var(--nest) * 3px), calc(var(--object-size) * .071), 32px)/1 var(--font-body);
  letter-spacing: -.025em;
  transform: translate(-50%, -50%);
}
.why__swarm {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
}
/* During the burst the same canvas spans both chapters, underneath the nav. */
.why__swarm--departing { position: fixed; z-index: 8; }
.why__closing {
  position: relative;
  z-index: 4;
  margin: clamp(19px, 3.1svh, 40px) 0 0;
  max-width: 45ch;
  color: var(--blue);
  text-shadow: 0 1px 2px rgb(242 240 231 / 55%);
  font: 500 clamp(15px, 1.3vw, 21px)/1.4 var(--font-body);
  text-align: center;
  text-wrap: balance;
  opacity: calc(var(--caption-in) * var(--statement-alpha, 1));
  transform: translate3d(0, calc((1 - var(--caption-in)) * 8px), 0);
}
.why__headline { opacity: var(--statement-alpha, 1); }
.why[data-phase="burst"] .why__object {
  opacity: var(--object-alpha, 1);
  transform: scale(var(--pulse-x, 1), var(--pulse-y, 1));
}
@media (max-width: 740px) {
  .why #why-heading { font-size: clamp(45px, 12vw, 78px); line-height: 1.02; }
  .why__scene { padding-inline: 5vw; }
  .why__closing { max-width: 30ch; }
}
@media (max-height: 520px) {
  .why__scene { --object-size: clamp(142px, 38svh, 195px); padding-block: 80px 24px; }
  .why #why-heading { font-size: clamp(32px, min(6vw, 10svh), 52px); }
  .why__object, .why__closing { margin-top: 8px; }
  .why__closing { max-width: none; font-size: 14px; }
  .why__you { font-size: calc(18px + var(--nest) * 3px); }
}
@media (prefers-reduced-motion: reduce) {
  .why[data-motion="on"]::after, .why__swarm { display: none; }
  .why[data-motion="on"] .why__scene { position: relative; }
}

/* Existing glass treatments and Services spacing. */
.copy-glass{background:linear-gradient(135deg,#fffdf38c,#faf9f378);border:1px solid #fffefa94;border-radius:22px 22px 22px 7px;box-shadow:inset 0 1px 0 #fff9,inset 0 -1px 0 #fff3,0 8px 30px #00205207;-webkit-backdrop-filter:blur(5px) saturate(1.06);backdrop-filter:blur(5px) saturate(1.06);color:#202d46}
.home-story .how__intro{padding:18px 22px;max-width:34ch}
.home-story .process.copy-glass{padding:22px 28px 28px;background:linear-gradient(130deg,#fffdf36e,#f9f8f14d)}
.process.copy-glass .process__conventional{padding-top:5px;border-top:0;color:#4e596c}
.process.copy-glass .process__steps p,.process.copy-glass .process__wyrd-heading p,.process.copy-glass .process__closing>span{color:#26334a}
.process.copy-glass .process__steps h4,.process.copy-glass .process__step,.process.copy-glass .process__wyrd-heading h3{color:var(--blue)}
.home-story .services__detail{padding:10px 13px;background:#fffdf38c;border:1px solid #fffefa85;border-radius:18px 18px 18px 5px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:#202d46;transition:background .4s,color .4s}
.services__row[data-ready="true"]:hover .services__detail,.services__row:focus-visible .services__detail{background:#ffffff12;color:var(--cream);border-color:#ffffff38}
.services__bridge-copy{max-width:430px;padding:17px 22px;margin:28px 0 0 10vw;font:400 16px/1.55 var(--font-body)}
.services__bridge-copy .liquid-word{white-space:pre}

.home-story .services__intro { padding: clamp(104px, 13svh, 132px) 7vw 28px; }
@media (max-width: 1050px) { .process.copy-glass .process__steps { gap: 18px; } }
@media (max-width: 767px) {
  .home-story .services__intro { padding: 112px 24px 24px; }
  .services__bridge-copy { font-size: 14px; max-width: 330px; margin: 24px 0 0; padding: 14px 17px; }
  .home-story .how__intro { padding: 17px 20px; max-width: none; }
  .home-story .process.copy-glass { padding: 20px 18px 24px; margin-inline: -4px; width: calc(100% + 8px); }
  .home-story .services__detail { padding: 12px 14px; }
}
@media (max-height: 730px) and (min-width: 768px) {
  .home-story .services__intro { padding-top: 120px; }
  .services__bridge-copy { margin-top: 20px; font-size: 14px; }
}

/* Shared sculpted CTA system; only the materials switch between primary and secondary. */
.hero__actions{position:absolute;z-index:5;left:50%;bottom:clamp(32px,6svh,68px);transform:translateX(-50%);display:flex;align-items:center;gap:18px;width:max-content;max-width:calc(100% - 32px)}
.hero__action.btn{--bh:56px;box-shadow:none;backdrop-filter:none}
.story-link.btn{gap:0;padding:0 4px calc(var(--bh) * .04);border-bottom-width:0;font-size:12px;min-width:225px}
.story-link.btn:hover{gap:0}
@media(max-width:767px){.hero__actions{bottom:17svh;gap:12px}.hero__action.btn{--bh:47px;font-size:12px}.story-link.btn{--bh:49px;font-size:11px;min-width:210px}}
