:root {
  --bg: #000000;
  --bg-deep: #000000;
  --text: #ffffff;
  --muted: #b5b5b5;
  --accent: #ff6a3d;
  --line: rgba(255, 255, 255, 0.18);
  --glass: rgba(0, 0, 0, 0.65);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --grid-gap: clamp(16px, 2vw, 28px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
}

h1, h2, h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site {
  min-height: 100vh;
  background: #000000;
  padding-top: 80px;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.section {
  padding: clamp(60px, 10vw, 120px) 0;
}

.section-head {
  grid-column: 1 / -1;
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  gap: 10px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  border-bottom: 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 20px;
}

.site-header .btn {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.site-header .btn-primary {
  background: #C9A84C;
  color: #000000;
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.2);
}

.site-header .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(201, 168, 76, 0.28);
}

.form-grid .btn-primary {
  background: #C9A84C;
  color: #000000;
  box-shadow: 0 12px 32px rgba(201, 168, 76, 0.2);
}

.form-grid .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(201, 168, 76, 0.28);
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
  color: #ffffff;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  font-size: 1.08rem;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bar + .nav-toggle__bar {
  margin-top: 0;
}

.site-header.menu-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-logo {
  position: absolute;
  left: clamp(16px, 4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 11;
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}

.site-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.intro-splash {
  min-height: 68vh;
  display: flex;
  align-items: center;
  background: #000000;
}

.intro-title {
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 1;
  color: #ffffff;
  max-width: 720px;
}

.hero-grid {
  align-items: center;
}

.hero-copy {
  grid-column: 1 / 7;
}

.hero-visual {
  grid-column: 7 / -1;
}

.hero .subhead {
  font-size: 1.1rem;
  color: #e6e6e6;
  max-width: 520px;
}

.promise {
  font-weight: 600;
  color: var(--text);
  margin-top: 12px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.visual-panel {
  position: relative;
  background: #0b0b0b;
  border-radius: 24px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 360px;
}

.lookbook {
  position: absolute;
  inset: 20% 12% 18% 12%;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.1));
  border-radius: 20px;
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.05);
}

.ripple {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 106, 61, 0.3), transparent 60%),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.08), transparent 55%);
  filter: blur(2px);
  animation: drift 12s ease-in-out infinite;
}

.hero-metrics {
  position: absolute;
  inset: auto 24px 24px 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  background: var(--glass);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid var(--line);
}

.metric {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
}

.label {
  font-size: 0.75rem;
  color: var(--muted);
}

.pillars {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--grid-gap);
  margin-top: 32px;
}

.pillar {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  background: #0b0b0b;
}

.dark {
  background: #000000;
  color: #f2f2f2;
}

.dark p,
.dark .tag {
  color: rgba(255, 255, 255, 0.7);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--grid-gap);
  margin-top: 32px;
}

.case-card {
  padding: 24px;
  border-radius: 20px;
  background: #0b0b0b;
  border: 1px solid var(--line);
}

.case-card .metric {
  color: #ffffff;
}

.tag {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.loop {
  grid-column: 1 / -1;
  position: relative;
  display: grid;
  width: min(980px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(96px, auto));
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  column-gap: clamp(2px, 0.5vw, 8px);
  row-gap: clamp(0px, 0.35vw, 6px);
  min-height: clamp(340px, 40vw, 450px);
  align-items: center;
}

.loop-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.loop-connector-link {
  fill: none;
  stroke: rgba(156, 227, 255, 0.95);
  stroke-width: 1.45;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  marker-end: url(#loop-arrow);
}

.loop-connector marker path {
  fill: rgba(156, 227, 255, 0.95);
}

.loop-step {
  padding: 22px 24px;
  border: 1px solid rgba(128, 182, 228, 0.38);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(79, 123, 162, 0.22) 0%, rgba(23, 40, 56, 0.16) 34%, rgba(7, 13, 20, 0.98) 100%),
    radial-gradient(120% 140% at 24% 20%, rgba(136, 198, 248, 0.22) 0%, rgba(136, 198, 248, 0.04) 46%, rgba(0, 0, 0, 0) 100%);
  box-shadow:
    inset 0 1px 0 rgba(220, 240, 255, 0.24),
    inset 0 -1px 0 rgba(0, 0, 0, 0.88),
    0 14px 24px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  width: min(100%, 280px);
  height: clamp(190px, 18vw, 220px);
  display: flex;
  flex-direction: column;
}

.loop-step::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -7px;
  height: 7px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(180deg, rgba(130, 166, 194, 0.36) 0%, rgba(14, 22, 30, 0.94) 100%);
  box-shadow: 0 6px 14px rgba(79, 133, 178, 0.18);
}

.loop-step::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -20px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(144, 199, 242, 0.34) 0%, rgba(144, 199, 242, 0.08) 46%, rgba(144, 199, 242, 0) 76%);
  filter: blur(5px);
  pointer-events: none;
}

.loop-step--top {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}

.loop-step--right {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
}

.loop-step--bottom {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
}

.loop-step--left {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
}

.loop-step span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #90c7f2;
  text-shadow: 0 0 10px rgba(144, 199, 242, 0.22);
}

.loop-step h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.1;
  margin: 10px 0 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
  margin-top: 32px;
  align-items: start;
}

.services-fork {
  margin-top: 32px;
  display: grid;
  --fork-gap: clamp(34px, 4vw, 62px);
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  column-gap: var(--fork-gap);
  row-gap: 8px;
  align-items: center;
}

.fork-slab {
  --plate-w: clamp(220px, 23vw, 300px);
  --plate-h: clamp(150px, 16vw, 210px);
  position: relative;
  width: 100%;
  min-height: var(--plate-h);
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
}

.fork-plate {
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--plate-w);
  height: var(--plate-h);
  transform: translateY(-50%) perspective(900px) rotateX(62deg) rotateZ(-16deg);
  transform-origin: 50% 52%;
  border-radius: 3px;
  border: 1px solid rgba(128, 182, 228, 0.36);
  background:
    linear-gradient(180deg, rgba(79, 123, 162, 0.24) 0%, rgba(23, 40, 56, 0.16) 34%, rgba(7, 13, 20, 0.98) 100%),
    radial-gradient(120% 140% at 22% 18%, rgba(136, 198, 248, 0.2) 0%, rgba(136, 198, 248, 0.02) 42%, rgba(0, 0, 0, 0) 100%);
  box-shadow:
    inset 0 1px 0 rgba(220, 240, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.9),
    0 12px 18px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.fork-plate::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -8px;
  height: 8px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(180deg, rgba(130, 166, 194, 0.38) 0%, rgba(15, 23, 32, 0.92) 100%);
  box-shadow:
    0 2px 6px rgba(144, 199, 242, 0.2),
    0 10px 16px rgba(78, 134, 182, 0.14);
}

