/* DesignedByAli — static build
   Breakpoints: desktop ≥1200 · tablet 810–1199 · phone ≤809 */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Bricolage Grotesque Variable";
  src: url("../fonts/bricolage-grotesque-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
/* Metric-matched fallbacks so text doesn't jump while the webfonts load */
@font-face {
  font-family: "Hanken Grotesk Placeholder";
  src: local("Arial");
  ascent-override: 98.46%;
  descent-override: 29.83%;
  line-gap-override: 0%;
  size-adjust: 101.56%;
}
@font-face {
  font-family: "Bricolage Grotesque Variable Placeholder";
  src: local("Arial");
  ascent-override: 87.18%;
  descent-override: 25.31%;
  line-gap-override: 0%;
  size-adjust: 106.68%;
}
@font-face {
  font-family: "JetBrains Mono Placeholder";
  src: local("Arial");
  ascent-override: 77.57%;
  descent-override: 22.82%;
  line-gap-override: 0%;
  size-adjust: 131.49%;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #f4f4f4;
  --ink: #1c1c1c;
  --ink-soft: #262626;
  --muted: #6b6b6b;
  --card: #ffffff;
  --blue: #1e54ff;
  --blue-bright: #4d77ff;
  --blue-deep: #143fcc;
  --live: #3ad08a;
  --error: #d93f3f;
  --line: rgba(28, 28, 28, 0.12);
  --line-dark: rgba(244, 244, 244, 0.14);
  --mist: rgba(244, 244, 244, 0.64);
  --hairline: rgba(127, 127, 127, 0.22);

  --f-display: "Bricolage Grotesque Variable", "Bricolage Grotesque Variable Placeholder", sans-serif;
  --f-body: "Hanken Grotesk", "Hanken Grotesk Placeholder", sans-serif;
  --f-mono: "JetBrains Mono", "JetBrains Mono Placeholder", sans-serif;
  --ffs: "blwf", "cv03", "cv04", "cv09", "cv11";
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, figure, blockquote, ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
/* Clips stray horizontal overflow (like Framer's page frame) without
   creating a scroll container, so the sticky chapters keep working */
.page {
  overflow-x: clip;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 600 15px/1 var(--f-body);
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus {
  transform: none;
}

/* Hairline borders drawn on top, like Framer's: they take no layout space */
.bd::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--bd, var(--line));
  border-radius: inherit;
  pointer-events: none;
}

/* Icons: <svg class="icon"><use href="#i-…"/></svg>
   fill-opacity and stroke-width inherit into the sprite paths */
.icon {
  display: block;
  flex: none;
  overflow: visible;
  fill-opacity: 0;
  stroke-width: 1.5;
}

/* ---------- Text styles ---------- */
.t-display,
.t-h2,
.t-h3,
.t-h4,
.t-quote {
  font-family: var(--f-display);
  font-weight: 400;
  font-style: normal;
  font-feature-settings: var(--ffs);
}
.t-display {
  font-size: 112px;
  line-height: 0.95em;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 96, "wght" 700;
}
.t-h2 {
  font-size: 60px;
  line-height: 1em;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 72, "wght" 640;
}
.t-h3 {
  font-size: 44px;
  line-height: 1em;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 40, "wght" 620;
}
.t-h4 {
  font-size: 22px;
  line-height: 1.2em;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 24, "wght" 600;
}
.t-quote {
  font-size: 21px;
  line-height: 1.3em;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 24, "wght" 520;
}
.t-body-lg,
.t-body,
.t-body-sm,
.t-strong,
.t-button,
.t-nav {
  font-family: var(--f-body);
  font-style: normal;
  font-feature-settings: var(--ffs);
}
.t-body-lg {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55em;
  color: var(--muted);
}
.t-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
}
.t-body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55em;
}
.t-strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4em;
  letter-spacing: -0.005em;
}
.t-button {
  font-size: 15px;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.t-nav {
  font-size: 14px;
  font-weight: 500;
  line-height: 1em;
  white-space: nowrap;
}
.t-label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.3em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-feature-settings: var(--ffs);
  white-space: nowrap;
}
.balance {
  text-wrap: balance;
}
.wordmark {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1em;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 24, "wght" 620;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark span {
  color: #9a9a9a;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  border-radius: 999px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-deep);
}
.btn--secondary {
  background: var(--card);
  color: var(--ink);
}
.btn--secondary::after {
  transition: border-color 0.35s var(--ease);
}
.btn--secondary:hover::after {
  border-color: var(--ink);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
}
.eyebrow__line {
  width: 28px;
  height: 1px;
  flex: none;
  background: currentColor;
}
.eyebrow__ring {
  position: relative;
  width: 14px;
  height: 14px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(30, 84, 255, 0.08);
  --bd: rgba(30, 84, 255, 0.35);
}
.eyebrow__ring::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}
.eyebrow--dark {
  color: var(--blue-bright);
}
.eyebrow--dark .eyebrow__ring {
  background: rgba(77, 119, 255, 0.12);
  --bd: rgba(77, 119, 255, 0.45);
}

