@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope/Manrope-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

/* ==========================================================================
   Crayon Media - homepage styles
   Brand: charcoal #0E0F11 - soft white #FAF9F5 - accent blue #3B82F6
   Headings: Manrope - Body: Inter - Display accents: Fraunces
   ========================================================================== */

:root {
  --charcoal: #0E0F11;
  --cream: #FAF9F5;
  --field: #F1EEE8;
  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --blue-tint: rgba(59, 130, 246, 0.10);
  --white: #FFFFFF;
  --light-grey: #DBD2C7;
  --mid-grey: #6B6B6B;
  --star: #FBBC04;

  --font-head: "Manrope", sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;

  --shadow-soft: 0 1px 2px rgba(14, 15, 17, 0.04), 0 10px 30px rgba(14, 15, 17, 0.07);
  --shadow-lift: 0 2px 4px rgba(14, 15, 17, 0.05), 0 18px 44px rgba(14, 15, 17, 0.12);

  --container: 1400px;
  --nav-h: 60px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  overscroll-behavior-y: none;
  background: var(--charcoal);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}

/* Keep the browser canvas dark for iPhone Safari extended and overscroll edges.
   Light content areas opt into their own surface colour explicitly. */
.hero { background: var(--charcoal); }
.proof,
.section,
.cs-section { background: var(--cream); }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p, li { text-wrap: pretty; }

h1 { font-size: clamp(2.4rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.25rem; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -- Shared bits ------------------- */

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 16px;
}

.section { padding: 76px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin-top: 16px;
  color: var(--mid-grey);
}

.accent { color: var(--blue); }

/* glass - used sparingly: nav + hero chip only */
.glass {
  background: rgba(250, 249, 245, 0.74);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.32);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.38);
}

.btn--ghost {
  border-color: rgba(14, 15, 17, 0.18);
  color: var(--charcoal);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--charcoal);
  background: var(--white);
  transform: translateY(-2px);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
.btn--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn--sm { padding: 11px 20px; font-size: 0.9rem; }

/* inline text links with arrows */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue);
}
.link-arrow i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* -- Nav (floating glass pill) --------------- */

.nav {
  --nav-progress: 0;
  --nav-text-progress: 0;
  --nav-text-r: calc(255 + (14 - 255) * var(--nav-text-progress));
  --nav-text-g: calc(255 + (15 - 255) * var(--nav-text-progress));
  --nav-text-b: calc(255 + (17 - 255) * var(--nav-text-progress));
  --nav-link-opacity: calc(0.92 - (0.18 * var(--nav-text-progress)));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  pointer-events: none;
}

.nav__bar {
  position: relative;
  pointer-events: auto;
  max-width: 1240px;
  margin: 0 auto;
  height: 58px;
  padding: 0 12px 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 999px;
  color: rgb(var(--nav-text-r) var(--nav-text-g) var(--nav-text-b));
  background: rgba(255, 255, 255, calc(0.1 + (0.55 * var(--nav-progress))));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, calc(0.28 + (0.27 * var(--nav-progress))));
  box-shadow: 0 1px 2px rgba(14, 15, 17, calc(0.02 + (0.02 * var(--nav-progress)))),
              0 12px 30px rgba(14, 15, 17, calc(0.08 + (0.04 * var(--nav-progress))));
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}

.nav__logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: inherit;
  text-shadow: none;
  transition: color 0.35s var(--ease);
}
.nav__logo span {
  color: inherit;
  font-weight: 700;
}
.nav__logo--light { color: inherit; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}
.nav__links > a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: inherit;
  opacity: var(--nav-link-opacity);
  transition: opacity 0.25s var(--ease), color 0.35s var(--ease);
}
.nav__links > a:not(.btn):hover { opacity: 1; }

.nav__row { display: flex; align-items: center; }
.nav__secondary { display: flex; align-items: center; }
.nav__cta--mobile { display: none; }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: inherit;
}
.nav__burger {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}
.nav__burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav__burger span:nth-child(1) { top: 0; }
.nav__burger span:nth-child(2) { top: 6px; }
.nav__burger span:nth-child(3) { top: 12px; }
.nav--open .nav__burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

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

.hero { padding: 0; }

/* Full-bleed, full-screen immersive hero */
.hero .container { padding: 0; max-width: none; }

