/* ==========================================================================
   Boosted.Design Studio
   Design tokens lifted from the original site.
   ========================================================================== */

:root {
  /* Palette */
  --bg:            #141416;   /* Neutral 04 — page background        */
  --surface:       #202022;   /* Neutral 03 — raised surfaces        */
  --line:          #232627;   /* Neutral 02 — hairline borders       */
  --muted:         #888a8b;   /* Neutral 01 — secondary text         */
  --muted-dim:     #6c7275;   /* dimmer secondary text               */
  --white:         #ffffff;
  --accent:        #22a124;   /* green — availability, link hover    */
  --accent-warm:   #e26f50;   /* coral — reserved accent             */
  --pulse:         #3ec13f;   /* green — availability pulse dot      */

  /* Type */
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Source Code Pro", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1200px;
  --section-pad-y: 120px;
  --section-pad-x: 80px;
  --nav-h: 80px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 200;
  background: var(--white);
  color: var(--bg);
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------------------
   Typography primitives
   -------------------------------------------------------------------------- */

.h1 {
  font-size: 64px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

.h3 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

.lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

/* Small uppercase mono label — nav items, buttons, eyebrows */
.mono {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-dim);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

.section-head--left {
  align-items: flex-start;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Corner-bracket motif
   The original frames buttons, cards and panels with four 8px L-shaped
   corner marks rather than a full border. Reproduced with pseudo-elements
   on a shared .brackets utility.
   -------------------------------------------------------------------------- */

.brackets { position: relative; }

.brackets > .bracket {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 0 solid var(--bracket-color, var(--white));
  opacity: var(--bracket-opacity, 1);
  pointer-events: none;
  z-index: 1;
  transition: opacity .25s ease;
}
.brackets > .bracket--tl { top: 0; left: 0;  border-top-width: 2px; border-left-width: 2px; }
.brackets > .bracket--tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.brackets > .bracket--bl { bottom: 0; left: 0;  border-bottom-width: 2px; border-left-width: 2px; }
.brackets > .bracket--br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 40px;
  position: relative;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  transition: background-color .25s ease, border-color .25s ease;
}

/* Sliding double-label: the second copy rises into place on hover. */
.btn__labels {
  display: flex;
  flex-direction: column;
  height: 23px;
  overflow: hidden;
  position: relative;
}
.btn__labels span {
  display: block;
  height: 23px;
  line-height: 23px;
  white-space: nowrap;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1);
}
.btn:hover .btn__labels span,
.btn:focus-visible .btn__labels span { transform: translateY(-23px); }

.btn--fill {
  background-color: rgba(255, 255, 255, .05);
}
.btn--fill:hover { background-color: rgba(255, 255, 255, .12); }

.btn--outline {
  border: 1px solid var(--line);
  --bracket-opacity: 1;
  --bracket-color: rgba(255, 255, 255, .3);
}
.btn--outline:hover { border-color: rgba(255, 255, 255, .3); }
.btn--outline:hover > .bracket { --bracket-color: var(--white); opacity: 1; }

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Decorative grid + glow backdrop
   -------------------------------------------------------------------------- */

.backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.backdrop__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .05;
  background-image:
    linear-gradient(rgb(255, 255, 255) 2px, transparent 2px),
    linear-gradient(90deg, rgb(255, 255, 255) 2px, transparent 2px),
    linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
  background-position: -2px -2px, -2px -2px, -1px -1px, -1px -1px;
  background-size: 300px 300px, 300px 300px, 60px 60px, 60px 60px;
}

/* Injected by js/main.js — slow drifting points of light. */
.sparkle-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.sparkle-canvas.is-lit { opacity: 1; }

.backdrop__glow {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 1000px;
  background: #d9d9d9;
  filter: blur(100px);
  opacity: .1;
}

.backdrop__vignette {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(21, 21, 23, 0) 0%, var(--bg) 100%);
}

.section > .container { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   Navigation
   Full-bleed single row, matching the original: logo mark then wordmark on
   the left, links immediately after, availability stacked on the right.
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 22, .72);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background-color .4s ease, border-color .4s ease;
}
.nav.is-scrolled {
  background: rgba(20, 20, 22, .92);
  border-bottom-color: rgba(255, 255, 255, .09);
}

