/* MJ Hub — static site styles
   Ported 1:1 from the hub-site/ React + Tailwind design (src/app/App.tsx).
   Breakpoints match Tailwind defaults: md = 768px, lg = 1024px. */

/* Self-hosted variable fonts (latin subset) — no request to Google. */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/nunito-sans-latin.woff2") format("woff2");
}

:root {
  /* Brand: black, white and teal (#00C4BF, sampled from the logo) */
  --teal: #00c4bf;
  --teal-bright: #3ddcd7;
  --teal-soft: rgba(0, 196, 191, 0.14);
  --teal-line: rgba(0, 196, 191, 0.45);
  --bg: #000000;
  --fg: #f5f5f7;
  --muted: #c7c7cc;
  --muted-dark: #3a3a3c;
  --surface: #0a0a0a;
  --surface-2: #111111;
  --surface-3: #1d1d1f;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: "Hanken Grotesk", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  /* width/height attributes reserve space; this keeps the ratio when the
     image is scaled down */
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  padding: 0;
}

.alt-font {
  font-family: "Nunito Sans", sans-serif;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Topbar ─────────────────────────────────────────────── */

/* Fixed so it can return on scroll-up. main.js toggles .is-scrolled once
   the page moves (adds a backdrop so it reads over any section) and
   .is-hidden while scrolling down. */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s,
    border-color 0.3s;
}

.topbar.is-scrolled {
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.topbar.is-hidden {
  transform: translateY(-100%);
}

.topbar__inner {
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s;
}

.topbar.is-scrolled .topbar__inner {
  padding-block: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .topbar,
  .topbar__inner {
    transition: none;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.logo__mark {
  width: auto;
  height: 2rem;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.2s, outline-color 0.45s;
}

.btn-pill:hover {
  background: #f5f5f7;
}

a.logo,
a.btn-pill,
a.btn-pill-lg {
  text-decoration: none;
}

.btn-pill:active {
  transform: scale(0.97);
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  min-height: 100vh;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2), #000);
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  padding-bottom: 7rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding-bottom: 9rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.hero__title {
  font-size: 3.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0 0 2rem;
  max-width: 56rem;
  white-space: pre-line;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 6rem;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 7rem;
  }
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.625;
  max-width: 32rem;
  margin: 0;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.125rem;
  }
}

/* ── Intro strip ────────────────────────────────────────── */

.intro {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.intro__inner {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .intro__inner {
    padding-block: 7rem;
  }
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .intro__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intro__heading {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin: 0;
}

@media (min-width: 768px) {
  .intro__heading {
    font-size: 3rem;
  }
}

.intro__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
  margin: 0;
}

@media (min-width: 768px) {
  .intro__text {
    font-size: 1.125rem;
  }
}

/* ── Pillars (focus areas) ──────────────────────────────── */

.pillar {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  min-height: 88vh;
}

.pillar__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.pillar__scrim-v {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, rgba(0, 0, 0, 0.25), transparent);
}

.pillar__scrim-h {
  position: absolute;
  inset: 0;
}

.pillar__scrim-h.is-left {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.55), transparent, transparent);
}

.pillar__scrim-h.is-right {
  background: linear-gradient(to left, rgba(0, 0, 0, 0.55), transparent, transparent);
}

.pillar__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 88vh;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .pillar__content {
    padding-bottom: 8rem;
  }
}

.pillar__box {
  max-width: 36rem;
}

.pillar__box.is-right {
  margin-left: auto;
  text-align: right;
}

.pillar__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-dark);
  margin: 0 0 1rem;
}

.pillar__title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .pillar__title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .pillar__title {
    font-size: 4.5rem;
  }
}

.pillar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.pillar__box.is-right .pillar__tags {
  justify-content: flex-end;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  letter-spacing: 0.025em;
}

.pillar__desc {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
  margin: 0;
}

@media (min-width: 768px) {
  .pillar__desc {
    font-size: 1rem;
  }
}

.pillar__link {
  margin: 1.75rem 0 0;
}

.pillar__divider {
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Founders ───────────────────────────────────────────── */

.founders {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founders__inner {
  padding-block: 6rem;
}

@media (min-width: 768px) {
  .founders__inner {
    padding-block: 8rem;
  }
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4rem;
}

.founders__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .founders__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.founder-card {
  background: var(--surface);
  padding: 2.5rem;
  transition: background 0.3s;
}

@media (min-width: 768px) {
  .founder-card {
    padding: 3.5rem;
  }
}

.founder-card:hover {
  background: var(--surface-2);
}

.founder-card__avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--surface-3);
  margin-bottom: 2rem;
}

.founder-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.5s;
}

.founder-card:hover .founder-card__avatar img {
  filter: grayscale(0);
}

.founder-card__name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  margin: 0 0 0.25rem;
}

.founder-card__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.founder-card__bio {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
  margin: 0;
}

/* ── Value strip ────────────────────────────────────────── */

.value-strip {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.value-strip__inner {
  padding-block: 5rem;
}

.value-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 480px) {
  .value-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
}

@media (min-width: 1024px) {
  .value-strip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .value-item {
    padding: 0 2.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .value-item:first-child {
    padding-left: 0;
    border-left: none;
  }

  .value-item:last-child {
    padding-right: 0;
  }
}

.value-item__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 0.75rem;
}

@media (min-width: 1024px) {
  .value-item__title {
    font-size: 1.875rem;
  }
}

.value-item__label {
  color: var(--muted);
  overflow-wrap: break-word;
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin: 0;
  max-width: 18rem;
}

/* ── Contact CTA ────────────────────────────────────────── */

.cta {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  min-height: 70vh;
}

.cta__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.cta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #000, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.cta__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
  min-height: 70vh;
}

.cta__heading {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 2rem;
  white-space: pre-line;
}

@media (min-width: 768px) {
  .cta__heading {
    font-size: 4.5rem;
  }
}

.cta__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.625;
  margin: 0 0 3rem;
  max-width: 28rem;
}

@media (min-width: 768px) {
  .cta__text {
    font-size: 1.125rem;
  }
}

.btn-pill-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.2s, outline-color 0.45s;
}

.btn-pill-lg:hover {
  background: #f5f5f7;
}

.btn-pill-lg:active {
  transform: scale(0.97);
}


/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__inner {
  padding-block: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

.site-footer__brand {
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.025em;
  margin: 0;
}

.site-footer__tag {
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0.25rem 0 0;
}

.site-footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
}

@media (min-width: 768px) {
  .site-footer__right {
    align-items: flex-end;
  }
}

.site-footer__copy {
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0;
}

.site-footer__credit {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
}

.contact-footer-credit {
  display: inline-block;
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: color 0.2s, background-size 0.2s;
}

.contact-footer-credit:hover,
.contact-footer-credit:focus-visible {
  color: var(--fg);
  background-size: 100% 1px;
}

/* ── Modal ──────────────────────────────────────────────── */

.modal {
  display: block;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

@media (min-width: 768px) {
  .modal-wrap {
    align-items: center;
    padding: 0 1rem;
  }
}

.modal-panel {
  position: relative;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
  overflow-y: auto;
  max-height: 95dvh;
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  border-radius: 1.5rem 1.5rem 0 0;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .modal-panel {
    max-width: 32rem;
    border-radius: 1.5rem;
  }
}

.modal.is-open .modal-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.modal.is-open .modal-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0;
}