@media (min-width: 981px) {
  .fork-plate {
    box-shadow:
      inset 0 1px 0 rgba(220, 240, 255, 0.28),
      inset 0 -1px 0 rgba(0, 0, 0, 0.9),
      0 12px 18px rgba(0, 0, 0, 0.5),
      0 20px 28px rgba(96, 160, 214, 0.2),
      0 30px 48px rgba(48, 92, 132, 0.18);
    animation: fork-slab-glow-pulse 7.5s ease-in-out infinite;
  }

  .fork-plate::after {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: -18px;
    height: 14px;
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(144, 199, 242, 0.42) 0%, rgba(144, 199, 242, 0.12) 46%, rgba(144, 199, 242, 0) 76%);
    filter: blur(6px);
    pointer-events: none;
    animation: fork-slab-halo-pulse 7.5s ease-in-out infinite;
    animation-delay: -1.1s;
  }
}

@keyframes fork-slab-glow-pulse {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(220, 240, 255, 0.28),
      inset 0 -1px 0 rgba(0, 0, 0, 0.9),
      0 12px 18px rgba(0, 0, 0, 0.5),
      0 18px 24px rgba(96, 160, 214, 0.16),
      0 26px 42px rgba(48, 92, 132, 0.14);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(220, 240, 255, 0.32),
      inset 0 -1px 0 rgba(0, 0, 0, 0.9),
      0 12px 18px rgba(0, 0, 0, 0.5),
      0 24px 34px rgba(114, 180, 234, 0.3),
      0 36px 56px rgba(70, 124, 170, 0.24);
  }
}

@keyframes fork-slab-halo-pulse {
  0%, 100% {
    opacity: 0.7;
    filter: blur(6px);
  }
  50% {
    opacity: 1;
    filter: blur(8px);
  }
}

.fork-slab-label {
  position: relative;
  z-index: 2;
  width: var(--plate-w);
  max-width: var(--plate-w);
  text-align: center;
  line-height: 1.2;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #deebf6;
  text-shadow: 0 0 10px rgba(115, 178, 230, 0.32);
  transform: rotateZ(-7deg);
  transform-origin: center;
}

.fork-slab::before {
  content: "";
  position: absolute;
  left: calc(100% + var(--fork-gap) - 8px);
  top: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #90c7f2;
  box-shadow: 0 0 0 4px rgba(144, 199, 242, 0.15);
  z-index: 3;
}

.fork-slab::after {
  content: "";
  position: absolute;
  left: calc(var(--plate-w) + 4px);
  top: 50%;
  width: calc(100% - var(--plate-w) + var(--fork-gap) - 8px);
  height: 1px;
  background: linear-gradient(to left, rgba(144, 199, 242, 0.88), rgba(144, 199, 242, 0.2));
  z-index: 1;
}

.fork-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b0b0b;
  padding: clamp(14px, 1.7vw, 20px) clamp(16px, 2.3vw, 24px);
}

.fork-card ul {
  margin: 0;
  padding-left: 18px;
}

.stack-kicker {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #90c7f2;
}

.service-card {
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  transition: border 0.2s ease, transform 0.2s ease;
}

.service-card summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card summary::-webkit-details-marker {
  display: none;
}

.service-card[open] {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
}

.service-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

.services-intro {
  align-items: center;
  margin-bottom: 32px;
}

.services-head {
  grid-column: 1 / -1;
  max-width: 760px;
}

.services-diagram {
  grid-column: 7 / -1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.services-diagram img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 18px;
  border: 0;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-composite: intersect;
}

.services-diagram::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.85) 0, rgba(0, 0, 0, 0) 28px, rgba(0, 0, 0, 0) calc(100% - 28px), rgba(0, 0, 0, 0.85) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0, rgba(0, 0, 0, 0) 28px, rgba(0, 0, 0, 0) calc(100% - 28px), rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

.highlight {
  background: #000000;
}

.edge-callouts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
  margin-top: 24px;
}

.helpers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--grid-gap);
  margin-top: 28px;
}

.helper-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  transition: border 0.2s ease, transform 0.2s ease;
}

.helper-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--grid-gap);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.ray-legal-page .reveal,
.ray-legal-page .reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.ray-legal-page .page-hero {
  padding: clamp(34px, 5vw, 54px) 0 12px;
}

.ray-legal-page .page-hero + .section {
  padding-top: 16px;
}

.page-hero {
  padding: clamp(80px, 12vw, 140px) 0 40px;
}

.page-hero h1 {
  max-width: 720px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  font-size: 0.85rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
  margin-top: 32px;
}

.work-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  padding: 22px;
}

.work-card .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
  margin-top: 28px;
}

#about-principles .principles-card {
  margin-top: 28px;
}

#about-principles .principle-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

#about-principles .principle-glyph {
  display: none;
}

#about-principles .principle-item h3::before {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
  content: "\25ce";
}

#about-principles .principle-item:nth-child(1) h3::before { content: "\25ce"; }
#about-principles .principle-item:nth-child(2) h3::before { content: "\293f"; }
#about-principles .principle-item:nth-child(3) h3::before { content: "\25a6"; }
#about-principles .principle-item:nth-child(4) h3::before { content: "\2736"; }
#about-principles .principle-item:nth-child(5) h3::before { content: "\27f2"; }
#about-principles .principle-item:nth-child(6) h3::before { content: "\2696"; }

/* Fallback: if an older HTML version has only one paragraph per principle, add extra detail inline. */
#about-principles .principle-item:nth-child(1) p:only-of-type::after,
#about-principles .principle-item:nth-child(2) p:only-of-type::after,
#about-principles .principle-item:nth-child(3) p:only-of-type::after,
#about-principles .principle-item:nth-child(4) p:only-of-type::after,
#about-principles .principle-item:nth-child(5) p:only-of-type::after,
#about-principles .principle-item:nth-child(6) p:only-of-type::after {
  display: block;
  margin-top: 10px;
  color: #d4d4d4;
}

