/* ============================================
   ashwrk — single page site
   ============================================ */

:root {
  --onyx: #0A0A0A;
  --white: #FFFFFF;
  --blue: #3B82F6;
  --blue-soft: #60a5fa;
  --slate: #666666;
  --line: rgba(10, 10, 10, 0.08);
  --line-strong: rgba(10, 10, 10, 0.14);
  --line-light: rgba(255, 255, 255, 0.10);

  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: "ss01", "cv11";
  color: var(--onyx);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--onyx); color: var(--white);
  padding: 10px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

::selection { background: var(--blue); color: var(--white); }

/* ============================================
   WORDMARK + DOT
   ============================================ */

.wordmark {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 22px;
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
}
.wordmark--sm { font-size: 18px; }

.dot {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  background: var(--blue);
  border-radius: 50%;
  margin-left: 0.12em;
  margin-top: 0.18em;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55);
  animation: pulse 2.6s var(--ease) infinite;
}
.dot--lg { width: 0.22em; height: 0.22em; margin-top: 0.32em; }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* ============================================
   NAV
   ============================================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad-x);
  z-index: 50;
  transition: background-color .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav__links a {
  color: var(--onyx);
  opacity: 0.78;
  transition: opacity .2s var(--ease);
}
.nav__links a:hover { opacity: 1; }

/* aria-current dot under active link */
.nav__links a:not(.nav__cta) { position: relative; }
.nav__links a:not(.nav__cta)[aria-current="true"] { opacity: 1; }
.nav__links a:not(.nav__cta)[aria-current="true"]::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

.nav__cta {
  background: var(--onyx);
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 10px 16px;
  border-radius: 999px;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.nav__cta:hover { transform: translateY(-1px); background: #1a1a1a; }

/* Hamburger toggle */
.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 60;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.nav__toggle:hover { border-color: var(--onyx); }
.nav__toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--onyx);
  border-radius: 1px;
  transform-origin: center;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav__toggle[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: var(--white); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Drawer (mobile) */
@media (max-width: 760px) {
  .nav__toggle { display: inline-flex; }

  .nav__drawer {
    position: fixed;
    inset: 0;
    height: 100dvh;
    background: var(--onyx);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 90px 32px 48px;
    transform: translateX(100%);
    transition: transform .55s var(--ease);
    z-index: 55;
    pointer-events: none;
  }
  .nav__drawer.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }
  .nav__drawer a {
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.025em;
    padding: 12px 0;
    width: auto;
    transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), color .25s var(--ease);
  }
  .nav__drawer a:hover { color: var(--blue-soft); }

  .nav__drawer.is-open a { opacity: 0.92; transform: translateY(0); }
  .nav__drawer.is-open a:nth-child(1) { transition-delay: 180ms; }
  .nav__drawer.is-open a:nth-child(2) { transition-delay: 240ms; }
  .nav__drawer.is-open a:nth-child(3) { transition-delay: 300ms; }
  .nav__drawer.is-open a:nth-child(4) { transition-delay: 360ms; }
  .nav__drawer.is-open a:nth-child(5) { transition-delay: 420ms; }

  .nav__drawer .nav__cta {
    margin-top: 24px;
    padding: 14px 24px;
    background: var(--white);
    color: var(--onyx) !important;
    font-size: 17px;
    border-radius: 999px;
    align-self: flex-start;
  }
  .nav__drawer .nav__cta:hover { background: var(--blue); color: var(--white) !important; }

  /* Active dot indicator hidden inside drawer (the size doesn't suit) */
  .nav__drawer a:not(.nav__cta)[aria-current="true"]::after { display: none; }
}

/* Lock body scroll while drawer is open */
html.nav-locked,
html.nav-locked body { overflow: hidden; }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px var(--pad-x) 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  z-index: 0;
  opacity: 0.9;
}