.hero__panel {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    92deg,
    rgba(7, 9, 15, 0.88) 0%,
    rgba(7, 9, 15, 0.62) 45%,
    rgba(7, 9, 15, 0.18) 75%,
    rgba(7, 9, 15, 0) 100%
  );
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 80px 72px;
  color: var(--white);
}
.hero__copy h1 { color: var(--white); }
.hero__headline-line {
  display: block;
  white-space: nowrap;
}
.hero__copy .eyebrow { color: #8AB6FA; }
.hero__copy .accent,
.why__heading-accent,
.offer__accent {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 1.178em;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.025em;
}
/* Keep the blue phrase on the same vertical rhythm as the white lines:
   the h1 is 1.15 line-height and this font is 1.178em, so
   1.15 / 1.178 ≈ 0.976 gives the same px baseline-to-baseline distance.
   Higher-specificity selector so it wins over `.hero__copy .accent`. */
.hero__copy .hero__rotating-phrase {
  display: block;
  min-height: 0.976em;
  margin-top: -0.035em;
  line-height: 0.976;
  white-space: nowrap;
}
.hero__phrase-word {
  display: inline-block;
  transition: opacity 0.36s ease;
}
.hero__phrase-word.has-space { margin-right: 0.22em; }
.hero__phrase-word.is-changing { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero__phrase-word { transition: none; }
}

.hero__sub {
  margin-top: 22px;
  max-width: 48ch;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero__inline-image {
  display: none;
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__proof {
  margin-top: 26px;
  max-width: 46ch;
}
.hero__proof .stars { font-size: 0.95rem; letter-spacing: 2px; }
.hero__proof blockquote {
  margin: 5px 0 0;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}
.hero__proof figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
}

/* small avatar used beside the dotted review quotes */
.quote-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: visible;
  object-fit: cover;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* star rating - Google-style amber */
.stars {
  display: inline-block;
  color: var(--star);
  line-height: 1;
  letter-spacing: 1px;
  transform: translateY(2px);
}

.hero__chip {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 2px rgba(14, 15, 17, 0.02), 0 12px 30px rgba(14, 15, 17, 0.08);
}
.hero__chip i { width: 20px; height: 20px; color: var(--white); flex-shrink: 0; }
.hero__chip strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.88rem;
  line-height: 1.3;
  color: var(--white);
}
.hero__chip span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.3;
}

/* -- Proof strip ------------------- */

.proof { padding: 48px 0 22px; }

.proof__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(14, 15, 17, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 28px;
}

.proof__list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.proof__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
}
.proof__icon i { width: 21px; height: 21px; }

.proof__list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.92rem;
  line-height: 1.35;
}
.proof__list li div > span {
  display: block;
  font-size: 0.8rem;
  color: var(--mid-grey);
  line-height: 1.4;
}

/* -- Cards (shared) ------------------- */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(14, 15, 17, 0.04);
  padding: 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue);
  margin-bottom: 22px;
}
.card__icon i { width: 24px; height: 24px; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--mid-grey); }

/* -- Grids ---------------------- */