#about-principles .principle-item:nth-child(1) p:only-of-type::after {
  content: "Most underperformance comes from solving a Level 1 ask with Level 1 thinking. We map each brief across tactician, strategist, and architect altitude.";
}

#about-principles .principle-item:nth-child(2) p:only-of-type::after {
  content: "We time entry by cultural phase: fringe, subculture, mainstream, or cringe, so channel choice follows behavior instead of hype.";
}

#about-principles .principle-item:nth-child(3) p:only-of-type::after {
  content: "Utility, personalization, and ritual mechanics create shareable usage loops that compound better than one-way media flights.";
}

#about-principles .principle-item:nth-child(4) p:only-of-type::after {
  content: "AI is used for simulation and pressure-testing. Final direction stays human for taste, ethics, and cultural nuance.";
}

#about-principles .principle-item:nth-child(5) p:only-of-type::after {
  content: "Before launch, we run a remixability test: can someone recreate the core look quickly on a phone without losing signal.";
}

#about-principles .principle-item:nth-child(6) p:only-of-type::after {
  content: "Values only earn trust when they create visible tradeoffs in policy, product, or business decisions.";
}

#about-principles .principle-item p {
  margin: 0;
}

#about-principles .principle-item p + p {
  margin-top: 10px;
}

#about-principles .principle-item .principle-extra {
  margin-top: 10px;
  color: #d4d4d4;
}

#about-principles .principle-item + .principle-item {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

#strategy-signal .two-col + p {
  margin-top: 24px;
}

.contact-two-col {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
}

.contact-or {
  color: #ffffff;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  padding: 0 6px;
  margin: 0;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0b0b0b;
}

.contact-two-col .form-grid {
  flex: 1;
}

.contact-two-col .contact-or {
  display: flex;
  align-items: center;
}

.form-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 0.95rem;
  background: #050505;
  color: #ffffff;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

select {
  color: #ffffff;
}

textarea {
  min-height: 120px;
}

@keyframes drift {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(12px) scale(1.05);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .hero-copy,
  .hero-visual {
    grid-column: 1 / -1;
  }

  .loop {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: var(--grid-gap);
  }

  .loop-connector {
    display: none;
  }

  .loop-step {
    width: 100%;
    max-width: none;
  }

  .loop-step--top,
  .loop-step--right,
  .loop-step--bottom,
  .loop-step--left {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
  }

  .services-head,
  .services-diagram {
    grid-column: 1 / -1;
  }

  .services-diagram {
    justify-content: flex-start;
    margin-top: 20px;
  }

  .services-fork {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  .fork-slab {
    --plate-w: 100%;
    --plate-h: 52px;
    width: 100% !important;
    margin-left: 0 !important;
    min-height: 52px;
  }

  .fork-plate {
    transform: translateY(-50%);
    border-radius: 8px;
  }

  .fork-plate::before {
    content: none;
  }

  .fork-slab-label {
    transform: none;
    width: 100%;
    max-width: 100%;
    font-size: 0.82rem;
  }

  .fork-slab::after {
    content: none;
  }

  .fork-slab::before {
    content: none;
  }

  .contact-two-col {
    grid-template-columns: 1fr;
  }

  .contact-or {
    margin: 2px 0;
  }
}

@media (max-width: 720px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 12px;
  }
}

/* Override nav alignment for brand left, links right */
.nav {
  justify-content: flex-start;
}

.brand {
  margin-right: 0;
}

.nav-links {
  margin-left: auto;
}

.site-header {
  opacity: 1;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease, -webkit-backdrop-filter 0.25s ease;
}

.site-header::after {
  content: none;
}

.site-header:hover {
  opacity: 1;
}

/* Navbar opacity behavior */
.site-header {
  opacity: 1;
  transition: background-color 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease, -webkit-backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  opacity: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.88) 58%,
    rgba(0, 0, 0, 0.65) 82%,
    rgba(0, 0, 0, 0) 100%
  );
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.scrolled:hover {
  opacity: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.88) 58%,
    rgba(0, 0, 0, 0.65) 82%,
    rgba(0, 0, 0, 0) 100%
  );
}

.site-header.scrolled .nav-links a {
  opacity: 1;
}

.site-header.scrolled .nav-links a:hover {
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav {
    position: relative;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    min-height: 70px;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(320px, calc(100vw - 24px));
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(0, 0, 0, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    overflow: hidden;
    z-index: 20;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.15;
  }

  .site-header.menu-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header.menu-open {
    background: rgba(0, 0, 0, 0.92);
  }

  .site-header .btn {
    order: 3;
    padding: 9px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 8px;
  }

  .site-logo img {
    height: 24px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .site-header .btn {
    padding: 8px 13px;
    font-size: 0.8rem;
  }
}

/* Subtle hover glow on nav links */
.nav-links a:hover {
  color: #C9A84C;
  text-shadow: 0 0 8px rgba(201, 168, 76, 0.45);
}

.scroll-image {
  position: relative;
  height: 160vh;
}

.scroll-image__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-image__inner img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.1s linear;
}

.scroll-image__inner picture {
  position: absolute;
  inset: 0;
  display: block;
}

/* Soften top/bottom edges of scroll image */
.scroll-image__inner::before,
.scroll-image__inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 22vh;
  pointer-events: none;
  z-index: 2;
}

.scroll-image__inner::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}

.scroll-image__inner::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}

.scroll-image__inner {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-image__inner img {
  position: relative;
  z-index: 1;
}

/* Canvas-based sand drift overlay */
.sand-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}


/* Blue glow action buttons on scroll image */
.scroll-image__buttons {
  position: absolute;
  left: 50%;
  bottom: 12vh;
  transform: translateX(-50%) translateY(12px);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 3;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 1.1s ease, transform 1.1s ease;
}

.scroll-image__buttons.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.scroll-image__buttons .glow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: none;
  background: transparent;
  color: rgba(232, 246, 255, 0.95);
  font-family: "Sora", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px 10px 30px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-shadow: 0 0 3px rgba(120, 200, 255, 1);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.scroll-image__buttons .glow-btn::before {
  content: "";
  position: absolute;
  inset: -7px -12px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(120, 200, 255, 0.175) 0%,
    rgba(120, 200, 255, 0.09) 38%,
    rgba(120, 200, 255, 0.03) 62%,
    rgba(120, 200, 255, 0) 82%
  );
  opacity: 1;
  filter: blur(5px);
  animation: glow-pulse 3.2s ease-in-out infinite;
  z-index: 0;
}