.modal-close {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.modal-form {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-field label,
.form-field__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.025em;
}

.form-field label .alt-font {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  color: #fff;
  font-size: 0.875rem;
  font-family: "Nunito Sans", sans-serif;
  transition: border-color 0.2s, background 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8e8e93;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.form-field textarea {
  resize: none;
}

.interest-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.interest-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  background: transparent;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: "Nunito Sans", sans-serif;
}

.interest-chip.is-active {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.cf-turnstile {
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1rem;
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  font-family: "Nunito Sans", sans-serif;
}

.form-status.is-error {
  color: #ff6b60;
}

.submit-btn {
  margin-top: 0.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  transition: background 0.2s, transform 0.2s, outline-color 0.45s;
}

.submit-btn:hover {
  background: #f5f5f7;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-btn:active {
  transform: scale(0.98);
}


/* ── Button motion ──────────────────────────────────────── */

/* Rolling label: the text slides up and an identical copy rolls in from
   below. The copy is generated content with empty alt text, so screen
   readers still hear the label once. */
.btn-roll {
  display: inline-block;
  overflow: hidden;
  height: 1.25em;
  line-height: 1.25;
  vertical-align: top;
  transition: opacity 0.2s;
}

.btn-roll__text {
  display: block;
  position: relative;
  transition: translate 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-roll__text::after {
  content: attr(data-text);
  content: attr(data-text) / "";
  position: absolute;
  left: 0;
  top: 100%;
  white-space: nowrap;
}

/* Arrow loop: exits right, re-enters from the left */
.btn-arrow {
  display: inline-flex;
  overflow: hidden;
  transition: opacity 0.2s;
}

@keyframes arrow-loop {
  0% {
    translate: 0 0;
  }
  45% {
    translate: 150% 0;
  }
  46% {
    translate: -150% 0;
  }
  100% {
    translate: 0 0;
  }
}

@media (hover: hover) {
  button:hover:not(:disabled) .btn-roll__text {
    translate: 0 -100%;
  }

  button:hover:not(:disabled) .btn-arrow svg {
    animation: arrow-loop 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  }
}

button:focus-visible .btn-roll__text {
  translate: 0 -100%;
}

/* Signature button (.btn-fx): a black circle grows from where the cursor
   enters and shrinks back toward where it leaves, with a white outline.
   main.js sets --fx/--fy and the size. */
.btn-fx {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  outline: 1px solid transparent;
  outline-offset: -1px;
}

.btn-fill {
  position: absolute;
  left: var(--fx, 50%);
  top: var(--fy, 50%);
  z-index: -1;
  width: var(--fs, 24rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #000;
  translate: -50% -50%;
  scale: 0;
  pointer-events: none;
  transition: scale 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}

/* White text in difference mode reads black on the white button and white
   on the black fill — split cleanly at the circle's edge mid-transition. */
.btn-fx .btn-roll,
.btn-fx .btn-arrow {
  color: #fff;
  mix-blend-mode: difference;
}

.btn-fx.is-filled,
.btn-fx:focus-visible {
  outline-color: rgba(255, 255, 255, 0.9);
}

.btn-fx.is-filled .btn-fill,
.btn-fx:focus-visible .btn-fill {
  scale: 1;
}

/* Spinner and tick are drawn in black, so keep the button white while
   sending even though the cursor is still over it. */
.submit-btn.is-sending .btn-fill,
.submit-btn.is-success .btn-fill {
  scale: 0;
}

.submit-btn.is-sending,
.submit-btn.is-success {
  outline-color: transparent;
}

/* Submit states: spinner while sending, a tick that draws on success */
.submit-btn {
  position: relative;
}

.submit-btn__spinner,
.submit-btn__tick {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  opacity: 0;
  transition: opacity 0.2s;
}

.submit-btn__spinner {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-top-color: #000;
  border-radius: 50%;
}

.submit-btn__tick path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.submit-btn.is-sending,
.submit-btn.is-success {
  opacity: 1;
  cursor: default;
}

.submit-btn.is-sending .btn-roll,
.submit-btn.is-sending .btn-arrow,
.submit-btn.is-success .btn-roll,
.submit-btn.is-success .btn-arrow {
  opacity: 0;
}

.submit-btn.is-sending .submit-btn__spinner {
  opacity: 1;
  animation: spin 0.7s linear infinite;
}

.submit-btn.is-success .submit-btn__tick {
  opacity: 1;
}

.submit-btn.is-success .submit-btn__tick path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.1s;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-roll__text,
  .btn-fill,
  .submit-btn__tick path {
    transition: none;
  }

  button:hover .btn-roll__text,
  button:focus-visible .btn-roll__text {
    translate: none;
  }

  button:hover .btn-arrow svg {
    animation: none;
  }

  .submit-btn.is-sending .submit-btn__spinner {
    animation-duration: 1.5s;
  }
}

/* ── Toast ──────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 1rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 200;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 768px) {
  .toast {
    left: 50%;
    right: auto;
    bottom: 2rem;
    width: auto;
    transform: translate(-50%, 20px);
  }
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .toast.is-visible {
    transform: translate(-50%, 0);
  }
}

.toast__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

@media (min-width: 768px) {
  .toast__card {
    width: max-content;
  }
}

.toast__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.toast__title {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.toast__desc {
  color: var(--muted);
  font-size: 0.75rem;
  margin: 0.125rem 0 0;
}

/* ── Cookie drawer ──────────────────────────────────────── */

/* A side drawer from the left on desktop and a bottom sheet on phones,
   sharing the modal's surface, header and close button. cookie-consent.js
   toggles .is-open and, on phones, drives the drag via `translate` so it
   composes with the open/closed `transform`. */

.cookie-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.cookie-drawer__panel {
  position: fixed;
  z-index: 130;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  max-height: 90dvh;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  transform: translateY(calc(100% + 5rem));
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-drawer__panel:focus {
  outline: none;
}

.cookie-drawer__panel.is-dragging {
  transition: none;
}

@media (min-width: 768px) {
  .cookie-drawer__panel {
    top: 0;
    right: auto;
    width: 28rem;
    max-height: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-left: none;
    border-radius: 0 1.5rem 1.5rem 0;
    transform: translateX(calc(-100% - 5rem));
  }
}

.cookie-drawer.is-open .cookie-drawer__backdrop {
  opacity: 1;
  pointer-events: auto;
}

.cookie-drawer.is-open .cookie-drawer__panel {
  transform: none;
}

.cookie-drawer__handle {
  flex-shrink: 0;
  align-self: center;
  width: 3rem;
  height: 1.75rem;
  touch-action: none;
  position: relative;
}

.cookie-drawer__handle::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0.3125rem;
  translate: 0 -50%;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s;
}

.cookie-drawer__handle:focus-visible {
  outline: none;
}

.cookie-drawer__handle:focus-visible::before {
  background: #fff;
}

.cookie-drawer__header {
  flex-shrink: 0;
  padding-top: 0.5rem;
  touch-action: none;
}

.cookie-drawer__close {
  display: none;
}

@media (min-width: 768px) {
  .cookie-drawer__handle {
    display: none;
  }

  .cookie-drawer__header {
    padding-top: 2rem;
    touch-action: auto;
  }

  .cookie-drawer__close {
    display: flex;
  }
}

.cookie-drawer__subtitle {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0.375rem 0 0;
}

.cookie-drawer__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-drawer__intro {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.625;
  margin: 0;
}

.cookie-drawer__intro strong {
  color: var(--fg);
  font-weight: 600;
}

.cookie-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.25rem;
}

.cookie-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.625rem;
}

.cookie-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0;
}

.cookie-card__desc {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-card__desc code {
  font-size: 0.75rem;
  color: var(--fg);
}

/* Switch: a native checkbox (role="switch") laid over the track so it
   keeps keyboard and screen reader behaviour. */
.cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-switch__state {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

.cookie-switch input {
  position: absolute;
  right: 0;
  width: 2.75rem;
  height: 1.5rem;
  margin: 0;
  opacity: 0;
  cursor: inherit;
}

.cookie-switch__track {
  position: relative;
  width: 2.75rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.25s, border-color 0.25s;
}

.cookie-switch__track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.1875rem;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--muted);
  translate: 0 -50%;
  transition: translate 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s;
}

.cookie-switch input:checked + .cookie-switch__track {
  background: #fff;
  border-color: #fff;
}

.cookie-switch input:checked + .cookie-switch__track::after {
  background: #000;
  translate: 1.1875rem -50%;
}

