@font-face {
  font-family: Space;
  src: url("/assets/particlesoup-20261106/space-grotesk.woff2") format("woff2");
  font-display: swap;
  font-weight: 300 700;
}
:root {
  color-scheme: dark;
  --ink: #edf5fb;
  --muted: #aebdca;
  --ice: #a4e7ff;
  --border: #ffffff30;
  --pad: clamp(22px, 5vw, 100px);
  font: 400 16px/1.45 Space, system-ui, sans-serif;
  background: #070a0e;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
.skip { position: absolute; z-index: 5; top: 12px; left: var(--pad); padding: 12px; background: #172534; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header {
  position: fixed; inset: 0 0 auto; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 20px; min-height: 62px; padding: 0 var(--pad);
  border-bottom: 1px solid #ffffff15; background: #080c11ee;
  font-size: .85rem;
}
.header nav { display: flex; gap: 30px; }
.header [aria-current="page"] { color: var(--ice); }
body:has(.stage.opening) .header { background: linear-gradient(#080c1194, transparent); border-color: transparent; }
.brand { display: flex; align-items: center; gap: 7px; font-size: 1.2rem; letter-spacing: -.05em; }
.brand img, .fallback { filter: invert(1); }
.contact { justify-self: end; border-bottom: 1px solid var(--border); padding-block: 9px; }
.stage {
  position: relative; isolation: isolate;
  min-height: 100svh; display: grid; align-items: center;
  padding: 82px var(--pad) 146px;
  overflow: clip;
  background: #080c12;
}
.journey.is-scrollable { height: calc(100svh + var(--distance)); }
.is-scrollable .stage { position: sticky; top: 0; height: 100svh; }
.material { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.backlight {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 56% 46%, #203a4c 0%, #10212f 27%, #0b131d 56%, #06090f 82%);
}
.backlight::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(#ffffff09 1px, transparent 1px), linear-gradient(90deg, #ffffff09 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 80%);
}
canvas { position: absolute; width: 100%; height: 100%; }
.material::after {
  content: ""; position: absolute; inset: 0; opacity: var(--shade, 1);
  background: linear-gradient(90deg, #06080de8 0%, #06080d9e 32%, #06080d48 51%, transparent 75%),
    linear-gradient(0deg, #080c12 2%, #080c1200 36%);
}
.fallback { position: absolute; width: clamp(120px, 33vw, 480px); right: 10%; top: 27%; opacity: .23; }
.rendered .fallback { display: none; }
.intro { max-width: min(62vw, 835px); position: relative; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--ice); }
h1, h2, p { margin: 0; }
h1 { margin: 18px 0 24px; font-size: clamp(3.55rem, 7.35vw, 8.5rem); font-weight: 600; letter-spacing: -.076em; line-height: .92; }
h1 em { display: block; color: var(--ice); font-style: normal; }
.lead { max-width: 410px; font-size: clamp(1rem, 1.42vw, 1.25rem); color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 21px; margin-top: 27px; }
.button { display: inline-flex; min-height: 44px; align-items: center; padding: 11px 18px; color: #09131b; background: var(--ink); border-radius: 40px; font-size: .86rem; font-weight: 600; }
.link { font-size: .86rem; padding-block: 8px; border-bottom: 1px solid var(--border); }
.scene-note {
  position: absolute; inset: auto 0 53px;
  display: flex; justify-content: space-between; align-items: end; gap: 14px;
  padding: 25px var(--pad) 15px;
  background: linear-gradient(transparent, #080c12e8);
}
.scene-index { color: var(--ice); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.scene-title { font-size: clamp(1.36rem, 2.25vw, 2.2rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.12; margin-top: 6px; }
.scene-description { color: var(--muted); font-size: .9rem; margin-top: 5px; }
.scene-link { display: grid; align-items: center; min-height: 44px; font-size: .84rem; color: var(--ice); border-bottom: 1px solid var(--border); white-space: nowrap; }
.chapter-bar { position: absolute; inset: auto 0 0; background: #080c12f2; }
.chapters {
  position: relative; display: flex; align-items: stretch;
  margin-inline: var(--pad); overflow-x: auto; scrollbar-width: none;
  border-top: 1px solid var(--border);
}
.chapters button, .chapters a {
  display: grid; place-items: center; flex: 1 0 auto;
  font: inherit; font-size: .77rem; color: var(--muted); background: none;
  border: 0; border-bottom: 2px solid transparent; padding: 8px 12px;
  min-height: 51px; cursor: pointer; white-space: nowrap;
}
.chapters button:focus-visible, .chapters a:focus-visible { outline-offset: -3px; }
.chapters button[aria-current=true] { color: var(--ink); border-color: var(--ice); }
.progress { height: 2px; background: #ffffff1a; }
.progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--ice); }
.content { max-width: 1440px; margin: auto; padding: clamp(55px, 8vw, 125px) var(--pad) 0; scroll-margin-top: 63px; }
.content h2 { font-size: clamp(2.3rem, 5.4vw, 5.3rem); letter-spacing: -.07em; line-height: .99; font-weight: 600; }
.section-lead { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; gap: 25px; margin-bottom: 34px; }
.section-lead h2, .closing h2 { margin-top: 12px; }
.section-lead > p { color: var(--muted); line-height: 1.65; max-width: 340px; }
.services a { display: grid; grid-template-columns: minmax(180px, .7fr) 1fr; min-height: 77px; align-items: center; gap: 10px 24px; padding: 16px 0; border-top: 1px solid var(--border); }
.services a:last-child { border-bottom: 1px solid var(--border); }
.services a:hover strong { color: var(--ice); }
.services strong { font-size: clamp(1.25rem, 2.3vw, 2.15rem); letter-spacing: -.045em; font-weight: 600; }
.services span { color: var(--muted); }
.method { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.method > div { border-top: 1px solid var(--border); }
.method h3 { margin: 15px 0 7px; }
.method p { color: var(--muted); }
.closing { margin-top: clamp(54px, 8vw, 124px); scroll-margin-top: 55px; background: radial-gradient(ellipse at 78% 20%, #1a3747, #0c171f 48%, #070a0e 82%); border-top: 1px solid var(--border); }
.closing .content { padding-bottom: clamp(40px, 8vw, 110px); }
.closing h2 { max-width: 850px; font-size: clamp(3.1rem, 9.3vw, 9rem); margin-bottom: 25px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 27px; padding: 20px var(--pad); border-top: 1px solid var(--border); color: var(--muted); font-size: .83rem; }
.footer-links a:first-child { margin-right: auto; color: var(--ink); }
@media (max-width: 740px) {
  .header { min-height: 54px; gap: 10px; }
  .header nav { gap: 12px; font-size: .76rem; }
  .header nav [aria-current="page"] { display: none; }
  .brand { font-size: 1rem; gap: 3px; }
  .brand img { width: 24px; height: 24px; }
  .contact { font-size: .76rem; }
  .stage { padding: 74px var(--pad) 170px; align-items: end; }
  .intro { max-width: 100%; }
  .eyebrow { font-size: .63rem; }
  h1 { font-size: clamp(2.45rem, 10.7vw, 4.2rem); margin: 12px 0 14px; text-wrap: initial; }
  .lead { font-size: .9rem; max-width: 350px; }
  .actions { gap: 5px 14px; margin-top: 15px; }
  .button, .link { font-size: .77rem; }
  .button { min-height: 42px; padding: 9px 13px; }
  .backlight { background: radial-gradient(ellipse at 50% 67%, #294a5c 0%, #131f2b 28%, #080c12 67%); }
  .material::after { background: linear-gradient(0deg, #080c12 3%, #080c12ba 31%, #080c1252 57%, transparent 81%); }
  .fallback { right: 25%; top: 54%; width: 50%; }
  .scene-note { bottom: 49px; padding-top: 15px; padding-bottom: 10px; gap: 10px; }
  .scene-index { font-size: .62rem; }
  .scene-title { font-size: 1.22rem; }
  .scene-description { font-size: .76rem; line-height: 1.3; }
  .scene-link { flex: 0 0 66px; white-space: normal; font-size: .72rem; }
  .opening .scene-description { display: none; }
  .chapters button, .chapters a { min-height: 47px; font-size: .74rem; padding-inline: 11px; }
  .services a { grid-template-columns: 1fr; }
  .section-lead { grid-template-columns: 1fr; gap: 14px; }
  .method { grid-template-columns: 1fr; gap: 17px; }
}
@media (max-width: 370px) {
  .header nav { gap: 8px; }
  .header { padding-inline: 14px; }
}
@media (max-width: 740px) and (max-height: 650px) {
  .stage { padding-top: 67px; padding-bottom: 139px; }
  h1 { font-size: clamp(2.05rem, 9.4vw, 3.4rem); margin: 9px 0 11px; }
  .lead { font-size: .81rem; }
  .actions { margin-top: 10px; }
}
@media (max-height: 570px) and (min-width: 741px) {
  h1 { font-size: clamp(2.5rem, 6.1vw, 3.6rem); margin: 10px 0 12px; }
  .lead { font-size: .9rem; }
  .actions { margin-top: 14px; }
}
@media (max-height: 430px) {
  .stage { min-height: 540px; }
}

.stage { background: #080b11; }
.backlight {
  background: radial-gradient(ellipse at 65% 43%, #111e2c, #090f18 55%, #070a10 84%);
}
.backlight::after { content: none; }
.material::after {
  background: linear-gradient(90deg, #070a0f99, #070a0f35 57%, transparent 78%),
    linear-gradient(0deg, #080b11, transparent 31%);
}
.opening .scene-index { display: none; }
.opening .scene-title { margin: 0; font-size: clamp(.9rem, 1.3vw, 1.3rem); letter-spacing: -.02em; }
@media (max-width: 740px) {
  .material::after {
    background: linear-gradient(0deg, #080b11 7%, #080b11de 32%, #080b115c 57%, transparent 72%);
  }
}

/* Keep the production consent controls in the home stylesheet. */
.cookie-panel {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 50;
  width: min(500px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 25px;
  background: #15212d;
  border: 1px solid #466077;
  border-radius: 10px;
  box-shadow: 0 15px 80px #0008;
}
.cookie-panel h2 { font-size: 23px; letter-spacing: -.03em; margin: 0 0 15px; }
.cookie-panel p { font-size: 13px; line-height: 1.65; margin: 0 0 15px; }
.cookie-panel > a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.cookie-actions button { min-height: 44px; border: 1px solid #526e84; border-radius: 5px; padding: 12px; background: transparent; color: var(--ink); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; }
.cookie-actions [data-cookie-reject], .cookie-actions [data-cookie-accept] { flex: 1 1 160px; background: var(--ink); color: #070a0e; border-color: var(--ink); }
.cookie-actions [data-cookie-close] { flex-basis: 100%; }
.cookie-actions button:hover { border-color: var(--ice); }
.cookie-panel .cookie-detail { font-size: 11px; margin: 15px 0 0; }
.footer-links [data-cookie-preferences] { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-links [data-cookie-preferences]:hover { color: var(--ice); }
@media (max-width: 600px) {
  .cookie-panel { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 19px; }
  .cookie-actions [data-cookie-reject], .cookie-actions [data-cookie-accept] { flex-basis: 100%; }
}