.scroll-image__buttons .glow-btn::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0%, rgba(175, 235, 245, 0.92) 22%, rgba(110, 215, 230, 0.7) 45%, rgba(110, 215, 230, 0.18) 70%, rgba(110, 215, 230, 0) 78%),
    radial-gradient(circle at 60% 60%, rgba(100, 210, 225, 0.7), rgba(100, 210, 225, 0) 60%);
  background-size: 200% 200%;
  background-position: 40% 40%, 60% 60%;
  box-shadow:
    0 0 8px rgba(120, 200, 255, 0.45),
    0 0 18px rgba(120, 200, 255, 0.25),
    0 0 34px rgba(120, 200, 255, 0.14);
  opacity: 1;
  z-index: 2;
  pointer-events: none;
  filter: blur(0.15px);
  animation: orb-pulse 3.6s ease-in-out infinite, orb-flow 9.5s linear infinite, orb-opacity 6.8s ease-in-out infinite;
}

.scroll-image__buttons .glow-btn:nth-child(1)::after {
  animation-delay: 0s, -1.2s;
}

.scroll-image__buttons .glow-btn:nth-child(2)::after {
  animation-delay: -0.6s, -3.8s;
}

.scroll-image__buttons .glow-btn:nth-child(3)::after {
  animation-delay: -1.4s, -6.1s;
}

.scroll-image__buttons .glow-btn:nth-child(4)::after {
  animation-delay: -2.2s, -8.3s;
}

.scroll-image__buttons .glow-btn:hover::after {
  animation-name: orb-pulse, orb-flow;
  opacity: 1;
}

.scroll-image__buttons .glow-btn:nth-child(1) { --particle-delay: -0.4s; }
.scroll-image__buttons .glow-btn:nth-child(2) { --particle-delay: -2.6s; }
.scroll-image__buttons .glow-btn:nth-child(3) { --particle-delay: -4.1s; }
.scroll-image__buttons .glow-btn:nth-child(4) { --particle-delay: -6.0s; }

@keyframes orb-pulse {
  0%, 100% {
    box-shadow:
      0 0 8px rgba(120, 200, 255, 0.55),
      0 0 18px rgba(120, 200, 255, 0.3),
      0 0 36px rgba(120, 200, 255, 0.15);
    transform: translateY(-50%) scale(0.98) rotate(-6deg);
  }
  50% {
    box-shadow:
      0 0 14px rgba(120, 200, 255, 0.8),
      0 0 30px rgba(120, 200, 255, 0.45),
      0 0 54px rgba(120, 200, 255, 0.25);
    transform: translateY(-50%) scale(1.06) rotate(6deg);
  }
}

@keyframes orb-flow {
  0% {
    background-position: 40% 40%, 60% 60%;
    filter: blur(0.15px) hue-rotate(0deg) saturate(1.1);
  }
  50% {
    background-position: 62% 30%, 38% 72%;
    filter: blur(0.15px) hue-rotate(70deg) saturate(1.35);
  }
  100% {
    background-position: 40% 40%, 60% 60%;
    filter: blur(0.15px) hue-rotate(0deg) saturate(1.1);
  }
}

@keyframes orb-opacity {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

.scroll-image__buttons .glow-btn:hover {
  color: #ffffff;
}

.scroll-image__buttons .glow-btn__label {
  position: relative;
  z-index: 2;
  opacity: 0.2;
  transition: opacity 0.25s ease;
}

.scroll-image__buttons .glow-btn__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.scroll-image__buttons .glow-btn::before {
  transition: opacity 0.25s ease;
}

.scroll-image__buttons .glow-btn:hover::before,
.scroll-image__buttons .glow-btn:hover .glow-btn__label {
  opacity: 1;
}

.scroll-image__buttons .glow-btn:not(:hover) .glow-btn__label {
  animation: label-fade 4.8s ease-in-out infinite;
}

.scroll-image__buttons .glow-btn:hover .glow-btn__label {
  animation: none;
}

@keyframes label-fade {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.4; }
}

.scroll-image__buttons .glow-btn__particle {
  position: absolute;
  bottom: -6px;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(150, 210, 255, 0.95);
  animation: glow-float 6s linear infinite;
  animation-delay: var(--particle-delay, 0s);
}

.section[id] {
  scroll-margin-top: 110px;
}

.scroll-image__buttons .glow-btn__particle:nth-child(1) { left: 8%; animation-delay: calc(var(--particle-delay, 0s) + -0.6s); animation-duration: 5.6s; }
.scroll-image__buttons .glow-btn__particle:nth-child(2) { left: 24%; animation-delay: calc(var(--particle-delay, 0s) + -2.1s); animation-duration: 6.4s; opacity: 0.7; }
.scroll-image__buttons .glow-btn__particle:nth-child(3) { left: 40%; animation-delay: calc(var(--particle-delay, 0s) + -3.4s); animation-duration: 5.9s; opacity: 0.8; }
.scroll-image__buttons .glow-btn__particle:nth-child(4) { left: 58%; animation-delay: calc(var(--particle-delay, 0s) + -1.7s); animation-duration: 6.8s; opacity: 0.6; }
.scroll-image__buttons .glow-btn__particle:nth-child(5) { left: 74%; animation-delay: calc(var(--particle-delay, 0s) + -4.2s); animation-duration: 6.2s; opacity: 0.9; }
.scroll-image__buttons .glow-btn__particle:nth-child(6) { left: 90%; animation-delay: calc(var(--particle-delay, 0s) + -2.8s); animation-duration: 7s; opacity: 0.75; }

@keyframes glow-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.98); }
  50% { opacity: 0.9; transform: scale(1.05); }
}

@keyframes glow-float {
  0% { transform: translateY(10px); opacity: 0; }
  15% { opacity: 0.9; }
  80% { opacity: 0.6; }
  100% { transform: translateY(-26px); opacity: 0; }
}

/* Scroll image timing + edge fade overrides */
.scroll-image {
  height: 140vh;
}

.scroll-image__inner::before {
  background: linear-gradient(to bottom, rgba(0, 0, 0, var(--fade-top, 0.9)), rgba(0, 0, 0, 0));
}