.cookie-switch input:focus-visible + .cookie-switch__track {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.cookie-switch:has(input:disabled) {
  cursor: default;
}

.cookie-switch input:disabled + .cookie-switch__track {
  opacity: 0.55;
}

/* Reject and Save share the primary style; Accept is the outlined
   secondary so rejecting is never the harder option. Stacked on phones,
   Reject and Save side by side from md up with Accept below. */
.cookie-drawer__actions {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
  padding: 1.25rem 2rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .cookie-drawer__actions {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 2rem;
  }

  .cookie-btn--accept {
    grid-column: 1 / -1;
  }
}

.cookie-drawer__policy {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 0.25rem;
}

.cookie-btn {
  justify-content: center;
  padding: 0.875rem 1.25rem;
}

.btn-pill--ghost {
  color: #fff;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px #fff;
}

.btn-pill--ghost:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  /* Fade in place instead of sliding. */
  .cookie-drawer__panel {
    opacity: 0;
    pointer-events: none;
    transform: none;
    transition: opacity 0.2s;
  }

  .cookie-drawer.is-open .cookie-drawer__panel {
    pointer-events: auto;
    opacity: 1;
  }

  .cookie-switch__track,
  .cookie-switch__track::after {
    transition: none;
  }
}

/* ── Site navigation ────────────────────────────────────── */

/* Links are plain HTML on every page so crawlers always see them; below
   lg they collapse behind the Menu button (main.js toggles .is-open). */

.topbar__inner {
  gap: 1.5rem;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Small phones: the menu button shrinks to its icon so "Start a project"
   still fits; on the very narrowest the menu (which has Contact) is enough. */
@media (max-width: 419px) {
  .site-nav__toggle {
    padding: 0.75rem;
  }

  .site-nav__toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 359px) {
  .topbar__cta {
    display: none;
  }
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: box-shadow 0.2s, background 0.2s;
}

.site-nav__toggle:hover {
  box-shadow: inset 0 0 0 1px #fff;
}

.site-nav__toggle-icon {
  position: relative;
  width: 0.875rem;
  height: 0.625rem;
}

.site-nav__toggle-icon::before,
.site-nav__toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: translate 0.25s, rotate 0.25s;
}

.site-nav__toggle-icon::before {
  top: 0;
}

.site-nav__toggle-icon::after {
  bottom: 0;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon::before {
  translate: 0 4.25px;
  rotate: 45deg;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-icon::after {
  translate: 0 -4.25px;
  rotate: -45deg;
}

.site-nav {
  display: none;
}

.site-nav__list,
.nav-drawer__list,
.site-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Sub-pages are listed in the drawer only */
.site-nav__sub {
  display: none;
}

.site-nav__link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"],
.site-nav__link[aria-current="true"] {
  color: #fff;
}

/* ── Mobile menu drawer (built by main.js from the nav above) ── */

.nav-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.nav-drawer__panel {
  position: fixed;
  z-index: 95;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(24rem, 88vw);
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(30rem 20rem at 100% 100%, rgba(0, 196, 191, 0.1), transparent 70%),
    rgba(10, 10, 10, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -32px 0 80px rgba(0, 0, 0, 0.6);
  transform: translateX(calc(100% + 5rem));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer__panel:focus {
  outline: none;
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: none;
}

.nav-drawer__head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer__head .logo {
  text-decoration: none;
}

.nav-drawer__head .modal-close {
  margin-top: 0;
}

.nav-drawer__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.5rem 1.5rem;
}

.nav-drawer__list > li {
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-drawer__list > li:last-child {
  border-bottom: none;
}

.nav-drawer__list .site-nav__link {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.nav-drawer__list .site-nav__link[aria-current="page"] {
  color: var(--teal);
}

.nav-drawer__list .site-nav__sub {
  display: grid;
  gap: 0.125rem;
  margin: 0.625rem 0 0.25rem;
  padding-left: 0.875rem;
  border-left: 2px solid var(--teal-line);
}

.site-nav__sublink {
  display: block;
  padding: 0.3125rem 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9375rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav__sublink:hover {
  color: #fff;
}

.site-nav__sublink[aria-current="page"] {
  color: var(--teal);
  font-weight: 600;
}

.nav-drawer__foot {
  flex-shrink: 0;
  padding: 1.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer__cta {
  width: 100%;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .nav-drawer__panel {
    transition: opacity 0.2s;
    transform: none;
    opacity: 0;
    pointer-events: none;
  }

  .nav-drawer.is-open .nav-drawer__panel {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 1024px) {
  .site-nav__toggle,
  .nav-drawer {
    display: none;
  }

  .site-nav {
    display: block;
    margin-left: auto;
  }

  .site-nav__list {
    display: flex;
    gap: 1.5rem;
  }

  .site-nav__link {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 600;
  }
}

@media (min-width: 1200px) {
  .site-nav__list {
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-nav__toggle-icon::before,
  .site-nav__toggle-icon::after {
    transition: none;
  }
}

/* ── Breadcrumbs ────────────────────────────────────────── */

.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.5rem;
  margin: 0;
  padding: 0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.8125rem;
  color: var(--muted);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li + li::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-top: 1px solid var(--muted-dark);
  border-right: 1px solid var(--muted-dark);
  rotate: 45deg;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb [aria-current="page"] {
  color: var(--fg);
}

/* ── Page hero (inner pages) ────────────────────────────── */

.page-hero {
  position: relative;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35), #000);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  .page-hero__content {
    padding-top: 10rem;
    padding-bottom: 6rem;
  }
}

.page-hero__title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  max-width: 52rem;
}

@media (min-width: 768px) {
  .page-hero__title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .page-hero__title {
    font-size: 5.25rem;
  }
}

.page-hero__lede {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 40rem;
  margin: 0;
}

@media (min-width: 768px) {
  .page-hero__lede {
    font-size: 1.1875rem;
  }
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
}

/* ── Sections ───────────────────────────────────────────── */

.section {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section:first-of-type {
  border-top: none;
}

.section--surface {
  background: var(--surface);
}

.section__inner {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .section__inner {
    padding-block: 7rem;
  }
}

.section__head {
  max-width: 44rem;
  margin-bottom: 3.5rem;
}

.section__head .section-label {
  margin-bottom: 1.25rem;
}

.section__title {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}

@media (min-width: 768px) {
  .section__title {
    font-size: 3rem;
  }
}

.section__intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 1.25rem 0 0;
}

@media (min-width: 768px) {
  .section__intro {
    font-size: 1.125rem;
  }
}

/* Two columns: copy beside an image or aside */
.split {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

.split__media {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface-2);
}

.split__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Long-form text */
.prose {
  color: var(--muted);
  font-family: "Nunito Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 44rem;
}

@media (min-width: 768px) {
  .prose {
    font-size: 1.0625rem;
  }
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.25rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

.prose h2 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.875rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 3.5rem 0 1.25rem;
}

.prose h3 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}

.prose strong {
  color: var(--fg);
  font-weight: 600;
}

.prose a,
.text-link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s;
}

.prose a:hover,
.text-link:hover {
  text-decoration-color: currentColor;
}

.note a,
.check-list a,
.card__text a,
.section__intro a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s;
}

.note a:hover,
.check-list a:hover,
.card__text a:hover,
.section__intro a:hover {
  text-decoration-color: currentColor;
}

/* Several arrow links in a row */
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.section__more {
  margin: 3rem 0 0;
}

/* Arrow link, e.g. "Explore web design →" */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.arrow-link svg {
  transition: translate 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.arrow-link:hover svg {
  translate: 0.25rem 0;
}

/* ── Cards ──────────────────────────────────────────────── */

.card-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: 2rem;
  transition: background 0.3s;
}

@media (min-width: 768px) {
  .card {
    padding: 2.5rem;
  }
}

.card__num {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted-dark);
  margin: 0 0 1.5rem;
}

.card__title {
  font-size: 1.375rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.card__text {
  font-family: "Nunito Sans", sans-serif;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

.card__text + .card__text {
  margin-top: 0.75rem;
}

.card__footer {
  margin-top: auto;
  padding-top: 1.75rem;
}

/* Whole card is the link target via the title link's ::after */
.card--link:hover {
  background: var(--surface-2);
}

.card--link .card__title a {
  color: inherit;
  text-decoration: none;
}

.card--link .card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.card--link .card__title a:focus-visible {
  outline: none;
}

.card--link:has(.card__title a:focus-visible) {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.card--link .arrow-link svg {
  transition: translate 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card--link:hover .arrow-link svg {
  translate: 0.25rem 0;
}

/* Tick list */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.875rem;
  font-family: "Nunito Sans", sans-serif;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .check-list--2 {
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem 2.5rem;
  }
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: 0.4em;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  rotate: -45deg;
}

.check-list strong {
  color: var(--fg);
  font-weight: 600;
}

/* Numbered process */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  counter-reset: step;
}

@media (min-width: 1024px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    border: none;
    background: none;
    gap: 2.5rem;
  }
}

.steps li {
  counter-increment: step;
  background: #000;
  padding: 2rem 0;
}

.section--surface .steps li {
  background: var(--surface);
}

@media (min-width: 1024px) {
  .steps li {
    padding: 2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted-dark);
  margin-bottom: 1rem;
}

.steps h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 0.625rem;
}

.steps p {
  font-family: "Nunito Sans", sans-serif;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
}

/* Callout */
.note {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem 1.5rem;
  font-family: "Nunito Sans", sans-serif;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.note strong {
  color: var(--fg);
}

/* Link chips, e.g. areas covered */
.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
}

.chip-list a,
.chip-list span {
  display: inline-block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 0.5rem 1.125rem;
  transition: border-color 0.2s, background 0.2s;
}

.chip-list span {
  color: var(--muted);
}

.chip-list a:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

/* ── Pricing ────────────────────────────────────────────── */

.price-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .price-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: var(--surface);
  padding: 2rem;
}

.price-card__name {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1.25rem;
}

.price-card__price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.5rem;
}

