/* ==========================================================================
   Universe — components.css
   Hero, cards, sections, modal, forms and other UI pieces
   ========================================================================== */

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header-h));
  padding-top: clamp(2rem, 6vh, 4rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    gap: 1rem;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero__title {
  max-width: 12ch;
  margin-top: 1.4rem;
  font-size: clamp(2.75rem, 6.8vw, 5.4rem);
  line-height: 0.96;
  text-wrap: wrap;
}

.hero__title .gradient-text {
  white-space: nowrap;
}

.hero__lead {
  max-width: 51ch;
  margin-top: 1.65rem;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.4rem;
  max-width: 520px;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__meta-divider {
  width: 1px;
  height: 11px;
  background: var(--line-strong);
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
}

@media (max-width: 1023px) {
  .hero {
    padding-bottom: 1rem;
  }

  .hero__visual {
    min-height: 0;
    padding-block: 1.5rem 2.5rem;
  }
}

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-bottom: 1.75rem;
}

.hero__copyright {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue__line {
  position: relative;
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: var(--line-strong);
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

/* Orbit visual ----------------------------------------------------------- */
.orb {
  position: relative;
  display: grid;
  width: min(37vw, 490px);
  aspect-ratio: 1;
  place-items: center;
  perspective: 1000px;
  transition: transform 0.8s var(--ease-out);
}

@media (max-width: 1023px) {
  .orb {
    width: min(66vw, 400px);
  }
}

.orb__halo {
  position: absolute;
  inset: 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.42), rgba(34, 211, 238, 0.08) 52%, transparent 70%);
  filter: blur(34px);
}

.orb__sphere {
  position: relative;
  width: 51%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 26%,
    #fae8ff 0%,
    #e9b8fd 9%,
    #c084fc 24%,
    #8b5cf6 44%,
    #5b21b6 62%,
    #2e1065 80%,
    #090514 100%
  );
  box-shadow:
    inset -22px -26px 60px rgba(0, 0, 0, 0.8),
    inset 14px 12px 40px rgba(255, 255, 255, 0.16),
    0 0 90px rgba(139, 92, 246, 0.38);
}

.orb__sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 76%, rgba(34, 211, 238, 0.22), transparent 46%);
  mix-blend-mode: screen;
}

.orb__ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb__ring--1 {
  inset: 3%;
  border: 1px solid rgba(196, 181, 253, 0.4);
  animation: ringSpinA 30s linear infinite;
}

.orb__ring--1::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

.orb__ring--2 {
  inset: -4%;
  border: 1px dashed rgba(34, 211, 238, 0.24);
  animation: ringSpinB 46s linear infinite reverse;
}

.orb__ring--3 {
  inset: 20%;
  border: 1px solid rgba(244, 114, 182, 0.22);
  animation: ringSpinC 24s linear infinite;
}

.orb__ring--3::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 6%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
}

