/* =========================================================================
   Seigrint — home page and case studies
   Layout only. Type, colour, buttons, links, the background and all the
   motion come from theme.css, shared with /resume, so a change there lands
   on every page. Nothing here sets its own font, colour or easing.
   ========================================================================= */

/* ------------------------------ intro first -----------------------------
   While html.st-wait is set the intro rises on its own: the top bar fades
   in after it, and everything that reveals (the tagline, the switch, the
   work) is held in its pre-reveal state, so when the hold lifts each piece
   runs its own rise with its own stagger. theme.js lifts it shortly before
   the intro's last letters land. */
.st-top { transition: opacity 700ms var(--ease); }
html.st-wait .st-top { opacity: 0; }
html.st-wait .reveal {
  opacity: 0 !important;
  filter: blur(10px) !important;
  transform: translateY(22px) !important;
}

/* ----------------------------------- top ---------------------------------
   The mark on the left and the one "Get in touch" on the right, centred on
   the same line. In the page flow, so it scrolls away. */
.st-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-top: clamp(24px, 4vh, 40px);
}
.st-top .rs-logo { margin-bottom: 0; }
.st-top__side { display: flex; }

/* ---------------------------------- hero ---------------------------------
   One introductory sentence, centred, with the Work / About me / Resume
   switch under it.
   Scale and space carry it, and the showreel sits high enough to show in
   the first screen and pull the eye down into the work. */
.st-hero {
  padding: clamp(48px, 11vh, 128px) 0 0;
  text-align: center;
}

.st-hero__intro {
  max-width: 21em;
  margin: 0 auto;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}
.st-hero__intro .cal { font-size: 1.08em; letter-spacing: -0.01em; }
@media (max-width: 860px) { .st-br { display: none; } }
/* The cycling line, in the expressive face. Its letter-roll machinery and
   one-line rule come from .hero__lede in styles.css; only the face and
   size change here. The size cap keeps the longest phrase ("motion that
   makes you act", about 12.4em in Averia) on one line at any width. */
.st-hero__lede.hero__lede {
  margin: clamp(12px, 1.6vw, 20px) 0 0;
  font-family: var(--font-cal);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: min(clamp(22px, 2.6vw, 34px), calc((100vw - 2 * var(--gutter)) / 12.8));
  color: var(--flare-deep);
}
/* The line is sized to "motion that feels clean" and centred; when a
   phrase of another width rolls in, site.js glides the line so the new
   phrase is centred, slowly enough to go almost unnoticed. */
.st-hero__lede.hero__lede {
  width: var(--lede-w, auto);
  margin-left: auto; margin-right: auto;
  text-align: left;
  /* The re-centring glide runs on translate, separate from the reveal's
     transform, over two seconds on a soft ease-in-out: it starts with the
     roll and settles after the new letters have landed. */
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease),
              transform var(--t-reveal) var(--ease),
              translate 2000ms cubic-bezier(0.45, 0, 0.25, 1);
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), var(--delay, 0ms), 0ms;
}

/* Each letter rolls inside its own window. Bare, the window cut letters
   off: italic letters lean past their box (Averia's "f" and "k" by about
   0.15em), and mid-roll its hard top and bottom edges sliced through
   them. So each window gets room on every side (cancelled by a negative
   margin, so spacing and line height don't change), and its top and bottom
   edges fade instead of cutting. A letter at rest sits wholly inside the
   solid middle; it fades as it travels through the soft edge, and goes far
   enough (data-roll-travel) to clear it completely. */
.st-hero__lede .ld__c {
  /* Boxes include their padding here (border-box), so the window grows by
     the padding: 1.2em of letter plus 0.36em above and below. */
  height: calc(1.2em + 0.72em);
  padding: 0.36em 0.17em;
  margin: -0.36em -0.17em;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 0.34em, #000 calc(100% - 0.34em), transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 0.34em, #000 calc(100% - 0.34em), transparent 100%);
}
/* The switch under the intro: a pill-shaped track with a soft grey pill
   that slides to the selected tab on a light spring (it overshoots by
   about 2% and settles). The selected label goes semibold and full ink;
   the others are medium and muted until hovered. Resume shares the track
   but is a plain link. Positions are set by site.js. */
/* The pill's material, shared by the switch and "Get in touch": a faint
   grey tint over a light frost of the light and leaves behind it. */
.theme { --tab-pill-bg: rgba(0, 0, 0, 0.05); --tab-pill-blur: blur(14px) saturate(140%); }

/* Corners. Big media gets the softest corner, work cards a step less,
   cards and panels like the plans the same, small chips the least. */
.theme {
  --r-reel: 22px;
  --r-media: 16px;
  --r-card: 20px;
  --r-chip: 8px;
}