.nav__inner {
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 44px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
  flex: none;
}
.logo svg {
  width: 13px;
  height: 28px;
  flex: none;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.logo:hover svg { transform: translateX(3px); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .3s cubic-bezier(.2, .8, .2, 1);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { width: 100%; }

/* Availability, right-aligned and stacked */
.nav__status {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex: none;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  line-height: 1.5;
  padding: 5px 14px;
  border-radius: 25px;
  background: rgba(255, 255, 255, .04);
}

.status__dot {
  position: relative;
  width: 9px;
  height: 9px;
  flex: none;
}
.status__dot::before,
.status__dot::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--pulse);
}
.status__dot::before {
  inset: 0;
  box-shadow: 0 0 14px 0 rgba(62, 193, 63, .55);
}
.status__dot::after {
  width: 26px;
  height: 26px;
  top: -8.5px;
  left: -8.5px;
  opacity: .5;
  animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(.35); opacity: .5; }
  70%  { transform: scale(1);   opacity: 0; }
  100% { transform: scale(1);   opacity: 0; }
}

.nav__location {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 14px;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex: none;
}
.nav__toggle span {
  display: block;
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: background .2s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top: 7px; }

.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  text-align: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */

.marquee {
  padding: 40px 0 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  flex: none;
  height: 260px;
  display: flex;
  align-items: center;
}
.marquee__item img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

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

.work-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 809px) {
  /* --------------------------------------------------------------------------
   Homepage featured grid
   Same tiles as the work pages, four across and stripped back to keep the
   two rows even. Generated by build-work.mjs.
   -------------------------------------------------------------------------- */

.work-tiles--home {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
.work-tiles--home .work-tile__blurb,
.work-tiles--home .work-tile__tags { display: none; }
.work-tiles--home .work-tile { gap: 14px; }
.work-tiles--home .work-tile__title { font-size: 16px; }
.work-tiles--home .work-tile__link { font-size: 11px; }

@media (max-width: 1199px) {
  .work-tiles--home { grid-template-columns: repeat(3, 1fr); }
  /* Nine slots, eight tiles — hide the last so the grid stays rectangular. */
  .work-tiles--home .work-tile:nth-child(n + 7) { display: none; }
}

@media (max-width: 900px) {
  .work-tiles--home { grid-template-columns: repeat(2, 1fr); }
  .work-tiles--home .work-tile:nth-child(n + 7) { display: flex; }
}

@media (max-width: 560px) {
  .work-tiles--home { grid-template-columns: 1fr; gap: 32px; }
}

.work-cta { flex-direction: column; margin-top: 32px; }
}

/* --------------------------------------------------------------------------
   Partners
   -------------------------------------------------------------------------- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .01);
  transition: border-color .3s ease, background-color .3s ease;
}
.partner-card:hover {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .03);
}

.partner-card__icon {
  width: 64px;
  height: 64px;
  flex: none;
}
.partner-card__icon svg { width: 100%; height: 100%; }
.partner-card__icon svg [data-spin] {
  transform-origin: 50% 50%;
  animation: spin 14s linear infinite;
}
.partner-card__icon svg [data-spin-rev] {
  transform-origin: 50% 50%;
  animation: spin 20s linear infinite reverse;
}
.partner-card__icon svg [data-breathe] {
  transform-origin: 50% 50%;
  animation: breathe 4s ease-in-out infinite;
}

@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.partner-card__title { font-size: 24px; font-weight: 600; line-height: 1.3; }
.partner-card__body  { font-size: 16px; color: var(--muted); line-height: 1.6; }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 48px 40px;
  position: relative;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.plan:last-child { border-right: 1px solid var(--line); }

.plan__num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--muted);
}

.plan__name  { font-size: 36px; font-weight: 600; line-height: 1.2; }
.plan__price { font-size: 18px; color: var(--white); line-height: 1.6; margin-top: 8px; }

.plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  color: #808080;
  line-height: 1.6;
}
.plan__features li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 1px;
  background: var(--muted);
  margin-top: 13px;
}

/* --------------------------------------------------------------------------
   Comparison table
   -------------------------------------------------------------------------- */

.why { text-align: center; }
.why .section-head { margin-bottom: 64px; }

.compare {
  border: 1px solid var(--line);
  overflow-x: auto;
  text-align: left;
}

.compare table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare th,
.compare td {
  padding: 24px;
  border: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--white);
}

