:root {
  --bg: #fbfcfd;
  --bg-2: #f1f4f8;
  --surface: #ffffff;
  --border: #dde4ec;
  --border-2: #c9d3de;
  --border-soft: #e7ecf2;
  --grid: #dde4ec;
  --muted: #6b7686;
  --muted-2: #99a4b3;
  --fg: #0b0e14;
  --fg-dim: #3a4554;
  --signal: #11b89c;
  --signal-dim: #2a8c7e;
  --accent: #2563eb;
  --accent-hover: #1d54d6;
  --accent-fg: #ffffff;
  --nav-bg: rgba(251, 252, 253, 0.85);
  --glow: linear-gradient(
    to top,
    rgba(17, 184, 156, 0.07),
    rgba(17, 184, 156, 0.02) 40%,
    transparent 72%
  );
  --r: 14px;
  --maxw: 1180px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: var(--accent);
  color: var(--accent-fg);
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "[";
  color: var(--signal-dim);
}
.eyebrow::after {
  content: "]";
  color: var(--signal-dim);
}

/* NAV */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--fg);
}
.brand .nav__logo {
  height: 18px;
  width: auto;
  display: block;
}
.brand .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(17, 184, 156, 0.4);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(17, 184, 156, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(17, 184, 156, 0);
  }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 14.5px;
  color: var(--fg-dim);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--fg);
}
.nav-links a.active {
  color: var(--fg);
  font-weight: 500;
}
.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 8px;
  color: var(--fg) !important;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.nav-cta:hover {
  border-color: var(--signal);
  background: rgba(17, 184, 156, 0.08);
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* HERO */
.hero {
  position: relative;
  padding: 96px 0 76px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 70% 60% at 72% 30%,
    #000 30%,
    transparent 75%
  );
  opacity: 0.55;
  pointer-events: none;
}
.hero-pipe {
  position: absolute;
  top: -28px;
  left: auto;
  right: max(0px, calc((100% - var(--maxw)) / 2));
  height: 100%;
  width: 440px;
  pointer-events: none;
  opacity: 0.85;
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.hero-pipe.checkgrid-pipe {
  right: max(0px, calc((100% - var(--maxw)) / 2));
  width: 46%;
  padding-right: 28px;
  opacity: 0.7;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: none;
}
.pipe-line {
  stroke: var(--border);
  stroke-width: 1.5;
  fill: none;
}
.pipe-flow {
  stroke: var(--signal);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 14 220;
  stroke-linecap: round;
  animation: flow 4.5s linear infinite;
  filter: drop-shadow(0 0 4px rgba(17, 184, 156, 0.45));
}
.pipe-flow.d2 {
  animation-delay: 1.5s;
}
.pipe-flow.d3 {
  animation-delay: 3s;
}
@keyframes flow {
  to {
    stroke-dashoffset: -234;
  }
}
.pipe-node {
  fill: var(--bg-2);
  stroke: var(--border);
  stroke-width: 1.5;
}
.pipe-node-live {
  fill: var(--signal-dim);
}
.pipe-pulse {
  transform-origin: center;
  animation: nodepulse 4.5s ease-in-out infinite;
}
@keyframes nodepulse {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* checkgrid (qa) */
.checkgrid {
  display: grid;
  gap: 14px;
  width: 320px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 13px 16px;
  background: rgba(241, 244, 248, 0.7);
}
.check-box {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  flex: none;
  border: 1.5px solid var(--border);
  position: relative;
  animation: checkcycle 6s ease-in-out infinite;
}
.check-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.3s;
}
.check-row .bar {
  height: 7px;
  border-radius: 4px;
  background: var(--border);
  flex: 1;
  max-width: 180px;
}
.check-row .st {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-2);
  margin-left: auto;
}
.check-row:nth-child(1) .check-box {
  animation-delay: 0s;
}
.check-row:nth-child(2) .check-box {
  animation-delay: 0.6s;
}
.check-row:nth-child(3) .check-box {
  animation-delay: 1.2s;
}
.check-row:nth-child(4) .check-box {
  animation-delay: 1.8s;
}
.check-row:nth-child(5) .check-box {
  animation-delay: 2.4s;
}
@keyframes checkcycle {
  0%,
  8% {
    background: transparent;
    border-color: var(--border);
  }
  14%,
  92% {
    background: var(--signal);
    border-color: var(--signal);
    box-shadow: 0 0 10px rgba(17, 184, 156, 0.35);
  }
  100% {
    background: transparent;
    border-color: var(--border);
  }
}
.check-row .check-box {
  overflow: visible;
}
@keyframes markin {
  0%,
  8% {
    transform: rotate(45deg) scale(0);
  }
  16%,
  92% {
    transform: rotate(45deg) scale(1);
  }
  100% {
    transform: rotate(45deg) scale(0);
  }
}
.check-row .check-box::after {
  animation: markin 6s ease-in-out infinite;
  animation-delay: inherit;
}
.check-row:nth-child(1) .check-box::after {
  animation-delay: 0s;
}
.check-row:nth-child(2) .check-box::after {
  animation-delay: 0.6s;
}
.check-row:nth-child(3) .check-box::after {
  animation-delay: 1.2s;
}
.check-row:nth-child(4) .check-box::after {
  animation-delay: 1.8s;
}
.check-row:nth-child(5) .check-box::after {
  animation-delay: 2.4s;
}