.grid {
  display: grid;
  gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work__grid--featured { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work__grid--featured .work-card--hendrix { display: none; }

/* -- Why it matters (editorial) --------------- */

.why { padding-top: 26px; }

.why__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}
.why__text .eyebrow {
  margin-bottom: 14px;
  color: var(--mid-grey);
}
.why__lead {
  margin-top: 16px;
  color: var(--mid-grey);
  max-width: 46ch;
}
.why__points {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.why__points li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.why__icon {
  align-self: flex-start;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
}
.why__icon i { width: 22px; height: 22px; }
.why__points strong {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  line-height: 1.35;
}
.why__points p { font-size: 0.92rem; color: var(--mid-grey); }
.why__media {
  position: relative;
  height: clamp(420px, 46vw, 520px);
  overflow: visible;
}
.why__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* -- What we build (layered mockups + callouts) --------- */

.build__showcase {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
/* JS sizes and centres this design canvas. Desktop/tablet scale from its centre. */
.build__canvas {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: top left;
}
/* stack fills the canvas; layers + notes are positioned by JS (% of canvas) */
.build__stack { position: absolute; inset: 0; }
.build__layer { position: absolute; overflow: visible; background: transparent; }
.build__layer img { display: block; width: 100%; height: auto; }
.build__layer--a {
  --editor-outset-top: 3px;
  --editor-outset-right: 8px;
  --editor-outset-bottom: 3px;
  --editor-outset-left: 8px;
  z-index: 1;
}
.build__layer--c { z-index: 3; }
.build__layer--b {
  --editor-outset-top: 8px;
  --editor-outset-right: 3px;
  --editor-outset-bottom: 8px;
  --editor-outset-left: 3px;
  z-index: 2;
}

.build__note {
  position: absolute;
  z-index: 5;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  width: 300px;
}
.build__note-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
}
.build__note-icon i { width: 24px; height: 24px; }
.build__note h3 { font-size: 1.04rem; margin-bottom: 6px; }
.build__note p { font-size: 0.98rem; color: var(--mid-grey); line-height: 1.55; }
.build__note--google h3,
.build__note--phone h3,
.build__note--booking h3 {
  text-wrap: balance;
}
.build__note--google p,
.build__note--phone p,
.build__note--booking p {
  text-wrap: pretty;
}
/* note + layer positions are set inline by JS (initBuildLayout) per breakpoint */

/* Editor affordances - hidden temporarily by the #dev preview toggle. */
.build--editing:not(.build--preview) .build__canvas {
  outline: 2px solid rgba(14, 15, 17, 0.28);
  outline-offset: 0;
}
.build--editing:not(.build--preview) .build__note,
.build--editing:not(.build--preview) .build__layer {
  cursor: move;
}
.build--editing:not(.build--preview) .build__note {
  outline: 2px dashed rgba(59, 130, 246, 0.55);
  outline-offset: 8px;
}
.build--editing:not(.build--preview) .build__layer::after {
  content: "";
  position: absolute;
  z-index: 20;
  top: calc(-1 * var(--editor-outset-top, 3px));
  right: calc(-1 * var(--editor-outset-right, 3px));
  bottom: calc(-1 * var(--editor-outset-bottom, 3px));
  left: calc(-1 * var(--editor-outset-left, 3px));
  border: 2px dashed rgba(59, 130, 246, 0.55);
  pointer-events: none;
}

.build__connectors {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.build__connectors path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
  opacity: 0.78;
}

/* -- What we build - mobile zigzag flow -------------------
   <=767px swaps the desktop free-scatter (.build__showcase) for a numbered,
   alternating "zigzag" of the four features (.build__flow), matching the
   reference composition. The full styling lives in the mobile media queries
   at the foot of this file; it is hidden by default so desktop/tablet keep
   the scatter untouched. */
.build__flow { display: none; }

/* -- Free demo offer (white CTA) --------------------- */

.offer { padding: 24px 0; }

.offer__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--white);
  border: 1px solid rgba(14, 15, 17, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(14, 15, 17, 0.08);
  overflow: hidden;
}

/* Left column (white half) ------------------ */
.offer__copy {
  align-self: center;
  padding: 22px 36px;
}

.offer__copy h2 {
  max-width: 14ch;
  color: var(--charcoal);
}
.offer__accent {
  color: var(--blue);
  white-space: nowrap;
}
.offer__copy p {
  margin: 18px 0 30px;
  color: var(--mid-grey);
  max-width: 42ch;
}

.offer__btn {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.32);
}
.offer__btn:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.38);
}

.offer__trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.offer__avatars {
  display: flex;
  overflow: visible;
}
.offer__avatars img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  box-shadow: 0 2px 6px rgba(14, 15, 17, 0.12);
}
.offer__avatars img:not(:first-child) {
  margin-left: -14px;
}
.offer__avatars .offer__avatar--featured {
  border-radius: 0;
  object-fit: contain;
  overflow: visible;
  z-index: 4;
  box-shadow: none;
}
.offer__trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--mid-grey);
}
.offer__trust-text .stars {
  font-size: 0.95rem;
  letter-spacing: 2px;
  transform: none;
}

/* Right half (full gradient panel) -------- */
.offer__showcase {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 22px 32px;
  background:
    radial-gradient(120% 90% at 70% 0%, #ffffff 0%, transparent 60%),
    linear-gradient(160deg, #eaf1fd 0%, #d4e3fa 100%);
}
.offer__mockup-img {
  border-radius: var(--radius-sm);
  width: 80%;
}

.offer__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  margin-top: -48px;
  align-self: flex-start;
}
.offer__points li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(14, 15, 17, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--charcoal);
  box-shadow: 0 10px 26px rgba(14, 15, 17, 0.10);
}
.offer__points li > span:last-child:not(.offer__point-icon) {
  position: relative;
  display: block;
}
.offer__points small {
  position: absolute;
  top: calc(100% - 5px);
  left: 0;
  width: max-content;
  color: #6EA3F9;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
}
.offer__point-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-tint);
  flex-shrink: 0;
}
.offer__point-icon i {
  width: 18px;
  height: 18px;
  color: var(--blue);
}

/* -- Process ----------------------- */

.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.process__steps li { position: relative; }

/* connecting line between steps on desktop */
.process__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: calc(48px + 16px);
  width: calc(100% - 48px - 4px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(59, 130, 246, 0.35) 0 8px,
    transparent 8px 16px
  );
}

.process__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}