.compare thead th {
  font-size: 18px;
  font-weight: 600;
  background: rgba(255, 255, 255, .02);
}

.compare tbody th {
  text-align: right;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

/* Row label column, then three equal comparison columns. */
.compare col.col-label { width: 22%; }
.compare col.col-cell  { width: 26%; }

.compare .col-boosted {
  background: rgba(255, 255, 255, .04);
  color: var(--white);
}
.compare thead .col-boosted { background: rgba(255, 255, 255, .07); }
.compare tbody td:not(.col-boosted) { color: var(--muted); }

.compare tr > *:first-child { border-left: 0; }
.compare tr > *:last-child  { border-right: 0; }
.compare tr:first-child > * { border-top: 0; }
.compare tr:last-child  > * { border-bottom: 0; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__copy p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.founder {
  border: 1px solid var(--line);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.founder img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .5s ease;
}
.founder:hover img { filter: grayscale(0); }
.founder__name { font-size: 24px; font-weight: 600; line-height: 1.3; }
.founder__role { font-size: 14px; color: var(--muted); }
.founder__link {
  font-size: 14px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s ease;
}
.founder__link:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

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

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin: 0 auto 48px;
  max-width: 760px;
}
.fact {
  padding: 24px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact:last-child { border-right: 0; }
.fact__label { font-size: 16px; color: var(--muted-dim); }
.fact__value { font-size: 18px; color: var(--white); }

.form {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  padding: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.5;
  border-radius: 0;
  transition: border-color .2s ease, background-color .2s ease;
  -webkit-appearance: none;
          appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23888a8b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 44px;
}
.field select option { background: var(--surface); color: var(--white); }

.field input::placeholder,
.field textarea::placeholder { color: #55585a; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .05);
}

.form__footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form__note { font-size: 14px; color: var(--muted); }

.form__hp { position: absolute; left: -9999px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

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

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer__cell {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, .3);
  text-align: center;
  transition: color .25s ease;
}
.footer__cell:last-child { border-right: 0; }
a.footer__cell:hover { color: var(--white); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s cubic-bezier(.16, 1, .3, 1),
    transform .9s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* --------------------------------------------------------------------------
   Hover polish
   -------------------------------------------------------------------------- */

/* Light sweep across a filled button */
.btn--fill { overflow: hidden; }
.btn--fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-18deg);
  transition: left .75s cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.btn--fill:hover::before { left: 130%; }

/* Cursor-following highlight on gallery tiles and work cards */
.work-tile__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, .1),
    transparent 65%
  );
}
.work-tile__frame:hover::after { opacity: 1; }

/* Card lift */
.work-tile__frame { transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .3s ease; }
.work-tile:hover .work-tile__frame {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .18);
}

.partner-card {
  transition: border-color .35s ease, background-color .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
}
.partner-card:hover { transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   Thank-you page
   -------------------------------------------------------------------------- */

.center-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.center-page .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 640px;
}