.st-tabs { margin-top: clamp(36px, 5vw, 64px); display: flex; justify-content: center; }
.st-tabs__track {
  position: relative;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px;
  border-radius: 999px;
}
.st-tabs__list { display: flex; gap: 4px; }
.st-tabs__pill {
  position: absolute;
  top: 4px; left: 4px;
  width: 0; height: 40px;
  border-radius: 999px;
  background: var(--tab-pill-bg);
  -webkit-backdrop-filter: var(--tab-pill-blur);
          backdrop-filter: var(--tab-pill-blur);
  --tab-spring: linear(0, 0.0716 4.17%, 0.2289 8.33%, 0.4105 12.5%, 0.5815 16.67%, 0.7248 20.83%, 0.8351 25%, 0.914 29.17%, 0.9663 33.33%, 0.9979 37.5%, 1.0147 41.67%, 1.0216 45.83%, 1.0224 50%, 1.0199 54.17%, 1.016 58.33%, 1.0119 62.5%, 1.0083 66.67%, 1.0053 70.83%, 1.003 75%, 1.0015 79.17%, 1.0005 83.33%, 0.9999 87.5%, 1);
  transition: left 520ms var(--tab-spring), width 520ms var(--tab-spring);
}
.st-tabs__pill.is-instant { transition: none; }
.st-tab {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 0; border-radius: 999px;
  background: none;
  font-family: var(--font-text);
  font-size: 14px; line-height: 20px; font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  cursor: pointer;
  transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.st-tab:hover { color: var(--ink); }
.st-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.st-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* "Get in touch" in the top bar wears the same tab: uppercase, medium,
   muted until hovered. On hover the same frosted pill the switch uses
   fades in behind it (no change of size), the label goes to full ink and
   the arrow nudges right. */
.st-tab--cta { gap: 6px; isolation: isolate; }
.st-tab--cta::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--tab-pill-bg);
  -webkit-backdrop-filter: var(--tab-pill-blur);
          backdrop-filter: var(--tab-pill-blur);
  opacity: 0;
  transition: opacity 240ms cubic-bezier(0.4, 0, 0.2, 1);
}
.st-tab--cta svg {
  width: 14px; height: 14px; stroke-width: 2;
  transition: transform 200ms cubic-bezier(0, 0, 0.2, 1);
}
.st-tab--cta:hover::before,
.st-tab--cta:focus-visible::before { opacity: 1; }
.st-tab--cta:hover svg,
.st-tab--cta:focus-visible svg { transform: translateX(2px); }

/* The panels under the switch: no rule above, they follow the intro. */
.st-panel { border-top: 0; padding-top: clamp(24px, 3vw, 40px); }
.st-panel:focus { outline: none; }
.st-panel:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; border-radius: var(--r-card); }

@media (prefers-reduced-motion: reduce) {
  .st-tabs__pill { transition: none; }
}

.st-reel {
  position: relative;
  margin: clamp(40px, 6vw, 72px) 0 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-reel);
  overflow: hidden;
  clip-path: inset(0 round var(--r-reel));      /* Safari clips video corners only with this */
  background: rgba(0, 0, 0, 0.06);
  box-shadow: var(--e2);
}
.st-reel video { width: 100%; height: 100%; object-fit: cover; }
.st-reel--work { margin: 0 0 clamp(32px, 4vw, 48px); }
/* ---------------------------- section headings --------------------------- */
.st-head { max-width: 640px; margin-bottom: clamp(28px, 3.6vw, 44px); }
.st-head .avail { margin-bottom: 16px; }
.st-head .eyebrow { margin-bottom: 12px; display: block; }
.st-head__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.24;
  letter-spacing: var(--rs-track-head);
  font-weight: 500;
  text-wrap: balance;
}
.st-head__lede { margin-top: 10px; max-width: 52ch; color: var(--muted); }

/* ---------------------------------- work ---------------------------------
   Two columns of cards at their own heights, so pieces of different
   shapes sit together without cropping. One column on phones. */
.st-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  align-items: start;
}
.st-col { display: flex; flex-direction: column; gap: 32px; }

.st-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: var(--ar, 4 / 3);
  padding: 0; border: 0;
  border-radius: var(--r-media);
  overflow: hidden;
  clip-path: inset(0 round var(--r-media));
  background: rgba(0, 0, 0, 0.06);
  cursor: pointer;
  font: inherit;
}
.st-card__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 1.4, 0.4, 1);   /* a light spring */
}
.st-card__media:hover video,
.st-card__media:focus-visible video { transform: scale(1.02); }
.st-card__media:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; clip-path: none; }

.st-card__title {
  margin-top: 12px;
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; line-height: 20px; font-weight: 600;
  color: var(--ink);
}
.st-card__icon { width: 13px; height: 13px; flex: none; color: var(--flare-deep); }
.st-card__icon:not(.st-card__icon--case) { fill: currentColor; stroke: none; }
.st-card__icon--case { stroke-width: 2.2; }
.st-card__meta {
  margin-top: 2px;
  font-size: 14px; line-height: 20px; font-weight: 500;
  color: var(--muted);
}

/* ---------------------------------- about -------------------------------- */
.st-about__lede { margin-bottom: clamp(28px, 4vw, 44px); max-width: 38ch; }
.st-about .rs-job { padding: 22px 0; }
.st-about .rs-job + .rs-job { border-top: 1px solid var(--hairline-soft); }
.st-about .rs-job__title { font-size: clamp(19px, 1.8vw, 22px); }
.st-facts { margin-top: clamp(28px, 4vw, 44px); }
.st-facts > div:first-child { padding-top: 22px; border-top: 1px solid var(--hairline-soft); }
.st-inline {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms cubic-bezier(0, 0, 0.2, 1);
}
.st-inline:hover { text-decoration-color: currentColor; }

/* -------------------------------- services ------------------------------- */
.st-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 40px);
}
.st-services li {
  display: flex; flex-direction: column;
  padding: 20px 0 24px;
  border-top: 1px solid var(--hairline-soft);
}
.st-services h3, .st-steps h3 {
  font-family: var(--font-text);
  font-size: 16px; line-height: 24px; font-weight: 500;
}
.st-services p, .st-steps p { margin-top: 4px; color: var(--ink-soft); }
.st-services .mono {
  margin-top: 12px;
  font-size: 12px; line-height: 16px;
  color: var(--muted);
}