.price-card__from {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.price-card__meta {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.price-card__desc {
  font-family: "Nunito Sans", sans-serif;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Wide tables scroll sideways on phones instead of squashing */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table--wide {
  min-width: 36rem;
}

/* Comparison tables have text in every column, so nothing is right-aligned */
.price-table.price-table--wide thead th:last-child {
  text-align: left;
  padding-right: 1rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.9375rem;
}

.price-table caption {
  text-align: left;
  color: var(--muted);
  font-size: 0.8125rem;
  padding-bottom: 1rem;
}

.price-table th,
.price-table td {
  text-align: left;
  vertical-align: top;
  padding: 1.25rem 1rem 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0;
}

.price-table tbody th {
  color: #fff;
  font-weight: 600;
}

.price-table td {
  color: var(--muted);
}

.price-table td.price-table__amount {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
  padding-right: 0;
}

.price-table thead th:last-child {
  text-align: right;
  padding-right: 0;
}

/* ── FAQ ────────────────────────────────────────────────── */

.faq {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 52rem;
}

.faq details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

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

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  rotate: 45deg;
  translate: 0 -0.2rem;
  transition: rotate 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq details[open] summary::after {
  rotate: 225deg;
  translate: 0 0.15rem;
}

.faq summary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.faq__answer {
  font-family: "Nunito Sans", sans-serif;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  padding: 0 0 1.75rem;
  max-width: 44rem;
}

.faq__answer p {
  margin: 0 0 1rem;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.faq__answer a {
  color: var(--fg);
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after {
    transition: none;
  }
}

/* ── End-of-page CTA ────────────────────────────────────── */

.cta-band {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-band__inner {
  padding-block: 5rem;
  display: grid;
  gap: 2rem;
  align-items: end;
}

@media (min-width: 1024px) {
  .cta-band__inner {
    padding-block: 7rem;
    grid-template-columns: 1fr auto;
    gap: 4rem;
  }
}

.cta-band__title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 1.25rem;
}

@media (min-width: 768px) {
  .cta-band__title {
    font-size: 3.5rem;
  }
}

.cta-band__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0;
}

/* ── Website designs gallery ────────────────────────────── */

.design-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .design-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }
}

.note + .design-grid {
  margin-top: 3rem;
}

.design-card {
  position: relative;
  min-width: 0;
}

.design-card__media {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface-2);
  margin-bottom: 1.25rem;
}

.design-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: scale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-card:hover .design-card__media img {
  scale: 1.03;
}

.design-card__industry {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.design-card__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}

.design-card__title a {
  color: inherit;
  text-decoration: none;
}

.design-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.design-card__text {
  font-family: "Nunito Sans", sans-serif;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

.concept-badge {
  display: inline-block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
}

/* Desktop + phone screenshots side by side */
.design-shots {
  position: relative;
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

@media (min-width: 768px) {
  .design-shots {
    grid-template-columns: 1fr 13rem;
    gap: 2rem;
  }
}

.design-shots__frame {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--surface-2);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.design-shots__frame--phone {
  border-radius: 1.75rem;
  max-width: 13rem;
  justify-self: center;
}

.design-shots__frame img {
  width: 100%;
  height: auto;
}

.design-facts {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

@media (min-width: 768px) {
  .design-facts {
    grid-template-columns: repeat(3, 1fr);
  }
}

.design-facts dt {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.design-facts dd {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
}

/* ── Footer (all pages) ─────────────────────────────────── */

.site-footer__grid {
  display: grid;
  gap: 2.5rem 2rem;
  padding-block: 4rem 3rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr repeat(5, 1fr);
    padding-block: 5rem 3.5rem;
  }
}

.site-footer__about {
  grid-column: 1 / -1;
}

@media (min-width: 1200px) {
  .site-footer__about {
    grid-column: auto;
  }
}

.site-footer__contact {
  margin-top: 1.25rem;
}

.site-footer__about .site-footer__tag {
  max-width: 18rem;
  line-height: 1.6;
}

.site-footer__heading {
  font-family: "Nunito Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 1rem;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
  font-family: "Nunito Sans", sans-serif;
}

.site-footer__list .contact-footer-credit {
  font-size: 0.875rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__bottom-inner {
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

/* ── 404 ────────────────────────────────────────────────── */

.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* ── Privacy policy ─────────────────────────────────────── */

.policy {
  background: #000;
}

.policy__inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
}

@media (min-width: 768px) {
  .policy__inner {
    padding-top: 10rem;
  }
}

.policy__header {
  margin-bottom: 3rem;
}

.policy__title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
}

@media (min-width: 768px) {
  .policy__title {
    font-size: 4.5rem;
  }
}

.policy__updated {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0;
}

.policy__summary,
.policy__toc {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: var(--surface);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}

.policy__summary-title,
.policy__toc-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}

.policy__summary ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--fg);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.policy__summary li + li {
  margin-top: 0.5rem;
}

.policy__summary > p {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0;
}

.policy__toc ol {
  margin: 0;
  padding-left: 1.5rem;
  columns: 1;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--muted);
}

@media (min-width: 768px) {
  .policy__toc ol {
    columns: 2;
    column-gap: 2.5rem;
  }
}

.policy__body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 4rem;
}

.policy__body section {
  scroll-margin-top: 6rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
}

.policy__body section:first-child {
  margin-top: 0;
}

.policy__body h2 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.policy__num {
  color: var(--muted-dark);
  margin-right: 0.25rem;
}

.policy__body h3 {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin: 2rem 0 0.75rem;
}

.policy__body p {
  margin: 0 0 1rem;
}

.policy__body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.policy__body li + li {
  margin-top: 0.625rem;
}

.policy__body strong {
  color: var(--fg);
  font-weight: 600;
}

.policy__body code {
  font-size: 0.875em;
  color: var(--fg);
}

.policy a:not(.btn-pill):not(.btn-pill-lg),
.policy__inline-btn {
  color: var(--fg);
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.2em;
  transition: text-decoration-color 0.2s;
}

.policy a:not(.btn-pill):not(.btn-pill-lg):hover,
.policy__inline-btn:hover {
  text-decoration-color: currentColor;
}

.policy__toc a {
  color: var(--fg);
}

.policy__cookie-btn {
  margin-top: 0.5rem;
}

.policy__contact {
  margin-top: 5rem;
  padding: 3rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: var(--surface);
  text-align: center;
}