.hero__glow {
  position: absolute;
  width: 720px; height: 720px;
  left: 60%; top: -10%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 60%);
  filter: blur(20px);
  z-index: 1;
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-120px, 80px); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--slate);
  margin: 0 0 28px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.hero__title {
  font-size: clamp(44px, 8vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 28px;
  max-width: 14ch;
}

/* Hero entrance: masked-line reveal + staggered fade-up */
.hero__line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em; /* avoid clipping descenders */
}
.hero__line-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: hero-rise 1.05s var(--ease-out) forwards;
  animation-delay: var(--hero-delay, 0ms);
  will-change: transform;
}
@keyframes hero-rise {
  to { transform: translateY(0); }
}

.hero-anim {
  opacity: 0;
  transform: translateY(14px);
  animation: hero-fade 0.9s var(--ease-out) forwards;
  animation-delay: var(--hero-delay, 0ms);
  will-change: opacity, transform;
}
@keyframes hero-fade {
  to { opacity: 1; transform: translateY(0); }
}

.grad {
  background: linear-gradient(100deg, var(--onyx) 0%, var(--blue) 55%, var(--onyx) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer {
  from { background-position: 0% 0%; }
  to   { background-position: 200% 0%; }
}

.hero__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--slate);
  max-width: 56ch;
  margin: 0 0 40px;
  line-height: 1.55;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
}

.hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: var(--slate);
}
.hero__meta strong { color: var(--onyx); font-weight: 600; }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 18px 28px; font-size: 16px; }

.btn--primary {
  background: var(--onyx);
  color: var(--white);
  box-shadow: 0 8px 24px -10px rgba(10, 10, 10, 0.45);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: #1a1a1a;
  box-shadow: 0 16px 36px -12px rgba(59, 130, 246, 0.45);
}
.btn--primary svg { transition: transform .25s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }

/* Magnetic — JS drives transform; the eased ease-out gives the springy return */
.magnetic {
  transition: transform .45s var(--ease-out), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.magnetic:hover { transform: none; } /* let JS own transform during hover */
.magnetic.btn--primary:hover { background: #1a1a1a; box-shadow: 0 16px 36px -12px rgba(59, 130, 246, 0.45); }
.magnetic.btn--primary svg { transition: transform .25s var(--ease); }
.magnetic.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--onyx);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--onyx);
  background: var(--onyx);
  color: var(--white);
}

/* ============================================
   STRIP / MARQUEE
   ============================================ */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  padding: 22px 0;
}
.strip__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--onyx);
  white-space: nowrap;
}
.strip__track span { display: inline-block; }
.strip__dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS / SHARED
   ============================================ */

.section {
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}
.section--dark {
  max-width: none;
  background: var(--onyx);
  color: var(--white);
}
.section--dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section__head {
  max-width: 720px;
  margin-bottom: 64px;
}
.section__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 18px;
}
.section__kicker--light { color: rgba(255, 255, 255, 0.55); }

.section__title {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0 0 18px;
}
.section__title--light { color: var(--white); }

.section__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--slate);
  margin: 0;
  max-width: 60ch;
}
.section__lede--light { color: rgba(255, 255, 255, 0.66); }

/* ============================================
   SERVICES CARDS
   ============================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 920px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  background: var(--white);
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(140deg, transparent 30%, rgba(59, 130, 246, 0.35) 60%, transparent 90%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  border-radius: inherit;
  z-index: -1;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 60px -30px rgba(10, 10, 10, 0.18), 0 0 0 1px rgba(59, 130, 246, 0.18);
}
.card:hover::before { opacity: 1; }

.card--featured {
  background: var(--onyx);
  color: var(--white);
  border-color: var(--onyx);
}
.card--featured:hover { box-shadow: 0 30px 60px -22px rgba(59, 130, 246, 0.45); }

.card__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 28px;
  display: inline-block;
  transition: transform .35s var(--ease-out), letter-spacing .35s var(--ease-out);
  transform-origin: left center;
}
.card:hover .card__num { transform: scale(1.06); letter-spacing: 0.18em; }

.card h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  background-image: linear-gradient(110deg, currentColor 0%, currentColor 42%, var(--blue) 50%, currentColor 58%, currentColor 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: inherit;
  transition: background-position .95s var(--ease-out);
}
.card:hover h3 { background-position: -60% 0; }
.card--featured h3 {
  background-image: linear-gradient(110deg, var(--white) 0%, var(--white) 42%, var(--blue-soft) 50%, var(--white) 58%, var(--white) 100%);
}

.card p {
  margin: 0 0 24px;
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.6;
}
.card--featured p { color: rgba(255, 255, 255, 0.7); }

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.card--featured ul { border-top-color: var(--line-light); }
.card ul li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.card--featured ul li { border-bottom-color: var(--line-light); }
.card ul li:last-child { border-bottom: none; }
.card ul li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex: none;
}

/* ============================================
   PORTFOLIO
   ============================================ */

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .portfolio__grid { grid-template-columns: 1fr; } }