.scroll-image__inner::after {
  background: linear-gradient(to top, rgba(0, 0, 0, var(--fade-bottom, 0.9)), rgba(0, 0, 0, 0));
}

/* Reduce sticky hold to ~1 scroll tick */
.scroll-image {
  height: 110vh;
}


/* Nudge intro title closer to nav */
.intro-title {
  transform: translateY(-30px);
}


/* Softer entry fade on top edge only */
.scroll-image__inner::before {
  height: 46vh;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, calc(var(--fade-top, 0.9) * 1.1)) 0%,
    rgba(0, 0, 0, calc(var(--fade-top, 0.9) * 0.6)) 35%,
    rgba(0, 0, 0, 0) 100%
  );
}




/* Mask the top edge so the image emerges without a hard seam */
.scroll-image__inner img {
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.25) 18%,
    rgba(0, 0, 0, 0.6) 32%,
    rgba(0, 0, 0, 1) 46%,
    rgba(0, 0, 0, 1) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.25) 18%,
    rgba(0, 0, 0, 0.6) 32%,
    rgba(0, 0, 0, 1) 46%,
    rgba(0, 0, 0, 1) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Floating tech stack hero */
.tech-stack-hero {
  --tech-line: #e9f1ff;
  --tech-grid: rgba(233, 241, 255, 0.12);
  --tech-surface: #0b0f14;
  --tech-edge: #0a0d12;
  --tech-edge-dark: #06080c;
  --tech-accent: #8fb9ff;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(40, 60, 90, 0.2), transparent 55%), #000;
  color: #e9f1ff;
  overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0;
}

.tech-stack-hero__layout {
  position: relative;
  width: min(1200px, 92vw);
  margin: 0 auto;
  min-height: clamp(620px, 90vh, 880px);
  display: grid;
  place-items: center;
}

.tech-stack-hero__stack-wrap {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  transform: translateX(-120px);
}

.tech-stack-hero__stack-wrap,
.tech-stack-hero__labels {
  transition: transform 0.3s ease;
}

.tech-stack-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}

.tech-stack-hero.is-reduced .tech-stack-hero__canvas {
  display: none;
}

.tech-stack-hero__stack {
  position: relative;
  width: min(520px, 90vw);
  height: calc(var(--slab-size, 240px) + var(--stack-gap, 76px) * 3);
  perspective: 1200px;
  transform-style: preserve-3d;
  animation: tech-stack-float 8s ease-in-out infinite;
}

.tech-stack-hero.is-reduced .tech-stack-hero__stack {
  animation: none;
}

.tech-stack-hero__slab {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--slab-size, clamp(190px, 34vw, 280px));
  height: var(--slab-size, clamp(190px, 34vw, 280px));
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  will-change: transform;
  transform-style: preserve-3d;
  --slab-offset: 0px;
  --slab-raise: 0px;
  --slab-z: 0px;
  --slab-scale: 1;
  transform: translate3d(-50%, calc(-50% + var(--slab-offset) + var(--slab-raise)), var(--slab-z)) scale(var(--slab-scale));
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.tech-stack-hero__slab:focus-visible {
  outline: 2px solid var(--tech-accent);
  outline-offset: 6px;
}

.tech-stack-hero__slab-inner {
  width: 100%;
  height: 100%;
  transform: rotateX(55deg) rotateZ(45deg);
  transform-style: preserve-3d;
  filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.7));
  transition: filter 0.25s ease;
  animation: tech-stack-tilt 10s ease-in-out infinite;
}

.tech-stack-hero__slab:nth-child(2) .tech-stack-hero__slab-inner {
  animation-delay: -1.4s;
}

.tech-stack-hero__slab:nth-child(3) .tech-stack-hero__slab-inner {
  animation-delay: -2.2s;
}

.tech-stack-hero__slab:nth-child(4) .tech-stack-hero__slab-inner {
  animation-delay: -3.1s;
}

.tech-stack-hero.is-reduced .tech-stack-hero__slab-inner {
  animation: none;
}

.tech-stack-hero__slab:hover .tech-stack-hero__slab-inner,
.tech-stack-hero__slab.is-selected .tech-stack-hero__slab-inner {
  filter: drop-shadow(0 20px 38px rgba(143, 185, 255, 0.3));
}

.tech-stack-hero__slab-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tech-stack-hero__surface {
  fill: var(--tech-surface);
}

.tech-stack-hero__grid {
  opacity: 0.75;
}

.tech-stack-hero__border {
  fill: none;
  stroke: rgba(143, 185, 255, 0.45);
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
}

.tech-stack-hero__edge-right {
  fill: var(--tech-edge);
}

.tech-stack-hero__edge-bottom {
  fill: var(--tech-edge-dark);
}

.tech-stack-hero__linework {
  stroke: var(--tech-line);
  stroke-width: 0.9;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.tech-stack-hero__slab:hover .tech-stack-hero__linework,
.tech-stack-hero__slab.is-selected .tech-stack-hero__linework {
  opacity: 1;
}

.tech-stack-hero__grid-line {
  stroke: var(--tech-grid);
  stroke-width: 0.6;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.tech-stack-hero__node {
  fill: var(--tech-accent);
  opacity: 0.8;
  animation: tech-stack-blink 3.6s ease-in-out infinite;
  animation-delay: var(--node-delay, 0s);
}

.tech-stack-hero__pulse {
  fill: var(--tech-accent);
  opacity: 0.6;
  animation: tech-stack-pulse 2.8s ease-in-out infinite;
  animation-delay: var(--node-delay, 0s);
}

.tech-stack-hero__hover-dot {
  fill: var(--tech-line);
  opacity: 0.7;
  animation: tech-stack-fade 4s ease-in-out infinite;
  animation-delay: var(--node-delay, 0s);
}

.tech-stack-hero.is-reduced .tech-stack-hero__node,
.tech-stack-hero.is-reduced .tech-stack-hero__pulse,
.tech-stack-hero.is-reduced .tech-stack-hero__hover-dot {
  animation: none;
  opacity: 0.75;
}

.tech-stack-hero__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 4;
}

.tech-stack-hero__panel {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(360px, 30vw, 440px);
  padding: 24px;
  background: rgba(7, 10, 14, 0.92);
  border: 1px solid rgba(143, 185, 255, 0.25);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  z-index: 5;
}

.tech-stack-hero__panel h3 {
  font-size: 1.6rem;
  margin: 10px 0 12px;
  color: #ffffff;
}

.tech-stack-hero__panel-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.65rem;
  color: rgba(233, 241, 255, 0.6);
  margin-bottom: 8px;
}