.policy__contact-title {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
}

.policy__contact p {
  color: var(--muted);
  margin: 0 0 2rem;
}

/* ── Motion ─────────────────────────────────────────────── */
/* .js-reveal is set in <head> only when IntersectionObserver is available
   and the user hasn't asked for reduced motion, so nothing is ever hidden
   without a way to bring it back. Hidden states use :not(.is-revealed) so
   revealed elements fall back to their normal styles. Reveals use the
   individual translate/scale properties so they never fight a component's
   own transform (e.g. button press states). */

.js-reveal [data-reveal] {
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal [data-reveal]:not(.is-revealed) {
  opacity: 0;
  translate: 0 1.5rem;
}

/* Text re-entering from above (scrolling back up) slides down instead */
.js-reveal [data-reveal=""][data-from="above"]:not(.is-revealed) {
  translate: 0 -1.5rem;
}

/* Top bar drops in from above */
.js-reveal [data-reveal="drop"]:not(.is-revealed) {
  translate: 0 -1rem;
}

/* Buttons keep their own hover/press transitions, undelayed */
.js-reveal .btn-pill[data-reveal],
.js-reveal .btn-pill-lg[data-reveal] {
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.2s,
    transform 0.2s,
    outline-color 0.45s;
  transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s, 0s, 0s;
}

/* Pillar images wipe in from the side their text sits on */
.js-reveal [data-reveal^="wipe"] {
  transition:
    clip-path 1.6s cubic-bezier(0.77, 0, 0.18, 1),
    scale 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal [data-reveal^="wipe"]:not(.is-revealed) {
  opacity: 0.5;
  translate: 0 var(--parallax, 0px);
  scale: 1.15;
}

.js-reveal [data-reveal="wipe-ltr"]:not(.is-revealed) {
  clip-path: inset(0 100% 0 0);
}

.js-reveal [data-reveal="wipe-rtl"]:not(.is-revealed) {
  clip-path: inset(0 0 0 100%);
}

/* CTA image fades up from a slight zoom */
.js-reveal [data-reveal="zoom"] {
  transition:
    opacity 1.6s ease-out,
    scale 2.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-reveal [data-reveal="zoom"]:not(.is-revealed) {
  translate: 0 var(--parallax, 0px);
  scale: 1.2;
}

/* Pillar dividers draw across */
.js-reveal [data-reveal="line"] {
  transform-origin: left;
  transition: scale 1.4s cubic-bezier(0.77, 0, 0.18, 1);
}

.js-reveal [data-reveal="line"]:not(.is-revealed) {
  opacity: 1;
  translate: none;
  scale: 0 1;
}

/* Founder photos open from a point */
.js-reveal [data-reveal="avatar"] {
  transition:
    clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

.js-reveal [data-reveal="avatar"]:not(.is-revealed) {
  translate: none;
  clip-path: circle(0% at 50% 50%);
}

.js-reveal [data-reveal="avatar"] img {
  transition: filter 0.5s, scale 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0s, var(--reveal-delay, 0s);
}

.js-reveal [data-reveal="avatar"]:not(.is-revealed) img {
  scale: 1.4;
}

/* Hero image settles in on load */
.js-reveal .hero__img {
  animation: hero-settle 2.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-settle {
  from {
    opacity: 0;
    scale: 1.12;
  }
  to {
    opacity: 0.45;
    scale: 1;
  }
}

/* Parallax: images are oversized so the shift never exposes an edge.
   main.js writes --parallax and clamps it to the overhang. */
.js-reveal [data-parallax] {
  top: -15%;
  height: 130%;
  translate: 0 var(--parallax, 0px);
  will-change: translate;
}

/* Hero copy drifts up and fades as you scroll past */
.js-reveal .hero__content {
  opacity: calc(1 - var(--hero-progress, 0) * 1.4);
  translate: 0 calc(var(--hero-progress, 0) * -6rem);
}

/* Cursor spotlight on founder cards */
.founder-card {
  position: relative;
  isolation: isolate;
}

.founder-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    28rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.07),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.founder-card:hover::before {
  opacity: 1;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: 2px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.4), #fff);
  transform-origin: left;
  scale: var(--scroll-progress, 0) 1;
  pointer-events: none;
}

/* ── Promotions page ────────────────────────────────────── */

/* The heading and dates show while a promotion's banner is up; once every
   banner has taken itself down (data-show-until), the empty message shows. */
.promos .section__inner {
  padding-bottom: 0;
}

.promos .section__head {
  margin-bottom: 0;
}

.promos__empty {
  display: none;
}

main:not(:has(.xmas)) .promos__current {
  display: none;
}

main:not(:has(.xmas)) .promos__empty {
  display: block;
}

main:not(:has(.xmas)) .promos .section__inner {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  main:not(:has(.xmas)) .promos .section__inner {
    padding-block: 7rem;
  }
}

main .promos + .xmas {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

/* ── Christmas offer (home and promotions pages) ─────────── */ ────────────────────────── */

.xmas {
  padding: 3rem 0 1rem;
  background: var(--bg);
}

.xmas__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 2rem 1.5rem 0;
  border-radius: 1.5rem;
  color: #fff;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(255, 110, 80, 0.55), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(50, 0, 8, 0.55), transparent 60%),
    linear-gradient(120deg, #6e0a1b 0%, #9c1028 45%, #d62839 100%);
  box-shadow: 0 1.5rem 4rem rgba(214, 40, 57, 0.25);
}

.xmas__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Warm out-of-focus lights in the top right, twinkling in two sets */
.xmas__bokeh,
.xmas__bokeh::after {
  position: absolute;
  inset: 0 0 35% 40%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 88% 10%, rgba(255, 220, 150, 0.95) 0 0.35rem, rgba(255, 200, 120, 0) 1rem),
    radial-gradient(circle at 96% 30%, rgba(255, 220, 150, 0.8) 0 0.25rem, rgba(255, 200, 120, 0) 0.8rem),
    radial-gradient(circle at 74% 6%, rgba(255, 230, 170, 0.7) 0 0.5rem, rgba(255, 200, 120, 0) 1.4rem),
    radial-gradient(circle at 60% 22%, rgba(255, 220, 150, 0.5) 0 0.3rem, rgba(255, 200, 120, 0) 0.9rem),
    radial-gradient(circle at 82% 44%, rgba(255, 220, 150, 0.6) 0 0.4rem, rgba(255, 200, 120, 0) 1.1rem);
  animation: xmas-twinkle 3s ease-in-out infinite;
}

.xmas__bokeh::after {
  content: "";
  inset: 0;
  background-image:
    radial-gradient(circle at 92% 18%, rgba(255, 230, 170, 0.9) 0 0.3rem, rgba(255, 200, 120, 0) 0.9rem),
    radial-gradient(circle at 68% 14%, rgba(255, 220, 150, 0.7) 0 0.25rem, rgba(255, 200, 120, 0) 0.8rem),
    radial-gradient(circle at 80% 26%, rgba(255, 230, 170, 0.8) 0 0.45rem, rgba(255, 200, 120, 0) 1.2rem),
    radial-gradient(circle at 98% 50%, rgba(255, 220, 150, 0.6) 0 0.35rem, rgba(255, 200, 120, 0) 1rem);
  animation-delay: -1.5s;
}

/* Two layers of falling snow at different sizes and speeds */
.xmas__snow,
.xmas__snow::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20px 30px, #fff 1.5px, transparent 2.5px),
    radial-gradient(circle at 90px 120px, #fff 1px, transparent 2px),
    radial-gradient(circle at 150px 60px, rgba(255, 255, 255, 0.8) 1.5px, transparent 2.5px),
    radial-gradient(circle at 60px 170px, rgba(255, 255, 255, 0.9) 1px, transparent 2px),
    radial-gradient(circle at 180px 190px, #fff 1.5px, transparent 2.5px);
  background-size: 200px 200px;
  animation: xmas-snow 14s linear infinite;
}

.xmas__snow::after {
  content: "";
  background-image:
    radial-gradient(circle at 40px 50px, #fff 2.5px, transparent 3.5px),
    radial-gradient(circle at 210px 140px, rgba(255, 255, 255, 0.9) 3px, transparent 4px),
    radial-gradient(circle at 130px 250px, #fff 2px, transparent 3px);
  background-size: 300px 300px;
  animation-duration: 9s;
  opacity: 0.85;
}

.xmas__body {
  position: relative;
  z-index: 3;
}

.xmas__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2.75rem;
  margin: 0 0 1.25rem;
}

.xmas__label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  background: linear-gradient(180deg, #e0323f, #b3132f);
  box-shadow: 0 0.5rem 1.5rem rgba(60, 0, 10, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.xmas__label svg {
  animation: xmas-wiggle 3s ease-in-out infinite;
}

/* Little bursts of light, like the sale has just gone off */
.xmas__burst {
  width: 2.25rem;
  height: auto;
  animation: xmas-burst 1.6s ease-in-out infinite;
}

.xmas__burst--label {
  position: absolute;
  left: calc(100% + 0.25rem);
  top: -0.6rem;
}

.xmas__countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  margin: 0;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  background: #ffd166;
  color: #5c0715;
  font-size: 0.8125rem;
  font-weight: 700;
  animation: xmas-wiggle 2s ease-in-out infinite;
}

.xmas__countdown[hidden] {
  display: none;
}

.xmas__days {
  font-size: 1.0625rem;
  font-weight: 800;
}

.xmas__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 0.12em 0.35em rgba(50, 0, 8, 0.4);
}

.xmas__price-line {
  position: relative;
  display: block;
  margin-top: 0.08em;
}

.xmas__burst--price {
  position: absolute;
  left: -0.42em;
  top: 50%;
  width: 0.5em;
  translate: 0 -55%;
  scale: -1 1;
}

/* The price sits on a gold tag with a shine that sweeps across it */
.xmas__price {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 0.02em 0.16em 0.06em;
  border-radius: 0.16em;
  background: linear-gradient(180deg, #ffe58f 0%, #f9c74f 55%, #e9a92c 100%);
  color: #6e0a1b;
  text-shadow: none;
  box-shadow: 0 0.06em 0 #b97d16, 0 0.25em 0.9em rgba(255, 200, 80, 0.4);
  rotate: -2deg;
  animation: xmas-pop 3s ease-in-out infinite;
}

.xmas__price::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.8) 50%, transparent 65%);
  translate: -120% 0;
  animation: xmas-shine 3s ease-in-out infinite;
}

.xmas__text {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.xmas__text strong {
  color: #fff;
}

.xmas__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.3;
}

.xmas__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.xmas__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.xmas__deadline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0.8rem 1.25rem;
  border: 1.5px solid rgba(255, 209, 102, 0.7);
  border-radius: 1rem;
  background: rgba(50, 0, 8, 0.25);
  box-shadow: 0 0 1.5rem rgba(255, 180, 80, 0.2), inset 0 0 1rem rgba(255, 180, 80, 0.08);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.xmas__deadline svg {
  flex-shrink: 0;
  color: #ffd166;
}

.xmas__deadline strong {
  color: #ffd166;
}

.xmas__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

/* A soft ring pulses out from the button now and then */
.xmas__cta {
  animation: xmas-ring 2.5s ease-out infinite;
}

.xmas__terms {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  transition: text-decoration-color 0.2s;
}

.xmas__terms:hover,
.xmas__terms:focus-visible {
  text-decoration-color: currentColor;
}

/* ── The scene: a gift-wrapped laptop, with Santa peeking round it ── */

.xmas__scene {
  position: relative;
  z-index: 2;
  height: 19rem;
  margin: 0.5rem -1.5rem 0;
}

.xmas__scene img {
  position: absolute;
  height: auto;
}

/* The laptop and Santa move as one: he holds on to the screen's edge */
.xmas__device {
  position: absolute;
  right: 4%;
  top: 6%;
  z-index: 3;
  width: 74%;
  animation: xmas-float 4s ease-in-out infinite;
}

.xmas__scene .xmas__laptop {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  filter: drop-shadow(0 1.5rem 2rem rgba(50, 0, 8, 0.45));
}

/* Santa waves, pivoting on the hand that grips the laptop */
.xmas__santa {
  left: -9%;
  top: 4%;
  z-index: 1;
  width: 36%;
  transform-origin: 88% 55%;
  animation: xmas-lean 3s ease-in-out infinite;
}

.xmas__gift {
  right: 1%;
  bottom: -3%;
  z-index: 4;
  width: 22%;
  transform-origin: 50% 100%;
  animation: xmas-shake 4s ease-in-out infinite;
}

/* Stood upright and scaled up, it becomes a tree behind everything else */
.xmas__garland {
  right: -16%;
  bottom: 16%;
  z-index: 0;
  width: 62%;
  rotate: 90deg;
}

.xmas__bauble {
  right: -3%;
  bottom: -4%;
  z-index: 6;
  width: 16%;
  transform-origin: 70% 0;
  animation: xmas-rock 3.5s ease-in-out infinite;
}

.xmas__drift {
  left: -10%;
  bottom: -1.5rem;
  z-index: 4;
  width: 120%;
}

/* Large screens swap the single drift for three across the card's bottom */
.xmas__ground {
  display: none;
}

.xmas__star {
  top: 2%;
  left: 38%;
  z-index: 2;
  width: 1.75rem;
  animation: xmas-burst 2.4s ease-in-out infinite;
}

.xmas__flake {
  z-index: 2;
  opacity: 0.9;
  animation: xmas-drift 9s ease-in-out infinite;
}

.xmas__flake--1 { top: 4%; left: 8%; width: 2rem; }
.xmas__flake--2 { top: 0; right: 10%; width: 1.25rem; animation-duration: 7s; animation-delay: -3s; }

@keyframes xmas-snow {
  from { background-position: 0 0; }
  to { background-position: 40px 600px; }
}

@keyframes xmas-twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes xmas-wiggle {
  0%, 80%, 100% { transform: rotate(0); }
  85% { transform: rotate(-10deg); }
  90% { transform: rotate(10deg); }
  95% { transform: rotate(-5deg); }
}

@keyframes xmas-burst {
  0%, 100% { opacity: 0.55; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes xmas-pop {
  0%, 70%, 100% { transform: scale(1); }
  78% { transform: scale(1.1) rotate(-3deg); }
  88% { transform: scale(1.03) rotate(2deg); }
}

@keyframes xmas-shine {
  0%, 55% { translate: -120% 0; }
  85%, 100% { translate: 120% 0; }
}

@keyframes xmas-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6); }
  60%, 100% { box-shadow: 0 0 0 0.9rem rgba(255, 255, 255, 0); }
}

@keyframes xmas-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.5rem); }
}