@keyframes ringSpinA {
  from {
    transform: rotateX(72deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(72deg) rotateZ(360deg);
  }
}

@keyframes ringSpinB {
  from {
    transform: rotateX(66deg) rotateZ(42deg);
  }
  to {
    transform: rotateX(66deg) rotateZ(402deg);
  }
}

@keyframes ringSpinC {
  from {
    transform: rotateX(56deg) rotateZ(88deg);
  }
  to {
    transform: rotateX(56deg) rotateZ(448deg);
  }
}

.orb__type {
  position: absolute;
  inset: -1%;
  width: 102%;
  height: 102%;
  animation: spin 72s linear infinite;
}

.orb__type text {
  fill: rgba(180, 174, 203, 0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 4.4px;
  text-transform: uppercase;
}

.orb__coords {
  position: absolute;
  right: 3%;
  bottom: 2%;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

.orb__cross {
  position: absolute;
  top: 4%;
  left: 11%;
  width: 18px;
  height: 18px;
  opacity: 0.4;
}

.orb__cross::before,
.orb__cross::after {
  content: "";
  position: absolute;
  background: var(--text);
}

.orb__cross::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.orb__cross::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(9, 9, 19, 0.72);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.chip__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px var(--cyan);
}

.chip--1 {
  top: 8%;
  left: 1%;
  animation: floatY 7s ease-in-out infinite;
}

.chip--2 {
  top: 37%;
  right: -3%;
  animation: floatY 9s ease-in-out infinite reverse;
}

.chip--3 {
  bottom: 10%;
  left: 4%;
  animation: floatY 8s ease-in-out 1s infinite;
}

@media (max-width: 560px) {
  .chip--1 {
    left: 0;
  }

  .chip--2 {
    right: 0;
  }

  .chip--3 {
    display: none;
  }

  .orb__coords {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.014);
  padding-block: 1.15rem;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

.marquee__group span {
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__group .marquee__star {
  color: var(--violet-soft);
  font-size: 0.6rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Manifesto & stats
   -------------------------------------------------------------------------- */
.manifesto__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .manifesto__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(3rem, 8vw, 8rem);
  }
}

.manifesto__grid h2 {
  max-width: 15ch;
  margin-top: 1.1rem;
  font-size: clamp(2rem, 4.1vw, 3.5rem);
}

.manifesto__body {
  display: grid;
  align-content: end;
  gap: 1.2rem;
}

.manifesto__body p {
  max-width: 48ch;
  font-size: 0.94rem;
}

.manifesto__body .link-arrow {
  margin-top: 0.6rem;
  justify-self: start;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}

.stat {
  padding: clamp(1.5rem, 3vw, 2rem) 1.25rem;
  border-bottom: 1px solid var(--line);
}

.stat:nth-child(odd) {
  padding-left: 0;
}

.stat:nth-child(even) {
  border-left: 1px solid var(--line);
}

@media (min-width: 800px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stat {
    padding: 2rem 1.75rem;
    border-bottom: 0;
  }

  .stat:first-child {
    padding-left: 0;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 1.75rem;
  }

  .stat + .stat {
    border-left: 1px solid var(--line);
  }
}

.stat__num {
  display: block;
  background: var(--gradient);
  font-variant-numeric: tabular-nums;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------------------
   Work grid & cards
   -------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 2rem;
  }

  .work-grid--featured .work-card:first-child {
    grid-column: 1 / -1;
  }

  .work-grid--featured .work-card:first-child .work-card__media {
    aspect-ratio: 16 / 8.2;
  }
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.work-card__hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: var(--radius);
}

.work-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 52%, rgba(4, 4, 10, 0.34));
  opacity: 0.8;
  pointer-events: none;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.1s var(--ease-out),
    filter 0.6s var(--ease-out);
}

.work-card:hover .work-card__media img {
  transform: scale(1.045);
  filter: brightness(1.07);
}

.work-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 5, 11, 0.55);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.work-card__view {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 11, 0.62);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--ease-out),
    transform 0.4s var(--ease-out);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.work-card:hover .work-card__view,
.work-card:focus-within .work-card__view {
  opacity: 1;
  transform: none;
}

.work-card__view svg {
  width: 11px;
  height: 11px;
}

.work-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 0.2rem;
}

.work-card__body h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
}

.work-card__body p {
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.work-card__year {
  padding-top: 0.3rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
}

.work-card:has(.work-card__hit:focus-visible) .work-card__hit {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* Filter bar ------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease;
}

.filter:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.filter[aria-pressed="true"] {
  border-color: var(--text);
  background: var(--text);
  color: var(--ink);
}

.filter-status {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-card.is-hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   Services list (home)
   -------------------------------------------------------------------------- */
.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  border-bottom: 1px solid var(--line);
}

.service-row__link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  grid-template-areas:
    "num title arrow"
    "desc desc desc";
  align-items: center;
  gap: 1rem 1.1rem;
  padding: clamp(1.35rem, 2.5vw, 1.9rem) 0;
  transition:
    padding 0.4s var(--ease-out),
    color 0.3s ease;
}

.service-row__num {
  grid-area: num;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}

.service-row__title {
  grid-area: title;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: color 0.3s ease;
}