.process__steps h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process__steps p { font-size: 0.92rem; color: var(--mid-grey); }

/* -- Work ----------------------- */

.work-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(14, 15, 17, 0.05);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}
.work-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.work-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--white);
}
.work-card__img img {
  position: absolute;
  inset: clamp(20px, 2vw, 28px) 18px 8px;
  width: calc(100% - 36px);
  height: calc(100% - clamp(28px, 2vw + 8px, 36px));
  object-fit: contain;
  border-radius: var(--radius) var(--radius) 0 0;
  transition: transform 0.5s var(--ease);
}
.work-card:hover .work-card__img img { transform: scale(1.04); }

.work-card__meta {
  display: flex;
  flex: 1;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 24px 24px;
}
.work-card__meta h3 { font-size: 1.1rem; }
.work-card__tag {
  font-size: 0.8rem;
  color: var(--mid-grey);
  margin: 2px 0 10px;
}
.work-card__desc {
  max-width: 100%;
  overflow-wrap: anywhere;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.6;
}
.work-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.work-card__hint i {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}
.work-card:hover .work-card__hint i,
.work-card:focus-visible .work-card__hint i { transform: translateX(4px); }

.work__footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 28px;
}
.work__all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mid-grey);
  transition: color 0.25s var(--ease);
}
.work__all i { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.work__all:hover { color: var(--charcoal); }
.work__all:hover i { transform: translateX(4px); }
.work__all:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }

.projects-hero {
  padding: 150px 0 70px;
  background: var(--charcoal);
  color: var(--white);
}
.projects-hero h1 { margin-bottom: 16px; }
.projects-hero p { max-width: 54ch; color: rgba(255,255,255,0.72); font-size: 1.06rem; }
.projects-list { padding-top: 64px; }

/* -- Case studies ----------------------- */

.cs-hero { background: var(--charcoal); color: #fff; padding: 150px 0 88px; }
.cs-hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.cs-back { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.62); margin-bottom: 22px; transition: color 0.2s var(--ease); }
.cs-back:hover { color: #fff; }
.cs-back__arrow {
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}
.cs-hero .eyebrow { color: #8FB4FB; }
.cs-hero h1 { font-size: clamp(2.6rem, 5.5vw, 3.7rem); margin-bottom: 14px; }
.cs-meta { display: inline-flex; align-items: center; gap: 10px; color: var(--light-grey); font-family: var(--font-head); font-weight: 600; font-size: 0.96rem; margin-bottom: 20px; }
.cs-meta i { width: 18px; height: 18px; }
.cs-sub { color: rgba(255,255,255,0.78); font-size: 1.08rem; line-height: 1.7; max-width: 44ch; margin-bottom: 26px; }
.cs-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cs-shot {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}
.cs-shot img {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.cs-section { padding: 76px 0; }
.cs-narrow { max-width: 1180px; margin: 0 auto; }
.cs-narrow.cs-case-layout { max-width: 1180px; }
.cs-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--light-grey); border-bottom: 1px solid var(--light-grey); padding: 26px 0; margin-bottom: 56px; }
.cs-fact span { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mid-grey); margin-bottom: 6px; }
.cs-fact strong { font-family: var(--font-head); font-size: 1.04rem; }
.cs-block { margin-bottom: 52px; }
.cs-block:last-child { margin-bottom: 0; }
.cs-label { font-family: var(--font-head); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.cs-block h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.cs-block p { color: var(--mid-grey); font-size: 1.06rem; line-height: 1.75; max-width: 60ch; }
.cs-built { list-style: none; display: grid; gap: 14px; margin-top: 4px; }
.cs-built li { display: flex; gap: 12px; align-items: center; font-size: 1.04rem; line-height: 1.55; }
.cs-built li.is-multiline { align-items: flex-start; }
.cs-built li.is-multiline > i,
.cs-built li.is-multiline > svg { margin-top: 0.3em; }
.cs-built__text { display: block; min-width: 0; }
.cs-built i,
.cs-built svg {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  flex: 0 0 20px;
  margin-top: 0;
  color: var(--blue);
}
.cs-figure { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); background: var(--white); }
.cs-figure img { width: 100%; }
.cs-content-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr); gap: clamp(48px, 7vw, 88px); align-items: start; }
.cs-copy { min-width: 0; }
.cs-content-grid > .cs-figure {
  margin-top: 0;
  position: static;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}
.cs-content-grid > .cs-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.cs-content-grid > .cs-figure--mobile { max-width: 420px; width: 100%; justify-self: center; }
.cs-content-grid > .cs-figure--mobile img { object-fit: contain; }