.hero-pipe.phone-motif {
  right: max(0px, calc((100% - var(--maxw)) / 2));
  width: 50%;
  opacity: 0.7;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: scale(0.6);
  transform-origin: right center;
}
.phone-body {
  fill: none;
  stroke: var(--border);
  stroke-width: 2;
}
.phone-notch {
  fill: var(--bg);
  stroke: var(--border);
  stroke-width: 1.5;
}
.phone-screen {
  fill: var(--bg-2);
}
.phone-bar {
  fill: var(--border);
  opacity: 0.5;
}
.phone-card {
  fill: var(--surface);
  stroke: var(--border-soft);
  stroke-width: 1;
  opacity: 0;
  animation: phoneSlideIn 5s ease-in-out infinite;
}
.phone-card.c1 {
  animation-delay: 0s;
}
.phone-card.c2 {
  animation-delay: 1s;
}
.phone-card.c3 {
  animation-delay: 2s;
}
.phone-nav-dot {
  fill: var(--border);
  opacity: 0;
  animation: phoneFade 5s ease-in-out infinite;
}
.phone-nav-dot.active {
  fill: var(--signal);
}
.phone-nav-dot.d1 {
  animation-delay: 0s;
}
.phone-nav-dot.d2 {
  animation-delay: 1s;
}
.phone-nav-dot.d3 {
  animation-delay: 2s;
}
.phone-signal {
  stroke: var(--signal);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 6 30;
  stroke-linecap: round;
  animation: flow 3.5s linear infinite;
}
@keyframes phoneSlideIn {
  0%,
  5% {
    opacity: 0;
    transform: translateY(8px);
  }
  12%,
  88% {
    opacity: 1;
    transform: translateY(0);
  }
  95%,
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@keyframes phoneFade {
  0%,
  8% {
    opacity: 0;
  }
  15%,
  85% {
    opacity: 1;
  }
  92%,
  100% {
    opacity: 0;
  }
}
@keyframes phoneGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0px rgba(17, 184, 156, 0));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(17, 184, 156, 0.3));
  }
}
.phone-body {
  animation: phoneGlow 4.5s ease-in-out infinite;
}