.tech-stack-hero__panel ul {
  padding-left: 18px;
  margin: 0 0 16px;
  color: rgba(233, 241, 255, 0.8);
}

.tech-stack-hero__panel p {
  margin: 0 0 14px;
  color: rgba(233, 241, 255, 0.7);
}

.tech-stack-hero__panel-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(233, 241, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.tech-stack-hero__panel-close:focus-visible {
  outline: 2px solid var(--tech-accent);
  outline-offset: 3px;
}

.tech-stack-hero__labels {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  z-index: 2;
  pointer-events: none;
}

.tech-stack-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(233, 241, 255, 0.75);
  position: absolute;
  transform: translateY(var(--label-offset, 0px));
  transition: opacity 0.3s ease;
}

.tech-stack-hero__label-fork {
  width: 140px;
  height: 36px;
  overflow: visible;
}

.tech-stack-hero__label-fork path {
  stroke: rgba(143, 185, 255, 0.65);
  stroke-width: 1;
  fill: none;
  vector-effect: non-scaling-stroke;
}

.tech-stack-hero__label.is-dimmed {
  opacity: 0.3;
}

.tech-stack-hero__slab.is-selected {
  --slab-scale: 1.12;
  --slab-z: 40px;
  z-index: 3;
}

.tech-stack-hero__slab.is-dimmed {
  opacity: 0.28;
}

.tech-stack-hero--active .tech-stack-hero__stack {
  animation-play-state: paused;
}

.tech-stack-hero__slab:hover {
  --slab-raise: -8px;
  --slab-z: 18px;
}

.tech-stack-hero__slab.is-selected:hover {
  --slab-raise: 0px;
  --slab-z: 40px;
}

@media (max-width: 899px) {
  .tech-stack-hero__stack-wrap {
    transform: translateX(-30px);
  }

  .tech-stack-hero__labels {
    gap: 12px;
  }

  .tech-stack-hero__label {
    font-size: 0.7rem;
  }

  .tech-stack-hero__label-fork {
    width: 96px;
  }

  .tech-stack-hero__panel {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 100%;
    height: 48vh;
    border-radius: 20px 20px 0 0;
  }
}

@keyframes tech-stack-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes tech-stack-tilt {
  0%, 100% { transform: rotateX(55deg) rotateZ(45deg); }
  50% { transform: rotateX(56deg) rotateZ(44.3deg); }
}

@keyframes tech-stack-blink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes tech-stack-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes tech-stack-fade {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.85; }
}

@media (prefers-reduced-motion: reduce) {
  .tech-stack-hero__stack,
  .tech-stack-hero__slab-inner,
  .tech-stack-hero__node,
  .tech-stack-hero__pulse,
  .tech-stack-hero__hover-dot {
    animation: none;
  }
}

@media (max-width: 720px) {
  .scroll-image__buttons {
    bottom: 10vh;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .scroll-image__inner {
    background: #000;
  }

  .scroll-image__inner img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: right center;
    transform-origin: right center;
    transform: scale(clamp(1, calc(1 + (768px - 100vw) / 900), 1.35));
  }
}

.nav-links a.is-active {
  color: #C9A84C;
  text-shadow: 0 0 8px rgba(201, 168, 76, 0.45);
}

.site-header.scrolled .nav-links a.is-active {
  opacity: 1;
}

.ray-page {
  --accent: #C9A84C;
  --ray-flow-content-col: clamp(360px, 30vw, 400px);
  --ray-shot-max-height: min(99vh, 1400px);
}

.ray-page:not(.ray-legal-page) .site {
  background: linear-gradient(180deg, #000000 0%, #040404 52%, #0a0a0a 100%);
}

.ray-page:not(.ray-legal-page) .section,
.ray-page:not(.ray-legal-page) .dark,
.ray-page:not(.ray-legal-page) .highlight,
.ray-page:not(.ray-legal-page) .ray-workflow-gallery {
  background: transparent;
}

.ray-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(26px, 4.2vw, 56px);
}

.ray-hero::before {
  content: none;
}

.ray-hero-grid {
  align-items: start;
  gap: clamp(24px, 4vw, 42px);
}

.ray-hero-title-wrap {
  position: relative;
  z-index: 3;
  display: block;
  text-align: center;
  margin-top: 0;
  margin-bottom: clamp(10px, 2vw, 20px);
}

.ray-hero-copy {
  grid-column: 2 / 12;
  position: relative;
  z-index: 1;
  text-align: center;
}

.ray-hero-copy h1 {
  max-width: 840px;
  margin-inline: auto;
}

.ray-hero-copy > p {
  max-width: 760px;
  margin-inline: auto;
}

.ray-hero-copy .cta-row {
  justify-content: center;
}

.ray-hero-copy .ray-hero-pricing-btn {
  background: #c9a84c;
  color: #000000;
  border: 1px solid rgba(201, 168, 76, 0.9);
  padding: 16px 38px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(201, 168, 76, 0.28);
}

.ray-hero-copy .ray-hero-pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(201, 168, 76, 0.36);
}

.ray-hero-copy .chips {
  justify-content: center;
}

.ray-hero-visual {
  grid-column: 2 / 12;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.ray-hero-visual .ray-process-frame,
.ray-hero-visual .ray-process-caption {
  width: 100%;
  max-width: 980px;
}

.ray-process-frame {
  margin: 0;
  position: relative;
  overflow: visible;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.ray-hero-heading {
  position: relative;
  z-index: 2;
  display: block;
  opacity: 1;
  visibility: visible;
  width: min(100%, 1080px);
  margin: 0 auto 12px;
  text-align: center;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: 1.06;
  white-space: normal;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.65);
}

.ray-hero-subhead {
  width: min(860px, 100%);
  margin: 0 auto 18px;
  text-align: center;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  line-height: 1.5;
  color: #d4d4d4;
}

.ray-process-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  background:
    repeating-radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.22) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.ray-process-frame img {
  position: relative;
  z-index: 0;
  width: 100%;
  border-radius: 0;
}