/* --------------------------------- process ------------------------------- */
.st-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(20px, 3vw, 32px);
  list-style: none; padding: 0; margin: 0;
}
.st-steps li { padding-top: 20px; border-top: 1px solid var(--hairline-soft); }
.st-steps .mono { display: block; margin-bottom: 8px; font-size: 12px; line-height: 16px; color: var(--flare-deep); }

.st-gates {
  margin-top: clamp(32px, 4vw, 44px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
}
.st-gates__label { font-size: var(--rs-small); line-height: var(--rs-small-lh); color: var(--muted); }
.st-gates ol {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; padding: 0; margin: 0;
}
.st-gates li {
  padding: 5px 10px;
  border-radius: var(--r-chip);
  background: rgba(0, 0, 0, 0.045);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1);
  font-size: var(--rs-small); line-height: var(--rs-small-lh); font-weight: 500;
  color: var(--ink);
}

/* --------------------------------- pricing ------------------------------- */
.st-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.st-plan, .st-oneoff {
  padding: 24px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.04);
}
.st-plan { display: flex; flex-direction: column; }
.st-plan--featured {
  background: #fff;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08), var(--e2);
}
.st-plan__badge {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px; line-height: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--flare-deep);
}
.st-plan__name {
  font-family: var(--font-display);
  font-size: 20px; line-height: 28px; font-weight: 500;
  letter-spacing: var(--rs-track-head);
}
.st-plan__for { margin-top: 2px; font-size: 14px; line-height: 20px; color: var(--muted); }
.st-plan__price { margin: 18px 0 18px; display: flex; align-items: baseline; gap: 4px; }
.st-plan__amount {
  font-family: var(--font-display);
  font-size: 34px; line-height: 40px; font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.st-plan__per { font-size: 14px; line-height: 20px; color: var(--muted); }
.st-plan .rs-btn { width: 100%; }
.st-plan__list { margin-top: 20px; display: grid; gap: 8px; }
.st-plan__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px; line-height: 20px;
  color: var(--ink-soft);
}
.st-plan__list li::before {
  content: "";
  position: absolute; left: 2px; top: 5px;
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--flare-deep);
  border-bottom: 1.5px solid var(--flare-deep);
  transform: rotate(-45deg);
}

.st-oneoff {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 32px;
}
.st-oneoff .eyebrow { display: block; margin-bottom: 8px; }
.st-oneoff__desc { margin-top: 6px; max-width: 56ch; color: var(--ink-soft); }
.st-oneoff__side { display: flex; align-items: center; gap: 20px; }
.st-oneoff__side .st-plan__price { margin: 0; }

.st-note { margin-top: 16px; font-size: var(--rs-small); line-height: var(--rs-small-lh); color: var(--muted); }

/* ----------------------------- contact chooser --------------------------- */
/* A non-modal <dialog> over its own scrim. Both sit below the dot cursor
   (z-index 9999 in styles.css) and above everything else on the page.
   Same card material as the featured plan, so it reads as one of them
   lifting forward rather than a new kind of surface. */
.st-contact-scrim {
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(243, 242, 238, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
          backdrop-filter: blur(18px) saturate(140%);
  animation: st-fade 320ms ease both;
}
.st-contact-dialog {
  position: fixed; inset: 0;
  z-index: 9001;
  margin: auto;
  height: fit-content;
  width: min(400px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 28px 24px 24px;
  border: 0;
  border-radius: var(--r-card);
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08), var(--e3, 0 24px 64px rgba(0, 0, 0, 0.18));
}
.st-contact-dialog[open] { animation: st-dialog-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes st-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes st-fade { from { opacity: 0; } }

.st-contact-dialog__close .lightbox__close {
  position: absolute; top: 14px; right: 14px;
}
.st-contact-dialog__title {
  font-family: var(--font-display);
  font-size: 22px; line-height: 28px; font-weight: 500;
  letter-spacing: var(--rs-track-head);
}
.st-contact-dialog__lede {
  margin-top: 6px; padding-right: 28px;
  font-size: 14px; line-height: 20px; color: var(--muted);
}
.st-contact-dialog__options { margin-top: 20px; display: grid; gap: 8px; }

.st-contact-option {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.1);
  transition: background-color 150ms cubic-bezier(0, 0, 0.2, 1),
              transform 200ms cubic-bezier(0, 0, 0.2, 1);
}
.st-contact-option:hover { background: rgba(0, 0, 0, 0.075); }
.st-contact-option:active { transform: scale(0.98); }
.st-contact-option__name { font-size: 15px; line-height: 20px; font-weight: 500; }
.st-contact-option__hint { font-size: 13px; line-height: 20px; color: var(--muted); text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .st-contact-dialog[open], .st-contact-scrim { animation: none; }
}

/* ----------------------------------- faq --------------------------------- */
.st-faq { max-width: 760px; }
.st-faq details { border-top: 1px solid var(--hairline-soft); }
.st-faq details:last-child { border-bottom: 1px solid var(--hairline-soft); }
.st-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 56px;
  padding: 14px 0;
  font-size: 16px; line-height: 24px; font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.st-faq summary::-webkit-details-marker { display: none; }
.st-faq summary::after {
  content: "";
  flex: none;
  width: 12px; height: 12px;
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform var(--t-base) var(--ease);
}
.st-faq details[open] summary::after { transform: rotate(45deg); }
.st-faq summary:hover { color: var(--flare-deep); }
.st-faq details p { max-width: 62ch; padding-bottom: 20px; color: var(--ink-soft); }

/* --------------------------------- contact ------------------------------- */
.st-contact__body { max-width: 46ch; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.55; }

/* ============================== case studies =============================
   A narrow reading column with a sticky table of contents beside it:
   back, then each section, the current one marked as you scroll. */
.cs {
  display: grid;
  grid-template-columns: 180px minmax(0, 620px);
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(32px, 6vh, 64px) 0 clamp(64px, 10vw, 120px);
}
.cs__aside { position: sticky; top: 32px; align-self: start; }
.cs__toc { margin-top: 28px; display: grid; gap: 2px; }
.cs__toc a {
  display: flex; align-items: center;
  min-height: 32px;
  font-size: 14px; line-height: 20px; font-weight: 500;
  color: var(--muted);
  transition: color 150ms cubic-bezier(0, 0, 0.2, 1);
}
.cs__toc a:hover, .cs__toc a[aria-current="true"] { color: var(--flare-deep); }

.cs__eyebrow { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); }
.cs__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.cs__section { padding-top: clamp(40px, 6vw, 64px); scroll-margin-top: 32px; }
.cs__label {
  margin-bottom: 12px;
  font-size: 14px; line-height: 20px; font-weight: 500;
  color: var(--flare-deep);
}
.cs__text {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.008em;
  color: var(--ink);
}
.cs__text + .cs__text { margin-top: 16px; }