/* browser motif (web) */
.hero-pipe.browser-motif {
  right: calc(max(0px, calc((100% - var(--maxw)) / 2)) + 10px);
  width: 620px;
  opacity: 0.9;
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: scale(0.6) translateY(10%);
  transform-origin: right center;
}
.browser-frame {
  fill: none;
  stroke: var(--border);
  stroke-width: 1.5;
}
.browser-bar {
  fill: var(--bg-2);
}
.browser-dot {
  fill: var(--border);
  opacity: 0.5;
}
.browser-dot.red {
  fill: #ff5f57;
}
.browser-dot.yellow {
  fill: #ffbd2e;
}
.browser-dot.green {
  fill: #28ca42;
}
.browser-addr {
  fill: var(--border);
  opacity: 0.3;
  rx: 4;
}
.browser-card {
  fill: var(--surface);
  stroke: var(--border-soft);
  stroke-width: 1;
  opacity: 0;
  animation: browserSlideIn 5s ease-in-out infinite;
}
.browser-card.c1 {
  animation-delay: 0s;
}
.browser-card.c2 {
  animation-delay: 0.8s;
}
.browser-card.c3 {
  animation-delay: 1.6s;
}
.browser-line {
  fill: var(--border);
  opacity: 0;
  animation: browserFade 5s ease-in-out infinite;
}
.browser-line.l1 {
  animation-delay: 0.3s;
}
.browser-line.l2 {
  animation-delay: 1.1s;
}
.browser-line.l3 {
  animation-delay: 1.9s;
}
.browser-signal {
  stroke: var(--signal);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 8 40;
  stroke-linecap: round;
  animation: flow 3.5s linear infinite;
}
@keyframes browserSlideIn {
  0%,
  5% {
    opacity: 0;
    transform: translateY(6px);
  }
  12%,
  88% {
    opacity: 1;
    transform: translateY(0);
  }
  95%,
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}
@keyframes browserFade {
  0%,
  8% {
    opacity: 0;
  }
  15%,
  85% {
    opacity: 0.4;
  }
  92%,
  100% {
    opacity: 0;
  }
}
@keyframes browserGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 0px rgba(17, 184, 156, 0));
  }
  50% {
    filter: drop-shadow(0 0 5px rgba(17, 184, 156, 0.25));
  }
}
.browser-frame {
  animation: browserGlow 4.5s ease-in-out infinite;
}

/* team-network motif (staff) */
.hero-pipe.team-network {
  right: max(0px, calc((100% - var(--maxw)) / 2));
  width: 440px;
  opacity: 0.85;
  mask-image: linear-gradient(90deg, transparent, #000 40%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transform: scale(0.7);
  transform-origin: right center;
}
.tn-line {
  stroke: var(--muted);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  opacity: 0.45;
}
.tn-node {
  stroke-width: 1.5;
  opacity: 0;
  animation: tnFadeIn 5s ease-in-out infinite;
}
.tn-center {
  fill: var(--signal-dim);
  stroke: var(--signal);
  animation-delay: 0s;
}
.tn-outer {
  fill: var(--surface);
  stroke: var(--muted);
  animation-delay: 0.6s;
}
.tn-outer:nth-child(9) {
  animation-delay: 0.6s;
}
.tn-outer:nth-child(10) {
  animation-delay: 1s;
}
.tn-outer:nth-child(11) {
  animation-delay: 1.4s;
}
.tn-outer:nth-child(12) {
  animation-delay: 1.8s;
}
.tn-outer:nth-child(13) {
  animation-delay: 2.2s;
}
.tn-outer:nth-child(14) {
  animation-delay: 2.6s;
}
.tn-pulse {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.5;
  opacity: 0;
  animation: tnPulse 4s ease-out infinite;
}
.tn-pulse-delay {
  animation-delay: 1.5s;
}
@keyframes tnFadeIn {
  0%,
  8% {
    opacity: 0;
    transform: scale(0.8);
  }
  15%,
  85% {
    opacity: 1;
    transform: scale(1);
  }
  92%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}
@keyframes tnPulse {
  0% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.hero-inner {
  position: relative;
  max-width: 760px;
  z-index: 2;
}
@media (max-width: 1180px) {
  .hero-pipe {
    display: none;
  }
  .hero-pipe.checkgrid-pipe {
    display: none;
  }
  .hero-pipe.browser-motif {
    display: none;
  }
  .hero-pipe.team-network {
    display: none;
  }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.038em;
  margin: 24px 0 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--fg-dim);
  max-width: 50ch;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 24px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.15s,
    background 0.2s,
    border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover {
  background: var(--accent-hover);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--fg);
}
.btn-ghost:hover {
  border-color: var(--muted);
}
.btn .arrow {
  transition: transform 0.2s;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* SECTION SHELL */
.pad {
  padding: 88px 0;
}
#capabilities {
  scroll-margin-top: 80px;
}
.sec-head {
  max-width: 60ch;
  margin-bottom: 48px;
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 16px;
}
.diamond-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
.diamond-list li {
  font-size: 14.5px;
  color: var(--fg-dim);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.diamond-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--signal-dim);
  transform: rotate(45deg);
}
@media (max-width: 700px) {
  .diamond-list {
    grid-template-columns: 1fr;
  }
}
.sec-head p {
  margin-top: 16px;
  color: var(--fg-dim);
  font-size: 1.08rem;
}