@keyframes xmas-lean {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(4deg); }
}

@keyframes xmas-shake {
  0%, 82%, 100% { transform: rotate(0) translateY(0); }
  85% { transform: rotate(-6deg) translateY(-0.3rem); }
  88% { transform: rotate(5deg) translateY(-0.5rem); }
  91% { transform: rotate(-4deg) translateY(-0.2rem); }
  94% { transform: rotate(2deg) translateY(0); }
}

@keyframes xmas-rock {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

@keyframes xmas-drift {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(0.5rem, 1rem) rotate(90deg); }
}

@media (max-width: 640px) {
  .xmas__container {
    padding: 0 1rem;
  }

  .xmas__garland {
    right: 50%;
  }
}

@media (min-width: 640px) {
  .xmas__gift {
    right: 3%;
    bottom: 2%;
  }

  .xmas__features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .xmas__features li {
    max-width: 9.5rem;
  }
}

@media (min-width: 768px) {
  .xmas__gift {
    right: 3%;
    bottom: 3%;
  }

  .xmas {
    padding-top: 4rem;
  }

  .xmas__card {
    padding: 3rem 3rem 0;
  }

  .xmas__scene {
    height: 27rem;
    margin: 0.5rem -3rem 0;
  }

  .xmas__garland {
    right: -8%;
    bottom: 44%;
    width: 52%;
  }
}