.proj {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  isolation: isolate;
  overflow: hidden;
}
.proj::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(140deg, transparent 30%, rgba(59, 130, 246, 0.35) 60%, transparent 90%);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
  z-index: -1;
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.proj:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 28px 56px -28px rgba(10, 10, 10, 0.18), 0 0 0 1px rgba(59, 130, 246, 0.18);
}
.proj:hover::before { opacity: 1; }

.proj--featured {
  background: var(--onyx);
  color: var(--white);
  border-color: var(--onyx);
}
.proj--featured:hover { box-shadow: 0 30px 60px -22px rgba(59, 130, 246, 0.45); }

.proj__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.proj__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.proj__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.proj--featured .proj__tag {
  color: rgba(255, 255, 255, 0.78);
  border-color: var(--line-light);
}

.proj__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  line-height: 1.2;
  background-image: linear-gradient(110deg, currentColor 0%, currentColor 42%, var(--blue) 50%, currentColor 58%, currentColor 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: inherit;
  transition: background-position .95s var(--ease-out);
}
.proj:hover .proj__title { background-position: -60% 0; }
.proj--featured .proj__title {
  background-image: linear-gradient(110deg, var(--white) 0%, var(--white) 42%, var(--blue-soft) 50%, var(--white) 58%, var(--white) 100%);
}

.proj__num {
  display: inline-block;
  transition: transform .35s var(--ease-out);
  transform-origin: left center;
}
.proj:hover .proj__num { transform: scale(1.08); }
.proj__desc {
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}
.proj--featured .proj__desc { color: rgba(255, 255, 255, 0.7); }

.proj__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: -0.005em;
}
.proj--featured .proj__foot {
  border-top-color: var(--line-light);
  color: rgba(255, 255, 255, 0.6);
}

.portfolio__note {
  text-align: center;
  margin: 36px 0 0;
  color: var(--slate);
  font-size: 14px;
}

/* ============================================
   CLIENTS
   ============================================ */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

.quote {
  position: relative;
  margin: 0;
  padding: 36px 32px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .4s var(--ease);
}
.quote:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.quote__tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  padding: 5px 10px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
}

.quote__body { margin: 0; }
.quote__body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: -0.005em;
}

.quote__cite {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 20px;
  margin-top: auto;
  border-top: 1px solid var(--line-light);
  font-style: normal;
}
.quote__role {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.quote__org {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.005em;
}

.clients__note {
  text-align: center;
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

/* ============================================
   FOUNDER
   ============================================ */

.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 920px) {
  .founder__grid { grid-template-columns: 1fr; }
}

.founder__media {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (max-width: 920px) {
  .founder__media { position: static; }
}

.founder__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--onyx);
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(10, 10, 10, 0.35);
  isolation: isolate;
}
.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--line-strong);
  pointer-events: none;
}

.founder__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--onyx);
}
.founder__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}

.founder__body .section__kicker { margin-bottom: 16px; }
.founder__body .section__title { margin-bottom: 28px; }

.founder__lede {
  font-size: clamp(18px, 1.6vw, 22px);
  margin: 0 0 28px;
  color: var(--onyx);
  font-weight: 500;
}

.founder__copy p {
  font-size: clamp(15.5px, 1.3vw, 17px);
  color: var(--slate);
  line-height: 1.7;
  margin: 0 0 18px;
}
.founder__copy strong { color: var(--onyx); font-weight: 600; }