/* CAPABILITY GRID */
.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
  overflow: hidden;
}
@media (max-width: 820px) {
  .caps {
    grid-template-columns: 1fr;
  }
}
.cap {
  background: var(--bg-2);
  padding: 28px 26px;
  transition: background 0.25s;
}
.cap:hover {
  background: var(--surface);
}
.cap .ci {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--signal-dim);
}
.cap h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.18rem;
  margin: 11px 0 9px;
  letter-spacing: -0.01em;
}
.cap__name a {
  color: inherit;
  text-decoration: none;
}
.cap__name a:hover {
  text-decoration: none;
}
.cap p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* CAPABILITIES LIST */
.caps-list {
  margin-top: 32px;
}
.caps-list ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
@media (max-width: 820px) {
  .caps-list ul {
    grid-template-columns: 1fr;
  }
}
.caps-list li {
  font-size: 14.5px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
}
.caps-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-dim);
}

/* CTA BAND */
.cta-band {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--border-soft);
}
.cta-inner {
  max-width: 720px;
}
.cta-inner h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.cta-inner h2 em {
  font-style: normal;
  color: var(--accent);
}
.cta-inner .lead {
  margin-top: 18px;
  color: var(--fg-dim);
  font-size: 1.1rem;
  max-width: 46ch;
}
.cal-block {
  margin-top: 28px;
}
.cal-block .btn-primary {
  font-size: 16px;
  padding: 16px 28px;
}
.cal-sub {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-2);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  background: var(--glow);
  pointer-events: none;
  z-index: 0;
}
footer .wrap {
  position: relative;
  z-index: 1;
}
.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.foot-row .brand {
  margin-bottom: 0;
}
.foot-links {
  display: flex;
  gap: 24px;
  font-size: 14.5px;
  margin-left: auto;
}
.foot-links a {
  color: var(--fg-dim);
  transition: color 0.2s;
}
.foot-links a:hover {
  color: var(--signal);
}
.foot-base {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* small screens */
@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }
  .hero {
    padding: 60px 0 52px;
  }
  .pad {
    padding: 60px 0;
  }
  .hero-cta {
    gap: 10px;
  }
  .hero-cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .sec-head {
    margin-bottom: 36px;
  }
}

/* ============================================================
   RFP — Proposal Request button + drawer form
   ============================================================ */
:root {
  --cobalt: #1d2df0;
  --bone: #f4f4ef;
  --ink: #0b0c10;
  --tint: #d9deff;
}

.rfp-open {
  position: fixed;
  right: calc(24px + 80px);
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--cobalt);
  border: 0;
  border-radius: 999px;
  padding: 16px 26px;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(11, 12, 16, 0.32);
  transition:
    background 0.25s ease,
    color 0.25s ease;
}
.rfp-open:hover {
  background: var(--ink);
  color: var(--bone);
}
.rfp-open::after {
  content: "\2197";
  font-size: 14px;
  letter-spacing: 0;
}

@media (max-width: 756px) {
  .rfp-open {
    bottom: 20px;
  }
}

@media (max-width: 600px) {
  .rfp-open {
    right: calc(14px + 80px);
    padding: 14px 20px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }
}