.cs__film { margin: 0; }
.cs__film .st-reel { margin: 0; }
.cs__film video { background: #000; }
.cs__film figcaption { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--muted); }

.cs__quote {
  font-family: var(--font-cal);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cs__quote-by { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--muted); }

.cs__next { margin-top: clamp(56px, 8vw, 88px); padding-top: 28px; border-top: 1px solid var(--hairline-soft); }
.cs__next .st-card { max-width: 420px; margin-top: 16px; list-style: none; }

/* ============================== breakpoints ============================== */
@media (max-width: 860px) {
  .st-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .st-plans { grid-template-columns: 1fr; max-width: 480px; }
  .cs { grid-template-columns: 1fr; }
  .cs__aside { position: static; }
  .cs__toc { display: none; }        /* the column is short enough to scroll */
}
@media (max-width: 560px) {
  .st-tab { height: 44px; }          /* a full tap target on phones */
  .st-grid { grid-template-columns: 1fr; }
  .st-col + .st-col { margin-top: 32px; }
  .st-services, .st-steps { grid-template-columns: 1fr; }
  .st-oneoff__side { width: 100%; justify-content: space-between; }
}

/* ================================ request ================================
   /request: a short form in two steps (request.html, js/request.js), built
   from the Figma frames "request ui" (11:294) and "request ui pt2" (12:363).
   Every size here is a Figma number times --u, one Figma pixel.
   From 768px wide the whole form scales like creatoroly.com/request: as a
   1920x1080 board (--a is one board pixel) that shrinks with the window
   up to 1440 wide and grows at a third of the rate above that, so laptops
   get a smaller, higher form and 1920 screens a 448px column. On phones
   the 1107-wide column fits the screen with a 16px gutter each side.

   The motion is the site's own: titles rise letter by letter on the spring,
   the lede word by word, and each field arrives with the blur, fade and
   rise of a .reveal. The field after the one being filled waits blurred.
   Hiding only happens under .rq-on (set by request.js); without JavaScript
   every field shows and the form posts like any other. */