/* Bullet list — punchy, numbered, scroll-cascading */
.founder__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.founder__bullet {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.founder__bullet:first-child { border-top: 1px solid var(--line); }

.founder__bullet-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
  flex: none;
  min-width: 36px;
  font-variant-numeric: tabular-nums;
  transition: transform .35s var(--ease-out);
  transform-origin: left center;
}
.founder__bullet:hover .founder__bullet-num { transform: scale(1.1); }

.founder__bullet p {
  margin: 0;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.45;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.founder__bullet p strong {
  color: var(--onyx);
  font-weight: 700;
}

.founder__stack {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.founder__stack-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 16px;
}
.founder__chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.founder__chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--onyx);
  background: var(--white);
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}
.founder__chips li:hover {
  border-color: var(--onyx);
  background: var(--onyx);
  color: var(--white);
  transform: translateY(-2px);
}

.founder__close {
  margin: 36px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--onyx);
}

/* ============================================
   CTA / CONTACT — dark, full-bleed sentence form
   ============================================ */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  inset: 0;
  max-width: none !important;
  margin: 0 !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.22), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(59, 130, 246, 0.18), transparent 55%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.cta > * { position: relative; z-index: 1; }

.cta__head {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}
.cta__head .section__kicker { display: inline-block; }

.cta__title {
  font-size: clamp(40px, 7vw, 88px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 14px 0 24px;
  color: var(--white);
}

.cta__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  margin: 0 auto;
  max-width: 56ch;
}
.cta__sub--light { color: rgba(255, 255, 255, 0.66); }

/* dark-context shimmer: colour stops shifted so it reads on dark */
.grad--dark {
  background: linear-gradient(100deg, #ffffff 0%, var(--blue-soft) 55%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta__alt {
  margin: 28px auto 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cta__alt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.cta__alt-link:hover { color: var(--blue-soft); border-color: var(--blue-soft); }
.cta__alt-link svg { transition: transform .25s var(--ease); }
.cta__alt-link:hover svg { transform: translateX(3px); }
.cta__alt-note {
  font-style: italic;
  opacity: 0.7;
}

/* ----- Sentence form ----- */
.sform {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.sform__sentence {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.6);
}
.sform__line {
  display: block;
  margin-bottom: 8px;
}

/* The "blank" — wraps an input/select with an underline */
.blank {
  display: inline-block;
  position: relative;
  vertical-align: baseline;
}

.blank input,
.blank select {
  font: inherit;
  color: var(--white);
  background: transparent;
  border: 0;
  padding: 0 4px 4px;
  margin: 0;
  outline: none;
  border-bottom: 2px solid rgba(59, 130, 246, 0.45);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .25s var(--ease), color .25s var(--ease);
  letter-spacing: inherit;
  font-weight: inherit;
  cursor: pointer;
  min-width: 0;
}

.blank input { width: auto; }
.blank input::placeholder {
  color: rgba(255, 255, 255, 0.32);
  font-weight: inherit;
}

.blank input:hover,
.blank select:hover { border-bottom-color: rgba(59, 130, 246, 0.85); }

.blank input:focus,
.blank select:focus {
  border-bottom-color: var(--blue);
  color: var(--white);
}

.blank input:not(:placeholder-shown) { color: var(--white); }

/* Make required selects show their value once chosen */
.blank select:required:invalid { color: rgba(255, 255, 255, 0.32); }
.blank select option { color: var(--onyx); background: var(--white); }

/* Tiny chevron after each select-blank */
.blank--select::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 6px;
  margin-left: -2px;
  vertical-align: 0.25em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%2360a5fa' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  pointer-events: none;
  transition: transform .25s var(--ease);
}
.blank--select:hover::after,
.blank--select:focus-within::after { transform: translateY(2px); }

/* Soft pulse under the focused blank */
.blank input:focus,
.blank select:focus {
  box-shadow: 0 4px 12px -8px rgba(59, 130, 246, 0.8);
}

/* Invalid state on submit */
.sform.is-invalid .blank input:invalid,
.sform.is-invalid .blank select:invalid {
  border-bottom-color: #ef4444;
}

/* Brief textarea */
.sform__brief {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sform__brief-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.sform__brief textarea {
  font: inherit;
  font-size: 16px;
  line-height: 1.55;
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  width: 100%;
  resize: vertical;
  min-height: 120px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.sform__brief textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.sform__brief textarea:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.045); }
.sform__brief textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}
.sform.is-invalid .sform__brief textarea:invalid {
  border-color: #ef4444;
}