.service-row__desc {
  grid-area: desc;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.service-row__arrow {
  grid-area: arrow;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-dim);
  transition:
    background-color 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.service-row__arrow svg {
  width: 13px;
  height: 13px;
}

.service-row__link:hover {
  padding-left: 0.55rem;
}

.service-row__link:hover .service-row__title {
  color: var(--cyan-soft);
}

.service-row__link:hover .service-row__arrow {
  border-color: var(--text);
  background: var(--text);
  color: var(--ink);
  transform: rotate(45deg);
}

@media (min-width: 900px) {
  .service-row__link {
    grid-template-columns: 70px minmax(0, 1.05fr) minmax(0, 0.95fr) 44px;
    grid-template-areas: "num title desc arrow";
    gap: 1.5rem;
    padding: 1.9rem 0;
  }

  .service-row__arrow {
    width: 44px;
    height: 44px;
  }
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .process__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(4rem, 8vw, 8rem);
  }

  .process__intro {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    align-self: start;
  }
}

.process__intro h2 {
  max-width: 12ch;
  margin-top: 1.1rem;
}

.process__intro p {
  max-width: 38ch;
  margin-top: 1.25rem;
  font-size: 0.92rem;
}

.process__steps {
  display: grid;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.65rem 0;
  border-top: 1px solid var(--line);
}

.process-step:last-child {
  border-bottom: 1px solid var(--line);
}

.process-step__num {
  padding-top: 0.28rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.process-step h3 {
  font-size: 1.28rem;
}

.process-step p {
  max-width: 50ch;
  margin-top: 0.5rem;
  font-size: 0.87rem;
}

/* --------------------------------------------------------------------------
   Quote
   -------------------------------------------------------------------------- */
.quote {
  display: grid;
  justify-items: center;
  gap: 1.9rem;
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.quote__mark {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 0.35;
}

.quote blockquote {
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.3vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-wrap: balance;
}

.quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-align: left;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a, #8b5cf6), var(--b, #22d3ee));
  color: #08080f;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.quote figcaption strong {
  display: block;
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 500;
}

.quote figcaption span {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   CTA panel
   -------------------------------------------------------------------------- */
.cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.25rem, 7vw, 5.5rem);
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--ink);
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 90% at 88% 4%, rgba(139, 92, 246, 0.26), transparent 62%),
    radial-gradient(45% 80% at 4% 100%, rgba(34, 211, 238, 0.2), transparent 62%);
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 10, 18, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 18, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 90% at 70% 0%, #000, transparent 72%);
  mask-image: radial-gradient(70% 90% at 70% 0%, #000, transparent 72%);
}

.cta-panel .eyebrow {
  color: var(--ink-dim);
}

.cta-panel .eyebrow::before {
  background: var(--ink);
  opacity: 0.5;
}

.cta-panel h2 {
  max-width: 17ch;
  margin-top: 1.1rem;
  color: var(--ink);
  font-size: clamp(2.15rem, 5.2vw, 4.1rem);
}