.cs-media { display: grid; gap: 28px; align-content: start; }
.cs-block--collateral-mobile { display: none; }
.cs-media > .cs-figure {
  margin-top: 0;
  position: static;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}
.cs-media > .cs-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.cs-collateral__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-self: start;
}
.cs-collateral__grid figure {
  margin: 0;
}
.cs-collateral__grid img {
  display: block;
  width: 100%;
  height: auto;
}
.cs-collateral__grid figure:not(.cs-collateral__portrait) img {
  transform: scale(1.06);
  transform-origin: center;
}
.cs-collateral__portrait img {
  height: clamp(340px, 40vw, 440px);
  object-fit: contain;
}
.cs-collateral__grid figure.cs-collateral__business img { transform: scale(1.01); }
@media (max-width: 767px) {
  .cs-media { gap: 22px; }
  .cs-collateral__grid figure:not(.cs-collateral__portrait) img { transform: scale(1.03); }
  .cs-collateral__grid figure.cs-collateral__business img { transform: scale(0.98); }
}

.cs-cta { background: var(--blue); color: #fff; text-align: center; padding: 84px 0; }
.cs-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.cs-cta p { color: rgba(255,255,255,0.88); max-width: 50ch; margin: 0 auto 28px; }
.cs-cta .btn--primary {
  background: var(--white);
  color: var(--blue-dark);
  box-shadow: 0 8px 22px rgba(20, 63, 145, 0.24);
}
.cs-cta .btn--primary:hover {
  background: #f5f8ff;
  color: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(20, 63, 145, 0.3);
}

.other-work {
  padding: 82px 0;
  background: var(--charcoal);
  color: var(--white);
}
.other-work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 34px;
}
.other-work__head .eyebrow { color: #8FB4FB; }
.other-work__head h2 { margin-top: 8px; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.other-work__back { flex: 0 0 auto; margin: 8px 0 0; }
.other-work__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 991px) and (min-width: 768px) {
  .other-work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .other-work__grid .work-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 24px) / 2);
    justify-self: center;
  }
}
@media (max-width: 767px) {
  .other-work { padding: 64px 0; }
  .other-work__head { align-items: flex-end; margin-bottom: 28px; }
  .other-work__grid { grid-template-columns: 1fr; }
  .other-work__grid .work-card:last-child { width: 100%; }
}

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

.pricing__grid { align-items: start; }

.card--price { display: flex; flex-direction: column; position: relative; }

.pricing .card:hover,
.care .card:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
}

.pricing .card--featured:hover {
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.08), 0 18px 44px rgba(59, 130, 246, 0.16);
}

.card--featured {
  border: 1.5px solid var(--blue);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.08), 0 18px 44px rgba(59, 130, 246, 0.16);
}

.card .price__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.30);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.card .price__for {
  font-size: 0.9rem;
  color: var(--mid-grey);
  margin-top: 6px;
  min-height: 3.2em;
}

.card .price__amount {
  font-family: var(--font-head);
  margin: 14px 0 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.price__amount span,
.price__amount em {
  font-size: 0.85rem;
  font-weight: 500;
  font-style: normal;
  color: var(--mid-grey);
  letter-spacing: 0;
}
.price__amount strong {
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--charcoal);
  letter-spacing: -0.02em;
}
.price__amount del {
  font-size: 1rem;
  font-weight: 600;
  color: var(--mid-grey);
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(14, 15, 17, 0.55);
}

.price__list {
  list-style: none;
  margin: 14px 0 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 15, 17, 0.08);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.price__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}
.price__list i {
  width: 16px;
  height: 16px;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}

.price__btn {
  width: max-content;
  max-width: none;
  align-self: center;
  white-space: nowrap;
  margin-top: auto;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 6px 18px rgba(14, 15, 17, 0.06);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

.price__btn:hover {
  color: var(--blue-dark);
  background: rgba(239, 246, 255, 0.82);
  border-color: rgba(59, 130, 246, 0.48);
}

.card--featured .price__btn {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.32);
}

.card--featured .price__btn:hover {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.38);
}

.pricing__note {
  text-align: center;
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--mid-grey);
}

/* -- Hosting / care ---------------------- */

.card .care__amount {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-top: 6px;
}
.care__amount span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mid-grey);
}

/* -- FAQ ------------------------- */