.ray-process-caption {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.ray-process-caption::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background:
    linear-gradient(155deg, rgba(201, 168, 76, 0.28), transparent 36%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 20px);
}

.ray-process-caption > * {
  position: relative;
  z-index: 1;
}

.ray-process-caption h3 {
  margin-top: 4px;
}

.ray-process-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.ray-process-points li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
}

.ray-process-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.ray-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ray-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
}

.ray-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.ray-problem-solution {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ray-buy-pricing-grid {
  grid-column: 1 / -1;
  align-items: stretch;
}

.ray-plan-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.ray-plan-matrix__note {
  margin: 0 0 14px;
  color: #d0d0d0;
  max-width: 90ch;
}

.ray-plan-card {
  min-height: 720px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 22%),
    #090909;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ray-plan-card--featured {
  border-color: rgba(201, 168, 76, 0.5);
  background:
    radial-gradient(180% 120% at 50% -10%, rgba(201, 168, 76, 0.18) 0%, rgba(201, 168, 76, 0) 56%),
    #0a0a0a;
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ray-plan-card__head,
.ray-plan-card__body,
.ray-plan-card__foot {
  padding: 22px 22px;
}

.ray-plan-card__head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ray-plan-card__body {
  flex: 1;
}

.ray-plan-card__foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ray-plan-card__name {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #ffffff;
}

.ray-plan-card__pill {
  margin: 0 0 8px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.42);
  color: #e8d29b;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ray-plan-card__price {
  margin: 10px 0 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 0.92;
}

.ray-plan-card__currency {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #e8d7af;
}

.ray-plan-card__amount {
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(2.4rem, 4.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff8e8;
}

.ray-plan-card__interval {
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d9c590;
}

.ray-plan-card__price--text {
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff2cf;
}

.ray-plan-card__sub {
  margin: 8px 0 0;
  color: #cdcdcd;
}

.ray-plan-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ray-plan-card__list li {
  position: relative;
  padding-left: 18px;
  color: #d9d9d9;
}

.ray-plan-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: #c9a84c;
}

.ray-plan-card__cta {
  width: 100%;
  justify-content: center;
}

.ray-plan-card__cta + .ray-plan-card__cta {
  margin-top: 10px;
}

@media (max-width: 1080px) {
  .ray-plan-matrix {
    grid-template-columns: 1fr;
  }

  .ray-plan-card {
    min-height: 0;
  }
}

.ray-compliance-block {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.08) 0%, rgba(0, 0, 0, 0) 32%), #050505;
  border-top: 1px solid rgba(201, 168, 76, 0.24);
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

.ray-compliance-grid {
  grid-column: 1 / -1;
  align-items: stretch;
}

.ray-compliance-grid > .card {
  height: 100%;
}

.ray-inline-legal-nav {
  margin: 8px 0 0;
  color: #d8d8d8;
}

.ray-inline-legal-nav a {
  color: var(--accent);
  font-weight: 600;
}

.ray-inline-legal-nav a:hover {
  color: #e2c56f;
}

.ray-buy-pricing-grid > .card {
  height: 100%;
  align-self: stretch;
}

@media (min-width: 960px) {
  .ray-pricing-page .ray-buy-pricing-grid > .card {
    min-height: 460px;
    max-height: 460px;
    overflow: auto;
  }
}

@media (max-width: 959px) {
  .ray-pricing-page .ray-buy-pricing-grid > .card {
    min-height: 0;
    max-height: none;
    overflow: visible;
  }
}

.ray-faq .service-card p {
  margin: 14px 0 0;
}

.ray-page .loop {
  position: static;
  width: 100%;
  min-height: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-template-rows: none;
  column-gap: var(--grid-gap);
  row-gap: var(--grid-gap);
  margin-top: 32px;
}

.ray-page .loop-connector {
  display: none;
}

.ray-page .loop-step {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0b0b0b;
  box-shadow: none;
  width: auto;
  height: clamp(220px, 22vw, 250px);
  display: block;
  transition: border 0.2s ease, transform 0.2s ease;
}

.ray-page .loop-step::before,
.ray-page .loop-step::after {
  content: none;
}

.ray-page .loop-step:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.ray-page .loop-step span {
  color: var(--accent);
  text-shadow: none;
}

.ray-page .loop-step h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin: 0 0 12px;
}

.ray-workflow-gallery {
  background: #000000;
  border-top: 0;
  border-bottom: 0;
  padding-top: clamp(24px, 3.2vw, 40px);
}

.ray-workflow-gallery .container {
  width: min(1700px, 98.5vw);
}

.ray-workflow-gallery .section-head {
  max-width: 760px;
}

.ray-flow-list {
  display: grid;
  gap: clamp(56px, 6.2vw, 88px);
  margin-top: 0;
}

.ray-flow-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ray-flow-content-col);
  gap: clamp(28px, 3.2vw, 44px);
  align-items: start;
  min-height: 0;
  padding-inline: clamp(10px, 1.2vw, 16px);
}

.ray-flow-media {
  margin: 0;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
  min-width: 0;
}

.ray-flow-media-link {
  width: 100%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
  cursor: zoom-in;
}

.ray-flow-media-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 10px;
}

.ray-lightbox[hidden] {
  display: none;
}

.ray-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
}

.ray-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(2px);
}

.ray-lightbox__dialog {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(96vw, 1500px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ray-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.58);
}

.ray-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.ray-lightbox__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ray-lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.ray-lightbox-open {
  overflow: hidden;
}

.ray-flow-media img {
  width: 100%;
  height: auto;
  max-height: var(--ray-shot-max-height);
  object-fit: unset;
  object-position: top center;
  transform: none;
  filter: none;
  image-rendering: auto;
}

.ray-flow-step--qa .ray-flow-media img {
  width: auto;
  max-width: 100%;
}