/* ---------- Stars ---------- */
.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--blue);
}
.stars .icon {
  width: 14px;
  height: 14px;
  fill-opacity: 1;
}

/* ---------- Live dot ---------- */
.live-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 999px;
  background: var(--live);
  animation: pulse 1.2s ease-in-out infinite alternate;
}
@keyframes pulse {
  from { opacity: 1; }
  to { opacity: 0.35; }
}

/* ---------- Nav ---------- */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  display: flex;
  justify-content: center;
  padding: 16px 40px 0;
  pointer-events: none;
}
.nav {
  position: relative;
  width: 100%;
  max-width: 1180px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 7px 7px 16px;
  border-radius: 999px;
  background: var(--card);
  pointer-events: auto;
}
.nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.nav__toggle {
  display: none;
}
.nav__drawer-inner {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  display: block;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.nav__links a:hover {
  color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 150px 40px 120px;
}
.livegrid {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.livegrid canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 42%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 72% at 50% 42%, #000 30%, transparent 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  will-change: transform;
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.appear {
  animation: appear 0.9s var(--ease) 0.1s both;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero h1 {
  width: 100%;
  color: var(--ink);
}
.hero h1 span {
  color: var(--blue);
}
.hero__sub {
  max-width: 620px;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 4px;
}
.trust__avatars {
  position: relative;
  width: 100px;
  height: 34px;
  flex: none;
}
.trust__avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  --bd: var(--paper);
}
.trust__avatar::after {
  border-width: 2px;
}
.trust__avatar:nth-child(2) { left: 22px; }
.trust__avatar:nth-child(3) { left: 44px; }
.trust__avatar:nth-child(4) { left: 66px; }
.trust__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rating {
  display: flex;
  will-change: transform;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.rating:hover {
  opacity: 0.75;
  transform: scale(1.03);
}
.hero__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(40px, calc((100% - 1180px) / 2));
  color: var(--muted);
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll .icon {
  will-change: transform;
  width: 14px;
  height: 14px;
  stroke-width: 2;
  animation: bob 1.1s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
}
@keyframes bob {
  from { transform: translateY(0); }
  to { transform: translateY(4px); }
}

/* ---------- Work (case chapters) ---------- */
.work {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 40px 120px;
}
.chapters {
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.chapter {
  position: sticky;
  top: 96px;
  height: 82vh;
  min-height: 640px;
  max-height: 780px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 44px;
  border-radius: 32px;
  background: var(--bg);
  color: var(--text);
  overflow: clip;
  --bd: var(--hairline);
}
.chapter--mac {
  --bg: #0e110c;
  --text: #eef0e6;
  --accent: #7ac13f;
  --muted-c: rgba(238, 240, 230, 0.62);
  --surface: #161b12;
}
.chapter--collarworks {
  --bg: #0c2340;
  --text: #f6f8fb;
  --accent: #f5a31c;
  --muted-c: rgba(246, 248, 251, 0.64);
  --surface: #123256;
}
.chapter--smsback {
  --bg: #2156f3;
  --text: #ffffff;
  --accent: #dce7ff;
  --muted-c: rgba(255, 255, 255, 0.86);
  --surface: #1a47d6;
}
.chapter--equityroot {
  --bg: #e9e3d6;
  --text: #0d1f38;
  --accent: #7a5c1e;
  --muted-c: #3f4e62;
  --surface: #f4f1ea;
}
.chapter--lapis {
  --bg: #0d1150;
  --text: #efeeff;
  --accent: #a7a1ff;
  --muted-c: rgba(239, 238, 255, 0.64);
  --surface: #161c6b;
}
.chapter__top {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 52px;
}
.chapter__info {
  position: relative;
  width: 390px;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chapter__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.chapter__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.chapter__num {
  color: var(--accent);
}
.chapter__kind {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  --bd: rgba(127, 127, 127, 0.3);
}
.chapter__industry {
  color: var(--muted-c);
}
.story {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}
.story__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 14px;
}
.story__item::after {
  border-width: 1px 0 0;
}
.story__item .t-label {
  color: var(--accent);
  white-space: normal;
}
.chapter__outro {
  display: flex;
}
.visit {
  display: inline-flex;
  will-change: transform;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
}
.visit .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.chapter__media {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.composition {
  position: relative;
  width: 100%;
  aspect-ratio: 1.32;
}
.browser {
  position: absolute;
  top: 0;
  left: 0;
  width: 91%;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: var(--surface);
  overflow: clip;
}
.browser__bar {
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
}
.browser__dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 999px;
  background: rgba(127, 127, 127, 0.35);
}
.browser__url {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted-c);
}
.browser__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1.6;
  overflow: clip;
}
.browser__screen picture,
.phone__screen picture,
.portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}
.browser__screen img,
.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 174px;
  height: 364px;
  display: flex;
  flex-direction: column;
  padding: 6px;
  border-radius: 34px;
  background: #0a0a0a;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.6);
  overflow: clip;
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: clip;
}