/* Submit + footnote row */
.sform__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.sform__foot .btn--primary {
  background: var(--white);
  color: var(--onyx);
  box-shadow: 0 16px 40px -12px rgba(59, 130, 246, 0.45);
  border: 0;
}
.sform__foot .btn--primary:hover {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 22px 50px -10px rgba(59, 130, 246, 0.6);
}
.sform__note {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Success state — replaces the form contents on submit */
.sform__success {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  color: var(--white);
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.sform__success-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: 18px;
  box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.55);
  animation: pulse 2.6s var(--ease) infinite;
}
.sform__success h3 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
}
.sform__success p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.55;
  max-width: 48ch;
  margin-inline: auto;
}
.sform__success a {
  color: var(--blue-soft);
  border-bottom: 1px solid currentColor;
}

/* When form is sent, hide the body & show the success card */
.sform.is-sent > :not(.sform__success) { display: none !important; }
.sform.is-sent .sform__success { display: block; }

/* Mobile: tighten the sentence */
@media (max-width: 720px) {
  .sform { gap: 36px; }
  .sform__sentence { font-size: clamp(20px, 5.4vw, 26px); line-height: 1.5; }
  .sform__line { margin-bottom: 6px; }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--pad-x);
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--slate);
}
.footer__inner a:hover { color: var(--blue); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

.cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  html.has-cursor,
  html.has-cursor body,
  html.has-cursor a,
  html.has-cursor button,
  html.has-cursor input,
  html.has-cursor select,
  html.has-cursor textarea,
  html.has-cursor [role="button"],
  html.has-cursor label { cursor: none; }

  html.has-cursor .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: normal;
  }

  .cursor__dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    background: var(--onyx);
    transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0);
    transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background-color .25s var(--ease), opacity .25s var(--ease);
    filter: drop-shadow(0 6px 14px rgba(59, 130, 246, 0.32));
  }

  .cursor__ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 1.5px solid rgba(10, 10, 10, 0.5);
    border-radius: 50%;
    transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(var(--rs, 1));
    transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), opacity .3s var(--ease);
  }

  /* Hover over interactive elements */
  .cursor.is-hot .cursor__dot {
    width: 0;
    height: 0;
    margin: 0;
    background: var(--blue);
    opacity: 0;
  }
  .cursor.is-hot .cursor__ring {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-color: rgba(59, 130, 246, 0.7);
    background: rgba(59, 130, 246, 0.10);
  }

  /* Hover over text content (subtle I-beam-ish hint) */
  .cursor.is-text .cursor__dot {
    width: 2px;
    height: 22px;
    margin: -11px 0 0 -1px;
    border-radius: 1px;
    background: var(--onyx);
    filter: none;
  }
  .cursor.is-text .cursor__ring { opacity: 0; }

  /* Click pulse */
  .cursor.is-press .cursor__ring {
    animation: cursor-press 0.45s var(--ease);
  }
  @keyframes cursor-press {
    0%   { transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(var(--rs, 1)); }
    40%  { transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(0.7); }
    100% { transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) scale(var(--rs, 1)); }
  }

  /* Off-screen / hidden */
  .cursor.is-hidden .cursor__dot,
  .cursor.is-hidden .cursor__ring { opacity: 0; }
}

/* On dark sections, invert ring colour for visibility */
.cursor.on-dark .cursor__dot { background: var(--white); filter: drop-shadow(0 6px 14px rgba(59, 130, 246, 0.55)); }
.cursor.on-dark .cursor__ring { border-color: rgba(255, 255, 255, 0.35); }
.cursor.on-dark.is-text .cursor__dot { background: var(--white); }

/* ============================================
   SCROLL PROGRESS
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.scroll-progress.is-active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .cursor { display: none !important; }
  html, html body, html a, html button { cursor: auto !important; }
}
