@font-face {
  font-family: "Rosato Grotesk";
  src: url("/rosato/assets/space-grotesk.woff2") format("woff2");
  font-display: swap;
  font-weight: 300 700;
}

.rosato-home {
  --rosato-rose: #edb7d9;
  --rosato-lilac: #d9b3fb;
  --rosato-text: #f9f3ff;
  --rosato-muted: #b9aec9;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 5vw, 5.5rem) var(--page-pad) clamp(3rem, 5vw, 5rem);
  color: var(--rosato-text);
  background: radial-gradient(ellipse at 77% 38%, #362044 0%, transparent 47%), #130e1b;
  scroll-margin-top: 1rem;
}

.rosato-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(120deg, #dca9ff06, transparent 55%);
  border-top: 1px solid #d9b3fb3d;
  pointer-events: none;
}

.rosato-home-inner { max-width: var(--content); margin-inline: auto; }
.rosato-home-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rosato-home-brand { display: inline-flex; align-items: center; gap: .8rem; }
.rosato-home-brand img { width: 36px; height: 43px; object-fit: contain; }
.rosato-home-brand span { font-family: "Rosato Grotesk", sans-serif; font-size: 1.5rem; font-weight: 600; letter-spacing: .18em; }
.rosato-home-topline > p { margin: 0; color: var(--rosato-muted); font-size: .75rem; letter-spacing: .03em; }
.rosato-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 4vw, 5rem); padding-block: clamp(2.7rem, 4vw, 4.3rem); }
.rosato-home-copy { position: relative; z-index: 1; }
.rosato-home-eyebrow { margin: 0 0 1.4rem; color: var(--rosato-lilac); font: 500 .7rem/1.5 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.rosato-home h2 { margin: 0; font: 500 clamp(3.1rem, 5.5vw, 6rem)/1.06 "Rosato Grotesk", sans-serif; letter-spacing: -.065em; }
.rosato-home h2 span { color: var(--rosato-rose); background: linear-gradient(110deg, #e7c1ff 12%, #efacd1 82%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: .07em; }
.rosato-home-intro { max-width: 34rem; margin: 1.7rem 0 0; color: #e0d8e9; font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.7; }
.rosato-home-detail { max-width: 30rem; margin: 1rem 0 0; color: var(--rosato-muted); font-size: .85rem; line-height: 1.7; }
.rosato-home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.1rem 1.7rem; margin-top: 2rem; }
.rosato-home-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 52px; padding: .85rem 1.2rem; border-radius: .35rem; background: #edc0e5; color: #24162b; font-size: .86rem; font-weight: 700; transition: background 160ms, transform 160ms; }
.rosato-home-primary:hover { background: #f6daef; transform: translateY(-2px); }
.rosato-home-secondary { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; color: #e3c9f3; font-size: .82rem; }
.rosato-home-secondary:hover { color: #fff; }
.rosato-home :focus-visible { outline: 2px solid #f1c9ec; outline-offset: 5px; }

.rosato-home-visual { position: relative; min-width: 0; perspective: 1000px; }
.rosato-home-scene { position: relative; aspect-ratio: 640 / 520; transform-style: preserve-3d; transform: rotateX(var(--rosato-rx, 0deg)) rotateY(var(--rosato-ry, 0deg)); transition: transform 500ms ease-out; }
.rosato-home-gridlines { position: absolute; inset: 0; background-image: linear-gradient(#d3adf50b 1px, transparent 1px), linear-gradient(90deg, #d3adf50b 1px, transparent 1px); background-size: 8% 10%; mask-image: radial-gradient(ellipse at center, black 10%, transparent 72%); }
.rosato-home-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rosato-home-track { stroke: #c9a1e634; stroke-width: 1.2; }
.rosato-home-signals { stroke-width: 2; stroke-linecap: round; stroke-dasharray: 12 88; }
.rosato-home-signals path { animation: rosato-home-flow 6s linear infinite; }
.rosato-home-signals path:nth-child(2) { animation-delay: -3s; }
.rosato-home-signals path:nth-child(3) { animation-delay: -1.5s; }
.rosato-home-signals path:nth-child(4) { animation-delay: -4.5s; }
.rosato-home-route-points { fill: #e8baf0; }
.rosato-home-orbits { position: absolute; inset: 20% 21%; border: 1px solid #d5a9f521; border-radius: 50%; transform: rotate(-24deg); }
.rosato-home-orbits::before, .rosato-home-orbits::after { content: ""; position: absolute; inset: 9%; border: 1px solid #c49be51c; border-radius: 50%; transform: rotate(62deg) scaleX(1.25); }
.rosato-home-orbits::after { inset: -14%; transform: rotate(40deg) scaleY(.65); }
.rosato-home-orbits i { position: absolute; inset: 0; border-radius: 50%; animation: rosato-home-orbit 22s linear infinite; }
.rosato-home-orbits i::before { content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #f3c4eb; box-shadow: 0 0 16px #f3c4eb; }
.rosato-home-orbits i:nth-child(2) { inset: 10%; animation-duration: 17s; animation-direction: reverse; }
.rosato-home-orbits i:nth-child(2)::before { background: #b3ecd1; width: 4px; height: 4px; }
.rosato-home-orbits i:nth-child(3) { inset: -13%; animation-duration: 29s; }
.rosato-home-orbits i:nth-child(3)::before { background: #b999e2; width: 3px; height: 3px; }
.rosato-home-core { position: absolute; left: 50%; top: 50%; width: 28%; aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem; transform: translate(-50%, -50%); border: 1px solid #ecc0f76e; border-radius: 50%; background: radial-gradient(circle at 32% 20%, #523259, #25152d 70%); box-shadow: 0 18px 60px #07040980, 0 0 60px #c082ed1e, inset 0 1px 14px #e6c7f21c; }
.rosato-home-core img { width: 40%; height: auto; object-fit: contain; }
.rosato-home-core > span { font: 500 clamp(.5rem, .8vw, .68rem)/1 "Rosato Grotesk", sans-serif; letter-spacing: .22em; }
.rosato-home-core-ring { position: absolute; inset: -7%; border-radius: 50%; border: 1px dashed #e2b4f644; animation: rosato-home-orbit 45s linear infinite; }
.rosato-home-node { position: absolute; width: 22%; aspect-ratio: 1.32; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; border: 1px solid #c3a2e035; border-radius: 1rem; background: linear-gradient(150deg, #302238ee, #1c1426ee); box-shadow: 0 15px 32px #08050d4d, inset 0 1px #ffffff05; animation: rosato-home-float 8s ease-in-out infinite; }
.rosato-home-node img { width: 27%; height: 35%; object-fit: contain; }
.rosato-home-node > span { color: #e9dff2; font-size: clamp(.65rem, .9vw, .8rem); }
.rosato-home-cow { top: 12%; left: 6.5%; }
.rosato-home-inch { top: 12%; right: 6.5%; animation-delay: -2s; }
.rosato-home-kyber { bottom: 12%; left: 6.5%; animation-delay: -4s; }
.rosato-home-ocean { bottom: 12%; right: 6.5%; animation-delay: -6s; }
.rosato-home-motion { position: absolute; z-index: 2; right: 0; bottom: -1rem; min-height: 36px; display: inline-flex; align-items: center; gap: .45rem; border: 0; padding: .4rem; color: #bcb0cb; background: transparent; font: inherit; font-size: .65rem; cursor: pointer; }
.rosato-home-motion[hidden] { display: none; }
.rosato-home-motion:hover { color: #fff; }
.rosato-home-motion-icon { font-size: .8rem; }
.rosato-home[data-paused="true"] .rosato-home-scene *, .rosato-home[data-paused="true"] .rosato-home-scene *::before { animation-play-state: paused; }

.rosato-home-strategies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #dac0ec26; }
.rosato-home-strategies > a { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: 1.6rem 1.7rem 0; }
.rosato-home-strategies > a:first-child { padding-left: 0; }
.rosato-home-strategies > a:last-child { padding-right: 0; }
.rosato-home-strategies > a + a { border-left: 1px solid #dac0ec26; }
.rosato-home-strategy-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; flex-shrink: 0; color: #dcafea; background: #c994f00b; border: 1px solid #e6b4f01f; border-radius: .65rem; font-size: 1.25rem; }
.rosato-home-strategy-icon svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.rosato-home-strategies strong { display: block; font-size: .83rem; font-weight: 600; line-height: 1.4; }
.rosato-home-strategies small { display: block; margin-top: .25rem; color: var(--rosato-muted); font-size: .7rem; line-height: 1.6; }
.rosato-home-strategy-arrow { margin-left: auto; color: #b892cc; transition: transform 180ms; }
.rosato-home-strategies > a:hover .rosato-home-strategy-arrow { transform: translate(2px, -2px); color: #fff; }

@keyframes rosato-home-flow { to { stroke-dashoffset: -100; } }
@keyframes rosato-home-orbit { to { transform: rotate(360deg); } }
@keyframes rosato-home-float { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

@media (min-width: 901px) and (max-width: 1220px) {
  .site-nav { gap: 1.2rem; }
  .site-nav .brand-logo { width: 185px; }
  .nav-links { gap: 1rem; font-size: .77rem; }
  .nav-cta { font-size: .77rem; }
}

@media (max-width: 900px) {
  .rosato-home-grid { gap: 1rem; }
  .rosato-home h2 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
  .rosato-home-strategies > a { padding-inline: 1rem; gap: .65rem; }
  .rosato-home-strategies small { font-size: .66rem; }
}

@media (max-width: 680px) {
  .rosato-home-topline { flex-wrap: wrap; gap: 1rem; }
  .rosato-home-topline > p { font-size: .68rem; }
  .rosato-home-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; padding-block: 2.5rem 2rem; }
  .rosato-home h2 { font-size: clamp(3.2rem, 11vw, 4.8rem); }
  .rosato-home-intro { max-width: 33rem; }
  .rosato-home-visual { width: min(100%, 540px); margin-inline: auto; }
  .rosato-home-core > span { font-size: .6rem; }
  .rosato-home-node > span { font-size: .7rem; }
  .rosato-home-motion { bottom: -.6rem; }
  .rosato-home-strategies { grid-template-columns: minmax(0, 1fr); margin-top: 1rem; }
  .rosato-home-strategies > a, .rosato-home-strategies > a:first-child, .rosato-home-strategies > a:last-child { padding: 1.1rem 0; }
  .rosato-home-strategies > a + a { border-left: 0; border-top: 1px solid #dac0ec26; }
  .rosato-home-strategies small { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .rosato-home-scene { transform: none; }
  .rosato-home *, .rosato-home *::before, .rosato-home *::after { animation: none !important; transition: none !important; }
  .rosato-home-signals { stroke-dasharray: none; opacity: .45; }
}