/* ---------- Reviews ---------- */
.reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 40px;
}
.reviews__inner {
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.reviews__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.reviews__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.reviews__title .t-h2 {
  white-space: nowrap;
}
.badge {
  position: relative;
  display: inline-flex;
  will-change: transform;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  white-space: nowrap;
  transition: transform 0.25s var(--ease);
}
.badge:hover {
  transform: translateY(-2px) scale(1.03);
}
.badge .stars .icon {
  width: 13px;
  height: 13px;
}
.badge > .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.review-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: 24px;
  background: var(--card);
}
.review__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review__pull {
  color: var(--ink);
}
.review__text {
  color: var(--muted);
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
}
.review__avatar {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 999px;
  object-fit: cover;
}
.review__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.review__name {
  color: var(--ink);
}
.review__company {
  color: var(--muted);
}
.review--dark {
  background: var(--ink);
}
.review--dark .stars {
  color: var(--blue-bright);
}
.review--dark .review__pull,
.review--dark .review__name {
  color: var(--paper);
}
.review--dark .review__text,
.review--dark .review__company {
  color: rgba(244, 244, 244, 0.66);
}

/* ---------- About ---------- */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 40px 140px;
}
.about__inner {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  gap: 72px;
}
.portrait {
  position: relative;
  will-change: transform;
  width: 500px;
  height: 560px;
  flex: none;
  border-radius: 28px;
  overflow: clip;
}
.portrait picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.js .reveal {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
.portrait__pill {
  position: absolute;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.portrait__pill--avail {
  top: 18px;
  padding: 9px 14px;
  background: var(--card);
  color: var(--ink);
}
.portrait__pill--tag {
  bottom: 18px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
}
.about__story {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.about__story .t-h2 {
  width: 100%;
}
.facts {
  width: 100%;
  display: flex;
  gap: 12px;
  padding-top: 8px;
}
.fact {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--card);
}
.fact .t-label {
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 128px 40px 96px;
  background: var(--ink);
}
.contact__inner {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: flex-start;
  gap: 72px;
}
.contact__pitch {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.contact__pitch .t-h2 {
  width: 100%;
  color: var(--paper);
}
.contact__pitch .t-h2 span {
  color: var(--blue-bright);
}
.contact__pitch .t-body-lg {
  color: var(--mist);
}
.contact__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 8px;
}
.contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}
.contact__row .t-body-lg {
  color: var(--paper);
}
.contact__row .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
  color: var(--blue-bright);
}
.link-dark {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--line-dark);
  text-underline-offset: 4px;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}