/* --------------------------------------------------------------------------
   Breakpoints — mirroring the original: 1200 / 810–1199 / ≤809
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
  :root {
    --section-pad-y: 100px;
    --section-pad-x: 40px;
  }

  .h1 { font-size: 56px; }

  .about__layout { grid-template-columns: 1fr 320px; gap: 48px; }

  .nav__inner { gap: 28px; }
  .logo { font-size: 22px; }
  .logo svg { width: 11px; height: 24px; }
}

@media (max-width: 1000px) {
  .nav__location { display: none; }
  .status { font-size: 14px; padding: 4px 12px; }
}

@media (max-width: 900px) {
  .about__layout { grid-template-columns: 1fr; gap: 40px; }
  .founder { max-width: 380px; }
}

@media (max-width: 720px) {
  .nav__status { display: none; }
}

@media (max-width: 809px) {
  :root {
    --section-pad-y: 64px;
    --section-pad-x: 24px;
  }

  .h1   { font-size: 48px; }
  .h2   { font-size: 32px; }
  .h3   { font-size: 32px; }
  .lead, .eyebrow { font-size: 16px; }

  .nav__toggle { display: inline-flex; margin-left: auto; }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(20, 20, 22, .98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.2, .8, .2, 1);
  }
  .nav__links[data-open="true"] { max-height: 320px; }
  .nav__links li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: 18px 24px; }
  .nav__links a::after { display: none; }

  .hero { padding-top: 72px; padding-bottom: 48px; }
  .hero__actions { width: 100%; flex-direction: column; }
  .btn { width: 100%; padding: 20px 32px; }

  .marquee__item { height: 190px; }

  .partner-grid { grid-template-columns: 1fr; gap: 24px; }
  .partner-card { padding: 24px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .plan { padding: 32px 24px; border-right: 1px solid var(--line); }
  .plan__name { font-size: 32px; }

  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }

  .form { grid-template-columns: 1fr; padding: 24px; }
  .form__footer { flex-direction: column; align-items: stretch; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer__cell:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; transition-delay: 0ms !important; }
  .sparkle-canvas { display: none; }
}

@media print {
  .nav, .marquee, .backdrop { display: none; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Work gallery (work/index.html, work/saas.html, work/websites.html)
   Generated by build-work.mjs from data/work.json.
   ========================================================================== */

/* --- Tab bar ---------------------------------------------------------- */

.work-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 48px;
}

.work-tab {
  padding: 14px 24px;
  border-right: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s ease, background-color .2s ease;
}
.work-tab:last-child { border-right: 0; }
.work-tab:hover { color: var(--white); background: rgba(255, 255, 255, .03); }
.work-tab[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, .06);
}

/* --- Tiles ------------------------------------------------------------ */

.work-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.work-tile {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.work-tile__frame {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
}
.work-tile__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.work-tile__frame:hover img { transform: scale(1.03); }
.work-tile__frame > .bracket { opacity: 0; }
.work-tile__frame:hover > .bracket { opacity: 1; }

/* Badge showing how many screens are behind this tile */
.work-tile__count {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 20, 22, .8);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  z-index: 2;
}

.work-tile__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.work-tile__type {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: 6px;
}
.work-tile__title { font-size: 18px; font-weight: 600; line-height: 1.4; }
.work-tile__blurb { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 4px; }

.work-tile__link {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color .2s ease;
}
.work-tile__link:hover { color: var(--white); }

.work-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.work-tile__tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* --- Gallery breakpoints ---------------------------------------------- */

@media (max-width: 1199px) {
  .work-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 809px) {
  .work-tabs { width: 100%; }
  .work-tab { flex: 1; text-align: center; padding: 12px 10px; font-size: 12px; }
  .work-tiles { grid-template-columns: 1fr; gap: 32px; }
}

/* --------------------------------------------------------------------------
   Homepage featured grid

   Same tiles as the work pages, four across and stripped back so the two rows
   stay even. The doubled class beats the base .work-tiles rules whatever the
   source order. Generated by build-work.mjs.
   -------------------------------------------------------------------------- */

.work-tiles.work-tiles--home {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 20px;
}
.work-tiles--home .work-tile__blurb,
.work-tiles--home .work-tile__tags { display: none; }
.work-tiles--home .work-tile { gap: 14px; }
.work-tiles--home .work-tile__title { font-size: 16px; }
.work-tiles--home .work-tile__link { font-size: 11px; }

@media (max-width: 1199px) {
  /* Three across: drop the last two so the grid stays rectangular. */
  .work-tiles.work-tiles--home { grid-template-columns: repeat(3, 1fr); }
  .work-tiles--home .work-tile:nth-child(n + 7) { display: none; }
}

@media (max-width: 899px) {
  .work-tiles.work-tiles--home { grid-template-columns: repeat(2, 1fr); }
  .work-tiles--home .work-tile:nth-child(n + 7) { display: flex; }
}