.rq-page {
  --u: max(calc(100vw / 4740), min(calc((100vw - 32px) / 1107), 0.4047px));
  --rq-ink: #2f2f2f;
  --rq-box: #d5d5d5;
  /* SF Pro, as in Figma, wherever the system has it; Inter, its closest
     web cousin, everywhere else (ahead of Segoe UI and Roboto). Weights
     are the static cuts' own (500, 600, 700): Figma's 510 and 590 only
     exist in the variable font, and against installed static files the
     browser rounds 510 up to Semibold. */
  --rq-font: "SF Pro Display", "SF Pro", -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* The mark: Figma group 11:296 sits at left 53.15%, top -1.9% of the frame,
   58.88% of its width. Fixed, so it holds still behind the form and never
   stretches the page. On step 2 it grows and slides into its pt2 place
   (group 12:365: left 30.76%, 81.11% wide). */
.rq-mark {
  position: fixed;
  top: calc(-41 * 100vw / 3840); left: 53.15vw;
  z-index: -1;
  width: 58.88vw; height: auto;
  max-width: none;
  transform-origin: 0 0;
  pointer-events: none;
  transition: transform 1400ms var(--ease);
}
.rq-page.is-step-2 .rq-mark { transform: translate(-22.39vw, -1.77vw) scale(1.3776); }
@media (max-aspect-ratio: 1/1) {
  /* Portrait screens: the same curve, sized to the height instead. */
  .rq-mark { width: auto; height: 119vh; left: auto; right: -28vh; top: -2vh; }
  .rq-page.is-step-2 .rq-mark { transform: translate(-6vh, -1vh) scale(1.12); }
}
.rs-js .rq-mark {
  opacity: 0;
  filter: blur(24px);
  transition: opacity 1600ms var(--ease) 200ms, filter 1600ms var(--ease) 200ms,
              transform 1400ms var(--ease);
}
.rs-js .rq-page.is-ready .rq-mark { opacity: 1; filter: blur(0); }

/* The S mark, top left, where the site's header puts it, and as still as
   a printed logo: no draw-on, hover or press. */
.rq-logo {
  position: absolute;
  top: clamp(24px, 4vh, 40px); left: var(--gutter);
  z-index: 2;
  display: block;
  line-height: 0;
  color: var(--ink);
}
.rq-logo svg { width: auto; height: 58px; fill: currentColor; }
@media (max-width: 640px) { .rq-logo svg { height: 46px; } }

/* The column: 1107 wide. On phones the title sits 865 down a 2160-high
   frame; from 768 wide it sits 312 down the board, centred in any spare
   height, as on creatoroly. Tall enough that the footer starts below the
   fold and only shows once you scroll. */
.rq {
  width: calc(1107 * var(--u));
  max-width: 100%;
  margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  padding: min(calc(865 * var(--u)), 40vh) 0 calc(200 * var(--u) + 48px);
  font-family: var(--rq-font);
}
.rq-page .rs { position: static; }
/* Step 2 ("Tell me more"), measured against creatoroly's: the title sits
   16 board px higher than step 1's, with a little more air under it, a
   slightly taller details box and buttons, and a wider gap between them. */
[data-step="2"] .rq-title + .rq-field { margin-top: calc(56 * var(--u)); }
[data-step="2"] .rq-field textarea { height: calc(171 * var(--u)); min-height: calc(171 * var(--u)); }
[data-step="2"] .rq-actions { gap: calc(25 * var(--u)); }
[data-step="2"] .rq-btn { height: calc(94 * var(--u)); }
@media (min-width: 768px) {
  [data-step="2"] .rq-title { margin-top: calc(-16 * var(--a)); }
}
@media (min-width: 768px) {
  .rq-page {
    --a: calc(min(100vw, 1440px) / 1920 + max(0px, 100vw - 1440px) * 0.3 / 1920);
    --u: calc(var(--a) * 0.4896);   /* the column is 542 board px */
  }
  .rq { padding-top: calc(312 * var(--a) + max(0px, (100vh - 1080 * var(--a)) / 2)); }
}

.rq-title {
  margin: 0 0 0 calc(-9 * var(--u));
  font-family: var(--rq-font);
  font-size: calc(155 * var(--u));
  line-height: normal;
  letter-spacing: -0.043em;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
}
.rq-lede {
  margin: calc(57 * var(--u)) 0 0;
  font-size: calc(48 * var(--u));
  line-height: normal;
  letter-spacing: -0.045em;
  font-weight: 600;
  color: #000;
}
/* Step 1's lede at 75%: set on the colour, so the opacity stays free for
   its fade away past the first question. */
[data-step="1"] .rq-lede { color: rgba(0, 0, 0, 0.75); }
.rq-lede + .rq-field { margin-top: calc(111 * var(--u)); }
.rq-title + .rq-field { margin-top: calc(49 * var(--u)); }

.rq-field { margin-top: calc(50 * var(--u)); }
.rq-field label {
  display: block;
  margin: 0 0 calc(16 * var(--u));
  font-size: calc(48 * var(--u));
  line-height: normal;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #000;
}
[data-step="2"] .rq-field label { letter-spacing: -0.045em; margin-bottom: calc(15 * var(--u)); }

.rq-field input,
.rq-field select,
.rq-field textarea {
  display: block;
  width: 100%;
  height: calc(119 * var(--u));  /* 48px at 1920, as the reference */
  padding: 0 calc(43 * var(--u));
  border: max(1px, calc(2 * var(--u))) dashed rgba(0, 0, 0, 0.1);
  border-radius: calc(45 * var(--u));
  background: var(--rq-box);
  font-family: var(--rq-font);
  font-size: calc(48 * var(--u));
  line-height: normal;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--rq-ink);
  outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease);
}
.rq-field textarea {
  height: calc(167 * var(--u));
  min-height: calc(167 * var(--u));
  padding-top: calc(30 * var(--u)); padding-bottom: calc(30 * var(--u));
  resize: vertical;
}
.rq-field ::placeholder { color: rgba(47, 47, 47, 0.5); opacity: 1; }
.rq-field input:hover,
.rq-field select:hover,
.rq-field textarea:hover { background: #cecece; }
.rq-field input:focus,
.rq-field select:focus,
.rq-field textarea:focus { border-color: rgba(0, 0, 0, 0.32); }
.rq-select { position: relative; }
.rq-select select { padding-right: calc(110 * var(--u)); cursor: pointer; }
.rq-select select:invalid { color: rgba(47, 47, 47, 0.5); }
.rq-select option { color: var(--rq-ink); }
.rq-select svg {
  position: absolute; right: calc(43 * var(--u)); top: 50%;
  width: calc(44 * var(--u)); height: calc(44 * var(--u));
  transform: translateY(-50%);
  fill: none; stroke: var(--rq-ink); stroke-width: 2.4;
  pointer-events: none;
}

/* Budget picker (js/request.js). The trigger is the field itself; the
   ranges open on a light frosted panel under it, the chosen one on the
   field grey with a tick, the rest muted until the pointer or the arrow
   keys reach them. Opens with the site's blur and fade, rows a beat apart. */
.rq-dd { position: relative; }
.rq-dd-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%;
  height: calc(119 * var(--u));
  padding: 0 calc(43 * var(--u));
  border: max(1px, calc(2 * var(--u))) dashed rgba(0, 0, 0, 0.1);
  border-radius: calc(45 * var(--u));
  background: var(--rq-box);
  font-family: var(--rq-font);
  font-size: calc(48 * var(--u));
  line-height: normal;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--rq-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease);
}
.rq-dd-trigger:hover { background: #cecece; }
.rq-dd-trigger:focus-visible,
.rq-dd.is-open .rq-dd-trigger { outline: none; border-color: rgba(0, 0, 0, 0.32); }
.rq-dd-trigger.is-empty .rq-dd-value { color: rgba(47, 47, 47, 0.5); }
.rq-dd-icon {
  flex: none;
  width: calc(24 * var(--u)); height: calc(40 * var(--u));
  fill: var(--rq-ink);
}
.rq-dd-icon path { transition: transform 320ms var(--ease); transform-box: fill-box; transform-origin: center; }
.rq-dd.is-open .rq-dd-icon path:first-child { transform: translateY(-12%); }
.rq-dd.is-open .rq-dd-icon path:last-child { transform: translateY(12%); }

.rq-dd-list {
  position: absolute; left: 0; right: 0;
  top: calc(100% + calc(14 * var(--u)));
  z-index: 5;
  display: grid; gap: calc(6 * var(--u));
  margin: 0;
  padding: calc(12 * var(--u));
  list-style: none;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: calc(57 * var(--u));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
              0 1px 2px rgba(0, 0, 0, 0.05),
              0 24px 60px -18px rgba(0, 0, 0, 0.22);
  outline: none;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-8px) scale(0.98);
  transform-origin: 50% 0;
  transition: opacity 260ms var(--ease), filter 260ms var(--ease), transform 260ms var(--ease);
}
.rq-dd.is-open .rq-dd-list {
  opacity: 1; filter: blur(0); transform: none;
  transition-duration: 420ms;
}
.rq-dd-option {
  display: flex; align-items: center; justify-content: space-between;
  height: calc(96 * var(--u));
  padding: 0 calc(31 * var(--u));
  border-radius: calc(45 * var(--u));
  font-family: var(--rq-font);
  font-size: calc(44 * var(--u));
  letter-spacing: -0.03em;
  font-weight: 700;
  color: rgba(47, 47, 47, 0.55);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: background-color 150ms var(--ease), color 150ms var(--ease);
}
.rq-dd.is-open .rq-dd-option {
  opacity: 1; transform: none;
  transition: opacity 360ms var(--ease) calc(var(--k, 0) * 22ms + 40ms),
              transform 360ms var(--ease) calc(var(--k, 0) * 22ms + 40ms),
              background-color 150ms var(--ease), color 150ms var(--ease);
}
.rq-dd-option.is-hi { background: rgba(0, 0, 0, 0.05); color: var(--rq-ink); }
.rq-dd-option[aria-selected="true"] { background: var(--rq-box); color: var(--rq-ink); }
.rq-dd-check {
  flex: none;
  width: calc(40 * var(--u)); height: calc(40 * var(--u));
  fill: none; stroke: var(--rq-ink); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: 0;
}
.rq-dd-option[aria-selected="true"] .rq-dd-check { opacity: 1; }
/* The open field sits above Continue and the rows around it. */
.rq-on .rq-fields > .rq-field.is-open { z-index: 4; }