.rfp {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}
.rfp.is-open {
  visibility: visible;
  pointer-events: auto;
}
.rfp__scrim {
  position: absolute;
  inset: 0;
  background: rgba(11, 12, 16, 0.66);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.rfp.is-open .rfp__scrim {
  opacity: 1;
}
.rfp__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(580px, 100%);
  background: var(--ink);
  color: var(--bone);
  border-left: 1px solid rgba(244, 244, 239, 0.14);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(56px, 6vw, 76px) clamp(22px, 3.4vw, 52px)
    clamp(48px, 6vw, 80px);
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rfp.is-open .rfp__panel {
  transform: none;
}
.rfp__close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(11, 12, 16, 0.6);
  border: 1px solid rgba(244, 244, 239, 0.24);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.rfp__close:hover {
  background: rgba(244, 244, 239, 0.12);
  border-color: rgba(244, 244, 239, 0.5);
}

.rfp__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tint);
  opacity: 0.85;
}
.rfp h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  margin: 14px 0 12px;
}
.rfp__lead {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(244, 244, 239, 0.66);
  max-width: 40ch;
}

.rfp__form {
  margin-top: clamp(28px, 3.2vw, 40px);
  display: grid;
  gap: 22px;
}
.rfp__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.rfp__field {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.rfp__field > span,
.rfp__group > legend {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 244, 239, 0.6);
}
.rfp .req {
  font-style: normal;
  color: var(--tint);
}
.rfp input[type="text"],
.rfp input[type="email"],
.rfp input[type="tel"],
.rfp select,
.rfp textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--bone);
  background: rgba(244, 244, 239, 0.045);
  border: 1px solid rgba(244, 244, 239, 0.18);
  border-radius: 2px;
  padding: 12px 14px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.rfp textarea {
  min-height: 124px;
  resize: vertical;
  line-height: 1.5;
}
.rfp ::placeholder {
  color: rgba(244, 244, 239, 0.34);
}
.rfp select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23F4F4EF' stroke-opacity='.55' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.rfp select option {
  background: var(--ink);
  color: var(--bone);
}
.rfp :is(input, select, textarea):hover {
  border-color: rgba(244, 244, 239, 0.3);
}
.rfp :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--tint);
  background: rgba(244, 244, 239, 0.08);
}
.rfp :focus-visible {
  outline-color: var(--tint);
}
.rfp .is-invalid :is(input, select, textarea),
.rfp__check.is-invalid input {
  border-color: #ff8a7a;
}

.rfp__group {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.rfp__checks {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 18px;
}
.rfp__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(244, 244, 239, 0.86);
}
.rfp__check input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background: transparent;
  border: 1px solid rgba(244, 244, 239, 0.34);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.rfp__check input:checked {
  background: var(--cobalt);
  border-color: var(--cobalt);
}
.rfp__check input:checked::after {
  content: "";
  display: block;
  width: 4px;
  height: 8px;
  margin: 1px auto 0;
  border: solid var(--bone);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.rfp__fine {
  font-size: 13px;
  color: rgba(244, 244, 239, 0.58);
  line-height: 1.5;
}
.rfp__fine a {
  color: var(--tint);
}
.rfp__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rfp__submit {
  justify-self: start;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--cobalt);
  color: var(--bone);
  border: 0;
  border-radius: 999px;
  padding: 16px 32px;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    opacity 0.25s;
}
.rfp__submit:hover {
  background: var(--bone);
  color: var(--cobalt);
}
.rfp__submit[disabled] {
  opacity: 0.55;
  cursor: progress;
}
.rfp__status {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: rgba(244, 244, 239, 0.6);
}
.rfp__status.is-err {
  color: #ff8a7a;
}
.rfp__contact {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 244, 239, 0.14);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(244, 244, 239, 0.6);
  line-height: 2;
}
.rfp__contact a {
  color: var(--tint);
  text-decoration: none;
}
.rfp__contact a:hover {
  text-decoration: underline;
}

.rfp__done {
  display: none;
}
.rfp.is-done .rfp__form,
.rfp.is-done .rfp__intro {
  display: none;
}
.rfp.is-done .rfp__done {
  display: block;
}
.rfp__done h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  margin: 14px 0 12px;
}
.rfp__done p:not(.rfp__eyebrow) {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(244, 244, 239, 0.66);
  max-width: 40ch;
}

@media (max-width: 560px) {
  .rfp__row,
  .rfp__checks {
    grid-template-columns: 1fr;
  }
}