.cta-panel p {
  max-width: 45ch;
  margin-top: 1.2rem;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.cta-panel__actions {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.cta-panel__orbit {
  position: absolute;
  right: -7%;
  bottom: -42%;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(10, 10, 18, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.cta-panel__orbit::before,
.cta-panel__orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.cta-panel__orbit::before {
  inset: 14%;
  border: 1px dashed rgba(10, 10, 18, 0.18);
}

.cta-panel__orbit::after {
  top: 8%;
  left: 12%;
  width: 12px;
  height: 12px;
  background: var(--violet);
  box-shadow: 0 0 0 8px rgba(139, 92, 246, 0.14);
}

@media (max-width: 640px) {
  .cta-panel__orbit {
    right: -20%;
    bottom: -24%;
    width: 70%;
  }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(3.25rem, 7vw, 6.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line-soft);
}

.page-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

.page-hero__meta {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-hero__title {
  position: relative;
  z-index: 2;
  max-width: 17ch;
  font-size: clamp(2.75rem, 6.8vw, 5.8rem);
  line-height: 0.98;
}

.page-hero__bottom {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 900px) {
  .page-hero__bottom {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 4rem;
  }
}

.page-hero__lead {
  max-width: 54ch;
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}

.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
}

.page-hero__stat strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.page-hero__stat span {
  display: block;
  margin-top: 0.4rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.page-hero__index {
  position: absolute;
  top: 18%;
  right: 2%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 20rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

@media (max-width: 700px) {
  .page-hero__index {
    top: 8%;
    right: -4%;
    opacity: 0.7;
  }
}

/* --------------------------------------------------------------------------
   Story (about)
   -------------------------------------------------------------------------- */
.story-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
}

.story__aside {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 2rem;
}

.story__body {
  display: grid;
  gap: 1.3rem;
  max-width: 760px;
}

.story__body > p {
  font-size: 0.95rem;
}

.story__pull {
  margin-block: 1rem;
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 1px solid var(--line-strong);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.story__stamp {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  line-height: 1.9;
  text-align: center;
  text-transform: uppercase;
}

.story__stamp strong {
  display: block;
  margin-bottom: 0.25rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.studio-visual {
  position: relative;
  display: grid;
  aspect-ratio: 16 / 8;
  place-items: center;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(50% 70% at 66% 42%, rgba(124, 58, 237, 0.38), transparent 66%),
    radial-gradient(40% 50% at 30% 70%, rgba(34, 211, 238, 0.12), transparent 70%),
    #080812;
}

@media (max-width: 640px) {
  .studio-visual {
    aspect-ratio: 4 / 3;
  }
}

.studio-visual__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}

.studio-visual__ring {
  position: absolute;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(196, 181, 253, 0.32);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-14deg);
}

.studio-visual__ring::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.studio-visual__ring--2 {
  width: 66%;
  border-style: dashed;
  border-color: rgba(34, 211, 238, 0.22);
  transform: rotateX(64deg) rotateZ(38deg);
}

.studio-visual__core {
  position: relative;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #f5d0fe, #a78bfa 34%, #4c1d95 70%, #0b0618);
  box-shadow: 0 0 70px rgba(139, 92, 246, 0.55);
}

.studio-visual__label {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2rem);
  display: grid;
  gap: 0.3rem;
}

.studio-visual__label strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.studio-visual__label span {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.studio-visual__coords {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  line-height: 1.7;
  text-align: right;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Values / timeline / team / awards
   -------------------------------------------------------------------------- */
.values-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 760px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.value-card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.008));
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.45s var(--ease-out);
}

.value-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.value-card__num {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

.value-card h3 {
  margin-top: 2.2rem;
  font-size: 1.35rem;
}

.value-card p {
  max-width: 42ch;
  margin-top: 0.65rem;
  font-size: 0.87rem;
}

.timeline {
  border-top: 1px solid var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 760px) {
  .timeline__item {
    grid-template-columns: 120px minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    align-items: start;
  }
}

.timeline__year {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.timeline__item h3 {
  font-size: 1.02rem;
  letter-spacing: -0.015em;
}

.timeline__item p {
  margin-top: 0.35rem;
  font-size: 0.84rem;
}

.timeline__item > p {
  margin-top: 0;
}

@media (max-width: 759px) {
  .timeline__item > p {
    grid-column: 2;
    margin-top: -0.35rem;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 820px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
  min-height: 210px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.017);
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease;
}

.team-card::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -50%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--a, #8b5cf6), transparent 66%);
  opacity: 0.13;
  transition: opacity 0.4s ease;
}

.team-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.team-card:hover::after {
  opacity: 0.26;
}

.team-card__index {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.team-card__avatar {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a, #a78bfa), var(--b, #22d3ee));
  color: #08080f;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.team-card h3 {
  font-size: 1.02rem;
}

.team-card p {
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.awards-list {
  border-top: 1px solid var(--line);
}

.award {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 0.35rem 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
  .award {
    grid-template-columns: 80px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 1.5rem;
  }
}

.award__year {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
}

.award__title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.award__org {
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (min-width: 640px) {
  .award__org {
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   Project dialog
   -------------------------------------------------------------------------- */
.project-dialog {
  width: min(100% - 1.5rem, 1000px);
  max-height: 92svh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
}

.project-dialog::backdrop {
  background: rgba(3, 3, 8, 0.82);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.project-dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 6;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 5, 11, 0.62);
  color: #fff;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.35s var(--ease-out);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.project-dialog__close:hover {
  background: #fff;
  color: var(--ink);
  transform: rotate(90deg);
}

.project-dialog__scroll {
  max-height: 92svh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.project-dialog__media {
  position: relative;
  aspect-ratio: 16 / 7.4;
  background: var(--bg);
}

.project-dialog__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-dialog__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13, 13, 25, 0.9));
}

.project-dialog__body {
  padding: clamp(1.4rem, 4vw, 3rem);
}

.project-dialog__body h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.project-dialog__summary {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.98rem;
}

.project-dialog__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-block: 1.4rem;
  border-block: 1px solid var(--line);
}

@media (min-width: 700px) {
  .project-dialog__meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.project-dialog__meta dt {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-dialog__meta dd {
  margin-top: 0.35rem;
  color: var(--text);
  font-size: 0.83rem;
}

.detail-block {
  display: grid;
  gap: 0.55rem;
  margin-top: 2rem;
}

.detail-block h3 {
  color: var(--cyan-soft);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail-block p {
  max-width: 72ch;
  font-size: 0.9rem;
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--line);
}

.detail-metric {
  padding: 1.1rem;
  background: var(--surface);
}

.detail-metric strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.detail-metric span {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.project-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Service accordions
   -------------------------------------------------------------------------- */
.service-acc {
  border-bottom: 1px solid var(--line);
}

.service-acc:first-of-type {
  border-top: 1px solid var(--line);
}

.service-acc summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  grid-template-areas:
    "num title icon"
    "hint hint hint";
  align-items: center;
  gap: 0.5rem 1.1rem;
  padding: clamp(1.35rem, 2.5vw, 1.85rem) 0;
  list-style: none;
  cursor: pointer;
}

.service-acc summary::-webkit-details-marker {
  display: none;
}

.service-acc__num {
  grid-area: num;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

.service-acc__title {
  grid-area: title;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  transition: color 0.3s ease;
}

.service-acc__hint {
  grid-area: hint;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.service-acc__icon {
  position: relative;
  grid-area: icon;
  width: 38px;
  height: 38px;
  justify-self: end;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

.service-acc__icon::before,
.service-acc__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out);
}

.service-acc__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.service-acc summary:hover .service-acc__title {
  color: var(--cyan-soft);
}

.service-acc[open] .service-acc__icon {
  border-color: var(--text);
  background: var(--text);
  color: var(--ink);
}

.service-acc[open] .service-acc__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.service-acc[open] .service-acc__title {
  color: var(--cyan-soft);
}

.service-acc__body {
  display: grid;
  gap: 1.4rem;
  padding-bottom: 2rem;
}

.service-acc__body p {
  max-width: 62ch;
  font-size: 0.9rem;
}

@media (min-width: 900px) {
  .service-acc summary {
    grid-template-columns: 70px minmax(0, 1.05fr) minmax(0, 0.95fr) 44px;
    grid-template-areas: "num title hint icon";
    gap: 1.5rem;
  }

  .service-acc__hint {
    font-size: 0.8rem;
  }

  .service-acc__body {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.5rem 3rem;
    padding-left: 70px;
  }

  .service-acc__body p {
    grid-column: 1;
  }

  .service-acc__body .check-list {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.check-list {
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-dim);
  font-size: 0.83rem;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient);
}

/* --------------------------------------------------------------------------
   Capabilities & plans
   -------------------------------------------------------------------------- */
.cap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

@media (min-width: 640px) {
  .cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .cap-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cap-item {
  min-height: 180px;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--bg);
  transition: background-color 0.4s ease;
}

.cap-item:hover {
  background: var(--surface);
}

.cap-item__num {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
}

.cap-item h3 {
  margin-top: 2.4rem;
  font-size: 1.1rem;
}

.cap-item p {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

.plans {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
}

.plan--featured {
  border-color: rgba(167, 139, 250, 0.42);
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(34, 211, 238, 0.035) 60%, rgba(255, 255, 255, 0.012));
}

.plan__badge {
  position: absolute;
  top: -0.65rem;
  left: 1.8rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--gradient);
  color: #06060d;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.plan h3 {
  font-size: 1.25rem;
}

.plan__price {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan__price span {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0;
}

.plan > p {
  font-size: 0.84rem;
}

.plan ul {
  display: grid;
  gap: 0.5rem;
  font-size: 0.81rem;
  color: var(--text-dim);
}

.plan ul li {
  position: relative;
  padding-left: 1rem;
  line-height: 1.5;
}

.plan ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.plan .btn {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  max-width: 920px;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--text-dim);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  max-width: 74ch;
  padding: 0 0 1.4rem;
}

.faq__answer p {
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1000px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(3rem, 6vw, 6rem);
  }
}

.contact-aside {
  display: grid;
  align-content: start;
  gap: 1.6rem;
}

.contact-intro {
  max-width: 42ch;
  font-size: 0.94rem;
}

.contact-detail {
  display: grid;
  gap: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.contact-detail__label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail a,
.contact-detail p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-detail a:hover {
  color: var(--cyan-soft);
}

.contact-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.copy-btn {
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.copy-btn:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-dim);
  font-size: 0.82rem;
  transition: color 0.3s ease;
}

.contact-socials a:hover {
  color: var(--text);
}

.contact-socials svg {
  width: 11px;
  height: 11px;
  opacity: 0.55;
}

.contact-form-panel {
  padding: clamp(1.35rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.form-grid {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 620px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.field label {
  display: flex;
  gap: 0.25rem;
  color: var(--text-dim);
  font-size: 0.74rem;
  letter-spacing: 0.005em;
}

.field label span {
  color: var(--cyan);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 4, 10, 0.55);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 300;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field select {
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23b4aecb' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f5a76;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.65);
  background: rgba(9, 9, 18, 0.86);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}

.field__error {
  display: none;
  color: #fca5a5;
  font-size: 0.68rem;
  line-height: 1.45;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: rgba(248, 113, 113, 0.6);
}

.field.has-error .field__error {
  display: block;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
}

.form-foot p {
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 0.66rem;
  line-height: 1.6;
}

.form-success {
  display: none;
  justify-items: center;
  gap: 0.9rem;
  padding: clamp(1.5rem, 5vw, 3rem) 0.5rem;
  text-align: center;
}

.form-success.is-visible {
  display: grid;
  animation: successIn 0.6s var(--ease-out) both;
}

@keyframes successIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.form-success__icon {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgba(110, 231, 183, 0.45);
  border-radius: 50%;
  background: rgba(110, 231, 183, 0.1);
  color: #6ee7b7;
}

.form-success__icon svg {
  width: 22px;
  height: 22px;
}

.form-success h2 {
  font-size: 1.6rem;
}

.form-success h2:focus {
  outline: none;
}

.form-success p {
  max-width: 42ch;
  font-size: 0.9rem;
}

.form-success .btn {
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  z-index: 2000;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 11, 22, 0.92);
  color: var(--text);
  font-size: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    visibility 0.35s;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page {
  display: grid;
  min-height: calc(100svh - var(--header-h));
  padding-block: 4rem;
  place-items: center;
  text-align: center;
}

.error-page__inner {
  position: relative;
  display: grid;
  justify-items: center;
}

.error-page__code {
  position: relative;
  z-index: 2;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(7rem, 27vw, 22rem);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.error-page__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(80vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(196, 181, 253, 0.16);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.error-page__orbit::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(34, 211, 238, 0.16);
  border-radius: 50%;
}

.error-page__orbit::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 16%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}

.error-page h1 {
  margin-top: 1.75rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.error-page p {
  max-width: 42ch;
  margin-top: 0.9rem;
  font-size: 0.94rem;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.9rem;
}