/* Buttons (Figma 12:396 / 12:398): 90 high, fully round, the same dashed
   hairline as the fields; Back light, Send dark. */
.rq-actions { display: flex; gap: calc(18 * var(--u)); margin-top: calc(60 * var(--u)); }
.rq-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: calc(90 * var(--u));
  padding: 0 calc(56 * var(--u));
  border: max(1px, calc(2 * var(--u))) dashed rgba(0, 0, 0, 0.1);
  border-radius: calc(45 * var(--u));
  background: var(--rq-box);
  font-family: var(--rq-font);
  font-size: calc(36 * var(--u));
  line-height: normal;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--rq-ink);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), transform 200ms var(--ease);
}
.rq-btn:hover { background: #cbcbcb; }
.rq-btn:active { transform: scale(0.97); }
.rq-btn--back { width: calc(203 * var(--u)); padding: 0; flex: none; }
.rq-btn--dark {
  background: var(--rq-ink);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.rq-btn--dark:hover { background: #1f1f1f; }
.rq-wide { flex: 1; }
.rq-btn[disabled] { opacity: 0.55; cursor: progress; }

.rq-error {
  margin: calc(30 * var(--u)) 0 0;
  font-size: max(13px, calc(32 * var(--u)));
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--flare-deep);
}
.rq-error a { text-decoration: underline; }

.rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Phones: inputs at 16px at least, or iOS zooms in on focus. */
@media (max-width: 640px) {
  .rq-field input, .rq-field select, .rq-field textarea { font-size: max(16px, calc(48 * var(--u))); }
}

/* Step 1's question stack (js/request.js): every field in one spot,
   moved by transform on the same arrival curve as the rest of the site. */
.rq-fields { margin-top: calc(111 * var(--u)); }
.rq-fields > .rq-field:first-child { margin-top: 0; }
.rq-on .rq-fields { position: relative; }
.rq-on .rq-fields > .rq-field,
.rq-on .rq-fields > .rq-actions {
  position: absolute; top: 0; left: 0; right: 0;
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(10px);
  transition: transform 750ms cubic-bezier(0.22, 0.8, 0.25, 1),
              opacity 600ms var(--ease), filter 600ms var(--ease);
  /* Own GPU layers from the start, so Safari doesn't have to promote them
     mid-slide (it runs blur transitions off the compositor and drops
     frames doing it). */
  will-change: transform, opacity, filter;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.rq-fields > .rq-field + .rq-field { margin-top: calc(50 * var(--u)); }
.rq-on .rq-fields > .rq-field + .rq-field { margin-top: 0; }
/* Without JavaScript the fields stack normally. */
.rq-fields > .rq-actions { margin-top: calc(60 * var(--u)); }
/* Past the first question the lede fades, blurs and lifts away, and
   comes back the same way on returning to it. */
.rs-js .rq-on [data-step="1"] .rq-lede.rq-rise {
  transition: opacity 450ms var(--ease), filter 450ms var(--ease),
              transform 600ms cubic-bezier(0.22, 0.8, 0.25, 1);
}
.rq-on [data-step="1"].is-past-first .rq-lede,
.rs-js .rq-on [data-step="1"].is-past-first .rq-lede.rq-rise {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-8px);
  pointer-events: none;
}
/* A wrong or missing answer: a small shake instead of a jump. */
@keyframes rq-shake {
  0%, 100% { translate: 0 0; }
  20% { translate: -6px 0; } 40% { translate: 5px 0; }
  60% { translate: -3px 0; } 80% { translate: 2px 0; }
}
.rq-field.is-shake { animation: rq-shake 380ms var(--ease); }
.rs-js .rq-on .rq-step.is-leaving .rq-fields > * {
  opacity: 0 !important;
  filter: blur(10px) !important;
  transition: opacity 420ms var(--ease), filter 420ms var(--ease) !important;
}

/* ------------------------------- states ---------------------------------
   request.js sets on each .rq-rise: nothing (not reached, hidden), .is-near
   (next up: in view but blurred, as the email field in Figma) or .is-in
   (here), with .is-pre just before. A step that isn't current is [hidden].
   .is-pre: laid out but still in its hidden pose for one style pass, so
   the arrival has a starting point (nothing transitions out of display:none). */
.rq-on .rq-rise:not(.is-in):not(.is-near):not(.is-pre) { display: none; }
.rq-on .rq-rise.is-near { opacity: 0.85; filter: blur(calc(14 * var(--u))); }
.rq-on .rq-rise.is-near * { pointer-events: none; }

.rs-js .rq-on .rq-rise {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(18px);
  transition: opacity var(--t-reveal) var(--ease),
              filter var(--t-reveal) var(--ease),
              transform var(--t-reveal) var(--ease);
  transition-delay: var(--d, 0ms);
}
.rs-js .rq-on .rq-rise.is-near { opacity: 0.85; filter: blur(calc(14 * var(--u))); transform: translateY(8px); }
.rs-js .rq-on .rq-rise.is-in { opacity: 1; filter: blur(0); transform: none; }
/* Settled: no filter left on a field, so text renders crisp. */
.rs-js .rq-on .rq-rise.is-in.is-done { filter: none; }

/* Titles letter by letter on the statements' spring; the lede word by
   word like running text. */
.rq-title .rq-wd { display: inline-block; white-space: nowrap; }
.rq-title .rq-l { display: inline-block; }
.rs-js .rq-on .rq-title .rq-l {
  opacity: 0;
  transform: translateY(0.5em);
  filter: blur(10px);
  transition: transform var(--rs-letter-rise, 1000ms) var(--rs-spring),
              opacity var(--rs-letter-rise, 1000ms) var(--ease),
              filter var(--rs-letter-rise, 1000ms) var(--ease);
  transition-delay: calc(var(--k, 0) * var(--rs-letter-gap, 24ms));
}
.rs-js .rq-on .rq-title.is-in .rq-l { opacity: 1; transform: none; filter: blur(0); }
.rs-js .rq-on .rq-title.is-done .rq-l { filter: none; transition: none; }

.rq-lede .rq-w { display: inline-block; }
.rs-js .rq-on .rq-lede .rq-w {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.5em);
  transition: opacity var(--rs-word-t) var(--ease),
              filter var(--rs-word-t) var(--ease),
              transform var(--rs-word-t) var(--ease);
  transition-delay: var(--d, 0ms);
}
/* The lede's own wrapper doesn't fade: its words do. */
.rs-js .rq-on .rq-lede.rq-rise { opacity: 1; filter: none; transform: none; }
.rs-js .rq-on .rq-lede.is-in .rq-w { opacity: 1; filter: blur(0); transform: none; }

/* Leaving a step: everything clears back into blur, a little faster than
   it came, and lifts away rather than sinking. */
.rs-js .rq-on .rq-step.is-leaving .rq-rise,
.rs-js .rq-on .rq-step.is-leaving .rq-title .rq-l,
.rs-js .rq-on .rq-step.is-leaving .rq-lede .rq-w {
  opacity: 0 !important;
  filter: blur(10px) !important;
  transform: translateY(-10px) !important;
  transition: opacity 420ms var(--ease), filter 420ms var(--ease), transform 420ms var(--ease) !important;
  transition-delay: 0ms !important;
}

/* Request page, second Figma pass ("request page", 11:294): white fields
   on a soft shadow in place of the dashed grey, fully rounded, typed text
   in Medium; buttons matching the home page's black and white pills; and
   the small S centred at the top, where the home page has it. */
.rq-field input,
.rq-field select,
.rq-field textarea,
.rq-dd-trigger,
.rq-btn {
  border: 0;
  background: #fff;
  box-shadow: 0 0 calc(150 * var(--u)) rgba(0, 0, 0, 0.1);
  transition: box-shadow 200ms var(--ease), background-color 150ms var(--ease), transform 200ms var(--ease);
}
.rq-field input,
.rq-field select,
.rq-dd-trigger { border-radius: calc(115 * var(--u)); font-weight: 500; }
.rq-field textarea { border-radius: calc(60 * var(--u)); font-weight: 500; }
.rq-field input:hover,
.rq-field select:hover,
.rq-field textarea:hover,
.rq-dd-trigger:hover,
.rq-btn:hover { background: #fff; box-shadow: 0 0 calc(150 * var(--u)) rgba(0, 0, 0, 0.16); }
.rq-field input:focus,
.rq-field select:focus,
.rq-field textarea:focus,
.rq-dd-trigger:focus-visible,
.rq-dd.is-open .rq-dd-trigger {
  box-shadow: 0 0 calc(150 * var(--u)) rgba(0, 0, 0, 0.12), inset 0 0 0 max(1px, calc(2 * var(--u))) rgba(0, 0, 0, 0.16);
}
.rq-btn { border-radius: 999px; font-weight: 600; letter-spacing: -0.02em; color: #363636; }
.rq-btn--dark { background: #000; color: #fff; box-shadow: none; }
.rq-btn--dark:hover { background: #1c1c1c; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }

/* Buttons hover as on creatoroly.com (and the home page): a springy lift,
   a band of light sweeping across, a press on click. */
.rq-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: translate 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), scale 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease, background-color 0.15s ease;
}
.rq-btn:hover { translate: 0 -3px; scale: 1.04; }
.rq-btn:active { translate: 0 0; scale: 0.97; transform: none; transition-duration: 0.12s; }
.rq-btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.07), transparent);
  pointer-events: none;
}
.rq-btn--dark::after { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); }
.rq-btn:hover::after { animation: rq-sweep 0.75s ease; }
@keyframes rq-sweep { to { left: 130%; } }
.rq-btn[disabled] { translate: none; scale: none; }
.rq-btn[disabled]::after { display: none; }