/* Large screens: text on the left, the scene fills the right half */
@media (min-width: 1100px) {
  .xmas__bauble {
    bottom: -2%;
  }

  .xmas__card {
    min-height: 40rem;
    padding: 3.25rem 0 3.25rem 4rem;
  }

  .xmas__body {
    max-width: 44rem;
  }

  /* One row, split by thin dividers */
  .xmas__features {
    flex-wrap: nowrap;
    gap: 0;
  }

  .xmas__features li {
    max-width: 9rem;
    padding: 0 0.875rem;
  }

  .xmas__features li:first-child {
    padding-left: 0;
  }

  .xmas__features li:last-child {
    max-width: 10.5rem;
  }

  .xmas__features li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .xmas__scene {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48%;
    height: auto;
    margin: 0;
  }

  .xmas__device {
    top: 16%;
    right: 3%;
    width: 78%;
  }

  .xmas__gift {
    bottom: 0%;
    width: 25%;
  }

  .xmas__drift {
    display: none;
  }

  .xmas__ground {
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -1.25rem;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
  }

  .xmas__ground img {
    width: 38%;
    height: auto;
    margin-right: -4%;
  }

  .xmas__ground img:nth-child(2) {
    width: 34%;
    scale: -1 1;
    margin-bottom: -0.5rem;
  }

  .xmas__ground img:nth-child(3) {
    width: 40%;
    margin-right: 0;
  }

  .xmas__garland {
    right: -30%;
    bottom: 13%;
    width: 100%;
  }
}

/* Smaller large screens: the text and scene share less room, so the
   text column narrows and Santa and the laptop sit lower and smaller */
@media (min-width: 1100px) and (max-width: 1399px) {
  .xmas__body {
    max-width: 34rem;
  }

  .xmas__title {
    font-size: 4rem;
  }

  .xmas__features {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .xmas__features li,
  .xmas__features li:first-child {
    padding: 0;
  }

  .xmas__features li + li {
    border-left: 0;
  }

  .xmas__device {
    top: 30%;
    right: 2%;
    width: 72%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xmas *,
  .xmas *::before,
  .xmas *::after,
  .xmas__bokeh::after,
  .xmas__snow::after {
    animation: none !important;
  }
}

/* ── Brand accents ──────────────────────────────────────── */

/* Teal breaks up the black and white: labels, numbering, ticks and links
   pick it up throughout, surfaces carry a faint teal glow, and the closing
   call to action on every inner page is a solid teal band. Black text on
   teal and teal on black both pass WCAG AA. */

::selection {
  background: var(--teal);
  color: #000;
}

.eyebrow,
.section-label,
.modal-kicker,
.design-card__industry,
.price-card__from,
.design-facts dt,
.policy__summary-title,
.policy__toc-title,
.site-footer__heading {
  color: var(--teal);
}

.pillar__num,
.card__num,
.steps li::before,
.policy__num {
  color: var(--teal);
}

.check-list li::before {
  border-color: var(--teal);
}

.scroll-progress {
  background: linear-gradient(to right, rgba(0, 196, 191, 0.35), var(--teal));
}

.breadcrumb li + li::before {
  border-color: var(--teal-line);
}

.faq summary::after {
  border-color: var(--teal);
}

.faq details[open] summary {
  color: var(--teal-bright);
}

.arrow-link svg {
  color: var(--teal);
}

.prose a,
.text-link,
.note a,
.check-list a,
.card__text a,
.section__intro a,
.faq__answer a,
.pillar__desc a,
.hero__subtitle a,
.page-hero__lede a,
.founder-card__bio a,
.policy a:not(.btn-pill):not(.btn-pill-lg),
.policy__inline-btn {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--teal-line);
}

.prose a:hover,
.text-link:hover,
.note a:hover,
.check-list a:hover,
.card__text a:hover,
.section__intro a:hover,
.faq__answer a:hover,
.pillar__desc a:hover,
.hero__subtitle a:hover,
.page-hero__lede a:hover,
.founder-card__bio a:hover,
.policy a:not(.btn-pill):not(.btn-pill-lg):hover,
.policy__inline-btn:hover {
  color: var(--teal-bright);
  text-decoration-color: currentColor;
}

.contact-footer-credit:hover,
.contact-footer-credit:focus-visible {
  color: var(--teal-bright);
}

.chip-list a:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.interest-chip.is-active {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.concept-badge {
  color: var(--teal);
  border-color: var(--teal-line);
}

.price-card {
  transition: border-color 0.3s;
}

.price-card:hover {
  border-color: var(--teal-line);
}

.toast__icon {
  background: var(--teal-soft);
  color: var(--teal);
}

.cookie-switch input:checked + .cookie-switch__track {
  background: var(--teal);
  border-color: var(--teal);
}

/* Top menu: a teal underline grows in on hover, like the footer links,
   and stays drawn under the current section */
.site-nav .site-nav__link {
  background-image: linear-gradient(var(--teal), var(--teal));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: color 0.2s, background-size 0.2s;
}

.site-nav .site-nav__link:hover,
.site-nav .site-nav__link:focus-visible,
.site-nav .site-nav__link[aria-current="page"],
.site-nav .site-nav__link[aria-current="true"] {
  background-size: 100% 2px;
}

.site-nav .site-nav__link:hover,
.site-nav .site-nav__link:focus-visible {
  color: var(--teal-bright);
}

/* Current section in the drawer: white text with a teal underline */
.nav-drawer__list .site-nav__link[aria-current="page"],
.nav-drawer__list .site-nav__link[aria-current="true"] {
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}

/* The teal dot from the logo, used on full stops in headlines */
.accent-dot {
  color: var(--teal);
}

/* Value strip: a short teal bar above each title */
.value-item__title::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
  margin-bottom: 1.25rem;
}

/* Faint teal glow on surfaces and heroes */
.section--surface {
  background:
    radial-gradient(56rem 28rem at 100% 0%, rgba(0, 196, 191, 0.07), transparent 70%),
    var(--surface);
}

.page-hero {
  background:
    radial-gradient(60rem 32rem at 0% 100%, rgba(0, 196, 191, 0.12), transparent 70%),
    #000;
}

.page-hero__scrim {
  background:
    radial-gradient(60rem 32rem at 0% 100%, rgba(0, 196, 191, 0.12), transparent 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.35), #000);
}

.hero__scrim {
  background:
    radial-gradient(70rem 36rem at 10% 100%, rgba(0, 196, 191, 0.14), transparent 70%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2), #000);
}

.founder-card::before {
  background: radial-gradient(
    28rem circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 196, 191, 0.1),
    transparent 45%
  );
}

/* Closing call to action: a solid teal band with a black button. The
   button's hover fill flips to white so its difference-blended label
   still reads. */
.cta-band {
  background: var(--teal);
  border-top: none;
}

.cta-band__title {
  color: #000;
}

.cta-band__text {
  color: rgba(0, 0, 0, 0.75);
}

.cta-band .btn-pill-lg {
  background: #000;
}

.cta-band .btn-pill-lg:hover {
  background: #111;
}

.cta-band .btn-fill {
  background: #fff;
}

.cta-band .btn-fx.is-filled,
.cta-band .btn-fx:focus-visible {
  outline-color: #000;
}

/* Top bar: the name never wraps; on small phones the monogram stands
   alone (the name stays for screen readers) so "Start a project" fits. */
.logo__text,
.topbar__cta {
  white-space: nowrap;
}

@media (max-width: 479px) {
  .logo__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}

/* Footer logo */
.site-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.site-footer__logo img {
  width: 13.5rem;
}

/* ── Light sections & angled dividers ───────────────────── */

/* Not every section has to be black, and not every break a straight line.
   .section--light flips a section to white (ink text, a darker teal that
   passes contrast on white); .section--angle / .section--angle-rev give it
   a diagonal top edge that overlaps the section above, and the gradient
   variants colour the space either side of that edge. Every closing CTA
   band is angled too. */