.link-dark:hover {
  color: var(--blue-bright);
}
.contact__avail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 6px;
  color: var(--mist);
}

/* Form */
.form {
  position: relative;
  width: 520px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border-radius: 28px;
  background: var(--ink-soft);
  --bd: var(--line-dark);
}
.form__row {
  display: flex;
  gap: 14px;
}
.field {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field__label {
  color: rgba(244, 244, 244, 0.5);
}
.input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-dark);
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--paper);
  caret-color: var(--paper);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow 0.25s var(--ease);
}
.input::placeholder {
  color: rgba(244, 244, 244, 0.35);
  opacity: 1;
}
.input:focus,
.input:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 1px var(--blue-bright);
}
.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-dark), inset 0 0 0 60px var(--ink);
  transition: background-color 9999s ease-out 0s;
}
textarea.input {
  height: 150px;
  padding: 14px 16px;
  resize: none;
}
.select {
  position: relative;
  display: block;
}
.select .input {
  padding-right: 48px;
  cursor: pointer;
  text-overflow: ellipsis;
}
.select .input option {
  color: #000;
}
.select .icon {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  color: rgba(244, 244, 244, 0.6);
  pointer-events: none;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 51px;
  padding: 17px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.submit:hover {
  background: var(--blue-deep);
}
.submit .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}
.submit__check {
  display: none;
}
.submit[data-state="loading"] {
  background: var(--blue-deep);
  cursor: progress;
}
.submit[data-state="success"] {
  background: var(--live);
  color: var(--ink);
}
.submit[data-state="error"] {
  background: var(--error);
}
.submit[data-state="loading"] .submit__plane,
.submit[data-state="success"] .submit__plane,
.submit[data-state="error"] .submit__plane {
  display: none;
}
.submit[data-state="success"] .submit__check {
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px 36px;
  background: var(--ink);
}
.footer__inner {
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.footer__divider {
  height: 1px;
  background: var(--line-dark);
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lockup__mark {
  position: relative;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  overflow: clip;
  --bd: rgba(244, 244, 244, 0.16);
}
.lockup__mark img {
  width: 100%;
  height: 100%;
}
.wordmark--footer {
  font-size: 26px;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 32, "wght" 620;
  color: var(--paper);
}
.wordmark--footer span {
  color: rgba(244, 244, 244, 0.5);
}
.footer__tagline {
  width: 320px;
  color: var(--mist);
}
.footer__cols {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer__col .t-label {
  color: rgba(244, 244, 244, 0.42);
}
.footer__col a {
  color: var(--mist);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.footer__col a:hover {
  color: var(--paper);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy {
  color: rgba(244, 244, 244, 0.42);
}
.totop {
  display: flex;
  will-change: transform;
  align-items: center;
  gap: 8px;
  color: var(--mist);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.totop:hover {
  opacity: 0.7;
  transform: scale(1.1);
}
.totop .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

/* =========================================================
   Tablet · 810–1199
   ========================================================= */
@media (max-width: 1199.98px) {
  .t-display { font-size: 84px; }
  .t-h2 { font-size: 48px; }
  .t-h3 { font-size: 36px; }
  .t-h4 { font-size: 20px; }
  .t-quote { font-size: 20px; }
  .t-body-lg { font-size: 18px; }

  .nav-wrap { padding: 14px 32px 0; }

  .hero { padding: 140px 32px 110px; }
  .hero__bottom { padding: 0 32px; }

  .work { padding: 8px 32px 96px; }
  .chapters { gap: 24px; }
  .chapter {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    border-radius: 28px;
  }
  .chapter__top {
    flex-direction: column;
    gap: 32px;
  }
  .chapter__info {
    width: 100%;
    justify-content: flex-start;
    gap: 28px;
  }
  .chapter__media { width: 100%; }
  .composition { aspect-ratio: 1.5; }
  .phone {
    width: 150px;
    height: 314px;
    border-radius: 30px;
  }

  .reviews { padding: 104px 32px; }
  .review-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about { padding: 24px 32px 120px; }
  .about__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }
  .portrait {
    width: 100%;
    height: 520px;
  }
  .about__story { width: 100%; }

  .contact { padding: 112px 32px 88px; }
  .contact__inner {
    flex-direction: column;
    gap: 48px;
  }
  .contact__pitch { width: 100%; }
  .form { width: 100%; }

  .footer { padding: 0 32px 36px; }
  .footer__cols { gap: 56px; }
}

/* =========================================================
   Phone · ≤809
   ========================================================= */
@media (max-width: 809.98px) {
  .t-display {
    font-size: 54px;
    letter-spacing: -0.035em;
  }
  .t-h2 { font-size: 38px; }
  .t-h3 { font-size: 30px; }
  .t-h4 { font-size: 19px; }
  .t-quote { font-size: 19px; }
  .t-body-lg { font-size: 17px; }
  .t-body { font-size: 15px; }
  .t-label { font-size: 11px; }
  .t-nav { font-size: 16px; }

  /* Nav becomes a pill with a menu drawer */
  .nav-wrap { padding: 12px 20px 0; }
  .nav {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 7px 7px 7px 14px;
    border-radius: 31px;
    overflow: hidden;
  }
  .nav__top { width: 100%; }
  .nav__toggle {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    flex: none;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--paper);
    cursor: pointer;
  }
  .nav__toggle span {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: top 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .nav__toggle span:first-child { top: 16px; }
  .nav__toggle span:last-child { top: 24px; }
  .nav.is-open .nav__toggle span:first-child {
    top: 20px;
    transform: rotate(45deg);
  }
  .nav.is-open .nav__toggle span:last-child {
    top: 20px;
    transform: rotate(-45deg);
  }
  .nav__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.45s var(--ease), visibility 0s linear 0.45s;
    visibility: hidden;
  }
  .nav.is-open .nav__panel {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 0.45s var(--ease), visibility 0s;
  }
  .nav__drawer {
    min-height: 0;
    overflow: hidden;
  }
  .nav__drawer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 26px 7px 20px 2px;
  }
  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .hero { padding: 124px 20px 110px; }
  .hero__content { gap: 24px; }
  .hero__actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero__bottom { padding: 0 20px; }
  .hero__count { display: none; }

  .work { padding: 4px 20px 72px; }
  .chapters { gap: 14px; }
  .chapter { border-radius: 24px; }
  .chapter__top { gap: 26px; }
  .chapter__info { gap: 22px; }
  .story { gap: 18px; }
  .composition { aspect-ratio: 1.25; }
  .browser {
    width: 88%;
    border-radius: 14px;
  }
  .phone {
    width: 92px;
    height: 194px;
    padding: 4px;
    border-radius: 20px;
  }
  .phone__screen { border-radius: 16px; }

  .reviews { padding: 88px 20px; }
  .reviews__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .reviews__title .t-h2 { white-space: normal; }
  .review-wall {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .review { padding: 24px; }

  .about { padding: 8px 20px 96px; }
  .about__inner { gap: 36px; }
  .portrait {
    height: 420px;
    border-radius: 24px;
  }
  .about__story { gap: 20px; }
  .facts {
    flex-direction: column;
    gap: 10px;
  }
  .fact { width: 100%; }

  .contact { padding: 96px 20px 72px; }
  .contact__inner { gap: 44px; }
  .form {
    padding: 22px;
    border-radius: 24px;
  }
  .form__row {
    flex-direction: column;
    gap: 18px;
  }

  .footer { padding: 0 20px 32px; }
  .footer__inner { gap: 44px; }
  .footer__top {
    flex-direction: column;
    gap: 44px;
  }
  .footer__tagline { width: 300px; max-width: 100%; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .appear,
  .hero__scroll .icon,
  .live-dot {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__panel,
  .nav__toggle span {
    transition: none;
  }
}