.faq__list {
  max-width: 820px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 2px rgba(14, 15, 17, 0.04);
  border: 1px solid rgba(14, 15, 17, 0.05);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq__item:hover { box-shadow: var(--shadow-soft); border-color: rgba(14, 15, 17, 0.1); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 20px 24px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  width: 19px;
  height: 19px;
  color: var(--mid-grey);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.faq__item[open] summary i { transform: rotate(180deg); color: var(--blue); }

/* Answer wrapper slides open/closed via JS-driven height.
   :not([open]) keeps it collapsed as a no-JS fallback. */
.faq__answer {
  overflow: hidden;
  transition: height 0.35s var(--ease);
}
.faq__item:not([open]) .faq__answer { height: 0; }
.faq__item p {
  padding: 4px 24px 22px;
  font-size: 0.94rem;
  color: var(--mid-grey);
  max-width: 64ch;
}

/* -- Final CTA / apply form ------------------- */

.apply {
  background: var(--charcoal);
  color: var(--white);
}

.apply__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  max-width: 1180px;
}

.apply .eyebrow { color: #8AB6FA; }
.apply h2 { color: var(--white); max-width: 18ch; }
.apply__copy > p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 46ch;
}

.apply__points {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.apply__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85);
}
.apply__points li > span {
  display: flex;
  flex-direction: column;
}
.apply__points small {
  margin-top: 1px;
  color: #8AB6FA;
  font-size: 0.76rem;
  line-height: 1.3;
}
.apply__points i { width: 19px; height: 19px; color: #6EA3F9; flex-shrink: 0; margin-top: 4px; }
.apply__contact { margin-top: 26px; }
.apply__contact--mobile { display: none; }

.quote-inline {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  max-width: 42ch;
}
.quote-inline .stars {
  font-size: 0.9rem;
  letter-spacing: 2px;
  transform: translateY(2px);
}
.quote-inline blockquote {
  margin: 5px 0 0;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.quote-inline figcaption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}
.quote-inline img.quote-avatar {
  width: 36px;
  height: 36px;
  border-radius: 0;
  object-fit: contain;
}

.apply__form {
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.apply__form-column { min-width: 0; }
.form__privacy {
  margin-top: 6px;
  text-align: center;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.4;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__field { margin-bottom: 18px; }
.form__field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
}
.form__field label span { color: var(--mid-grey); font-weight: 400; }

.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--field);
  border: 1.5px solid transparent;
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #A8A095; }
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--blue);
  background-color: var(--white);
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 42px;
}

.form__submit { flex: 1; }

.form__note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--mid-grey);
}

/* -- Multi-step form ------------- */
.form__progress { margin-bottom: 26px; }
.form__progress-track {
  height: 6px;
  border-radius: 999px;
  background: var(--field);
  overflow: hidden;
}
.form__progress-bar {
  display: block;
  height: 100%;
  width: 33.333%;
  border-radius: 999px;
  background: var(--blue);
  transition: width 0.35s var(--ease);
}
.form__progress-label {
  margin-top: 9px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--mid-grey);
}

.form__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__step[hidden] { display: none; }
.form__step-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.25;
  color: var(--charcoal);
  padding: 0;
}
.form__step-sub {
  margin: 8px 0 22px;
  font-size: 0.92rem;
  color: var(--mid-grey);
}