:root {
  --ink: #0b0b0c;
  --ink-muted: #4d4d55;
  --teal-ink: #007f7b;
  --line-ink: rgba(0, 0, 0, 0.1);
  --slant: clamp(2.5rem, 6vw, 5.5rem);
}

.section--light {
  background: #fff;
  color: var(--ink);
  border-top: none;
}

.section--light.section--tint {
  background: linear-gradient(160deg, #fff 0%, #f2fbfa 55%, #dcf4f3 100%);
}

.section--light :is(.section__title, .card__title, .steps h3, .faq summary, .price-card__name, .price-card__price, .design-card__title, .design-facts dd, .prose h2, .prose h3, .price-table tbody th, .price-table td.price-table__amount) {
  color: var(--ink);
}

.section--light :is(.section__intro, .card__text, .check-list, .steps p, .faq__answer, .prose, .price-card__meta, .price-card__desc, .design-card__text, .price-table td, .price-table caption, .note) {
  color: var(--ink-muted);
}

.section--light :is(.check-list strong, .prose strong, .note strong, .card__text strong) {
  color: var(--ink);
}

.section--light :is(.section-label, .eyebrow, .card__num, .design-card__industry, .price-card__from, .design-facts dt, .price-table thead th, .concept-badge) {
  color: var(--teal-ink);
}

.section--light .steps li::before {
  color: var(--teal-ink);
}

.section--light .check-list li::before {
  border-color: var(--teal-ink);
}

.section--light .card-grid {
  background: var(--line-ink);
  border-color: var(--line-ink);
}

.section--light .card {
  background: #fff;
}

.section--light .card--link:hover {
  background: #f2f8f8;
}

.section--light .steps {
  background: none;
  border-color: var(--line-ink);
}

.section--light .steps li {
  background: none;
  border-top: 1px solid var(--line-ink);
}

.section--light .faq,
.section--light .faq details {
  border-color: rgba(0, 0, 0, 0.12);
}

.section--light .faq summary::after {
  border-color: var(--teal-ink);
}

.section--light .faq details[open] summary {
  color: var(--teal-ink);
}

.section--light .chip-list a {
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.18);
}

.section--light .chip-list span {
  color: var(--ink-muted);
  border-color: rgba(0, 0, 0, 0.14);
}

.section--light .chip-list a:hover {
  border-color: var(--teal-ink);
  background: rgba(0, 127, 123, 0.08);
}

.section--light .price-card {
  background: #f6f8f8;
  border-color: var(--line-ink);
}

.section--light .price-card:hover {
  border-color: var(--teal-ink);
}

.section--light .price-card__desc {
  border-color: var(--line-ink);
}

.section--light .price-table th,
.section--light .price-table td {
  border-color: var(--line-ink);
}

.section--light .note {
  background: #f1f7f7;
  border-color: rgba(0, 127, 123, 0.25);
}

.section--light :is(.split__media, .design-card__media, .design-shots__frame) {
  border-color: var(--line-ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.section--light .concept-badge {
  border-color: rgba(0, 127, 123, 0.4);
}

.section--light .arrow-link {
  color: var(--ink);
}

.section--light .arrow-link svg {
  color: var(--teal-ink);
}

.section--light :is(.prose a, .text-link, .note a, .check-list a, .card__text a, .section__intro a, .faq__answer a) {
  color: var(--ink);
  text-decoration-color: var(--teal-ink);
}

.section--light :is(.prose a, .text-link, .note a, .check-list a, .card__text a, .section__intro a, .faq__answer a):hover {
  color: var(--teal-ink);
}

/* White buttons would vanish on white: make them black, with a white
   hover fill so the difference-blended label still flips. */
.section--light :is(.btn-pill, .btn-pill-lg):not(.btn-pill--ghost) {
  background: #000;
}

.section--light .btn-fill {
  background: #fff;
}

.section--light .btn-fx.is-filled,
.section--light .btn-fx:focus-visible {
  outline-color: #000;
}

/* Diagonal edges */
.section--angle,
.section--angle-rev,
.cta-band {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--slant) * -1);
  padding-top: var(--slant);
  border-top: none;
}

.section--angle {
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
}

.section--angle-rev,
.cta-band {
  clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%);
}

/* Gradient fills for dark angled sections */
.section--glow {
  background: linear-gradient(165deg, #04201f 0%, #000 45%, #051a19 100%);
}

.section--deep {
  background:
    radial-gradient(50rem 26rem at 85% 15%, rgba(0, 196, 191, 0.22), transparent 70%),
    linear-gradient(135deg, #002a28 0%, #000 60%);
}

.cta-band {
  background: linear-gradient(115deg, #00c4bf 0%, #00b2ad 55%, #3ddcd7 100%);
}

/* ── Contact page form ──────────────────────────────────── */

/* The enquiry form lives on /contact/ (every "Start a project" links
   there). Copy sits beside the form card on wide screens and above it on
   phones and tablets. */

.contact-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1100px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4.5rem;
  }

  .contact-layout__intro {
    position: sticky;
    top: 7rem;
  }
}

.contact-layout__list {
  margin-top: 2rem;
}

.contact-layout__note {
  margin: 2rem 0 0;
}

.contact-card {
  /* Clears the fixed top bar when a link scrolls the form into view */
  scroll-margin-top: 6.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  background: rgba(12, 12, 12, 0.92);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
}

@media (min-width: 600px) {
  .contact-card {
    padding: 2.5rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

/* Name and email pairs stack on narrow screens */
@media (max-width: 559px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form .form-field input,
.contact-form .form-field textarea {
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-form .interest-chip {
  font-size: 0.8125rem;
  padding: 0.5625rem 1rem;
}

/* Promotion pill: festive red and gold, with a pulsing Christmas tree */
.promo-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 209, 102, 0.7);
  border-radius: 9999px;
  background: linear-gradient(135deg, #8f0d22, #d62839);
  box-shadow: 0 0.4rem 1.25rem rgba(214, 40, 57, 0.35);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  animation: promo-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.promo-pill[hidden] {
  display: none;
}

.promo-pill__tree {
  flex-shrink: 0;
  color: #9be7a0;
  animation: promo-pulse 1.6s ease-in-out infinite;
}

.promo-pill__check {
  flex-shrink: 0;
  color: #ffd166;
}

.promo-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  translate: -120% 0;
  animation: promo-shine 3.5s ease-in-out infinite;
}

@keyframes promo-pop {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes promo-pulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 209, 102, 0)); }
  50% { transform: scale(1.18); filter: drop-shadow(0 0 0.35rem rgba(255, 209, 102, 0.9)); }
}

@keyframes promo-shine {
  0%, 60% { translate: -120% 0; }
  90%, 100% { translate: 120% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-pill,
  .promo-pill__tree,
  .promo-pill::after {
    animation: none;
  }
}

.contact-form__privacy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.contact-form__privacy a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--teal-line);
  text-underline-offset: 0.2em;
}

.contact-success {
  text-align: center;
  padding: 2.5rem 0.5rem;
}

.contact-success:focus {
  outline: none;
}

.contact-success .toast__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
}

.contact-success__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.contact-success__text {
  color: var(--muted);
  line-height: 1.65;
  max-width: 26rem;
  margin: 0 auto 1.75rem;
}

.contact-success__again {
  font-family: inherit;
}

/* Inline links inside whole-card links stay clickable above the overlay */
.card--link .card__text a {
  position: relative;
  z-index: 1;
}

/* About page: founder intro and "Learn more" pills */
.founders__intro {
  max-width: 46rem;
  margin: 1.25rem 0 3rem;
}

.founder-card__links {
  margin: 1.75rem 0 0;
}

.founder-card__link {
  text-decoration: none;
}

/* Hero copy is usually the largest thing on screen (what Google measures as
   LCP), so it never waits for the scroll observer: it's visible from first
   paint and only slides into place. */
.js-reveal :is(.hero__content, .page-hero__content) [data-reveal]:not(.is-revealed) {
  opacity: 1;
  translate: none;
  animation: hero-copy-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-copy-in {
  from {
    translate: 0 1rem;
  }
  to {
    translate: none;
  }
}