@media (max-width: 560px) {
  .work-tiles.work-tiles--home { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   Case study pages (works/*.html)
   One shared, gallery-led template. Uses the tokens above — no new colors.
   ========================================================================== */

/* Breadcrumb back to the work listing */
.case-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s ease;
}
.case-back:hover { color: var(--white); }
.case-back svg { flex: none; }

/* --- Hero ------------------------------------------------------------- */

.case-hero { padding-bottom: 60px; }

.case-hero__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
}

.case-hero__tag {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}

.case-hero__title { font-size: 64px; font-weight: 600; line-height: 1.2; }
.case-hero__lede  { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 720px; }

/* Full-bleed lead image */
.case-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 640px;
  overflow: hidden;
  margin-bottom: 80px;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; }

/* --- Spec strip ------------------------------------------------------- */

.case-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 80px;
}

.case-spec {
  padding: 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-spec:last-child { border-right: 0; }

.case-spec__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.case-spec__value { font-size: 16px; line-height: 1.5; color: var(--white); }

/* --- Narrative blocks ------------------------------------------------- */

.case-block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.case-block__heading {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

.case-block__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 720px;
}
.case-block__body p { font-size: 18px; line-height: 1.7; color: var(--muted); }
.case-block__body strong { color: var(--white); font-weight: 600; }

.case-block__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-block__body li {
  display: flex;
  gap: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.case-block__body li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 1px;
  background: var(--muted);
  margin-top: 13px;
}

/* --- Gallery ---------------------------------------------------------- */

.case-gallery { padding-top: 80px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* A figure marked data-span="full" runs the whole width — use it for
   wide desktop screens; leave phone screens at the default half width. */
.gallery-item[data-span="full"] { grid-column: 1 / -1; }

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-item__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: zoom-in;
  display: block;
  width: 100%;
  padding: 0;
}
.gallery-item__frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.gallery-item__frame:hover img { transform: scale(1.02); }
.gallery-item__frame > .bracket { opacity: 0; }
.gallery-item__frame:hover > .bracket { opacity: 1; }

.gallery-item figcaption {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* --- Lightbox --------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 11, .95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox[data-open="true"] { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .12); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .12); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

.lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  max-width: 80%;
}

/* --- Next project ----------------------------------------------------- */

.case-next {
  border-top: 1px solid var(--line);
  display: block;
  padding: 64px var(--section-pad-x);
  transition: background-color .3s ease;
}
.case-next:hover { background: rgba(255, 255, 255, .02); }

.case-next__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.case-next__label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.case-next__title { font-size: 36px; font-weight: 600; line-height: 1.2; }

.case-next__arrow {
  flex: none;
  transition: transform .3s ease;
}
.case-next:hover .case-next__arrow { transform: translateX(8px); }

/* --- Case study breakpoints ------------------------------------------- */

@media (max-width: 1199px) {
  .case-hero__title { font-size: 48px; }
  .case-block { grid-template-columns: 200px 1fr; gap: 32px; }
}

@media (max-width: 809px) {
  .case-hero__title { font-size: 36px; }
  .case-hero__lede { font-size: 16px; }

  .case-cover { aspect-ratio: 3 / 2; margin-bottom: 48px; }

  .case-specs { grid-template-columns: 1fr; margin-bottom: 48px; }
  .case-spec { border-right: 0; border-bottom: 1px solid var(--line); }
  .case-spec:last-child { border-bottom: 0; }

  .case-block { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
  .case-block__body p { font-size: 16px; }

  .case-gallery { padding-top: 48px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }

  .lightbox { padding: 16px; }
  .lightbox__nav { width: 40px; height: 40px; top: auto; bottom: 16px; transform: none; }
  .lightbox__nav--prev { left: 16px; }
  .lightbox__nav--next { right: 16px; }
  .lightbox__caption { bottom: 68px; }

  .case-next { padding: 40px var(--section-pad-x); }
  .case-next__inner { gap: 16px; }
  .case-next__title { font-size: 24px; }
}