.form__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.chip {
  position: relative;
  cursor: pointer;
}
.chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.chip span {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(14, 15, 17, 0.16);
  background: var(--field);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.chip:hover span { border-color: var(--charcoal); }
.chip input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.form__nav {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}
.form__nav .form__next { flex: 1; }
.form__back { flex: 0 0 auto; }

.apply__success {
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.apply__success i {
  width: 44px;
  height: 44px;
  color: var(--blue);
  margin-bottom: 16px;
}
.apply__success p {
  margin-top: 10px;
  color: var(--mid-grey);
  max-width: 38ch;
  margin-inline: auto;
}

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

.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 36px;
  padding-bottom: 36px;
}

.footer__nav {
  display: flex;
  gap: 28px;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer__nav a,
.footer__mail,
.footer__phone {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s var(--ease);
}
.footer__nav a:hover,
.footer__mail:hover,
.footer__phone:hover { color: var(--white); }

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__base a {
  color: #6EA3F9;
  font-weight: 500;
  transition: color 0.25s var(--ease);
}
.footer__base a:hover { color: #8AB6FA; }

/* -- Reveal animation ------------------ */
/* Uses a one-off animation (not transition) so component hover transitions
   stay smooth after the element has revealed. */

.reveal { opacity: 0; }
.reveal.is-visible {
  opacity: 1;
  animation: rise 0.7s var(--ease) backwards;
}
.reveal[data-delay="1"].is-visible { animation-delay: 0.1s; }
.reveal[data-delay="2"].is-visible { animation-delay: 0.2s; }
.reveal[data-delay="3"].is-visible { animation-delay: 0.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; }
  .reveal.is-visible { animation: none; }
  .btn, .card, .work-card, .nav__links { transition: none; }
  .faq__answer { transition: none; }
  .faq__item[open] .faq__answer { height: auto; }
}

/* ========================================================================== 
   Responsive
   Webflow-style views:
   Desktop >=992px - Tablet 768-991px - Mobile Landscape 480-767px
   - Mobile Portrait <=479px
   ========================================================================== */

@media (max-width: 860px) {
  .cs-hero { padding: 128px 0 60px; }
  .cs-hero .container { grid-template-columns: 1fr; gap: 36px; }
  .cs-facts { grid-template-columns: 1fr; gap: 18px; text-align: left; }
  .cs-content-grid { grid-template-columns: 1fr; gap: 40px; }
  .cs-block--result { margin-bottom: 0; }
  .cs-block--collateral-desktop { display: none; }
  .cs-block--collateral-mobile { display: block; margin-bottom: 0; }
  .cs-content-grid > .cs-figure { position: static; width: min(100%, 620px); margin-inline: auto; }
  .projects-hero { padding: 128px 0 56px; }
}

/* Tablet and below */
@media (max-width: 991px) {
  .section { padding: 60px 0; }
  .proof { padding: 44px 0 20px; }
  .why { padding-top: 24px; }

  .hero { padding: 0; }
  .hero__panel {
    min-height: 100vh;
    min-height: max(700px, 100svh);
  }
  .hero__copy {
    max-width: min(640px, 72vw);
    padding: clamp(104px, 13svh, 136px) clamp(40px, 5.5vw, 56px) clamp(52px, 7svh, 80px);
  }

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

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .work__grid--featured .work-card--hendrix { display: flex; }

  .why__inner { grid-template-columns: 1fr; gap: 40px; }
  .why__media {
    max-width: 560px;
    height: 420px;
  }

  .offer__panel {
    grid-template-columns: 1fr;
  }
  .offer { padding: 24px 0; }
  .offer__copy { padding: 22px 28px; }
  .offer__showcase { padding: 22px 24px; }

  .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process__steps li::after { display: none; }

  .pricing__grid,
  .care__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; row-gap: 32px; }

  .apply__inner { grid-template-columns: 1fr; gap: 48px; }
  /* When stacked, form comes first so scrollers don't hit the contact link
     before the demo form. Move "Contact us directly" below the form. */
  .apply__copy .apply__contact { display: none; }
  .apply__contact--mobile {
    display: inline-flex;
    justify-self: start;
    margin-top: -20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero__actions {
    flex-wrap: nowrap;
  }
  .hero__actions .btn {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .nav__bar { max-width: calc(1240px - 48px); }
}

/* Mobile Landscape and below */
@media (max-width: 767px) {
  /* ===== What we build - mobile alternating flow =====
     Desktop scatter off; simple image-and-copy rows on. */
  .build__showcase { display: none; }

  .build__flow {
    display: block;
    max-width: 640px;
    margin: 4px auto 0;
  }
  .build__flow-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  /* one feature row: visual always the wider column, text the narrower.
     Odd rows = text|visual; .bflow--vleft rows = visual|text. */
  .bflow {
    position: relative;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    column-gap: 18px;
  }
  .bflow--vleft { grid-template-columns: 1.18fr 0.82fr; }

  /* The phone mockup supports two closely related benefits, so both pieces of
     plain feature copy sit together beside a single image. */
  .bflow--phone-pair {
    grid-template-columns: 0.82fr 1.18fr;
    column-gap: 24px;
  }
  .bflow__pair-copy {
    display: grid;
    gap: 24px;
  }

  .bflow__text h3 { font-size: 1.06rem; line-height: 1.2; margin-bottom: 7px; }
  .bflow__text p { font-size: 0.88rem; line-height: 1.5; color: var(--mid-grey); }

  .bflow__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 268px;
  }
  .bflow__visual > img {
    max-height: 268px;
    max-width: 100%;
    width: auto;
    filter: none;
    background: transparent;
  }

  /* Avoid iPhone Safari compositing the transparent AVIF bounds as a grey box. */
  .bflow.reveal.is-visible { animation-name: bflow-fade; }
   bflow-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .why__media {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .why__media img { object-fit: cover; }

  .hero { padding: 0; }
  .hero__panel {
    min-height: 100vh;
    min-height: max(700px, 100svh);
  }
  .hero__bg { object-position: center center; }
  .hero__copy {
    max-width: min(620px, 78vw);
    padding: clamp(112px, 14svh, 144px) 48px clamp(52px, 7svh, 76px);
  }

  /* the pill itself expands to reveal the menu - one container, light animation */
  /* Constant radius (<= the pill's effective corner at 58px tall) so the
     box never morphs through an oval while the height animates. */
  .nav__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    min-height: 58px;
    padding: 9px 14px 9px 20px;
    border-radius: 28px;
  }

  .nav__row {
    width: 100%;
    justify-content: space-between;
    min-height: 40px;
  }

  .nav__links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height 0.42s var(--ease), margin 0.42s var(--ease),
                transform 0.42s var(--ease), opacity 0.28s ease,
                visibility 0s linear 0.42s;
  }
  .nav--open .nav__links {
    max-height: 280px;
    opacity: 1;
    visibility: visible;
    margin: 6px 0 4px;
    transform: translateY(0);
    transition: max-height 0.42s var(--ease), margin 0.42s var(--ease),
                transform 0.42s var(--ease), opacity 0.28s ease 0.06s,
                visibility 0s;
  }
  .nav__links > a:not(.btn) {
    padding: 11px 8px;
    font-size: 1.05rem;
    opacity: 0.85;
  }
  .nav__cta--mobile { display: inline-flex; justify-content: center; margin-top: 6px; }
  .nav__secondary { display: none; }
  .nav__toggle { display: block; }
}

/* Mobile Portrait */
@media (max-width: 479px) {
  .section { padding: 48px 0; }
  .proof { padding: 38px 0 16px; }
  .why { padding-top: 22px; }

  /* On the narrowest screens each feature becomes one clean column. */
  .bflow,
  .bflow--vleft {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .bflow__text { order: 1; }
  .bflow__visual { order: 2; width: 100%; max-width: 320px; height: 270px; margin: 0 auto; }
  .bflow__visual > img { max-height: 270px; }
  .build__flow-list { gap: 32px; }

  .bflow--phone-pair {
    grid-template-columns: minmax(112px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
    column-gap: 16px;
    row-gap: 0;
  }
  .bflow--phone-pair .bflow__visual {
    order: 1;
    width: 100%;
    max-width: none;
    height: 240px;
    margin: 0;
  }
  .bflow--phone-pair .bflow__visual > img { max-height: 240px; }
  .bflow__pair-copy {
    order: 2;
    width: auto;
    max-width: none;
    margin: 0;
    gap: 22px;
  }

  .hero { padding: 0; }
  .hero__panel {
    min-height: 100vh;
    min-height: 100svh;
    align-items: stretch;
  }
  .hero__bg {
    object-position: center center;
  }
  .hero__copy {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding: 108px 24px 28px;
  }
  .hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 9, 15, 0.76) 0%,
      rgba(7, 9, 15, 0.64) 45%,
      rgba(7, 9, 15, 0.48) 72%,
      rgba(7, 9, 15, 0.68) 100%
    );
  }
  .hero__copy h1 {
    width: 100%;
    max-width: none;
    font-size: 2.4rem;
    order: 1;
  }
  .hero__headline-line {
    display: inline;
    white-space: normal;
  }
  .hero__headline-line::after { content: " "; }
  .hero__copy .hero__rotating-phrase {
    display: block;
    min-height: 0;
    white-space: normal;
  }
  .hero__sub {
    max-width: 34ch;
    margin-top: 16px;
    order: 2;
  }
  .hero__inline-image {
    display: block;
    order: 3;
    width: min(100%, 360px);
    aspect-ratio: 16 / 10;
    margin-top: 24px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center center;
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
  }
  .hero__actions {
    order: 4;
    margin-top: 24px;
    gap: 10px;
  }
  .hero__actions .btn {
    width: 100%;
    padding: 14px 22px;
  }
  .hero__proof {
    order: 5;
    margin-top: 18px;
    max-width: 100%;
  }
  .hero__chip { display: none; }

  .proof__list { grid-template-columns: 1fr; padding: 22px; }

  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .work__grid--featured { grid-template-columns: minmax(0, 1fr); }
  .work__grid--featured .work-card--hendrix { display: none; }


  .offer { padding: 22px 0; }
  .offer__copy { padding: 20px 20px; }
  .offer__copy .btn { width: 100%; }
  .offer__trust { flex-wrap: wrap; gap: 12px; }
  .offer__showcase { padding: 20px 18px; }
  .offer__points { width: 100%; }

  .process__steps { grid-template-columns: 1fr; row-gap: 36px; }
  .process__steps li::after { display: none; }

  .form__row { grid-template-columns: 1fr; gap: 0; }
  .apply__form { padding: 28px 22px; }

  .footer__top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__contact { align-items: flex-start; }
  .footer__base { flex-direction: column; align-items: flex-start; gap: 8px; }
}