.ray-flow-copy {
  height: auto;
  align-self: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(14px, 1.4vw, 18px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.ray-flow-step:hover .ray-flow-copy {
  border-color: rgba(201, 168, 76, 0.46);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}

.ray-flow-copy .eyebrow {
  margin: 0;
  color: #e4c878;
}

.ray-flow-copy h3 {
  margin: 0;
  font-size: clamp(1.24rem, 1.65vw, 1.7rem);
  line-height: 1.2;
}

.ray-flow-copy p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.ray-flow-copy .ray-list {
  gap: 6px;
}

.ray-flow-copy .ray-list li {
  font-size: 0.94rem;
  line-height: 1.45;
}

.ray-final-cta h2 {
  max-width: 760px;
}

.ray-page .ray-accent-link {
  color: var(--accent);
  font-weight: 600;
}

.ray-page .ray-accent-link:hover {
  color: #e2c56f;
}

.ray-page .ray-enterprise-dropdown {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #090909;
}

.ray-page .ray-enterprise-dropdown summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
  list-style: none;
}

.ray-page .ray-enterprise-dropdown summary::-webkit-details-marker {
  display: none;
}

.ray-page .ray-enterprise-dropdown summary::after {
  content: "+";
  font-size: 1rem;
  line-height: 1;
}

.ray-page .ray-enterprise-dropdown[open] summary::after {
  content: "-";
}

.ray-page .ray-enterprise-dropdown__content {
  padding: 0 14px 14px;
}

.ray-page .ray-enterprise-dropdown__content .eyebrow {
  margin: 10px 0 6px;
}

.ray-page .ray-enterprise-dropdown__content .ray-list {
  margin-top: 0;
}

.ray-page .ray-legal-package-card {
  margin-top: var(--grid-gap);
}

.ray-page .ray-legal-package-card a {
  color: var(--accent);
  font-weight: 600;
}

.ray-page .ray-legal-package-card a:hover {
  color: #e2c56f;
}

.ray-page a:focus-visible,
.ray-page button:focus-visible,
.ray-page summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.legal-doc {
  gap: 18px;
}

.legal-doc p:last-child,
.legal-doc ul:last-child {
  margin-bottom: 0;
}

.legal-doc h2,
.legal-doc h3,
.legal-doc h4 {
  margin: 8px 0 12px;
}

.legal-doc h2 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.legal-doc h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal-doc h4 {
  font-size: 1.02rem;
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal-doc ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--muted);
}

.legal-doc li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .ray-hero-copy,
  .ray-hero-visual {
    grid-column: 1 / -1;
  }

  .ray-hero-visual {
    margin-top: 0;
  }

  .ray-problem-solution {
    grid-template-columns: 1fr;
  }

  .ray-page .loop-step {
    height: auto;
    min-height: 0;
  }

  .ray-flow-step {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding-inline: 0;
  }

  .ray-flow-media {
    height: auto;
  }

  .ray-flow-media img {
    width: 100%;
    height: auto;
    max-height: 72vh;
    transform: none;
  }
}

.dune-hero {
  position: relative;
  overflow: hidden;
}

.dune-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background:
    repeating-linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px),
    radial-gradient(circle at 80% 20%, rgba(255, 106, 61, 0.14), transparent 46%);
}

.dune-hero-grid {
  align-items: center;
}

.dune-hero-copy {
  grid-column: 1 / 8;
  position: relative;
  z-index: 1;
}

.dune-hero-copy h1 {
  max-width: 760px;
}

.dune-report-card {
  grid-column: 8 / -1;
  position: relative;
  overflow: hidden;
}

.dune-report-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 22px),
    linear-gradient(140deg, rgba(255, 106, 61, 0.12), transparent 48%);
}

.dune-report-card > * {
  position: relative;
  z-index: 1;
}

.dune-report-card img {
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.dune-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dune-list li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
}

.dune-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.dune-faq .service-card p {
  margin: 14px 0 0;
}

.dune-final-cta h2 {
  max-width: 780px;
}

.dune-page a:focus-visible,
.dune-page button:focus-visible,
.dune-page summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 980px) {
  .dune-hero-copy,
  .dune-report-card {
    grid-column: 1 / -1;
  }

  .dune-report-card {
    margin-top: 8px;
  }
}

.ray-pay-page .pay-checkout-card {
  max-width: min(760px, 100%);
  margin: 0 auto;
  gap: 10px;
}

.ray-pay-page .pay-status-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #d5d5d5;
  margin: 0 0 4px;
}

.ray-pay-page .pay-status-title {
  margin: 0;
  font-family: "Sora", system-ui, sans-serif;
  font-size: clamp(1.24rem, 1.65vw, 1.5rem);
}

.ray-pay-page .pay-status-detail {
  margin: 0;
  max-width: 62ch;
}

.ray-pay-page .pay-actions {
  margin-top: 8px;
}

.ray-pay-page .pay-note {
  margin: 6px 0 0;
  font-size: 0.92rem;
}

.ray-pay-page[data-pay-state="loading"] .pay-status-badge {
  color: #f0d17a;
  border-color: rgba(240, 209, 122, 0.42);
}

.ray-pay-page[data-pay-state="success"] .pay-status-badge {
  color: #83e8aa;
  border-color: rgba(131, 232, 170, 0.42);
}

.ray-pay-page[data-pay-state="error"] .pay-status-badge {
  color: #ff9d9d;
  border-color: rgba(255, 157, 157, 0.44);
}

.ray-thank-page .license-key {
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-family: "Sora", system-ui, sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  word-break: break-word;
}

.ray-thank-page .license-inline {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.ray-thank-page .license-inline-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: #d5d5d5;
}

.ray-thank-page .license-inline-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ray-thank-page .license-inline-row .license-key {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 100%;
  min-width: 24ch;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
}

.ray-thank-page .license-inline-row .btn {
  flex: 0 0 auto;
  align-self: center;
}

.ray-thank-page [data-download-installer] {
  background: #1f9d55;
  border: 1px solid #1f9d55;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(31, 157, 85, 0.34);
}

.ray-thank-page [data-download-installer]:hover {
  background: #19884a;
  border-color: #19884a;
  box-shadow: 0 14px 34px rgba(31, 157, 85, 0.42);
}

.ray-thank-page .license-fallback {
  margin: 0;
  font-size: 0.92rem;
  color: #d4d4d4;
}

.ray-thank-page [hidden] {
  display: none !important;
}

.ray-thank-page .pay-step-list,
.ray-thank-page .pay-meta-list {
  margin: 0;
}

.ray-thank-page .pay-meta-list strong {
  color: #f1f1f1;
}

@media (max-width: 680px) {
  .ray-thank-page .license-inline-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ray-thank-page .license-inline-row .license-key {
    min-width: 0;
    width: fit-content;
  }

  .ray-thank-page .license-inline-row .btn {
    width: auto;
  }
}