/* The titles' letters pop and take the accent on hover, as on the home
   page, once their arrival has settled. */
.rq-title .rq-l,
.rs-js .rq-on .rq-title.is-done .rq-l { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease; }
.rq-title .rq-l:hover,
.rs-js .rq-on .rq-title.is-done .rq-l:hover {
  transform: translateY(-2px) scale(1.18);
  color: var(--flare, #f4511e);
  transition-duration: 0.2s, 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  .rq-btn:hover::after { animation: none; }
}

.rq-logo {
  top: calc(61 * 100vw / 3840); left: 50%;
  translate: -50% 0;
}
.rq-logo img { display: block; width: calc(83 * 100vw / 3840); height: auto; min-width: 30px; }

/* Home: the one button where the price cards used to be. */
.st-request__cta .rs-btn { height: 44px; padding: 0 18px; }

/* ---- Request page, matched to the home page (2026-11-08) ----------------
   The buttons are glass bubbles like the home page's: Continue and Send a
   smoky dark glass, Back and Back to the site a frosted white, each over a
   heavy backdrop blur with soft inner glows and a thin light rim
   (::before). js/bubble.js leans them toward the cursor, pops them on
   hover and bounces them back on leaving, so their CSS lift, pop and
   light sweep are off. */
.rq-glass {
  -webkit-backdrop-filter: blur(24px) saturate(160%);
          backdrop-filter: blur(24px) saturate(160%);
  font-weight: 500;
  overflow: visible;
}
.rq-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.rq-glass::after { display: none; }
.rq-btn.rq-glass:hover, .rq-btn.rq-glass:active { translate: none; scale: none; }
.rq-glass--dark, .rq-btn--dark.rq-glass--dark {
  background: rgba(16, 16, 16, 0.62);
  color: #fff;
  box-shadow: inset 0 6px 8px -6px rgba(255, 255, 255, 0.22),
              inset 0 -6px 8px -6px rgba(255, 255, 255, 0.1),
              0 10px 30px rgba(0, 0, 0, 0.12);
}
.rq-glass--dark::before {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.14) 14%,
    rgba(255, 255, 255, 0.05) 38%, rgba(255, 255, 255, 0.05) 62%,
    rgba(255, 255, 255, 0.14) 86%, rgba(255, 255, 255, 0.3) 100%);
}
.rq-btn--dark.rq-glass--dark:hover {
  background: rgba(16, 16, 16, 0.7);
  box-shadow: inset 0 6px 8px -6px rgba(255, 255, 255, 0.26),
              inset 0 -6px 8px -6px rgba(255, 255, 255, 0.12),
              0 14px 34px rgba(0, 0, 0, 0.18);
}
.rq-glass--light, .rq-btn.rq-glass--light {
  background: rgba(255, 255, 255, 0.42);
  color: #262626;
  box-shadow: inset 0 6px 8px -6px rgba(255, 255, 255, 0.95),
              inset 0 -6px 8px -6px rgba(255, 255, 255, 0.6),
              0 10px 30px rgba(0, 0, 0, 0.06);
}
.rq-glass--light::before {
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.55) 14%,
    rgba(255, 255, 255, 0.25) 38%, rgba(255, 255, 255, 0.25) 62%,
    rgba(255, 255, 255, 0.5) 86%, rgba(255, 255, 255, 0.85) 100%);
}
.rq-btn.rq-glass--light:hover {
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 6px 8px -6px rgba(255, 255, 255, 1),
              inset 0 -6px 8px -6px rgba(255, 255, 255, 0.7),
              0 14px 34px rgba(0, 0, 0, 0.09);
}
@media (prefers-reduced-transparency: reduce) {
  .rq-glass { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .rq-glass--dark, .rq-btn--dark.rq-glass--dark { background: #1c1c1e; }
  .rq-glass--light, .rq-btn.rq-glass--light { background: #fff; }
}
/* Back and Send sit further apart, so the bubbles never touch. */
.rq-actions--pair { gap: calc(48 * var(--u)); }

/* The titles' letters take the home page's accent, and the hover cursor
   shows over them (across the whole title, so it doesn't flicker). */
.rq-title .rq-l:hover,
.rs-js .rq-on .rq-title.is-done .rq-l:hover { color: #d2691e; }
.rq-title { cursor: var(--cur-h), pointer; }
